Sha256: 1bb0c1a151047d1f13aea83ad2562691cb8c8c90e40fecf83e0e2c21db80ce7f
Contents?: true
Size: 551 Bytes
Versions: 5
Compression:
Stored size: 551 Bytes
Contents
require 'faster_csv' require 'csv_pirate' require 'ninth_bit/pirate_ship' # If you are using this on a vanilla Ruby class (no rails or active record) then extend your class like this: # MyClass.send(:extend, NinthBit::PirateShip::ActMethods) if defined?(MyClass) # Alternatively you can do this inside your class definition: # class MyClass # extend NinthBit::PirateShip::ActMethods # end # If you are using ActiveRecord then it is done for you :) ActiveRecord::Base.send(:extend, NinthBit::PirateShip::ActMethods) if defined?(ActiveRecord)
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
csv_pirate-3.4.4 | rails/init.rb |
csv_pirate-3.4.3 | rails/init.rb |
csv_pirate-3.4.2 | rails/init.rb |
csv_pirate-3.4.1 | rails/init.rb |
csv_pirate-3.3.2 | rails/init.rb |