class Memphis::Result
Attributes
providers[R]
Public Class Methods
new(hash)
click to toggle source
# File lib/memphis/result.rb, line 6 def initialize(hash) @providers = [] hash.each do |key,value| define_singleton_method(key.to_s){ hash[key] } @providers.push key @providers.sort! end end