Class: Trax::Core::Types::Set
- Inherits:
-
ValueObject
- Object
- SimpleDelegator
- ValueObject
- Trax::Core::Types::Set
- Defined in:
- lib/trax/core/types/set.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(*args) ⇒ Set
constructor
A new instance of Set.
Methods inherited from ValueObject
#__getobj__, #nil?, symbolic_name, to_schema, to_sym
Constructor Details
#initialize(*args) ⇒ Set
Returns a new instance of Set.
5 6 7 |
# File 'lib/trax/core/types/set.rb', line 5 def initialize(*args) super(::Set[*args.flatten]) end |
Class Method Details
.type ⇒ Object
9 10 11 |
# File 'lib/trax/core/types/set.rb', line 9 def self.type :set end |