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.
10 11 12 13 |
# File 'lib/zenlish/inflect/literal_asis.rb', line 10 def initialize(aLiteralValue) super() @text = aLiteralValue end |
Instance Attribute Details
#text ⇒ Object (readonly)
Returns the value of attribute text.
8 9 10 |
# File 'lib/zenlish/inflect/literal_asis.rb', line 8 def text @text end |
Instance Method Details
#generate(_headings, _lexeme, _values) ⇒ Object
15 16 17 |
# File 'lib/zenlish/inflect/literal_asis.rb', line 15 def generate(_headings, _lexeme, _values) text end |