public Method

Mash.convert_value(value)

There's no documentation for this item.

Source Code

# File merb/core_ext/mash.rb, line 78
def convert_value(value) 
  case value 
  when Hash 
    value.to_mash 
  when Array 
    value.collect { |e| e.is_a?(Hash) ? e.to_mash : e } 
  else 
    value 
  end 
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.