Class: WavefrontWavefrontOutput::Base
- Inherits:
-
Object
- Object
- WavefrontWavefrontOutput::Base
- Defined in:
- lib/wavefront-cli/output/wavefront/base.rb
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.
5 6 7 8 |
# File 'lib/wavefront-cli/output/wavefront/base.rb', line 5 def initialize(resp, ) @resp = resp @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/wavefront-cli/output/wavefront/base.rb', line 3 def @options end |
#resp ⇒ Object (readonly)
Returns the value of attribute resp.
3 4 5 |
# File 'lib/wavefront-cli/output/wavefront/base.rb', line 3 def resp @resp end |
Instance Method Details
#run ⇒ Object
10 11 12 |
# File 'lib/wavefront-cli/output/wavefront/base.rb', line 10 def run puts _run end |