Class: ClassInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/puer/nodes.rb

Overview

ClassInfo contains all known information on the class of the node info (Windows, Views… etc)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, creation_call = "Ti.UI.create#{name}") ⇒ ClassInfo

Returns a new instance of ClassInfo.



49
50
51
52
# File 'lib/puer/nodes.rb', line 49

def initialize(name, creation_call="Ti.UI.create#{name}")
  @name = name
  @creation_call = creation_call
end

Instance Attribute Details

#creation_callObject (readonly)

Returns the value of attribute creation_call.



54
55
56
# File 'lib/puer/nodes.rb', line 54

def creation_call
  @creation_call
end

#nameObject (readonly)

Returns the value of attribute name.



54
55
56
# File 'lib/puer/nodes.rb', line 54

def name
  @name
end