Sha256: 080b44de4663dfaaba21b91d5c4a19b108cfc38712c135abe1609b2c16d3ed71

Contents?: true

Size: 500 Bytes

Versions: 7

Compression:

Stored size: 500 Bytes

Contents

# encoding: utf-8

module SportDb
  module Model

#############################################################
# collect depreciated or methods for future removal here
# - keep for now for compatibility (for old code)

class Event

  def full_title   # includes season (e.g. year)
    puts "*** depreciated API call Event#full_title; use Event#title instead; full_title will get removed"
    "#{league.title} #{season.title}"    
  end

end # class Event


  end # module Model
end # module SportDb

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sportdb-1.9.5 lib/sportdb/models/event_comp.rb
sportdb-1.9.4 lib/sportdb/models/event_comp.rb
sportdb-1.9.3 lib/sportdb/models/event_comp.rb
sportdb-1.9.2 lib/sportdb/models/event_comp.rb
sportdb-1.9.1 lib/sportdb/models/event_comp.rb
sportdb-1.9.0 lib/sportdb/models/event_comp.rb
sportdb-1.8.29 lib/sportdb/models/event_comp.rb