Module: ToProcInterface

Includes:
Mixin
Included in:
Singleton
Defined in:
lib/to_proc_interface.rb,
lib/to_proc_interface/version.rb

Overview

Examples:

Usage

class SomeCallableClass
  def self.call(*args)
    # bla-bla
  end

  extend ToProcInterface
end

Defined Under Namespace

Modules: CallToMaybe, CallingService, Delegations, Hooks, Initializer, Mixin, PerformingService, Singleton

Constant Summary collapse

VERSION =
"0.1.1"

Method Summary

Methods included from Mixin

#to_proc

Methods included from Delegations

#:<<, #:>>, #:[], #arity, #binding, #curry, delegate_to_proc, #lambda?, #parameters, proc_methods, #ruby2_keywords, #source_location, #yield