Sha256: 5e2a965dc126c42da63ecbf6e9c89615327e8d6711eb3e6f41741adbb0952644

Contents?: true

Size: 290 Bytes

Versions: 7

Compression:

Stored size: 290 Bytes

Contents

require_relative 'mobile_pagination/initialize'

module MobilePagination
  class << self
    attr_accessor :configuration
  end

  def self.configure
    @configuration ||= Configuration.new
    yield(configuration) if block_given?
  end

end

MobilePagination.configure unless block_given?

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mobile_pagination-0.0.7 lib/mobile_pagination.rb
mobile_pagination-0.0.6 lib/mobile_pagination.rb
mobile_pagination-0.0.5 lib/mobile_pagination.rb
mobile_pagination-0.0.4 lib/mobile_pagination.rb
mobile_pagination-0.0.3 lib/mobile_pagination.rb
mobile_pagination-0.0.2 lib/mobile_pagination.rb
mobile_pagination-0.0.1 lib/mobile_pagination.rb