Class: Ruboty::Gengo::Actions::Gengo

Inherits:
Actions::Base
  • Object
show all
Defined in:
lib/ruboty/gengo/actions/gengo.rb

Instance Method Summary collapse

Instance Method Details

#callObject



7
8
9
# File 'lib/ruboty/gengo/actions/gengo.rb', line 7

def call
  message.reply("#{Time.new(message[:year]).to_era("%O%E年")}")
end