Class: MessengerCreator::SelfFinder

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

Instance Method Summary collapse

Constructor Details

#initialize(base) ⇒ SelfFinder

Returns a new instance of SelfFinder.



9
10
11
# File 'app/models/messenger_creator.rb', line 9

def initialize(base)
  @base = base
end

Instance Method Details

#each_target {|@base| ... } ⇒ Object

Yields:

  • (@base)


13
14
15
# File 'app/models/messenger_creator.rb', line 13

def each_target
  yield @base
end