class Hash
Public Instance Methods
collect_as_hash()
click to toggle source
# File lib/socializer/scraper/extensions.rb, line 36 def collect_as_hash self end
Also aliased as: hashify_or_collect
hash_collection?()
click to toggle source
# File lib/socializer/scraper/extensions.rb, line 32 def hash_collection? true end
hash_map(&block)
click to toggle source
# File lib/socializer/scraper/extensions.rb, line 28 def hash_map &block Hash[self.map{|key, value| yield(key, value) }] end