Module: Memorb::IntegratorClassMethods

Defined in:
lib/memorb/integrator_class_methods.rb

Instance Method Summary collapse

Instance Method Details

#memoize(*args, &block) ⇒ Object



10
11
12
# File 'lib/memorb/integrator_class_methods.rb', line 10

def memoize(*args, &block)
  memorb.register(*args, &block)
end

#memorbObject



6
7
8
# File 'lib/memorb/integrator_class_methods.rb', line 6

def memorb
  Integration[self]
end