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