Sha256: ba668be93d5f27f954a8b2701daf0477d2214711ba0182e5eb6fdc5a6f1a4ae5

Contents?: true

Size: 852 Bytes

Versions: 27

Compression:

Stored size: 852 Bytes

Contents

module Lol
  # Holds the representation of a MiniSeries
  class MiniSeries < Model
    # @!attribute [r] target
    # @return [String] number of games required to advance
    attr_reader :target

    # @!attribute [r] wins
    # @return [Fixnum] wins in the miniseries
    attr_reader :wins

    # @!attribute [r] losses
    # @return [Fixnum] losses in the miniseries
    attr_reader :losses

    # @!attribute [r] time_left_to_play_millis
    # @return [Fixnum] time left to play the miniseries, expressed in milliseconds
    attr_reader :time_left_to_play_millis

    # @!attribute [r] progress
    # @return [String] string representation of the miniseries progress.
    #           i.e. "WLN" (Win / Loss / Not played)
    attr_reader :progress

    private

    attr_writer :target, :wins, :losses, :time_left_to_play_millis, :progress
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
ruby-lol-0.12.2 lib/lol/mini_series.rb
ruby-lol-0.12.1 lib/lol/mini_series.rb
ruby-lol-0.12.0 lib/lol/mini_series.rb
ruby-lol-0.11.6 lib/lol/mini_series.rb
ruby-lol-0.11.5 lib/lol/mini_series.rb
ruby-lol-0.11.4 lib/lol/mini_series.rb
ruby-lol-0.11.3 lib/lol/mini_series.rb
ruby-lol-0.11.2 lib/lol/mini_series.rb
ruby-lol-0.11.1 lib/lol/mini_series.rb
ruby-lol-0.11.0 lib/lol/mini_series.rb
ruby-lol-0.10.0 lib/lol/mini_series.rb
ruby-lol-0.9.19.1 lib/lol/mini_series.rb
ruby-lol-0.9.19 lib/lol/mini_series.rb
ruby-lol-0.9.18 lib/lol/mini_series.rb
ruby-lol-0.9.17 lib/lol/mini_series.rb
ruby-lol-0.9.16 lib/lol/mini_series.rb
ruby-lol-0.9.15 lib/lol/mini_series.rb
ruby-lol-0.9.14 lib/lol/mini_series.rb
ruby-lol-0.9.13 lib/lol/mini_series.rb
ruby-lol-0.9.12 lib/lol/mini_series.rb