Method: CommentExtractor::Parser#extract_comments

Defined in:
lib/comment_extractor/parser.rb

#extract_commentsObject



12
13
14
15
16
# File 'lib/comment_extractor/parser.rb', line 12

def extract_comments
  @extractor.extract_comments
rescue NoMethodError
  raise TypeError, "#{@extractor} should be a instance of #{Extractor}"
end