Method: Ion.key

Defined in:
lib/ion.rb

.keyObject

Returns the root key.



46
47
48
49
50
51
52
# File 'lib/ion.rb', line 46

def self.key
  @key ||= if @redis
    Nest.new('Ion', @redis)
  else
    Nest.new('Ion')
  end
end