class Rsssf::RsssfSchedule

Attributes

rounds[RW]

Public Class Methods

from_string( txt ) click to toggle source
# File lib/rsssf/schedule.rb, line 7
def self.from_string( txt )
  self.new( txt )
end
new( txt ) click to toggle source
# File lib/rsssf/schedule.rb, line 13
def initialize( txt )
  @txt = txt
  
  @rounds = nil   # undefined
end

Public Instance Methods

save( path ) click to toggle source
# File lib/rsssf/schedule.rb, line 20
def save( path )
  File.open( path, 'w' ) do |f|
    f.write @txt
  end    
end