Class: ClassInfo
- Inherits:
-
Object
- Object
- ClassInfo
- 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
-
#creation_call ⇒ Object
readonly
Returns the value of attribute creation_call.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, creation_call = "Ti.UI.create#{name}") ⇒ ClassInfo
constructor
A new instance of ClassInfo.
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_call ⇒ Object (readonly)
Returns the value of attribute creation_call.
54 55 56 |
# File 'lib/puer/nodes.rb', line 54 def creation_call @creation_call end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
54 55 56 |
# File 'lib/puer/nodes.rb', line 54 def name @name end |