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

ruby12

A94c6a1e28e5618eb8e69039de9f5690?s=47 MATSUOKA Kohei
June 25, 2014
260

 ruby12

A94c6a1e28e5618eb8e69039de9f5690?s=128

MATSUOKA Kohei

June 25, 2014
Tweet

Transcript

  1. 3VCZߨٛୈճ 8FCΞϓϦͱ)5.- χϑςΟגࣜձࣾدෟߨٛ ࣾձՊֶʹ͓͚Δ৘ใٕज़ͱίϯςϯπ࡞੒***  

  2. দԬߒฏ ߨࢣ /55ίϜ΢ΣΞ᷂ UXJUUFS!NBDIV IUUQTHJUIVCDPNNBDIV IUUQXXXNBDIVKQEJBSZ

  3. લճͷ͓͞Β͍ 

  4. ࠓिͷ͓୊  จࣈྻΛදࣔ͢Δ͚ͩ ͷ8FCΞϓϦ ϑΥʔϜ͔ΒσʔλΛड͚औͬ ͯܭࢉ͢Δ8FCΞϓϦ #.*ܭࢉΛ8FCΞϓϦԽ ʢ#.*ମॏ×਎௕ʣ

  5. ΍Δ͜ͱ͸ͭ  )5.-Λදࣔ͠Α͏ ɹɹ)5.-Λ࢖ͬͯೖྗϑΥʔϜΛදࣔ ϑΥʔϜσʔλΛड͚औΖ͏ ɹɹϑΥʔϜʹೖྗͨ͠਎௕ͱମॏΛαʔόͰड͚औΔ ܭࢉ݁ՌΛ)5.-ʹຒΊࠐ΋͏ ɹɹ਎௕ͱମॏ͔Β#.*Λܭࢉͯ͠ը໘ʹදࣔ

  6.  )5.-Λදࣔ͠Α͏ ɹɹ)5.-Λ࢖ͬͯೖྗϑΥʔϜΛදࣔ ϑΥʔϜσʔλΛड͚औΖ͏ ɹɹ ܭࢉ݁ՌΛ)5.-ʹຒΊࠐ΋͏ ɹɹ

  7. )5.-ͰσʔλΛೖྗ w )5.-ʹ͸σʔλΛೖྗ͢ΔͨΊͷɺϑΥʔϜ ͱ͍͏࢓૊Έ͕༻ҙ͞Ε͍ͯ·͢ 

  8. ςϯϓϨʔτͷ࢖͍ํ  HFUCNJEP FSCCNJ FOE BQQSC WJFXTCNJFSC IUNMCPEZ I#.*ܭࢉϓϩάϥϜI EJW͋ͳͨͷ#.*Λܭࢉ͠·͢ɻ

     FSCͱ͍͏ܗࣜͰॻ͔Εͨɺ CNJͱ͍͏໊લͷςϯϓ Ϩʔτ CNJFSC Λදࣔ͠ ͯͶͱ͍͏ҙຯ 4JOBUSBͰ͸ςϯϓϨʔ τΛWJFXTσΟϨΫτ Ϧʹஔܾ͘·Γ
  9. ςϯϓϨʔτͷ࢖͍ํ  HFUCNJEP FSCCNJ FOE BQQSC WJFXTCNJFSC IUNMCPEZ I#.*ܭࢉϓϩάϥϜI EJW͋ͳͨͷ#.*Λܭࢉ͠·͢ɻ

     4JOBUSB͕)5.-ʹม׵͠ɺ
 8FCϒϥ΢βʹදࣔͯ͘͠ΕΔ
  10. 8FCαʔό )5.-Λදࣔ͢Δ·Ͱ  8FCϒϥ΢β (&5CNJ)551 HFUCNJEP FSCCNJ FOE )551ͷੈք ςϯϓ

    Ϩʔτ WJFXTCNJFSC BQQSC )5510, )5.- )5.- 3VCZͷੈք )5.-ͷੈք
  11.  )5.-Λදࣔ͠Α͏ ɹɹ ϑΥʔϜσʔλΛड͚औΖ͏ ɹɹϑΥʔϜʹೖྗͨ͠਎௕ͱମॏΛαʔόͰड͚औΔ ܭࢉ݁ՌΛ)5.-ʹຒΊࠐ΋͏ ɹɹ

  12. )5.-ϑΥʔϜ w 8FCϒϥ΢β͔Β8FCαʔό΁σʔλΛૹΔ͘͠Έ 

  13. )5.-ϑΥʔϜͷத਎  %0$5:1&IUNM IUNM IFBEUJUMF#.*ܭࢉUJUMFIFBE CPEZ I#.*ܭࢉϓϩάϥϜI ਎௕ͱମॏΛೖྗͯ͠ɺʮ#.*ΛܭࢉʂʯϘλϯΛԡ͍ͯͩ͘͠͞ɻ GPSNBDUJPOCNJNFUIPEQPTU 

    ਎௕ DN JOQVUOBNFIFJHIUUZQFUFYU  ମॏ LH JOQVUOBNFXFJHIUUZQFUFYU  JOQVUWBMVF#.*ΛܭࢉʂUZQFTVCNJU GPSN CPEZ IUNM QPTUͱ͍͏ํࣜͰCNJʹ IFJHIUͱXFJHIUͱ͍͏ σʔλΛૹΔ
  14. 8FCαʔό 8FCϒϥ΢β (&5ͱ1045  HFUCNJEP FSCCNJ FOE ! QPTUCNJEP σʔλड͚औΓॲཧ

    FOE GPSNBDUJPOCNJ NFUIPEQPTU ΞυϨεόʔʹೖྗ (&5CNJ)551 ϑΥʔϜΛૹ৴ 1045CNJ)551 )551ͷੈք 3VCZͷੈք )5.-ͷੈք ϑΥʔϜσʔλ͸ 1045Ͱૹ৴
  15. 8FCαʔό ϑΥʔϜʹೖྗͨ͠਎௕ͱମॏ Λ8FCΞϓϦͰड͚औΓ͍ͨ 8FCϒϥ΢β )5.- ϑΥʔϜ 8FCΞϓϦ )551ͷ ੈք )5.-ͷੈք

    3VCZͷੈք 
  16. 4JOBUSB͕΍ͬͯ͘ΕΔ  IFJHIUXFJHIU )551ͷੈք 3VCZͷੈք ม਺ ϑΥʔϜσʔλΛ )BTIʹม׵ͯ͠ QBSBNTͱ͍͏໊ લΛ͚ͭΔ

    4JOBUSB IFJHIU  XFJHIU )BTIΦϒδΣΫτ  Ωʔ QBSBNT ஋
  17. 8FCαʔό ·ͱΊ  8FCϒϥ΢β )5.- ϑΥʔϜ 8FCΞϓϦ )551ͷ ੈք )5.-ͷੈք

    3VCZͷੈք JOQVUOBNFIFJHIU UZQFUFYU JOQVUOBNFXFJHIU UZQFUFYU QBSBNT\ IFJHIU  XFJHIU^ IFJHIU XFJHIU
  18. ԋश໰୊ͷղ౴ྫ 

  19. ԋश)5.-ͷදࣔ w CNJʹΞΫηε͢Δͱɺ)5.-Λදࣔ͢ΔΑ ͏ʹ8FCΞϓϦΛ࡞Γม͍͑ͯͩ͘͞ 

  20. ԋश)5.-ͷදࣔ  SFRVJSFTJOBUSB SFRVJSFTJOBUSBSFMPBEFS ! HFUIFMMPEP )FMMPTJOBUSB FOE ! HFUCNJEP

    FSCCNJ FOE ! BQQSCͷमਖ਼ WJFXTCNJFSCͷ௥Ճ %0$5:1&IUNM IUNM IFBEUJUMF#.*ܭࢉUJUMFIFBE CPEZ I#.*ܭࢉϓϩάϥϜI ਎௕ͱମॏΛೖྗͯ͠ɺʮ#.*ΛܭࢉʂʯϘλϯΛԡͯͩ͘͠ ͍͞ɻ GPSNBDUJPOCNJNFUIPEQPTU  ਎௕ DN JOQVUOBNFIFJHIUUZQFUFYU  ମॏ LH JOQVUOBNFXFJHIUUZQFUFYU  JOQVUWBMVF#.*ΛܭࢉʂUZQFTVCNJU GPSN CPEZ IUNM 6OJDPSOαʔόͷ࠶ىಈΛ๨Εͣʹʂ
  21. ԋशσʔλͷड͚औΓ w ϑΥʔϜ͔ΒσʔλΛड͚औͬͯɺ#.*Λܭࢉ ͢Δ8FCΞϓϦΛ࡞Γ·͠ΐ͏  SFRVJSFTJOBUSB ! HFUCNJEP FSCCNJ FOE

    ! QPTUCNJEP ͜͜ʹ#.*Λܭࢉ͢ΔίʔυΛॻ͘ ͋ͳͨͷ#.*͸\CNJSPVOE  ^Ͱ͢ FOE 8FCϒϥ΢β SPVOE  ͸খ਺఺ୈҰҐ·Ͱදࣔ
  22. ԋशσʔλͷड͚औΓ w QBSBNTͷ஋͸͍ͣΕ΋จࣈྻ 4USJOH 
 ˠUP@GϝιουͰখ਺ʹม׵͢ΔͷΛ๨Εͣʹ  HFUCNJEP FSCCNJ FOE

    ! QPTUCNJEP IFJHIUQBSBNT<IFJHIU>UP@G XFJHIUQBSBNT<XFJHIU>UP@G CNJXFJHIUIFJHIU  ͋ͳͨͷ#.*͸\CNJSPVOE  ^Ͱ͢ FOE
  23. 4JOBUSBͷ ศརͳػೳ 

  24. ࣗಈϦϩʔυ w ຖճ6OJDPSOΛ࠶ىಈ͢Δͷ͕໘౗ w ίʔυΛमਖ਼͢ΔͱɺࣗಈͰϦϩʔυͯ͘͠ΕΔ  HFNTJOBUSBDPOUSJC (FNpMF BQQSC SFRVJSFTJOBUSB

    SFRVJSFTJOBUSBSFMPBEFS 4JOBUSB3FMPBEFS ݕࡧ
  25. σόοά༻Τϥʔը໘ w Τϥʔը໘Ͱσόοάʢ໰୊ղੳʣ͕Ͱ͖Δ  HFNCFUUFS@FSSPST HFNCJOEJOH@PG@DBMMFS (FNpMF BQQSC SFRVJSFCFUUFS@FSSPST !

    VTF#FUUFS&SSPST.JEEMFXBSF #FUUFS&SSPSTBQQMJDBUJPO@SPPU@@EJS@@ CFUUFS@FSSPST ݕࡧ
  26. CFGPSF 

  27. BGUFS  Τϥʔલޙͷίʔυ͕ಡΊΔ ΤϥʔͷՕॴͰJSC͕ ಈ͔ͤΔʂ ม਺ͷத਎͕ݟ͑Δ

  28. ࣗಈͰ)5.-Τεέʔϓ w )5.-ʹม਺Λදࣔ͢Δͱ͖ʹ͸ɺηΩϡϦςΟରࡦͷͨ Ί)5.-Τεέʔϓͱ͍͏ॲཧ͕ඞཁͰ͢ w FSVCJTΛ࢖͏ͱɺࣗಈͰ)5.-Τεέʔϓͯ͘͠Ε·͢  HFNFSVCJT (FNpMF BQQSC

    SFRVJSFFSVCJT TFUFSC FTDBQF@IUNMUSVF 944߈ܸ ݕࡧ
  29. ศརͳػೳΛઃఆ͠Α͏  TPVSDFIUUQTSVCZHFNTPSH HFNVOJDPSO HFNTJOBUSB HFNTJOBUSBDPOUSJC HFNCFUUFS@FSSPST HFNCJOEJOH@PG@DBMMFS HFNFSVCJT (FNpMF

    BQQSC SFRVJSFTJOBUSB SFRVJSFTJOBUSBSFMPBEFS SFRVJSFFSVCJT TFUFSC FTDBQF@IUNMUSVF ! SFRVJSFCFUUFS@FSSPST VTF#FUUFS&SSPST.JEEMFXBSF #FUUFS&SSPSTBQQMJDBUJPO@SPPU@@EJS@@ ! HFUIFMMPEP )FMMPTJOBUSB FOE  (FNpMFͱBQQSCΛमਖ਼͠·͢
  30. ศརͳػೳΛઃఆ͠Α͏   όϯυϧΠϯετʔϧΛ࣮ߦ͠·͢  VOJDPSOϓϩηεΛ࠶ىಈ͠·͢

  31. ࢖͍ํͷ஫ҙ ࣗಈϦϩʔυͱσόοά༻Τϥʔ ը໘͸ɺ։ൃ͢Δͱ͖͚ͩ༗ޮ ʹ͠·͠ΐ͏ɻ ΞϓϦΛެ։͢Δͱ͖͸ແޮʹɻ 

  32. ͔͜͜Β ઌिͷ͓୊ͷ͖ͭͮ 

  33. ͓୊  จࣈྻΛදࣔ͢Δ͚ͩ ͷ8FCΞϓϦ ϑΥʔϜ͔ΒσʔλΛड͚औͬ ͯܭࢉ͢Δ8FCΞϓϦ #.*ܭࢉΛ8FCΞϓϦԽ ʢ#.*ମॏ×਎௕ʣ

  34.  )5.-Λදࣔ͠Α͏ ɹɹ ϑΥʔϜσʔλΛड͚औΖ͏ ɹɹ ܭࢉ݁ՌΛ)5.-ʹຒΊࠐ΋͏ ɹɹ਎௕ͱମॏ͔Β#.*Λܭࢉͯ͠ը໘ʹදࣔ

  35. ΍Γ͍ͨ͜ͱ  )5.-ʹܭࢉ݁ՌΛ ද͍ࣔͨ͠ QPTUCNJEP #.*ܭࢉ͸লུ ͋ͳͨͷ#.*͸\CNJSPVOE  ^Ͱ͢ FOE

    BQQSC ͍·͸ܭࢉ݁ՌΛ ςΩετͰग़ྗ
  36. ςϯϓϨʔτ &SC ͷॻ͖ํ  ֮͑Δ͜ͱ͸͚ͭͩ 3VCZͷίʔυΛ࣮ߦ 3VCZͷίʔυ 3VCZͷίʔυΛ࣮ߦ͠ɺ݁ՌΛදࣔ 3VCZͷίʔυ

  37. #.*Λ)5.-ʹग़ྗ  QPTUCNJEP IFJHIUQBSBNT<IFJHIU>UP@G XFJHIUQBSBNT<XFJHIU>UP@G !CNJXFJHIUIFJHIU  FSCCNJ FOE BQQSC

    WJFXTCNJFSC GPSNBDUJPOCNJNFUIPEQPTU  ਎௕ DN JOQVUOBNFIFJHIUUZQFUFYU  ମॏ LH JOQVUOBNFXFJHIUUZQFUFYU  JOQVUWBMVF#.*ΛܭࢉʂUZQFTVCNJU GPSN ! JG!CNJ ͋ͳͨͷ#.*͸!CNJSPVOE  Ͱ͢ɻ FOE CNJΛ!CNJʹॻ͖׵͑ ʢ!ͷҙຯ͸͋ͱͰઆ໌͠·͢ʣ !CNJม਺Λදࣔ
  38. ࣮ߦ݁Ռ  ܭࢉ݁Ռ͕)5.-ʹ ग़ྗ͞Εͨʂ

  39. ͱ͜ΖͰ !CNJͬͯ ͳʹʁʁʁʁʁ 

  40. ςϯϓϨʔτʹ౉͍ͨ͠ ม਺ʹ͸!Λ͚ͭΔ  BQQSC HFUUFTUEP NFTTBHF)FMMP FSCUFTU FOE ϝοηʔδ͸ NFTTBHFͰ͢ɻ

    WJFXTUFTUFSC NFTTBHFม਺͸ݟ͑ͳ͍ HFUUFTUEP !NFTTBHF)FMMP FSCUFTU FOE ϝοηʔδ͸ !NFTTBHFͰ͢ɻ !Λ͚ͭΔͱΈ͑ΔΑ͏ʹͳΔ
  41. 4JOBUSBͷ3&"%.& w Πϯελϯεม਺ JOTUBODFWBSJBCMF   ม਺໊ͷ಄ʹ!͕෇͍͍ͯΔ

  42. ;ͭ͏ͷม਺  4JOBUSB"QQMJDBUJPO QPTUEP Z FOE BQQSC Z WJFXTCNJSC 

    HFUEP Y FOE  Y Z ม਺ͷ༗ޮൣғ είʔϓ ͸ϒϩοΫ಺ Zม਺͸ݟ͑ͳ͍
  43. !ม਺ Πϯελϯεม਺  4JOBUSB"QQMJDBUJPO QPTUEP !Z FOE BQQSC !Y WJFXTCNJSC

     HFUEP !Y FOE  !Y !Z ม਺ͷ༗ޮൣғ͸ΦϒδΣΫτ಺ !Zม਺͕ݟ͑Δ
  44. ͱΓ͋͑ͣɺ ςϯϓϨʔτʹ౉ͨ͠ ͍ม਺ʹ͸!Λ͚ͭΔ ͱ֮͑Ε͹0, 

  45. ԋश՝୊ 4JOBUSBͷศརઃఆ 

  46. ՝୊4JOBUSBͷศརઃఆ  Τϥʔલޙͷίʔυ͕ಡΊΔ ΤϥʔͷՕॴͰJSC͕ ಈ͔ͤΔʂ ม਺ͷத਎͕ݟ͑Δ ࣗಈϦϩʔυɺσόοά༻Τϥʔը໘ɺࣗಈ )5.-ΤεέʔϓΛઃఆ͠·͠ΐ͏ɻ

  47. ՝୊4JOBUSBͷศརઃఆ  TPVSDFIUUQTSVCZHFNTPSH HFNVOJDPSO HFNTJOBUSB HFNTJOBUSBDPOUSJC HFNCFUUFS@FSSPST HFNCJOEJOH@PG@DBMMFS HFNFSVCJT (FNpMF

    BQQSC SFRVJSFTJOBUSB SFRVJSFTJOBUSBSFMPBEFS SFRVJSFFSVCJT TFUFSC FTDBQF@IUNMUSVF ! SFRVJSFCFUUFS@FSSPST VTF#FUUFS&SSPST.JEEMFXBSF #FUUFS&SSPSTBQQMJDBUJPO@SPPU@@EJS@@ ! HFUIFMMPEP )FMMPTJOBUSB FOE  (FNpMFͱBQQSCΛमਖ਼͠·͢
  48. ՝୊4JOBUSBͷศརઃఆ   όϯυϧΠϯετʔϧΛ࣮ߦ͠·͢  VOJDPSOϓϩηεΛ࠶ىಈ͠·͢

  49. ԋश՝୊ #.*Λ)5.-ʹग़ྗ 

  50. ՝୊#.*Λ)5.-ग़ྗ  ܭࢉ݁Ռ͕දࣔ͞ΕΕ͹0, ܭࢉ݁ՌΛ)5.-Ͱग़ྗ͠·͠ΐ͏ɻ

  51. ՝୊#.*Λ)5.-ग़ྗ  QPTUCNJEP IFJHIUQBSBNT<IFJHIU>UP@G XFJHIUQBSBNT<XFJHIU>UP@G !CNJXFJHIUIFJHIU  FSCCNJ FOE BQQSC

    WJFXTCNJFSC GPSNBDUJPOCNJNFUIPEQPTU  ਎௕ DN JOQVUOBNFIFJHIUUZQFUFYU  ମॏ LH JOQVUOBNFXFJHIUUZQFUFYU  JOQVUWBMVF#.*ΛܭࢉʂUZQFTVCNJU GPSN ! JG!CNJ ͋ͳͨͷ#.*͸!CNJSPVOE  Ͱ͢ɻ FOE CNJΛ!CNJʹॻ͖׵͑ !CNJม਺Λදࣔ
  52. ԋश՝୊ ग़ྗ݁ՌͷΧελϚΠζ 

  53. ՝୊ग़ྗ݁ՌͷΧελϚΠζ  #.*ͷ஋ʹΑͬͯɺʮ૫ͤܕʯɺʮී௨ʯɺ ʮଠΓ͗Έʯͷମܕ΋දࣔͰ͖ΔΑ͏ʹ 8FCΞϓϦΛमਖ਼͍ͯͩ͘͠͞ɻ

  54. ՝୊ग़ྗ݁ՌͷΧελϚΠζ  $-*ΞϓϦͷ৔߹ʢୈճ3VCZߨ࠲ΑΓʣ ਎௕Λฉ͘ QVUT͋ͳͨͷ਎௕Λڭ͍͑ͯͩ͘͞ DN  IFJHIUHFUTUP@G ମॏΛฉ͘ QVUTͭ͗ʹମॏΛڭ͍͑ͯͩ͘͞

    LH  XFJHIUHFUTUP@G #.*Λܭࢉ͢Δ CNJXFJHIUIFJHIU  #.*Λڭ͑Δ QVUT͋ͳͨͷ#.*͸\CNJ^Ͱ͢z ! JGCNJ  QVUT૫ͤܕͰ͢ FMTJGCNJ  QVUTී௨Ͱ͢ FMTF  QVUTଠΓ͗ΈͰ͢ FOE
  55. ԋश՝୊ 8FCΞϓϦ࡞Γ 

  56. ՝୊8FCΞϓϦ࡞Γ w ͋ͳͨΦϦδφϧͷ8FCΞϓϦΛ࡞ͬͯΈ· ͠ΐ͏ w )5.-ϑΥʔϜ͔ΒσʔλΛड͚औͬͯɺܭࢉ ͯ͠ɺը໘ʹग़ྗ͠·͢ w ྫʮੜ·Ε͔ͯΒԿ೔ͨͬͨʁʯɺ ʮ8JLJQFEJBΞΫηεղੳ݁ՌͷදࣔʯͳͲ

    
  57. ࢀߟࢿྉ

  58. BCD ࣮ߦ݁Ռ QVUTBCD ॻࣜ 3VCZίʔυ ࣮ߦ݁Ռ TIFMMίϚϯυ MT

  59. ࡶஊɾ࣭໰༻GBDFCPPLάϧʔϓ IUUQTXXXGBDFCPPLDPNHSPVQTIJUPUTVCBTIJSC ɾՃೖඇՃೖ͸ࣗ༝Ͱ͢ ɾՃೖඇՃೖ͸੒੷ʹؔ܎͠·ͤΜ ɾࢀՃऀҰཡ͸ެ։͞Ε·͢ ɾࢀՃऀ͸ελοϑͱҰࡢ೥ɺࡢ೥ɺࠓ೥ͷडߨऀͰ͢ ɾॻ͖ࠐΈ͸ࢀՃऀͷΈݟ͑·͢ ɾر๬ऀ͸ΞΫηεͯ͠ࢀՃਃ੥͍ͯͩ͘͠͞ ɾࡶஊɺ࣭໰ɺٞ࿦ͳͲԿͰ΋ؾʹͤͣͲ͏ͧʙ ɾ࣭໰ʹ౴͑ΒΕΔਓ͸౴͍͑ͯ͋͛ͯͩ͘͞

    ɾߨࢣਞ΋͓౴͑͠·͢ ɾೖͬͨΒܰࣗ͘ݾ঺հ͓Ͷ͕͍͠·͢