Class: Dry::Types::Printer Private
- Inherits:
-
Object
- Object
- Dry::Types::Printer
- Defined in:
- lib/dry/types/fear/option.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #visit_option(maybe) ⇒ Object private
Instance Method Details
#visit_option(maybe) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
106 107 108 109 110 |
# File 'lib/dry/types/fear/option.rb', line 106 def visit_option(maybe) visit(maybe.type) do |type| yield "Fear::Option<#{type}>" end end |