Class: RedShift::Component::Literal

Inherits:
Object
  • Object
show all
Defined in:
lib/redshift/component.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(val) ⇒ Literal

Returns a new instance of Literal.



186
# File 'lib/redshift/component.rb', line 186

def initialize val; self.literal_value = val; end

Instance Attribute Details

#literal_valueObject

Returns the value of attribute literal_value.



185
186
187
# File 'lib/redshift/component.rb', line 185

def literal_value
  @literal_value
end