Class: Pretentious::Deconstructor::Reference

Inherits:
Object
  • Object
show all
Defined in:
lib/pretentious/deconstructor.rb

Overview

Represents a reference

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#treeObject

Returns the value of attribute tree.



15
16
17
# File 'lib/pretentious/deconstructor.rb', line 15

def tree
  @tree
end