File: mock_application.rb

package info (click to toggle)
ruby-launchy 2.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 292 kB
  • sloc: ruby: 1,285; makefile: 6
file content (9 lines) | stat: -rw-r--r-- 168 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
class MockApplication < Launchy::Application
  def self.schemes
    %w[ mock mockother ]
  end

  def self.handles?( uri )
    schemes.include?( uri.scheme )
  end
end