Sha256: 1e295dabea022918631e42c23a7aa3bef18365b36ee69a0d28a33073a6dbd27a

Contents?: true

Size: 356 Bytes

Versions: 3

Compression:

Stored size: 356 Bytes

Contents

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

# TODO: make use of Gem::Version
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.5.2 lib/invokable.rb
invokable-0.5.1 lib/invokable.rb
invokable-0.5.0 lib/invokable.rb