Class: PHPRB::Compiler::PercentLine

Inherits:
Object
  • Object
show all
Defined in:
lib/web/phprb.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#valueObject (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