Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ruby is fun but difficult

Ruby is fun but difficult

2017/02/10の社内勉強会用に作成した資料です。

クイズのページはこちら。
https://hoshinotsuyoshi.com/ruby_truthy_or_falsy/

クイズのソースはこちら。
https://github.com/hoshinotsuyoshi/ruby_truthy_or_falsy

hoshino tsuyoshi

February 10, 2017
Tweet

More Decks by hoshino tsuyoshi

Other Decks in Programming

Transcript

  1. irb(main):002:0> ( 2i * 2i ) < -3 NoMethodError: undefined

    method `<' for (-4+0i):Complex from (irb):2 from /Users/hoshino/.rbenv/ versions/2.4.0/bin/irb:11:in `<main>'
  2. &OWJSPONFOU w 5FTUFEJOT.BD w NBD044JFSSB w 1PXFSFECZSCFOW w $ ruby

    -v w ruby 2.4.0p0 (2016-12-24 revision57164) [x86_64-darwin16]