Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/dish/ext/hash.rb

Instance Method Summary collapse

Instance Method Details

#to_dish(klass = Dish::Plate) ⇒ Object



2
3
4
# File 'lib/dish/ext/hash.rb', line 2

def to_dish(klass = Dish::Plate)
  Dish(self, klass)
end