Module: Monolens::Lens::ClassMethods

Defined in:
lib/monolens/lens.rb

Instance Method Summary collapse

Instance Method Details

#signature(input = nil, output = nil, options = {}) ⇒ Object



11
12
13
14
15
# File 'lib/monolens/lens.rb', line 11

def signature(input = nil, output = nil, options = {})
  return @signature if input.nil?

  @signature = Signature.new(input, output, options)
end