class Request::Key

A string with cashed hash for faster hash access

Attributes

hash[R]

Return hash

@return [Fixnum]

@api private

Public Class Methods

new(string) click to toggle source

Initialize object

@param [String] string

@return [undefined]

@api private

Calls superclass method
# File lib/request/key.rb, line 22
def initialize(string)
  @hash = string.hash
  super(string)
  freeze
end