Class: Object

Inherits:
BasicObject
Defined in:
lib/yield_source.rb

Instance Method Summary collapse

Instance Method Details

#what_the_dooce! {|"Found me.."| ... } ⇒ Object

Yields:

  • ("Found me..")


3
4
5
6
7
# File 'lib/yield_source.rb', line 3

def what_the_dooce!()
    yield("Found me..")
    puts("How did this work?!")
    puts("Where is this coming from?")
end