Module: Mover

Defined in:
lib/mover.rb,
lib/mover/gems.rb

Defined Under Namespace

Modules: ClassMethods, Gems, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/mover.rb', line 7

def self.included(base)
  unless base.included_modules.include?(InstanceMethods)
    base.extend ClassMethods
    base.send :include, InstanceMethods
    base.send :attr_accessor, :move_options
  end
end