Wednesday, July 15, 2026 2:52:31 AM
> project show esm_bot
A sophisticated Discord bot that bridges Arma 3 Exile servers with Discord communities. Built in Ruby with secure TCP communication, it delivers territory management, real-time notifications, and comprehensive server administration right in your Discord channels.
Details
> array_spec.rb
# frozen_string_literal: true

RSpec.describe Array do
  describe "#format" do
    it "returns a formatted string" do
      string =
        [1, true, ["hello"]].join_map do |item|
          expect(item).not_to be_nil
          item.to_s
        end

      expect(string).to eq("1true[\"hello\"]")
    end
  end

  describe "#total_size" do
    it "adds up all items (strings)" do
      expect(["foo", "bar", "test", "!@#${%^&*()}"].total_size).to eq(22)
    end
  end
end
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 43aa0d7