Method: Explicit::Type::Modifiers::ParamLocation#apply
- Defined in:
- lib/explicit/type/modifiers/param_location.rb
#apply(param_location, type) ⇒ Object
6 7 8 9 10 |
# File 'lib/explicit/type/modifiers/param_location.rb', line 6 def apply(param_location, type) Explicit::Type.build(type).tap do |type| type.param_location = param_location end end |