Module: DataMapper::FastenTheSeatBelt

Defined in:
lib/dm-fasten-the-seat-belt.rb,
lib/dm-fasten-the-seat-belt/fasten-the-seat-belt/version.rb,
lib/dm-fasten-the-seat-belt/fasten-the-seat-belt/compression.rb

Defined Under Namespace

Modules: ClassMethods, Compression, InstanceMethods

Constant Summary collapse

VERSION =
'0.9.11'

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'lib/dm-fasten-the-seat-belt.rb', line 13

def self.included(base)
  base.send(:extend, ClassMethods)
  base.send(:include, InstanceMethods)
  base.send(:include, Compression)      
  base.send(:include, MiniMagick)
  base.class_eval do
    attr_accessor :file

    class << self; attr_accessor :fasten_the_seat_belt_options end
    
    @fasten_the_seat_belt_options
  end
end