Class: NewRelic::Plugin::Processor::Base
- Inherits:
-
Object
- Object
- NewRelic::Plugin::Processor::Base
- Defined in:
- lib/newrelic_plugin/processor.rb
Direct Known Subclasses
NewRelic::Processor::EpochCounter, NewRelic::Processor::Rate
Instance Attribute Summary collapse
-
#ident ⇒ Object
readonly
Returns the value of attribute ident.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
Instance Method Summary collapse
-
#initialize(ident, label) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(ident, label) ⇒ Base
Returns a new instance of Base.
11 12 13 14 |
# File 'lib/newrelic_plugin/processor.rb', line 11 def initialize ident,label @ident=ident @label=label end |
Instance Attribute Details
#ident ⇒ Object (readonly)
Returns the value of attribute ident.
10 11 12 |
# File 'lib/newrelic_plugin/processor.rb', line 10 def ident @ident end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
10 11 12 |
# File 'lib/newrelic_plugin/processor.rb', line 10 def label @label end |