Class: HadoopDsl::LogAnalysis::LogAnalysisReducerModel::Topic

Inherits:
Object
  • Object
show all
Defined in:
lib/log_analysis.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(label, values) ⇒ Topic

Returns a new instance of Topic.



206
207
208
# File 'lib/log_analysis.rb', line 206

def initialize(label, values)
  @label, @values = label, values
end

Instance Attribute Details

#labelObject (readonly)

Returns the value of attribute label.



204
205
206
# File 'lib/log_analysis.rb', line 204

def label
  @label
end

#valuesObject (readonly)

Returns the value of attribute values.



204
205
206
# File 'lib/log_analysis.rb', line 204

def values
  @values
end

Instance Method Details

#==(rh) ⇒ Object



210
# File 'lib/log_analysis.rb', line 210

def ==(rh) self.label == rh.label end