Module: Echoe::Platform

Module | Echoe::Platform
In: | lib/echoe/platform.rb lib/echoe/platform.rb

### Methods

gcc? gcc? java? java? make make msvc? msvc? rake rake suffix suffix windows? windows?

### Public Class methods

gcc?()

[Source]

        # File lib/echoe/platform.rb, line 11
    11:     def self.gcc?
    12:       @gcc ||= RUBY_PLATFORM =~ /mingw/
    13:       !@gcc.nil?
    14:     end

gcc?()

[Source]

        # File lib/echoe/platform.rb, line 11
    11:     def self.gcc?
    12:       @gcc ||= RUBY_PLATFORM =~ /mingw/
    13:       !@gcc.nil?
    14:     end

java?()

[Source]

        # File lib/echoe/platform.rb, line 21
    21:     def self.java?
    22:       @java ||= RUBY_PLATFORM =~ /java/
    23:       !@java.nil?
    24:     end

java?()

[Source]

        # File lib/echoe/platform.rb, line 21
    21:     def self.java?
    22:       @java ||= RUBY_PLATFORM =~ /java/
    23:       !@java.nil?
    24:     end

make()

[Source]

        # File lib/echoe/platform.rb, line 34
    34:     def self.make
    35:       msvc? ? 'nmake' : 'make'
    36:     end

make()

[Source]

        # File lib/echoe/platform.rb, line 34
    34:     def self.make
    35:       msvc? ? 'nmake' : 'make'
    36:     end

msvc?()

[Source]

        # File lib/echoe/platform.rb, line 16
    16:     def self.msvc?
    17:       @msvc ||= RUBY_PLATFORM =~ /mswin/
    18:       !@msvc.nil?
    19:     end

msvc?()

[Source]

        # File lib/echoe/platform.rb, line 16
    16:     def self.msvc?
    17:       @msvc ||= RUBY_PLATFORM =~ /mswin/
    18:       !@msvc.nil?
    19:     end

rake()

[Source]

        # File lib/echoe/platform.rb, line 30
    30:     def self.rake
    31:       windows? ? "rake#{suffix}.bat" : "rake#{suffix}"
    32:     end

rake()

[Source]

        # File lib/echoe/platform.rb, line 30
    30:     def self.rake
    31:       windows? ? "rake#{suffix}.bat" : "rake#{suffix}"
    32:     end

suffix()

[Source]

        # File lib/echoe/platform.rb, line 26
    26:     def self.suffix
    27:       @suffix ||= Gem.default_exec_format[2..-1]
    28:     end

suffix()

[Source]

        # File lib/echoe/platform.rb, line 26
    26:     def self.suffix
    27:       @suffix ||= Gem.default_exec_format[2..-1]
    28:     end

windows?()

[Source]

       # File lib/echoe/platform.rb, line 6
    6:     def self.windows?
    7:       @windows ||= RUBY_PLATFORM =~ /djgpp|(cyg|ms|bcc)win|mingw/
    8:       !@windows.nil?
    9:     end

windows?()

[Source]

       # File lib/echoe/platform.rb, line 6
    6:     def self.windows?
    7:       @windows ||= RUBY_PLATFORM =~ /djgpp|(cyg|ms|bcc)win|mingw/
    8:       !@windows.nil?
    9:     end

[Validate]