Module: BootstrapLeather

Defined in:
lib/bootstrap_leather.rb,
lib/bootstrap_leather/engine.rb,
lib/bootstrap_leather/version.rb,
lib/bootstrap_leather/configuration.rb,
lib/generators/bootstrap_leather/utils.rb,
app/helpers/bootstrap_leather/foot_helper.rb,
app/helpers/bootstrap_leather/grid_helper.rb,
app/helpers/bootstrap_leather/head_helper.rb,
app/helpers/bootstrap_leather/tabs_helper.rb,
app/helpers/bootstrap_leather/icons_helper.rb,
app/helpers/bootstrap_leather/alerts_helper.rb,
app/helpers/bootstrap_leather/badges_helper.rb,
app/helpers/bootstrap_leather/modals_helper.rb,
app/helpers/bootstrap_leather/widgets_helper.rb,
app/helpers/bootstrap_leather/carousels_helper.rb,
app/helpers/bootstrap_leather/hero_unit_helper.rb,
app/helpers/bootstrap_leather/navigation_helper.rb,
app/helpers/bootstrap_leather/thumbnails_helper.rb,
app/helpers/bootstrap_leather/typography_helper.rb,
app/helpers/bootstrap_leather/application_helper.rb,
lib/generators/bootstrap_leather/install/install_generator.rb

Overview

Configuration for the BootstrapLeather module

Defined Under Namespace

Modules: AlertsHelper, ApplicationHelper, BadgesHelper, CarouselsHelper, FootHelper, Generators, GridHelper, HeadHelper, HeroUnitHelper, IconsHelper, ModalsHelper, NavigationHelper, TabsHelper, ThumbnailsHelper, TypographyHelper, WidgetsHelper Classes: Configuration, Engine, InstallGenerator

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details

.configurationObject



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

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

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

Yields:



5
6
7
8
# File 'lib/bootstrap_leather/configuration.rb', line 5

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

.version_stringObject



7
8
9
# File 'lib/bootstrap_leather/version.rb', line 7

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