Sha256: 9e055c036787471469973e9fb115867f4d673222dd7752f0f252e7eca49cf2ab

Contents?: true

Size: 323 Bytes

Versions: 3

Compression:

Stored size: 323 Bytes

Contents

require 'invokable/version'
require 'invokable/core'
require 'invokable/compose'

if RUBY_VERSION.split('.').take(2).join('.').to_f < 2.6
  require 'invokable/proc'
  require 'invokable/method'
end

module Invokable
  def self.included(base)
    base.include(Invokable::Core)
    base.include(Invokable::Compose)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
invokable-0.4.2 lib/invokable.rb
invokable-0.4.1 lib/invokable.rb
invokable-0.4.0 lib/invokable.rb