lib/sensu-plugins-gpg/key.rb
def to_s
    'Id: ' + @id.to_s +
      ', Expires on: ' + display_expiry_date +
      ', Level: ' + map_number_to_word_level(@level) +
      ', Number of days left to expire: ' + display_num_of_days_left +
      ', Description: ' + @description % self
  end
# Print the instance of Key's details in a nice format
Print the instance of Key's details in a nice format
Print the instance of Key ' s details in a nice format
def to_s
    'Id: ' + @id.to_s +
      ', Expires on: ' + display_expiry_date +
      ', Level: ' + map_number_to_word_level(@level) +
      ', Number of days left to expire: ' + display_num_of_days_left +
      ', Description: ' + @description % self
  end
def to_s 'Id: ' + @id . to_s + ', Expires on: ' + display_expiry_date + ', Level: ' + map_number_to_word_level ( @level ) + ', Number of days left to expire: ' + display_num_of_days_left + ', Description: ' + @description % self end
Print the instance of Key's details in a nice format
Print the instance of Key ' s details in a nice format