Registry / utility / method-not-implemented

method-not-implemented

JSON →
library1.0.1rbrubygemsunverified

Adds a `method_not_implemented` method to every Ruby object that raises an exception when an abstract method is not implemented.

gem install method-not-implemented
INSTALL
IMPORT
SIG · METHOD-NOT-IMPLEME
M
method-not-implemented
utilityrubyv1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MethodNotImplemented
require 'method-not-implemented'

Defines abstract methods that raise an error if not overridden.

require 'method-not-implemented' class AbstractClass def abstract_method method_not_implemented end end AbstractClass.new.abstract_method # Raises NotImplementedError
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
method-not-implemented — gem install method-not-implemented · libregistry