Class: EC2::Platform::Solaris::Architecture

Inherits:
Base::Architecture show all
Defined in:
lib/ec2/platform/solaris/architecture.rb

Constant Summary

Constants inherited from Base::Architecture

Base::Architecture::I386, Base::Architecture::SUPPORTED, Base::Architecture::UNKNOWN, Base::Architecture::X86_64

Class Method Summary collapse

Methods inherited from Base::Architecture

supported?

Class Method Details

.bundlingObject



19
20
21
22
23
24
# File 'lib/ec2/platform/solaris/architecture.rb', line 19

def self.bundling
  processor = Uname.processor
  return Architecture::I386 if processor =~ /^i\d86$/
  return Architecture::X86_64 if processor =~ /^x86_64$/
  return Architecture::UNKNOWN
end