Exception: Partitioned::MethodNotImplemented

Inherits:
StandardError
  • Object
show all
Defined in:
lib/partitioned/partitioned_base.rb

Overview

Used by PartitionedBase class methods that must be overridden.

Instance Method Summary collapse

Constructor Details

#initialize(model, method_name, is_class_method = true) ⇒ MethodNotImplemented

Returns a new instance of MethodNotImplemented.



11
12
13
# File 'lib/partitioned/partitioned_base.rb', line 11

def initialize(model, method_name, is_class_method = true)
  super("#{model.name}#{is_class_method ? '.' : '#'}#{method_name}")
end