Class: GridSizeDisplay::Config
- Inherits:
-
Object
- Object
- GridSizeDisplay::Config
- Defined in:
- lib/rails-bootstrap-sass-grid_size_display.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Returns the value of attribute enabled.
Instance Method Summary collapse
- #enabled? ⇒ Boolean
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
16 17 18 |
# File 'lib/rails-bootstrap-sass-grid_size_display.rb', line 16 def initialize @enabled = Rails.env.development? end |
Instance Attribute Details
#enabled ⇒ Object
Returns the value of attribute enabled.
14 15 16 |
# File 'lib/rails-bootstrap-sass-grid_size_display.rb', line 14 def enabled @enabled end |
Instance Method Details
#enabled? ⇒ Boolean
20 21 22 |
# File 'lib/rails-bootstrap-sass-grid_size_display.rb', line 20 def enabled? @enabled end |