Method: LibGems::Platform.new

Defined in:
lib/libgems/platform.rb

.new(arch) ⇒ Object

:nodoc:



27
28
29
30
31
32
33
34
35
36
# File 'lib/libgems/platform.rb', line 27

def self.new(arch) # :nodoc:
  case arch
  when LibGems::Platform::CURRENT then
    LibGems::Platform.local
  when LibGems::Platform::RUBY, nil, '' then
    LibGems::Platform::RUBY
  else
    super
  end
end