Module: Inspec::ResourceBehaviors
- Included in:
- Plugins::Resource
- Defined in:
- lib/inspec/plugin/v1/plugin_types/resource.rb
Instance Method Summary collapse
-
#inspect ⇒ String
Overwrite inspect to provide better output to RSpec results.
- #to_s ⇒ Object
Instance Method Details
#inspect ⇒ String
Overwrite inspect to provide better output to RSpec results.
14 15 16 |
# File 'lib/inspec/plugin/v1/plugin_types/resource.rb', line 14 def inspect to_s end |
#to_s ⇒ Object
7 8 9 |
# File 'lib/inspec/plugin/v1/plugin_types/resource.rb', line 7 def to_s @__resource_name__ end |