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.



40
41
42
# File 'lib/web/phprb.rb', line 40

def initialize(str)
  @value = str
end

Instance Attribute Details

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