Class: FastExt::Env

Inherits:
Object
  • Object
show all
Defined in:
app/models/fast_ext/env.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.ctxObject (readonly)

Returns the value of attribute ctx.



5
6
7
# File 'app/models/fast_ext/env.rb', line 5

def ctx
  @ctx
end

Class Method Details

.get(key) ⇒ Object



10
11
12
# File 'app/models/fast_ext/env.rb', line 10

def get(key)
  @ctx.get(key)
end

.set(key, value) ⇒ Object



6
7
8
# File 'app/models/fast_ext/env.rb', line 6

def set(key,value)
  @ctx.set(key,value)
end