lib/ruote/util/misc.rb in ruote-2.1.6 vs lib/ruote/util/misc.rb in ruote-2.1.7
- old
+ new
@@ -23,9 +23,13 @@
#++
module Ruote
+ # Will be set to true if the Ruby runtime is on Windows
+ #
+ WIN = RUBY_PLATFORM.match(/mswin|mingw/) != nil
+
# Prints the current call stack to stdout
#
def self.p_caller (*msg)
puts