Sha256: f3074d9bc4d467f421705ff2daae5d7e61ebb328ced6e873e7ca9a91303eab6e

Contents?: true

Size: 766 Bytes

Versions: 1

Compression:

Stored size: 766 Bytes

Contents

require 'landable/version'
require 'landable/engine'
require 'landable/liquid'
require 'landable/error'
require 'landable/mime_types'
require 'landable/inflections'
require 'landable/traffic'
require 'landable/migration'

require 'landable/core_ext/ipaddr'

require 'lookup_by'

module Landable
  # This absurd configuration loading code is not intended to live long.

  autoload :Configuration, 'landable/configuration'
  autoload :Layout,        'landable/layout'
  autoload :Partial,       'landable/partial'
  autoload :Seeds,         'landable/seeds'

  def self.configuration
    @configuration ||= Configuration.new(@file_path)
  end

  def self.configure(path = nil)
    @file_path = path

    yield configuration if block_given?
    configuration
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
landable-1.14.0 lib/landable.rb