Method: OpenC3::WidgetModel.all
- Defined in:
- lib/openc3/models/widget_model.rb
.all(scope: nil) ⇒ Object
54 55 56 57 58 59 60 |
# File 'lib/openc3/models/widget_model.rb', line 54 def self.all(scope: nil) tools = Store.hgetall("#{scope}__#{PRIMARY_KEY}") tools.each do |key, value| tools[key] = JSON.parse(value, :allow_nan => true, :create_additions => true) end return tools end |