Sha256: 7fba5f6d403c2ff75e4c61d53596d208eea0fb0aad7af4ca493adebcb914980c
Contents?: true
Size: 318 Bytes
Versions: 22
Compression:
Stored size: 318 Bytes
Contents
class SlackSmartBot def get_routines(channel = @channel_id) if File.exist?("#{config.path}/routines/routines_#{channel}.rb") file_conf = IO.readlines("#{config.path}/routines/routines_#{channel}.rb").join unless file_conf.to_s() == "" @routines = eval(file_conf) end end end end
Version data entries
22 entries across 22 versions & 1 rubygems