Module: CassandraObject::Scoping::ClassMethods
- Defined in:
- lib/cassandra_object/scoping.rb
Instance Method Summary collapse
Instance Method Details
#current_scope ⇒ Object
18 19 20 |
# File 'lib/cassandra_object/scoping.rb', line 18 def current_scope Thread.current["#{self}_current_scope"] end |
#current_scope=(new_scope) ⇒ Object
22 23 24 |
# File 'lib/cassandra_object/scoping.rb', line 22 def current_scope=(new_scope) Thread.current["#{self}_current_scope"] = new_scope end |