Class: Wood::Types::AnyType
- Inherits:
-
BuiltinType
- Object
- Struct
- BuiltinType
- Wood::Types::AnyType
- Defined in:
- lib/wood/types.rb
Instance Attribute Summary
Attributes inherited from BuiltinType
Instance Method Summary collapse
- #==(other) ⇒ Object
- #===(other) ⇒ Object
-
#initialize(name, *aliases) ⇒ AnyType
constructor
A new instance of AnyType.
Methods inherited from BuiltinType
#builtin?, #node_name, #numeric?, #sexp, #type
Methods included from TypeMatching
Constructor Details
#initialize(name, *aliases) ⇒ AnyType
Returns a new instance of AnyType.
279 280 281 |
# File 'lib/wood/types.rb', line 279 def initialize(name, *aliases) super(name, false, *aliases) end |
Instance Method Details
#==(other) ⇒ Object
283 284 285 |
# File 'lib/wood/types.rb', line 283 def == other true end |
#===(other) ⇒ Object
287 288 289 |
# File 'lib/wood/types.rb', line 287 def === other true end |