Class Index [+]

Quicksearch

Echoe::Platform

Platform check regexes

Public Class Methods

gcc?() click to toggle source
    # File lib/echoe/platform.rb, line 10
10:   def self.gcc?
11:     @gcc ||= RUBY_PLATFORM =~ /mingw/
12:     !@gcc.nil?
13:   end
java?() click to toggle source
    # File lib/echoe/platform.rb, line 20
20:   def self.java?
21:     @java ||= RUBY_PLATFORM =~ /java/
22:     !@java.nil?
23:   end
make() click to toggle source
    # File lib/echoe/platform.rb, line 33
33:   def self.make
34:     msvc? ? 'nmake' : 'make'
35:   end
msvc?() click to toggle source
    # File lib/echoe/platform.rb, line 15
15:   def self.msvc?
16:     @msvc ||= RUBY_PLATFORM =~ /mswin/
17:     !@msvc.nil?
18:   end
rake() click to toggle source
    # File lib/echoe/platform.rb, line 29
29:   def self.rake
30:     windows? ? "rake#{suffix}.bat" : "rake#{suffix}"
31:   end
suffix() click to toggle source
    # File lib/echoe/platform.rb, line 25
25:   def self.suffix
26:     @suffix ||= Gem.default_exec_format[2..1]
27:   end
windows?() click to toggle source
   # File lib/echoe/platform.rb, line 5
5:   def self.windows?
6:     @windows ||= RUBY_PLATFORM =~ /djgpp|(cyg|ms|bcc)win|mingw/
7:     !@windows.nil?
8:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.