Classes: Code
"0.2.0"
5 6 7
# File 'lib/getcomments.rb', line 5 def self.from_file(filename) from_string(File.read filename) end
9 10 11
# File 'lib/getcomments.rb', line 9 def self.from_string(code) Code.new(code).comments end