Class: ERB::Compiler::PercentLine
- Inherits:
-
Object
- Object
- ERB::Compiler::PercentLine
- Defined in:
- lib/erb.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#value ⇒ Object
(also: #to_s)
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(str) ⇒ PercentLine
constructor
:nodoc:.
Constructor Details
#initialize(str) ⇒ PercentLine
:nodoc:
342 343 344 |
# File 'lib/erb.rb', line 342 def initialize(str) @value = str end |
Instance Attribute Details
#value ⇒ Object (readonly) Also known as: to_s
Returns the value of attribute value.
345 346 347 |
# File 'lib/erb.rb', line 345 def value @value end |