Platform check regexes
# File lib/echoe/platform.rb, line 10 def self.gcc? @gcc ||= RUBY_PLATFORM =~ /mingw/ !@gcc.nil? end
# File lib/echoe/platform.rb, line 20 def self.java? @java ||= RUBY_PLATFORM =~ /java/ !@java.nil? end
# File lib/echoe/platform.rb, line 33 def self.make msvc? ? 'nmake' : 'make' end
# File lib/echoe/platform.rb, line 15 def self.msvc? @msvc ||= RUBY_PLATFORM =~ /mswin/ !@msvc.nil? end
# File lib/echoe/platform.rb, line 29 def self.rake windows? ? "rake#{suffix}.bat" : "rake#{suffix}" end
Generated with the Darkfish Rdoc Generator 2.