Sha256: be5b63929b701e25fc0f813cd5f9a35197a4433e76d753aa4c039b179b447b97

Contents?: true

Size: 244 Bytes

Versions: 2

Compression:

Stored size: 244 Bytes

Contents

require 'dicer/contextable'

module Dicer
  module Contextable
    def in_context_with_dicer(context = Dicer::Context.current, &block)
      in_context_without_dicer(context, &block)
    end
    alias_method_chain :in_context, :dicer
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dicer-0.1.0 lib/dicer/railtie/contextable.rb
dicer-0.0.1 lib/dicer/railtie/contextable.rb