Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
support.rb 228 Bytes
Copy Edit Raw Blame History
piaohua authored 2019-04-24 23:40 . add test
#!/usr/bin/ruby -w
# -*- coding : utf-8 -*-
module Week
FIRST_DAY = "Sunday"
def Week.weeks_in_month
puts "You have four weeks in a month"
end
def Week.weeks_in_year
puts "You have 52 weeks in a year"
end
end
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化