Class: Class

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

Constant Summary collapse

@@static =
Criteria::ClassHeirarchyContext.new

Instance Method Summary collapse

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