Module: Tarot::MethodMissingForHash

Defined in:
lib/tarot.rb

Class Method Summary collapse

Class Method Details

.included(obj) ⇒ Object



76
77
78
79
80
81
82
# File 'lib/tarot.rb', line 76

def self.included(obj)
  obj.each do |key, val|
    if obj.class == val.class
      val.extend MethodMissingForHash
    end
  end
end