Sha256: 531130ecc75925706f8046d36e9f40ecc76c1dbc67de2bd886d5d0c41f2272d1

Contents?: true

Size: 258 Bytes

Versions: 1

Compression:

Stored size: 258 Bytes

Contents

require 'contextualizer'
require 'ruby2_keywords'

module Contextualizer
  module Callable
    ruby2_keywords def call(ctx, *args, &bl)
      new(ctx).call(*args, &bl)
    end

    def self.extended(klass)
      klass.extend Contextualizer
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
contextualizer-0.0.6 lib/contextualizer/callable.rb