Class: Plumbing::Actor::Definitions::MethodDefinition
- Inherits:
-
Literal::Struct
- Object
- Literal::Struct
- Plumbing::Actor::Definitions::MethodDefinition
- Includes:
- Literal::Types
- Defined in:
- lib/plumbing/actor/definitions.rb
Instance Method Summary collapse
Instance Method Details
#param(name, type, *rest, **opts) ⇒ Object
60 61 62 |
# File 'lib/plumbing/actor/definitions.rb', line 60 def param(name, type, *rest, **opts) params_class.prop(name, type, *rest, **opts) end |
#returns(&implementation) ⇒ Object
64 65 66 |
# File 'lib/plumbing/actor/definitions.rb', line 64 def returns(&implementation) @implementation = implementation end |