Method: Dish::Plate#initialize

Defined in:
lib/dish/plate.rb

#initialize(hash) ⇒ Plate

Returns a new instance of Plate.



3
4
5
# File 'lib/dish/plate.rb', line 3

def initialize(hash)
  @dish_original_hash = Hash[hash.map { |k, v| [k.to_s, v] }]
end