Sha256: ca2a86c9f4f39c09b5985c3b49249e38076b0e5e6421255bdcd60c3b5ce62d59
Contents?: true
Size: 343 Bytes
Versions: 5
Compression:
Stored size: 343 Bytes
Contents
module Ruboty module Niftycloud module Actions class AccountList < Base def call accounts.each_with_index do |account, i| message.reply("#{i} [#{account[:name] == current_account[:name] ? "*" : " "}] #{account[:name]} - #{account[:description]}") end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems