Sha256: bf9919227761dc867b21474ed91b123fa28531967457d049fd3d41ac35d1eaab

Contents?: true

Size: 328 Bytes

Versions: 17

Compression:

Stored size: 328 Bytes

Contents

module FlammarionRails
  @@config = nil

  def self.configure
    @@config ||= Configuration.new

    if block_given?
      yield config
    end

    config
  end

  def self.config
    @@config || configure
  end

  class Configuration
    attr_accessor :boot_path

    def boot_path
      @boot_path ||= '/'
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
flammarion_rails-0.3.4 lib/flammarion_rails/configuration.rb
flammarion_rails-0.3.3 lib/flammarion_rails/configuration.rb
flammarion_rails-0.3.2 lib/flammarion_rails/configuration.rb
flammarion_rails-0.3.1 lib/flammarion_rails/configuration.rb
flammarion_rails-0.3.0 lib/flammarion_rails/configuration.rb
flammarion_rails-0.2.10 lib/flammarion_rails/configuration.rb
flammarion_rails-0.2.9 lib/flammarion_rails/configuration.rb
flammarion_rails-0.2.8 lib/flammarion_rails/configuration.rb
flammarion_rails-0.2.7 lib/flammarion_rails/configuration.rb
flammarion_rails-0.2.6 lib/flammarion_rails/configuration.rb
flammarion_rails-0.2.5 lib/flammarion_rails/configuration.rb
flammarion_rails-0.2.4 lib/flammarion_rails/configuration.rb
flammarion_rails-0.2.3 lib/flammarion_rails/configuration.rb
flammarion_rails-0.2.2 lib/flammarion_rails/configuration.rb
flammarion_rails-0.2.1 lib/flammarion_rails/configuration.rb
flammarion_rails-0.2.0 lib/flammarion_rails/configuration.rb
flammarion_rails-0.1.0 lib/flammarion_rails/configuration.rb