module Axiom::Function::Comparable

A mixin for functions with directly compared operands

Private Class Methods

included(descendant) click to toggle source

Hook called when module is included

@param [Module] descendant

the module or class including Comparable

@return [undefined]

@api private

Calls superclass method
# File lib/axiom/function/comparable.rb, line 17
def self.included(descendant)
  super
  descendant.extend(ClassMethods)
end