Class: ERB::Compiler::PercentLine
- Inherits:
-
Object
- Object
- ERB::Compiler::PercentLine
- Defined in:
- lib/erb/compiler.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:
75 76 77 |
# File 'lib/erb/compiler.rb', line 75 def initialize(str) @value = str end |
Instance Attribute Details
#value ⇒ Object (readonly) Also known as: to_s
Returns the value of attribute value.
78 79 80 |
# File 'lib/erb/compiler.rb', line 78 def value @value end |