Module: BootstrapLeather

Defined in:
lib/bootstrap_leather.rb,
lib/bootstrap_leather/engine.rb,
lib/bootstrap_leather/railtie.rb,
lib/bootstrap_leather/version.rb,
lib/bootstrap_leather/configuration.rb,
lib/generators/bootstrap_leather/utils.rb,
lib/generators/bootstrap_leather/install/install_generator.rb

Defined Under Namespace

Modules: Generators Classes: Configuration, Engine, InstallGenerator, Railtie

Constant Summary collapse

VERSION =
File.read(File.expand_path('../../../VERSION', __FILE__))

Class Method Summary collapse

Class Method Details

.configurationObject



9
10
11
# File 'lib/bootstrap_leather/configuration.rb', line 9

def self.configuration
  @@configuration ||= BootstrapLeather::Configuration.new
end

.configure(configuration = BootstrapLeather::Configuration.new) ⇒ Object



2
3
4
5
6
7
# File 'lib/bootstrap_leather/configuration.rb', line 2

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

.version_stringObject



4
5
6
# File 'lib/bootstrap_leather/version.rb', line 4

def self.version_string
  "BootstrapLeather version #{BootstrapLeather::VERSION}"
end