Module: Cacheable::MethodGenerator

Defined in:
lib/cacheable/method_generator.rb

Instance Method Summary collapse

Instance Method Details

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



7
8
9
10
11
# File 'lib/cacheable/method_generator.rb', line 7

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