Module: CodeStats::Languages::SharpComments

Included in:
CoffeeScript, Python, Ruby, Yaml
Defined in:
lib/code_stats/languages.rb

Instance Method Summary collapse

Instance Method Details

#codeObject



54
55
56
# File 'lib/code_stats/languages.rb', line 54

def code
  @code ||= text.substitute(/^#.+?[\n\z]/m, '')
end