Class: MessengerCreator::WellFinder
- Inherits:
-
Object
- Object
- MessengerCreator::WellFinder
- Defined in:
- app/models/messenger_creator.rb
Instance Method Summary collapse
- #each_target ⇒ Object
-
#initialize(base) ⇒ WellFinder
constructor
A new instance of WellFinder.
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_target ⇒ Object
23 24 25 |
# File 'app/models/messenger_creator.rb', line 23 def each_target @base.wells.map { |w| yield w } end |