Methods

DeltaCloud::PlainFormatter::FormatObject::Image

Public Instance Methods

format() click to toggle source
# File lib/plain_formatter.rb, line 27
def format
  sprintf("%-10s | %-20s | %-6s | %-20s | %15s",
      @obj.id[0,10],
      @obj.name ? @obj.name[0, 20]: 'unknown',
      @obj.architecture[0,6],
      @obj.description[0,20],
      @obj.owner_id[0,15]
  )
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.