Class: Zenlish::Inflect::LiteralAsIs

Inherits:
AtomicOExpression show all
Defined in:
lib/zenlish/inflect/literal_asis.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aLiteralValue) ⇒ LiteralAsIs

Returns a new instance of LiteralAsIs.



8
9
10
# File 'lib/zenlish/inflect/literal_asis.rb', line 8

def initialize(aLiteralValue)
  @text = aLiteralValue
end

Instance Attribute Details

#textObject (readonly)

Returns the value of attribute text.



6
7
8
# File 'lib/zenlish/inflect/literal_asis.rb', line 6

def text
  @text
end

Instance Method Details

#generate(_headings, _lexeme, _values) ⇒ Object



12
13
14
# File 'lib/zenlish/inflect/literal_asis.rb', line 12

def generate(_headings, _lexeme, _values)
  text
end