摘要:
闰年程序 require_relative './leap_year' describe "Leap Year" do it "2016 is leap year" do result = is_leap_year?(2016) # 把 2016 传进去 expect(result).to eq(t 阅读全文
摘要:
编码规则 https://github.com/thoughtbot/guides/tree/master/style/ruby *Use a trailing comma after each item in a multi-line list, including the last item. 阅读全文