# File lib/dragonfly/url_attributes.rb, line 20 def slice(*keys) keys.inject({}) do |hash, key| key = key.to_sym hash[key] = SPECIAL_KEYS.include?(key) ? send(key) : self[key] hash end end