Sha256: ef2159191f234c455a0f2b98f85476804a704be6a2923dd14a59df1b3e63d15e
Contents?: true
Size: 841 Bytes
Versions: 3
Compression:
Stored size: 841 Bytes
Contents
module Puffer module Extensions module ActionController module Base extend ActiveSupport::Concern included do extend ClassMethods helper_method :puffer?, :render_component 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 end end module InstanceMethods def puffer?; false; end def render_component *args Puffer::Component::Base.render_component self, *args 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.26 | lib/puffer/extensions/controller.rb |
puffer-0.0.25 | lib/puffer/extensions/controller.rb |
puffer-0.0.24 | lib/puffer/extensions/controller.rb |