Class: Zenlish::Inflect::LiteralAsIs
- Inherits:
-
AtomicOExpression
- Object
- OutputExpression
- AtomicOExpression
- Zenlish::Inflect::LiteralAsIs
- Defined in:
- lib/zenlish/inflect/literal_asis.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
- #generate(_headings, _lexeme, _values) ⇒ Object
-
#initialize(aLiteralValue) ⇒ LiteralAsIs
constructor
A new instance of LiteralAsIs.
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
#text ⇒ Object (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 |