class Dry::Types::Printer

@api private

Public Instance Methods

visit_option(maybe) { |"Option<#{type}>"| ... } click to toggle source

@api private

# File lib/dry/types/fear/option.rb, line 108
def visit_option(maybe)
  visit(maybe.type) do |type|
    yield "Fear::Option<#{type}>"
  end
end