40 41 42 43 44 45 46 47
# File 'lib/cockpit/core/include.rb', line 40 def cockpit(key = nil) @cockpit ||= Cockpit::Settings.new(:record => self) if key @cockpit.definition(key) else @cockpit end end