Class: Commento::Scrapers::Ruby
- Inherits:
-
Object
- Object
- Commento::Scrapers::Ruby
- Defined in:
- lib/commento/scrapers/ruby.rb
Constant Summary collapse
- COMMENTO_MATCH_REGEXP =
/^[ \t]*# commento:.+$/.freeze
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize ⇒ Ruby
constructor
{ ‘fantasy_sports.points’ => [ ‘app/services/some_service.rb:11’ ‘app/services/some_another_service.rb:12’ ] } key - table_name.column_name values - lines of files where these columns are changed in the code.
Constructor Details
#initialize ⇒ Ruby
'fantasy_sports.points' => [
'app/services/some_service.rb:11'
'app/services/some_another_service.rb:12'
]
key - table_name.column_name values - lines of files where these columns are changed in the code
17 18 19 |
# File 'lib/commento/scrapers/ruby.rb', line 17 def initialize @data = {} end |
Instance Method Details
#call ⇒ Object
21 22 23 24 |
# File 'lib/commento/scrapers/ruby.rb', line 21 def call configuration.include_folders.each { |include_folder| iterate_folder(include_folder) } @data end |