Module: ActiveInteractor::Type::DeclerationMethods::ClassMethods
- Included in:
- Context::Base, Interactor::Base
- Defined in:
- lib/active_interactor/type/decleration_methods.rb
Instance Method Summary collapse
Instance Method Details
#any ⇒ Object
11 12 13 |
# File 'lib/active_interactor/type/decleration_methods.rb', line 11 def any :any end |
#list(type) ⇒ Object Also known as: array
15 16 17 |
# File 'lib/active_interactor/type/decleration_methods.rb', line 15 def list(type) List.new(type) end |
#union(*types) ⇒ Object
20 21 22 |
# File 'lib/active_interactor/type/decleration_methods.rb', line 20 def union(*types) Union.new(*types) end |
#untyped ⇒ Object
24 25 26 |
# File 'lib/active_interactor/type/decleration_methods.rb', line 24 def untyped :untyped end |