Sha256: a6c4eb7e6d56b429c8e95579d4df7fc1df2f9e23d966477889dddef7edf87b62

Contents?: true

Size: 752 Bytes

Versions: 5

Compression:

Stored size: 752 Bytes

Contents

module SportDb
  module Import

    class Round
      attr_reader   :name, :start_date, :end_date, :knockout
      attr_accessor :num   # note: make read & writable - why? why not?

      def initialize( name:,
                      num: nil,
                      start_date: nil,
                      end_date: nil,
                      knockout: false,
                      auto: true )
        @name       = name
        @num        = num
        @start_date = start_date
        @end_date   = end_date
        @knockout   = knockout
        @auto       = auto        # auto-created (inline reference/header without proper definition before)
      end
    end  # class Round

  end # module Import
end # module SportDb

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sportdb-formats-1.1.3 lib/sportdb/formats/structs/round.rb
sportdb-formats-1.1.2 lib/sportdb/formats/structs/round.rb
sportdb-formats-1.1.1 lib/sportdb/formats/structs/round.rb
sportdb-formats-1.1.0 lib/sportdb/formats/structs/round.rb
sportdb-formats-1.0.6 lib/sportdb/formats/structs/round.rb