Class: GitFit::Parser::Base
- Inherits:
-
Object
- Object
- GitFit::Parser::Base
- Defined in:
- lib/git_fit/parser/base.rb
Instance Method Summary collapse
- #call(_input) ⇒ Object
-
#initialize(source: nil) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(source: nil) ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/git_fit/parser/base.rb', line 6 def initialize(source: nil) @source_name = source end |
Instance Method Details
#call(_input) ⇒ Object
10 11 12 |
# File 'lib/git_fit/parser/base.rb', line 10 def call(_input) raise NotImplementedError end |