summaryrefslogtreecommitdiff
path: root/sample/trick2025/02-mame/sample.orig.rb
blob: 3d880b387d3783bf3e927a5f5641057a137ed7ec (plain)
1
2
3
4
5
6
7
8
def add(a, b)
  a + b
end

if __FILE__ == $0
  result = add(3, 5)
  puts "Three plus five is #{ result }"
end