lib/win_gui/app.rb in win_gui-0.2.16 vs lib/win_gui/app.rb in win_gui-0.2.17
- old
+ new
@@ -65,10 +65,10 @@
end
private
def cygwin?
- RUBY_PLATFORM =~ /cygwin/
+ @cygwin_flag ||= RUBY_PLATFORM =~ /cygwin/
end
def launch_app(app_path, dir_path)
app = cygwin? ? app_path.to_s : app_path.to_s.gsub(/\//, "\\")
\ No newline at end of file