Module: Inspec::Backend::Base
- Defined in:
- lib/inspec/backend.rb
Instance Attribute Summary collapse
-
#profile ⇒ Object
Returns the value of attribute profile.
Instance Method Summary collapse
-
#inspect ⇒ Object
Ruby internal for pretty-printing a summary for this class.
-
#to_s ⇒ Object
Ruby internal for printing a nice name for this class.
-
#version ⇒ String
Provide a shorthand to retrieve the inspec version from within a profile.
Instance Attribute Details
#profile ⇒ Object
Returns the value of attribute profile.
12 13 14 |
# File 'lib/inspec/backend.rb', line 12 def profile @profile end |
Instance Method Details
#inspect ⇒ Object
Ruby internal for pretty-printing a summary for this class
27 28 29 |
# File 'lib/inspec/backend.rb', line 27 def inspect "Inspec::Backend::Class @transport=#{backend.class}" end |
#to_s ⇒ Object
Ruby internal for printing a nice name for this class
22 23 24 |
# File 'lib/inspec/backend.rb', line 22 def to_s 'Inspec::Backend::Class' end |