def options
      VALID_OPTIONS_KEYS.inject({}) do |options, key|
        options.merge!(key => send(key))
      end
    end
def options
      VALID_OPTIONS_KEYS.inject({}) do |options, key|
        options.merge!(key => send(key))
      end
    end
def options VALID_OPTIONS_KEYS . inject ( { } ) do | options , key | options . merge! ( key => send ( key ) ) end end
Create a hash of options and their values
Create a hash of options and their values