module SuperDiff::ImplementationChecks

Protected Instance Methods

unimplemented_class_method!() click to toggle source
# File lib/super_diff/implementation_checks.rb, line 11
          def unimplemented_class_method!
  raise(
    NotImplementedError,
    "#{self} must implement .#{caller_locations(1, 1).first.label}",
    caller(1),
  )
end
unimplemented_instance_method!() click to toggle source
# File lib/super_diff/implementation_checks.rb, line 3
          def unimplemented_instance_method!
  raise(
    NotImplementedError,
    "#{self.class} must implement ##{caller_locations(1, 1).first.label}",
    caller(1),
  )
end