Sha256: e36950b1d0836f017beff7263278d8823e4f2df01028b170d840844476a55ff8

Contents?: true

Size: 189 Bytes

Versions: 16

Compression:

Stored size: 189 Bytes

Contents

class SlackSmartBot

  def update_repls(channel = @channel_id)
    file = File.open("#{config.path}/repl/repls_#{channel}.rb", "w")
    file.write (@repls.inspect)
    file.close
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

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