module DmyTestGem

写一个将当前日期转换为 星期的方法

Constants

VERSION

Public Class Methods

current_weekday() click to toggle source
# File lib/dmy_test_gem.rb, line 6
def self.current_weekday
  DateTime.now.strftime("%A")
end