Sha256: 5d724ad10ef337541d15c13cbe1b93e0da3db59c44d43aabaa15e4c638766045

Contents?: true

Size: 746 Bytes

Versions: 4

Compression:

Stored size: 746 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
    
    def initialize
      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

4 entries across 4 versions & 1 rubygems

Version Path
bootstrap_leather-0.1.6 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.1.4 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.1.3 lib/bootstrap_leather/configuration.rb
bootstrap_leather-0.1.0 lib/bootstrap_leather/configuration.rb