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

RubyKaigi Decks

RubyKaigi Decks

RubyKaigi 2024事後勉強会(SmartHR主催)
https://smarthr.connpass.com/event/319010/

公開用に調整を加えたバージョンです。

osyoyu

May 31, 2024
Tweet

More Decks by osyoyu

Other Decks in Programming

Transcript

  1. ਓ࿑ଧ߈ུ • ը໘Λ֦͘͢͝େͯ͠ϓϨΠ͢Δ • ׽ࣈΛಡΉ • ׽ࣈͷಡΈ͸શ෦֮͑Δ • ʮ౳ʯ→ʮͱ͏ʯɺʮआೖʯ→ʮ͔Γ͍Εʯ •

    ߴྸऀؔ܎ͷϫʔυ೉͍͕ͪ͠ • ʮߴྸܧଓڅ෇ۚʯखʹ֮͑ͤ͞Α͏ • ʮ70ࡀҎ্ඃ༻ऀʯ͜͜Ҏ֎Ͱݟͨ͜ͱͳ͍
  2. class Word def initialize(str, hiragana) @str = str @hiragana =

    hiragana end def score @hiragana.length * 50 end end
  3. class Word def initialize(str, hiragana) @str = str @hiragana =

    hiragana end def score @hiragana.length * 50 end end
  4. RubyKaigi Speaker ͋Δ͋Δ • ఻͍͑ͨ͜ͱ͕ଟ͗͢Δ • ఻ΘΔΑ͏ʹͨ͠Β఻͍͑ͨ͜ͱ͕ ఻ΘΒͳͦ͞͏Ͱ೰Ή • εϥΠυ͕·ͱ·Βͳ͍

    • ϓϨΠϕϯτͰਐḿͷ୳Γ߹͍Λ͢Δ • ձ৔Ͱ΋मਖ਼ͯ͠Δ 3BCCJUͷ͏͗͞ͱΧϝ͕͍͕ͪ
  5. ਓ࿑ଧ߈ུ • ը໘Λ֦͘͢͝େͯ͠ϓϨΠ͢Δ • ׽ࣈΛಡΉ • ׽ࣈͷಡΈ͸શ෦֮͑Δ • ʮ౳ʯ→ʮͱ͏ʯɺʮआೖʯ→ʮ͔Γ͍Εʯ •

    ߴྸऀؔ܎ͷϫʔυ೉͍͕ͪ͠ • ʮߴྸܧଓڅ෇ۚʯखʹ֮͑ͤ͞Α͏ • ʮ70ࡀҎ্ඃ༻ऀʯ͜͜Ҏ֎Ͱݟͨ͜ͱͳ͍
  6. ਓ࿑ଧ߈ུ • ը໘Λ֦͘͢͝େͯ͠ϓϨΠ͢Δ • ׽ࣈΛಡΉ • ׽ࣈͷಡΈ͸શ෦֮͑Δ • ʮ౳ʯ→ʮͱ͏ʯɺʮआೖʯ→ʮ͔Γ͍Εʯ •

    ߴྸऀؔ܎ͷϫʔυ೉͍͕ͪ͠ • ʮߴྸܧଓڅ෇ۚʯखʹ֮͑ͤ͞Α͏ • ʮ70ࡀҎ্ඃ༻ऀʯ͜͜Ҏ֎Ͱݟͨ͜ͱͳ͍ ݁ہ͏·͘੔ཧͰ͖ͳͯ͘ จࣈͩΒ͚ͷεϥΠυͰ͖͕ͪ
  7. class Word def initialize(str, hiragana) @str = str @hiragana =

    hiragana end def score @hiragana.length * 50 end end
  8. class Word def initialize(str, hiragana) @str = str @hiragana =

    hiragana end def score @hiragana.length * 50 end end ͜͏͍͏ײ͡ͰίʔυΛషΔͱ ͔͍͍ͬ͜
  9. 66