Method: WebIDL::Ast::Field#initialize
- Defined in:
- lib/webidl/ast/field.rb
#initialize(parent, type, name) ⇒ Field
Returns a new instance of Field.
7 8 9 10 |
# File 'lib/webidl/ast/field.rb', line 7 def initialize(parent, type, name) super(parent) @type, @name = type, name end |