Sha256: 27ae2c9e9ae13cf077a7c029106b5b9361e01063032d298213667df98ecbed69

Contents?: true

Size: 270 Bytes

Versions: 22

Compression:

Stored size: 270 Bytes

Contents

class SlackSmartBot
  def update_bots_file
    file = File.open(config.file_path.gsub(".rb", "_bots.rb"), "w")
    bots_created = @bots_created.dup
    bots_created.each { |k, v| 
      v[:thread] = "" 
    }
    file.write bots_created.inspect
    file.close
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
slack-smart-bot-1.10.0 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.9.2 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.9.1 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.8.2 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.8.1 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.8.0 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.7.0 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.6.8 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.6.7 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.6.6 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.6.5 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.6.4 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.6.3 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.6.2 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.6.1 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.6.0 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.5.1 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.5.0 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.4.3 lib/slack/smart-bot/utils/update_bots_file.rb
slack-smart-bot-1.4.2 lib/slack/smart-bot/utils/update_bots_file.rb