Sha256: 04e1a0c88653b8df1f8dcba4d9020fc2dd29ebccdd2382d4060f15081f94931e

Contents?: true

Size: 732 Bytes

Versions: 3

Compression:

Stored size: 732 Bytes

Contents

module Puffer
  module Extensions
    module ActionController
      module Base

        def self.included base
          base.class_eval do
            extend ClassMethods

            helper_method :puffer?
          end
        end

        def puffer?; false; end

        module ClassMethods

          def puffer?; false; end

          def pufferize!
            include Puffer::Controller::Mutate
            include Puffer::Controller::Helpers
            include Puffer::Controller::Dsl
            include Puffer::Controller::Config
            include Puffer::Controller::Generated
          end

        end

      end
    end
  end
end

ActionController::Base.send :include, Puffer::Extensions::ActionController::Base

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
puffer-0.0.23 lib/puffer/extensions/controller.rb
puffer-0.0.22 lib/puffer/extensions/controller.rb
puffer-0.0.21 lib/puffer/extensions/controller.rb