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