Class: Repeatable::Parser
- Inherits:
-
Object
- Object
- Repeatable::Parser
- Extended by:
- T::Sig
- 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.
8 9 10 |
# File 'lib/repeatable/parser.rb', line 8 def initialize(hash) @hash = hash end |
Class Method Details
.call(hash) ⇒ Object
13 14 15 |
# File 'lib/repeatable/parser.rb', line 13 def self.call(hash) new(hash).call end |
Instance Method Details
#call ⇒ Object
18 19 20 |
# File 'lib/repeatable/parser.rb', line 18 def call build_expression(hash) end |