Class: WavefrontWavefrontOutput::Base
- Inherits:
-
Object
- Object
- WavefrontWavefrontOutput::Base
- Defined in:
- lib/wavefront-cli/output/wavefront/base.rb
Overview
Standard output template
Direct Known Subclasses
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#resp ⇒ Object
readonly
Returns the value of attribute resp.
Instance Method Summary collapse
-
#initialize(resp, options) ⇒ Base
constructor
A new instance of Base.
- #run ⇒ Object
Constructor Details
#initialize(resp, options) ⇒ Base
Returns a new instance of Base.
8 9 10 11 |
# File 'lib/wavefront-cli/output/wavefront/base.rb', line 8 def initialize(resp, ) @resp = resp @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/wavefront-cli/output/wavefront/base.rb', line 6 def @options end |
#resp ⇒ Object (readonly)
Returns the value of attribute resp.
6 7 8 |
# File 'lib/wavefront-cli/output/wavefront/base.rb', line 6 def resp @resp end |
Instance Method Details
#run ⇒ Object
13 14 15 |
# File 'lib/wavefront-cli/output/wavefront/base.rb', line 13 def run puts _run end |