Method: Module#state

Defined in:
lib/bud/monkeypatch.rb

#state(&block) ⇒ Object

the block of Bloom collection declarations. one per module.



156
157
158
159
# File 'lib/bud/monkeypatch.rb', line 156

def state(&block)
  meth_name = Module.make_state_meth_name(self)
  define_method(meth_name, &block)
end