Sha256: 25ac78926372aca28f69cc4bd3ea3649a33dcbdb1ea12821bf362e5b64e96d36

Contents?: true

Size: 780 Bytes

Versions: 5

Compression:

Stored size: 780 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::Mapping
            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

5 entries across 5 versions & 1 rubygems

Version Path
puffer-0.0.20 lib/puffer/extensions/controller.rb
puffer-0.0.19 lib/puffer/extensions/controller.rb
puffer-0.0.18 lib/puffer/extensions/controller.rb
puffer-0.0.17 lib/puffer/extensions/controller.rb
puffer-0.0.16 lib/puffer/extensions/controller.rb