Class: PHPRB::Compiler::PercentLine
Instance Attribute Summary collapse
-
#value ⇒ Object
(also: #to_s)
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(str) ⇒ PercentLine
constructor
A new instance of PercentLine.
Constructor Details
#initialize(str) ⇒ PercentLine
Returns a new instance of PercentLine.
20 21 22 |
# File 'lib/web/phprb.rb', line 20 def initialize(str) @value = str end |
Instance Attribute Details
#value ⇒ Object (readonly) Also known as: to_s
Returns the value of attribute value.
23 24 25 |
# File 'lib/web/phprb.rb', line 23 def value @value end |