Class: MessengerCreator::WellFinder

Inherits:
Object
  • Object
show all
Defined in:
app/models/messenger_creator.rb

Overview

rubocop:todo Style/Documentation

Instance Method Summary collapse

Constructor Details

#initialize(base) ⇒ WellFinder

Returns a new instance of WellFinder.


19
20
21
# File 'app/models/messenger_creator.rb', line 19

def initialize(base)
  @base = base
end

Instance Method Details

#each_targetObject


23
24
25
# File 'app/models/messenger_creator.rb', line 23

def each_target
  @base.wells.map { |w| yield w }
end