module NeopolyStyle::Patches
This module holds all patches of a default Redmine application
Public Class Methods
apply!()
click to toggle source
Apply all patches
# File lib/neopoly_style/patches.rb, line 7 def self.apply! apply_to(::ApplicationHelper, ApplicationHelperPatch) end
Private Class Methods
apply_to(target, mod)
click to toggle source
# File lib/neopoly_style/patches.rb, line 13 def self.apply_to(target, mod) target.send(:include, mod) end