Class: DeltaCloud::PlainFormatter::FormatObject::HardwareProfile
- Defined in:
- lib/plain_formatter.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from DeltaCloud::PlainFormatter::FormatObject::Base
Instance Method Details
#format ⇒ Object
35 36 37 38 |
# File 'lib/plain_formatter.rb', line 35 def format sprintf("%-15s | %-6s | %10s | %10s ", @obj.id[0, 15], @obj.architecture.value[0,6], @obj.memory.value.to_s[0,10], @obj.storage.value.to_s[0,10]) end |