class Bootstrap4Helper::Configuration

Simple configuration object for setting options for the gem.

@todo Build a better, more comprehensive system.

Constants

DEFAULT_SETTINGS

Public Class Methods

new(_args = {}) click to toggle source

Class constructor

@param [Hash] _args @return [ClassName]

# File lib/bootstrap4_helper/configuration.rb, line 23
def initialize(_args = {})
  DEFAULT_SETTINGS.each { |key, value| instance_variable_set("@#{key}", value) }
end

Public Instance Methods

autoload_in_views?() click to toggle source

Simple predicate method

@return [Boolean]

# File lib/bootstrap4_helper/configuration.rb, line 31
def autoload_in_views?
  @autoload_in_views
end