Module: Cacheable::MethodGenerator

Defined in:
lib/cacheable/method_generator.rb

Instance Method Summary collapse

Instance Method Details

#cacheable(*original_method_names, **opts) ⇒ Object



5
6
7
8
9
# File 'lib/cacheable/method_generator.rb', line 5

def cacheable(*original_method_names, **opts)
  original_method_names.each do |original_method_name|
    create_cacheable_methods(original_method_name, opts)
  end
end