Parent

Launchy::Detect::HostOs

Attributes

host_os[R]

Public Class Methods

new( host_os = nil ) click to toggle source
    # File lib/launchy/detect/host_os.rb, line 9
 9:     def initialize( host_os = nil )
10:       @host_os = host_os
11: 
12:       if not @host_os then
13:         if @host_os = override_host_os then
14:           Launchy.log "Using LAUNCHY_HOST_OS override value of '#{Launchy.host_os}'"
15:         else
16:           @host_os = default_host_os
17:         end
18:       end
19:     end

Public Instance Methods

default_host_os() click to toggle source
    # File lib/launchy/detect/host_os.rb, line 21
21:     def default_host_os
22:       ::RbConfig::CONFIG['host_os']
23:     end
override_host_os() click to toggle source
    # File lib/launchy/detect/host_os.rb, line 25
25:     def override_host_os
26:       Launchy.host_os
27:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.