Class: PositionalGenerator::Builder::Literal

Inherits:
Object
  • Object
show all
Defined in:
lib/helpers/positional_generator.rb

Instance Method Summary collapse

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