Class: ZOMG::IDL::Nodes::Interface

Inherits:
Node
  • Object
show all
Defined in:
lib/zomg/idl/nodes/interface.rb

Instance Attribute Summary collapse

Attributes inherited from Node

#children, #name

Instance Method Summary collapse

Methods inherited from Node

#duhr, #to_i, #to_ruby, #to_ruby_sexp, #to_sexp

Methods included from Visitable

#accept

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

#headerObject

Returns the value of attribute header.



5
6
7
# File 'lib/zomg/idl/nodes/interface.rb', line 5

def header
  @header
end