Sha256: 42ebac8927aac54fb4872515540122b298db5def530b0400eb0ffd628ee28216

Contents?: true

Size: 466 Bytes

Versions: 15

Compression:

Stored size: 466 Bytes

Contents

module Mack
  module ControllerHelpers # :nodoc:

    # Used to easily include all Mack::ControllerHelpers. It will NOT include itself!
    # This is primarily used to aid in testing controller helpers.
    def self.included(base)
      Mack::ControllerHelpers.constants.each do |c|
        mod = "Mack::ControllerHelpers::#{c}".constantize
        mod.include_safely_into(base) unless base.is_a?(mod)
      end
    end # included
    
  end # ViewHelpers
end # Mack

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
mack-0.6.1.2 lib/mack/controller/all_helpers.rb
mack-0.6.1.1 lib/mack/controller/all_helpers.rb
mack-0.6.1 lib/mack/controller/all_helpers.rb
mack-0.7.0 lib/mack/controller/all_helpers.rb
mack-0.7.0.1 lib/mack/controller/all_helpers.rb
mack-0.7.1.1 lib/mack/controller/all_helpers.rb
mack-0.8.0.100 lib/mack/controller/all_helpers.rb
mack-0.7.1 lib/mack/controller/all_helpers.rb
mack-0.8.0.101 lib/mack/controller/all_helpers.rb
mack-0.8.0.2 lib/mack/controller/all_helpers.rb
mack-0.8.2 lib/mack/controller/all_helpers.rb
mack-0.8.0 lib/mack/controller/all_helpers.rb
mack-0.8.1 lib/mack/controller/all_helpers.rb
mack-0.8.3 lib/mack/controller/all_helpers.rb
mack-0.8.3.1 lib/mack/controller/all_helpers.rb