Class: Melitta::Coercers::String

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



20
21
22
# File 'lib/melitta/coercers.rb', line 20

def input
  @input
end

Instance Method Details

#outputObject



26
27
28
# File 'lib/melitta/coercers.rb', line 26

def output
  input.to_s
end

#valid?Boolean

Returns:



22
23
24
# File 'lib/melitta/coercers.rb', line 22

def valid?
  true
end