Class: Reg::Transform
- Inherits:
-
Object
- Object
- Reg::Transform
- Defined in:
- lib/redparse/reg_more_sugar.rb
Instance Attribute Summary collapse
-
#left ⇒ Object
readonly
Returns the value of attribute left.
-
#right ⇒ Object
readonly
Returns the value of attribute right.
Instance Method Summary collapse
-
#initialize(left, right) ⇒ Transform
constructor
A new instance of Transform.
Constructor Details
#initialize(left, right) ⇒ Transform
Returns a new instance of Transform.
36 37 38 |
# File 'lib/redparse/reg_more_sugar.rb', line 36 def initialize(left,right) @left,@right=left,right end |
Instance Attribute Details
#left ⇒ Object (readonly)
Returns the value of attribute left.
39 40 41 |
# File 'lib/redparse/reg_more_sugar.rb', line 39 def left @left end |
#right ⇒ Object (readonly)
Returns the value of attribute right.
39 40 41 |
# File 'lib/redparse/reg_more_sugar.rb', line 39 def right @right end |