Class: ERB::Compiler::PercentLine
Overview
:nodoc:
Instance Attribute Summary (collapse)
-
- (Object) value
(also: #to_s)
readonly
Returns the value of attribute value.
Instance Method Summary (collapse)
- - (Boolean) empty?
-
- (PercentLine) initialize(str)
constructor
A new instance of PercentLine.
Constructor Details
- (PercentLine) initialize(str)
A new instance of PercentLine
270 271 272 |
# File 'lib/erb.rb', line 270 def initialize(str) @value = str end |
Instance Attribute Details
- (Object) value (readonly) Also known as: to_s
Returns the value of attribute value
273 274 275 |
# File 'lib/erb.rb', line 273 def value @value end |
Instance Method Details
- (Boolean) empty?
276 277 278 |
# File 'lib/erb.rb', line 276 def empty? @value.empty? end |