Sha256: 413357ac9b22de11e7ab04ceb0469ac8dc4caf25c4727f143047881e7f7bf0b3
Contents?: true
Size: 465 Bytes
Versions: 11
Compression:
Stored size: 465 Bytes
Contents
module WebIDL module Ast class Argument < Node attr_reader :name, :type def initialize(name, type, opts = {}) @name = name @type = type @optional = !!opts[:optional] @variadic = !!opts[:variadic] @extended_attributes = opts[:extended_attributes] || [] end def optional? @optional end def variadic? @variadic end end # Argument end # Ast end # WebIDL
Version data entries
11 entries across 11 versions & 1 rubygems