Skip to content

As a branch and PR for each: update all to_s methods in all the resources to return data about what was inspected. #24

@aaronlippold

Description

@aaronlippold

For the singular it should be easy add a "#{@something}" to the end

For the plural we should see if we may have to make things smarter - perhaps:

if there is only one return: I think this is the right 'ruby way' to do this. In regular lang you would use an if :)

return "Plural things: #{@single_thing_id}" if @plural_thing.count = 1
"Plural things: #{@list_of_pluralthing_id_field + ", "} 

For example: In aws_ec2_security_groups I think the plural_thing is @table

I leave the details as an exercise for the reader ...

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions