class Katar::Commands::EditCommand
Public Instance Methods
edit()
click to toggle source
# File lib/katar/commands/edit_command.rb, line 8 def edit if windows? exec "start #{Katar::DIR}/Katar.yaml" end exec "open #{Katar::DIR}/Katar.yaml" end
Private Instance Methods
windows?()
click to toggle source
# File lib/katar/commands/edit_command.rb, line 20 def windows? (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil end