Sha256: 8e2255fb4c89078f87fff8d828587e8fb4bd5a91e58619ae033f254793bfe400
Contents?: true
Size: 524 Bytes
Versions: 17
Compression:
Stored size: 524 Bytes
Contents
module Bake class Doc def self.show link = File.expand_path(File.dirname(__FILE__)+"/../../../documentation/_build/html/index.html") if RUBY_PLATFORM =~ /mswin|mingw|cygwin/ system "start #{link}" elsif RUBY_PLATFORM =~ /darwin/ system "open #{link}" elsif RUBY_PLATFORM =~ /linux|bsd/ system "xdg-open #{link}" else puts "Please open #{link} manually in your browser." end ExitHelper.exit(0) end end end
Version data entries
17 entries across 17 versions & 1 rubygems