Class: RailsCacheInspector::Configuration
- Inherits:
-
Object
- Object
- RailsCacheInspector::Configuration
- Defined in:
- lib/rails-cache-inspector/configuration.rb
Instance Attribute Summary collapse
-
#highlight_with ⇒ Object
Returns the value of attribute highlight_with.
Instance Method Summary collapse
-
#initialize(init_with = {}) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(init_with = {}) ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 |
# File 'lib/rails-cache-inspector/configuration.rb', line 5 def initialize(init_with = {}) init_with.each { |k, v| public_send("#{k}=", v) } end |
Instance Attribute Details
#highlight_with ⇒ Object
Returns the value of attribute highlight_with.
3 4 5 |
# File 'lib/rails-cache-inspector/configuration.rb', line 3 def highlight_with @highlight_with end |