class Object
“Augmentations” plugin for Rails. By Henrik Nyh <henrik.nyh.se> under the MIT license for DanceJam <dancejam.com> 2008-09-10. See README for usage. By Henrik Nyh 2015-04-02 under the MIT license.
Public Class Methods
augment(*mods, **opts)
click to toggle source
# File lib/augmentations/object.rb, line 7 def self.augment(*mods, **opts) mods.each { |mod| class_exec **opts, &mod.augmentation } end