Method: WebIDL::Ast::Sequence#initialize
- Defined in:
- lib/webidl/ast/sequence.rb
#initialize(parent, type, opts = {}) ⇒ Sequence
Returns a new instance of Sequence.
6 7 8 9 10 11 |
# File 'lib/webidl/ast/sequence.rb', line 6 def initialize(parent, type, opts = {}) super(parent) @type = type @nullable = !!opts[:nullable] end |