Sha256: f6cbb77853031f0e368063e164a7b29f9f51aec1bb74859ceab4256c4ac85f94

Contents?: true

Size: 228 Bytes

Versions: 7

Compression:

Stored size: 228 Bytes

Contents

module Paginate
  class Config
    class << self
      attr_accessor :size
      attr_accessor :param_name
    end

    def self.to_hash
      {
        :size => size,
        :param_name => param_name
      }
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
paginate-2.0.0 lib/paginate/config.rb
paginate-1.0.1 lib/paginate/config.rb
paginate-1.0.0 lib/paginate/config.rb
paginate-0.1.3 lib/paginate/config.rb
paginate-0.1.2 lib/paginate/config.rb
paginate-0.1.1 lib/paginate/config.rb
paginate-0.1.0 lib/paginate/config.rb