Class: Melitta::Coercers::Identity

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



8
9
10
# File 'lib/melitta/coercers.rb', line 8

def input
  @input
end

Instance Method Details

#outputObject



14
15
16
# File 'lib/melitta/coercers.rb', line 14

def output
  input
end

#valid?Boolean

Returns:



10
11
12
# File 'lib/melitta/coercers.rb', line 10

def valid?
  true
end