I am new to rails , currently i am working on code statistics for php,javascript/coffeescript repositories using ruby where i have a requirement to get no of coded lines and comment lines(single line and multi line comments) of php and javascript and coffeescript files using regular expressions . can any one help on this , thanks in advance
Share
Here it is my man:
This works for:
How it works: