Sha256: d9d4f670eb28b2f037047cadc3ad5746b5d251dc77053f4e6fc2067184c2b077

Contents?: true

Size: 348 Bytes

Versions: 22

Compression:

Stored size: 348 Bytes

Contents

require 'rails/engine'

module Refinery
  module Engine
    class << self
      def included(base)
        base.module_eval do
          class << self
            def refinery
              ::Refinery.config
            end
          end

          def refinery
            self.class.refinery
          end
        end
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
refinerycms-core-0.9.9.12 lib/refinery/engine.rb
refinerycms-core-0.9.9.11 lib/refinery/engine.rb