Module: EacRubyUtils::PatchModule

Defined in:
lib/eac_ruby_utils/patch_module.rb

Class Method Summary collapse

Class Method Details

.perform(target, patch) ⇒ Object



14
15
16
17
18
# File 'lib/eac_ruby_utils/patch_module.rb', line 14

def perform(target, patch)
  return if target.include?(patch)

  target.send(:include, patch)
end