Class: Zold::Farmers::Plain

Inherits:
Object
  • Object
show all
Defined in:
lib/zold/node/farmers.rb

Overview

Plain and simple

Instance Method Summary collapse

Constructor Details

#initialize(log: Log::NULL) ⇒ Plain

Returns a new instance of Plain.



47
48
49
# File 'lib/zold/node/farmers.rb', line 47

def initialize(log: Log::NULL)
  @log = log
end

Instance Method Details

#up(score) ⇒ Object



51
52
53
# File 'lib/zold/node/farmers.rb', line 51

def up(score)
  score.next
end