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


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

def initialize(base)
  @base = base
end

Instance Method Details

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

Yields:

  • (@base)

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

def each_target
  yield @base
end