Sha256: 75595fe6f1e920a2edc19f6dc94a226b57d5fd01c7115edc9daa48e392dfd8b2
Contents?: true
Size: 494 Bytes
Versions: 29
Compression:
Stored size: 494 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
29 entries across 29 versions & 1 rubygems