Sha256: d0da10dcad3e507c6e61dae02f291ac634d47f2bd7ddc69aef7047adfde345e7
Contents?: true
Size: 401 Bytes
Versions: 12
Compression:
Stored size: 401 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] end def optional? @optional end def variadic? @variadic end end # Argument end # Ast end # WebIDL
Version data entries
12 entries across 12 versions & 1 rubygems