File: detect.rb

package info (click to toggle)
ruby-train 3.13.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,208 kB
  • sloc: ruby: 10,002; sh: 17; makefile: 8
file content (10 lines) | stat: -rw-r--r-- 244 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
module Train::Platforms
  module Detect
    # Main detect method to scan all platforms for a match
    #
    # @return Train::Platform instance or error if none found
    def self.scan(backend)
      Scanner.new(backend).scan
    end
  end
end