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.
40 41 42 |
# File 'lib/web/phprb.rb', line 40 def initialize(str) @value = str end |
Instance Attribute Details
#value ⇒ Object (readonly) Also known as: to_s
Returns the value of attribute value.
43 44 45 |
# File 'lib/web/phprb.rb', line 43 def value @value end |