Module: GridSizeDisplay

Defined in:
lib/grid_size_display/engine.rb,
lib/grid_size_display/version.rb,
lib/rails-bootstrap-sass-grid_size_display.rb,
app/controllers/grid_size_display/application_controller.rb

Defined Under Namespace

Classes: ApplicationController, Config, Engine, Rack

Constant Summary collapse

VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.configObject



5
6
7
# File 'lib/rails-bootstrap-sass-grid_size_display.rb', line 5

def self.config
  @config ||= ::GridSizeDisplay::Config.new
end

.configure {|config| ... } ⇒ Object

Yields:



9
10
11
# File 'lib/rails-bootstrap-sass-grid_size_display.rb', line 9

def self.configure(&_block)
  yield(config) if block_given?
end