Class: PositionalGenerator::Builder::Literal
- Inherits:
-
Object
- Object
- PositionalGenerator::Builder::Literal
- Defined in:
- lib/helpers/positional_generator.rb
Instance Method Summary collapse
- #generate(_) ⇒ Object
-
#initialize(value) ⇒ Literal
constructor
A new instance of Literal.
Constructor Details
#initialize(value) ⇒ Literal
Returns a new instance of Literal.
461 462 463 |
# File 'lib/helpers/positional_generator.rb', line 461 def initialize(value) @value = value end |
Instance Method Details
#generate(_) ⇒ Object
465 466 467 |
# File 'lib/helpers/positional_generator.rb', line 465 def generate(_) @value end |