Class: Repeatable::Parser
- Inherits:
-
Object
- Object
- Repeatable::Parser
- Defined in:
- lib/repeatable/parser.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(hash) ⇒ Parser
constructor
A new instance of Parser.
Constructor Details
#initialize(hash) ⇒ Parser
Returns a new instance of Parser.
3 4 5 |
# File 'lib/repeatable/parser.rb', line 3 def initialize(hash) @hash = hash end |
Class Method Details
.call(hash) ⇒ Object
7 8 9 |
# File 'lib/repeatable/parser.rb', line 7 def self.call(hash) new(hash).call end |
Instance Method Details
#call ⇒ Object
11 12 13 |
# File 'lib/repeatable/parser.rb', line 11 def call build_expression(hash) end |