/[freeride]/freeride/freebase/readers.rb
ViewVC logotype

Diff of /freeride/freebase/readers.rb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by richkilmer, Mon Nov 11 06:07:26 2002 UTC revision 1.4 by richkilmer, Thu Nov 21 07:15:10 2002 UTC
# Line 117  module FreeBASE Line 117  module FreeBASE
117              filespec = "#{path}/#{file}/plugin.yaml"              filespec = "#{path}/#{file}/plugin.yaml"
118              next unless File.exist?(filespec)              next unless File.exist?(filespec)
119              @configuration.register YAML.load(File.open(filespec).read)              @configuration.register YAML.load(File.open(filespec).read)
120            elsif file[-4..-1]==".yaml" and !File.stat("#{path}/#{file}").directory?            elsif file[-5..-1]==".yaml" and !File.stat("#{path}/#{file}").directory?
121              filespec = "#{path}/#{file}"              filespec = "#{path}/#{file}"
122              @configuration.register YAML.load(File.open(filespec).read)              @configuration.register YAML.load(File.open(filespec).read)
123            end            end

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26