Sha256: b1a5263bde11b44c839dc9e04ac34afa12fd9818ae67c16a34c4ad32644b0cdd

Contents?: true

Size: 186 Bytes

Versions: 19

Compression:

Stored size: 186 Bytes

Contents

class SlackSmartBot
  def update_shortcuts_file
    file = File.open("#{config.path}/shortcuts/#{config.shortcuts_file}", "w")
    file.write @shortcuts.inspect
    file.close
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

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