module Patterns::AbstractInterface

Module that defines behavior for raising an exception if a class is expected to implement a function and does not. Gives detailed information about the method that must be implemented

Public Class Methods

included(klass) click to toggle source

Tells the class to include and extend AbstractInterface::Methods

# File app/models/bridge/abstract_interface.rb, line 11
def self.included(klass)
  klass.send(:include, AbstractInterface::Methods)
  klass.send(:extend, AbstractInterface::Methods)
end