Class: MessengerCreator::WellFinder

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

Instance Method Summary collapse

Constructor Details

#initialize(base) ⇒ WellFinder

Returns a new instance of WellFinder


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

def initialize(base)
  @base = base
end

Instance Method Details

#each_targetObject


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

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