Sha256: 21dc9f00b3ece2dc4776061fd6f16ce5c1f6d357bf8690233172915e6ee33990

Contents?: true

Size: 201 Bytes

Versions: 1

Compression:

Stored size: 201 Bytes

Contents

class Combo
  attr_reader :count, :devs

  def initialize(count, *devs)
    @count, @devs = count, devs
  end

  def to_s
    "#{devs.join ', '}: #{count}"
  end

  def empty?
    count == 0
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pair_see-0.1.0 lib/pair_see/combo.rb