Sha256: 09c18e3bdc32f7601a70745f9256858ac12b3a3ba9292ed3cc4c0e715ed5b099
Contents?: true
Size: 550 Bytes
Versions: 33
Compression:
Stored size: 550 Bytes
Contents
[Cure.peace, Cure.cure_peace].each do |peace| class << peace # rubocop:disable Performance/CollectionLiteralInLoop HANDS = (["グー"] * 13) + (["チョキ"] * 14) + (["パー"] * 15) + ["グッチョッパー"] # rubocop:enable Performance/CollectionLiteralInLoop MESSAGE = <<~JANKEN.freeze ピカピカピカリン ジャンケンポン! (%s) JANKEN def pikarin_janken print_by_line(MESSAGE % HANDS.sample) end alias_method :janken, :pikarin_janken end end
Version data entries
33 entries across 33 versions & 1 rubygems