Sha256: 57713ad1156da870d1746dca7de80fa4ffa245c668825e9cb03c36ef617102f7

Contents?: true

Size: 587 Bytes

Versions: 6

Compression:

Stored size: 587 Bytes

Contents

module SportDb
  module Import

    class Group
      attr_reader   :title, :pos, :teams

      ##
      ##  todo:  change db schema
      ##    make start and end date optional
      ##    change pos to num - why? why not?
      ##    make pos/num optional too
      ##
      ##    sort round by scheduled/planed start date
      def initialize( title:,
                      pos:,
                      teams: )
        @title  = title
        @pos    = pos
        @teams  = teams
      end
    end  # class Group

  end # module Import
end # module SportDb

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sportdb-formats-1.0.5 lib/sportdb/formats/structs/group.rb
sportdb-formats-1.0.4 lib/sportdb/formats/structs/group.rb
sportdb-formats-1.0.3 lib/sportdb/formats/structs/group.rb
sportdb-formats-1.0.2 lib/sportdb/formats/structs/group.rb
sportdb-formats-1.0.1 lib/sportdb/formats/structs/group.rb
sportdb-formats-1.0.0 lib/sportdb/formats/structs/group.rb