- An emtpy floodgate_history.yaml caused a server error. This
issue has been fixed.
(Closes: #15124)
+2009-06-18 Daigo Moriwaki <daigo at debian dot org>
+
+ * [shogi-server]
+ - An emtpy floodgate_history.yaml caused a server error. This
+ issue has been fixed.
+ (Closes: #15124)
+
2009-06-17 Daigo Moriwaki <daigo at debian dot org>
* [shogi-server]
attr_reader :records
- # file_path_name is a Pathname object for this storage
+ # Initialize this instance.
+ # @param file_path_name a Pathname object for this storage
#
def initialize(file_path_name)
@records = []
@records = YAML.load_file(@file)
unless @records && @records.instance_of?(Array)
$logger.error "%s is not a valid yaml file. Instead, an empty array will be used and updated." % [@file]
- @records = [].to_yaml
+ @records = []
end
end