Class: Humanized::Compiled
Instance Attribute Summary collapse
-
#str ⇒ Object
Returns the value of attribute str.
Instance Method Summary collapse
-
#initialize(str) ⇒ Compiled
constructor
A new instance of Compiled.
- #to_s ⇒ Object
Constructor Details
#initialize(str) ⇒ Compiled
Returns a new instance of Compiled.
24 25 26 27 28 |
# File 'lib/humanized/compiler.rb', line 24 def initialize(str) @str = str super() return self end |
Instance Attribute Details
#str ⇒ Object
Returns the value of attribute str.
22 23 24 |
# File 'lib/humanized/compiler.rb', line 22 def str @str end |
Instance Method Details
#to_s ⇒ Object
30 31 32 |
# File 'lib/humanized/compiler.rb', line 30 def to_s @str end |