Sha256: 4e0b3601e76a06cfe191221c2e8d434969a7a4688796a731fd6e487a802068ad

Contents?: true

Size: 814 Bytes

Versions: 43

Compression:

Stored size: 814 Bytes

Contents

module BootstrapLeather
  def self.configure(configuration = BootstrapLeather::Configuration.new)
    if block_given?
      yield configuration
    end
    @@configuration = configuration
  end
  
  def self.configuration
    @@configuration ||= BootstrapLeather::Configuration.new
  end
  
  class Configuration
    attr_accessor :application_title, :application_description, :application_keywords, :application_path, :application_logo
    
    def initialize
      self.application_logo = '/assets/logo.svg'
      self.application_path = '/'
      self.application_title = 'Run the Generator, Config and Restart'
      self.application_description = 'Try it, very easy. `rails g bootstrap_leather:install` is the generator command.'
      self.application_keywords = 'Then,fix,your,config,file'
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
bootstrap_leather-0.9.4 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.9.3 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.9.2 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.9.1 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.9.0 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.8.8 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.8.7 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.8.6 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.8.5 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.8.4 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.8.3 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.8.2 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.8.1 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.8.0 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.7.4 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.7.3 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.7.1 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.7.0 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.6.3 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.6.2 lib/bootstrap_leather/configuration.rb