Module: Coercible::HashToArray

Defined in:
lib/coercible/hash_to_array.rb,
lib/coercible/hash_to_array/railtie.rb,
lib/coercible/hash_to_array/version.rb

Defined Under Namespace

Classes: Railtie

Constant Summary collapse

VERSION =
'0.0.1'

Instance Method Summary collapse

Instance Method Details

#to_array(value) ⇒ Object



6
7
8
# File 'lib/coercible/hash_to_array.rb', line 6

def to_array(value)
  [value]
end