Skip to content

Commit

Permalink
Fix meta methods doc
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan committed Nov 19, 2024
1 parent 3558341 commit cca04d9
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions lib/datagrid/columns.rb
Original file line number Diff line number Diff line change
Expand Up @@ -200,30 +200,30 @@ module Datagrid
# presenter.user.created_at
# end
module Columns
# @param [Hash] value default options passed to {#column} method call
# @return [Hash] default options passed to {#column} method call
# @example Disable default order
# self.default_column_options = { order: false }
# @example Makes entire report HTML
# self.default_column_options = { html: true }
# @!method default_column_options=(value)
# @param [Hash] value default options passed to {#column} method call
# @return [Hash] default options passed to {#column} method call
# @example Disable default order
# self.default_column_options = { order: false }
# @example Makes entire report HTML
# self.default_column_options = { html: true }

# @return [Hash] default options passed to {#column} method call
# @see #default_column_options=
# @!method default_column_options
# @return [Hash] default options passed to {#column} method call
# @see #default_column_options=

# @!method batch_size=(value)
# Specify a default batch size when generating CSV or just data.
# @param [Integer] value a batch size when generating CSV or just data. Default: 1000
# @return [void]
# @example Set batch size to 500
# self.batch_size = 500
# @example Disable batches
# self.batch_size = nil
# Specify a default batch size when generating CSV or just data.
# @param [Integer] value a batch size when generating CSV or just data. Default: 1000
# @return [void]
# @example Set batch size to 500
# self.batch_size = 500
# @example Disable batches
# self.batch_size = nil

# @!method batch_size
# @return [Integer]
# @see #batch_size=
# @return [Integer]
# @see #batch_size=

# @visibility private
# @param [Object] base
Expand Down

0 comments on commit cca04d9

Please sign in to comment.