Sha256: f83893050b78f2c88324a6505d4f1fc521e2bf55c5e53f40bbe4955155b9378d

Contents?: true

Size: 496 Bytes

Versions: 1

Compression:

Stored size: 496 Bytes

Contents

module SportDb
  module Import

    class Round
      attr_reader :pos, :title

      ##
      ##  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( pos:, title: )
        @pos   = pos
        @title = title
      end
    end  # class Round

  end # module Import
end # module SportDb

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sportdb-formats-0.4.0 lib/sportdb/formats/structs/round.rb