Method: OpenC3::Group.scripts

Defined in:
lib/openc3/script/suite.rb

.scriptsObject



286
287
288
289
290
291
292
293
294
295
296
297
# File 'lib/openc3/script/suite.rb', line 286

def self.scripts
  # Find all the script methods
  methods = []
  self.instance_methods.each do |method_name|
    if /^test|^script|op_/.match?(method_name.to_s)
      methods << method_name.to_s
    end
  end
  # Sort by name for all found methods
  methods.sort!
  methods
end