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

Ruby之道——让Ruby更简单

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.
Avatar for Alex Alex
November 30, 2015

 Ruby之道——让Ruby更简单

Elixir缘道会线下活动第二期主题

Avatar for Alex

Alex

November 30, 2015
Tweet

More Decks by Alex

Other Decks in Programming

Transcript

  1. ਭᥤRuby / ฎՋԍҁwhat/ how҂ • ੒᨝޾ၾ௳ • Duck Typing •

    Mix-inਫሿग़ᖀಥ • ՗lispᮎ୚فԧblock
  2. ਭᥤRuby / ฎՋԍҁwhat/ how҂ ොဩਧԎ/ /ොဩই֜ਧԎ /ၾ௳ݎᭆ޾ߥଫጱොୗ (හഝ॒ቘ) /ොဩࣁߺਧԎ •

    def • define_method • method_missing • const_missing • send • ᳮ۱ҁeval/bind̵lambda/proc҂ • block • ݍ੘ • class_eval • module_eval • instance_eval • class << self • self • include • extend • open class(monkey patch)