Module: Dddr::Sdbm::ClassMethods
- Defined in:
- lib/dddr/sdbm.rb
Instance Method Summary collapse
Instance Method Details
#const_missing(name) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/dddr/sdbm.rb', line 9 def const_missing(name) if name == :Repository create_repository_for(self) else super end end |
#queries(&block) ⇒ Object
4 5 6 7 |
# File 'lib/dddr/sdbm.rb', line 4 def queries(&block) @queries_module ||= Module.new @queries_module.module_eval(&block) end |