Class: Edge::Label
- Inherits:
-
Object
- Object
- Edge::Label
- Defined in:
- lib/logstash/outputs/Edge/label.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name_param, value_param) ⇒ Label
constructor
A new instance of Label.
Constructor Details
#initialize(name_param, value_param) ⇒ Label
Returns a new instance of Label.
6 7 8 9 10 11 12 13 |
# File 'lib/logstash/outputs/Edge/label.rb', line 6 def initialize(name_param, value_param) puts "name" puts name_param puts "value" puts value_param name = name_param value = value_param end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/logstash/outputs/Edge/label.rb', line 4 def name @name end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
4 5 6 |
# File 'lib/logstash/outputs/Edge/label.rb', line 4 def value @value end |