Class: Cockpit::AR::Setting
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Cockpit::AR::Setting
- Defined in:
- lib/cockpit/stores/active_record.rb
Instance Method Summary collapse
Instance Method Details
#cockpit ⇒ Object
69 70 71 |
# File 'lib/cockpit/stores/active_record.rb', line 69 def cockpit configurable ? configurable.cockpit : Cockpit::Settings.global end |
#parsed_value ⇒ Object
73 74 75 |
# File 'lib/cockpit/stores/active_record.rb', line 73 def parsed_value value#['root'] end |