Class: HadoopDsl::BaseReducerModel

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

Instance Attribute Summary collapse

Attributes inherited from BaseModel

#controller

Instance Method Summary collapse

Methods included from DslElement

#method_missing

Constructor Details

#initialize(key, values) ⇒ BaseReducerModel

Returns a new instance of BaseReducerModel.



102
103
104
# File 'lib/core.rb', line 102

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

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class HadoopDsl::DslElement

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



100
101
102
# File 'lib/core.rb', line 100

def key
  @key
end

#valuesObject (readonly)

Returns the value of attribute values.



100
101
102
# File 'lib/core.rb', line 100

def values
  @values
end