Class: Ruboty::Chinachu::Actions::Recording
- Inherits:
-
Base
- Object
- Actions::Base
- Base
- Ruboty::Chinachu::Actions::Recording
show all
- Defined in:
- lib/ruboty/chinachu/actions/recording.rb
Constant Summary
Constants inherited
from Base
Base::PROGRAM_FORMAT
Instance Method Summary
collapse
Methods inherited from Base
#chinachu, #chinachu_options
Instance Method Details
#call ⇒ Object
6
7
8
|
# File 'lib/ruboty/chinachu/actions/recording.rb', line 6
def call
message.reply(recording.map { |p| summary(p, PROGRAM_FORMAT) }, code: true)
end
|
#recording ⇒ Object
10
11
12
|
# File 'lib/ruboty/chinachu/actions/recording.rb', line 10
def recording
chinachu.recording
end
|