summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2011-11-27 22:08:55 +0900
committerRandy Morgan <[email protected]>2011-11-27 22:08:55 +0900
commit058faf2581970fa18c314ad07f5658adeca32c69 (patch)
treefadb7296aa249778690f3c70247c0d79e40b5274 /lib
parentf050dd81a633c45e3c8a57dffcdb4db715183e3d (diff)
downloadcaxlsx-058faf2581970fa18c314ad07f5658adeca32c69.tar.gz
caxlsx-058faf2581970fa18c314ad07f5658adeca32c69.zip
update to README
Diffstat (limited to 'lib')
-rw-r--r--lib/axlsx/ar.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/axlsx/ar.rb b/lib/axlsx/ar.rb
index 83fc7041..f2e116c1 100644
--- a/lib/axlsx/ar.rb
+++ b/lib/axlsx/ar.rb
@@ -24,6 +24,7 @@ module Axlsx
# Maps the AR class to an Axlsx package
# options are passed into AR find
+ # @param [Symbol, :all, etc.
# @option options [Integer] header_style to apply to the first row of field names
# @option options [Array, Symbol] an array of Axlsx types for each cell in data rows or a single type that will be applied to all types.
# @option options [Integer, Array] style The style to pass to Worksheet#add_row
@@ -53,7 +54,7 @@ module Axlsx
end
# Empty module - I really like ruports way of allowing :include, :only, :exclude
- # and am looking to add something like that in later
+ # and am looking to add something like that in the next release
module InstanceMethods
end
@@ -62,7 +63,6 @@ module Axlsx
end
begin
-
require 'active_record'
ActiveRecord::Base.send :include, Axlsx::Ar
rescue Exception=>e