Class: XcodeProject::Node

Inherits:
Object
  • Object
show all
Defined in:
lib/xcodeproject/node.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(root, uuid, data) ⇒ Node

Returns a new instance of Node.



30
31
32
33
34
35
# File 'lib/xcodeproject/node.rb', line 30

def initialize(root, uuid, data)
  @root = root
  @uuid = uuid
  @data = data
  @isa = data['isa']
end

Instance Attribute Details

#isaObject (readonly)

Returns the value of attribute isa.



28
29
30
# File 'lib/xcodeproject/node.rb', line 28

def isa
  @isa
end

#uuidObject (readonly)

Returns the value of attribute uuid.



27
28
29
# File 'lib/xcodeproject/node.rb', line 27

def uuid
  @uuid
end