Sha256: 102ea47a1955150c918cde304e6633b4a5eb968abbbf3c4a86d9501d2d2b0731

Contents?: true

Size: 766 Bytes

Versions: 67

Compression:

Stored size: 766 Bytes

Contents

# Copyright (C) 2011 RightScale, Inc, All Rights Reserved Worldwide.
#
# THIS PROGRAM IS CONFIDENTIAL AND PROPRIETARY TO RIGHTSCALE
# AND CONSTITUTES A VALUABLE TRADE SECRET. Any unauthorized use,
# reproduction, modification, or disclosure of this program is
# strictly prohibited. Any use of this program by an authorized
# licensee is strictly subject to the terms and conditions,
# including confidentiality obligations, set forth in the applicable
# License Agreement between RightScale.com, Inc. and
# the licensee

module RightConf

  # Linux specific implementation
  class Platform

    attr_reader :flavor, :release

    # Initialize flavor and release
    def init
      @flavor = 'mac_os_x'
      @release = `sw_vers -productVersion`
    end

  end

end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
rconf-0.8.21 lib/rconf/platforms/darwin.rb
rconf-0.8.20 lib/rconf/platforms/darwin.rb
rconf-0.8.19 lib/rconf/platforms/darwin.rb
rconf-0.8.18 lib/rconf/platforms/darwin.rb
rconf-0.8.17 lib/rconf/platforms/darwin.rb
rconf-0.8.16 lib/rconf/platforms/darwin.rb
rconf-0.8.15 lib/rconf/platforms/darwin.rb
rconf-0.8.14 lib/rconf/platforms/darwin.rb
rconf-0.8.13 lib/rconf/platforms/darwin.rb
rconf-0.8.12 lib/rconf/platforms/darwin.rb
rconf-0.8.11 lib/rconf/platforms/darwin.rb
rconf-0.8.10 lib/rconf/platforms/darwin.rb
rconf-0.8.9 lib/rconf/platforms/darwin.rb
rconf-0.8.8 lib/rconf/platforms/darwin.rb
rconf-0.8.5 lib/rconf/platforms/darwin.rb
rconf-0.8.4 lib/rconf/platforms/darwin.rb
rconf-0.8.3 lib/rconf/platforms/darwin.rb
rconf-0.8.2 lib/rconf/platforms/darwin.rb
rconf-0.8.1 lib/rconf/platforms/darwin.rb
rconf-0.8.0 lib/rconf/platforms/darwin.rb