Class: Almaz

Inherits:
Object
  • Object
show all
Defined in:
lib/almaz.rb

Defined Under Namespace

Classes: Capture, View

Constant Summary collapse

@@session_variable =
'session_id'
@@redis_config =
{:db => 0}

Class Method Summary collapse

Class Method Details

.redis_configObject



19
# File 'lib/almaz.rb', line 19

def self.redis_config; @@redis_config; end

.redis_config=(new_config) ⇒ Object



16
17
18
# File 'lib/almaz.rb', line 16

def self.redis_config=(new_config)
  @@redis_config = new_config
end

.session_variableObject



14
# File 'lib/almaz.rb', line 14

def self.session_variable; @@session_variable; end

.session_variable=(val) ⇒ Object



11
12
13
# File 'lib/almaz.rb', line 11

def self.session_variable=(val)
  @@session_variable = val
end