Module: Yogo::Operation::Restricted::Partial
- Includes:
- ExpectedType
- Defined in:
- lib/yogo/operation/restricted/partial.rb
Instance Method Summary collapse
Instance Method Details
#partial(*args) ⇒ Object
10 11 12 13 |
# File 'lib/yogo/operation/restricted/partial.rb', line 10 def partial(*args) applied = super(*args) self.class.on(self.expected_type, &applied) end |