Class: Pretentious::Deconstructor::Reference
- Inherits:
-
Object
- Object
- Pretentious::Deconstructor::Reference
- Defined in:
- lib/pretentious/deconstructor.rb
Overview
Represents a reference
Instance Attribute Summary collapse
-
#tree ⇒ Object
Returns the value of attribute tree.
Instance Method Summary collapse
-
#initialize(tree) ⇒ Reference
constructor
A new instance of Reference.
Constructor Details
#initialize(tree) ⇒ Reference
Returns a new instance of Reference.
17 18 19 |
# File 'lib/pretentious/deconstructor.rb', line 17 def initialize(tree) @tree = tree end |
Instance Attribute Details
#tree ⇒ Object
Returns the value of attribute tree.
15 16 17 |
# File 'lib/pretentious/deconstructor.rb', line 15 def tree @tree end |