module Hamster

def self.hash(pairs = {})

def self.hash(pairs = {})
  pairs.reduce(Hash.new) { |hash, pair| hash.put(pair.first, pair.last) }
end