Sha256: 24b0dad3b66044f44d62ae57c2815d0b44b67b8bc6790edfefa2cc2021fa7283
Contents?: true
Size: 364 Bytes
Versions: 17
Compression:
Stored size: 364 Bytes
Contents
class SlackSmartBot def get_access_channels() if File.exist?("#{config.path}/rules/#{@channel_id}/access_channels.rb") file_conf = IO.readlines("#{config.path}/rules/#{@channel_id}/access_channels.rb").join unless file_conf.to_s() == "" @access_channels = eval(file_conf) end else @access_channels = {} end end end
Version data entries
17 entries across 17 versions & 1 rubygems