Class: Melitta::Coercers::OptionalInput

Inherits:
Struct
  • Object
show all
Defined in:
lib/melitta/coercers.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#inputObject

Returns the value of attribute input

Returns:

  • (Object)

    the current value of input



156
157
158
# File 'lib/melitta/coercers.rb', line 156

def input
  @input
end

Instance Method Details

#outputObject



162
163
164
# File 'lib/melitta/coercers.rb', line 162

def output
  input
end

#valid?Boolean

Returns:



158
159
160
# File 'lib/melitta/coercers.rb', line 158

def valid?
  true
end