Class: Class
- Inherits:
-
Object
- Object
- Class
- Defined in:
- lib/criteria.rb
Constant Summary collapse
- @@static =
Criteria::ClassHeirarchyContext.new
Instance Method Summary collapse
- #static_get(key, default = nil) ⇒ Object
- #static_set(name, value) ⇒ Object
- #static_unset(name) ⇒ Object
Instance Method Details
#static_get(key, default = nil) ⇒ Object
653 654 655 |
# File 'lib/criteria.rb', line 653 def static_get(key, default=nil) @@static.get(self, key, default) end |
#static_set(name, value) ⇒ Object
657 658 659 |
# File 'lib/criteria.rb', line 657 def static_set(name, value) @@static.set(self, name, value) end |
#static_unset(name) ⇒ Object
660 661 662 |
# File 'lib/criteria.rb', line 660 def static_unset(name) @@static.unset(self, name) end |