Class: ERB::Compiler::PercentLine
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/erb.rb |
Class Method Summary
- .new(str) ⇒ PercentLine constructor
Instance Attribute Summary
Constructor Details
.new(str) ⇒ PercentLine
# File 'lib/erb.rb', line 345
def initialize(str) @value = str end
Instance Attribute Details
#to_s (readonly)
Alias for #value.
# File 'lib/erb.rb', line 349
alias :to_s :value
#value (readonly) Also known as: #to_s
[ GitHub ]# File 'lib/erb.rb', line 348
attr_reader :value