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