Refactor baseball.rb
Write test for baseball.rb
Refactor

引数でioを受け取るようにしたっっっ！
Merge pull request #1 from akiinyo/change-interface

Change interface baseball.rb