lib/finitio.rb in finitio-0.4.0 vs lib/finitio.rb in finitio-0.4.1
- old
+ new
@@ -45,19 +45,19 @@
require "finitio/syntax"
Syntax.ast(source)
end
def system(identifier)
- f = File.expand_path("../Finitio/#{identifier}.fio", __FILE__)
+ f = File.expand_path("../finitio/#{identifier}.fio", __FILE__)
if File.exists?(f)
parse(File.read(f))
else
raise Error, "Unknown system #{identifier}"
end
end
def definition_files(of)
- dir = File.expand_path("../Finitio/#{of}", __FILE__)
+ dir = File.expand_path("../finitio/#{of}", __FILE__)
Dir.glob("#{dir}/*.fio")
end
extend self