lib/webidl/ast/operation.rb in webidl-0.1.10 vs lib/webidl/ast/operation.rb in webidl-0.2.0

- old
+ new

@@ -1,20 +1,19 @@ module WebIDL module Ast class Operation < Node attr_reader :type, :name, :args, :specials, :raises - attr_accessor :extended_attributes, :stringifier + attr_accessor :stringifier def initialize(parent, type, opts = {}) - @parent = parent - @type = type - @name = opts[:name] || '' - @static = opts[:static] - @specials = opts[:specials] || [] - @args = opts[:args] || [] - @raises = opts[:raises] || [] - @extended_attributes = opts[:extended_attributes] || [] + @parent = parent + @type = type + @name = opts[:name] || '' + @static = opts[:static] + @specials = opts[:specials] || [] + @args = opts[:args] || [] + @raises = opts[:raises] || [] end def stringifier? !!@stringifier end