Class: ZOMG::IDL::Nodes::Member
- Defined in:
- lib/zomg/idl/nodes/member.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(type, declarators) ⇒ Member
constructor
A new instance of Member.
Methods inherited from Node
#duhr, #to_i, #to_ruby, #to_ruby_sexp, #to_sexp
Methods included from Visitable
Constructor Details
#initialize(type, declarators) ⇒ Member
Returns a new instance of Member.
7 8 9 10 |
# File 'lib/zomg/idl/nodes/member.rb', line 7 def initialize(type, declarators) @type = type super(declarators) end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
5 6 7 |
# File 'lib/zomg/idl/nodes/member.rb', line 5 def type @type end |