Skip to content

Instantly share code, notes, and snippets.

View mizukmb's full-sized avatar
🏠
Working from home

Yuto MIZUSHIRI mizukmb

🏠
Working from home
View GitHub Profile
@otofu-square
otofu-square / compose.rb
Last active November 30, 2018 08:04
Implement compose function in Ruby
require 'pp'
# block/proc/lambda のおさらい①
#
# - block とは
# メソッドに「処理」を渡したい時に使うもの
def hoge(&block)
block("World")
end