def my_lambda(&block) blockendb = my_lambda { puts "Hello World My Way!" }b.call# Hello World My Way!puts b.class # => Proc