lib/ruote/svc/expression_map.rb in ruote-2.2.0 vs lib/ruote/svc/expression_map.rb in ruote-2.3.0
- old
+ new
@@ -1,7 +1,7 @@
#--
-# Copyright (c) 2005-2011, John Mettraux, jmettraux@gmail.com
+# Copyright (c) 2005-2012, John Mettraux, jmettraux@gmail.com
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@@ -27,15 +27,15 @@
module Exp
# just introducing the namespace
end
end
-require 'ruote/exp/flowexpression'
+require 'ruote/exp/flow_expression'
exppath = File.join(File.dirname(__FILE__), '..', 'exp')
-Dir.new(exppath).entries.each do |pa|
+Dir.new(exppath).entries.sort.each do |pa|
require(File.join('ruote', 'exp', pa)) if pa.match(/^fe_.*\.rb$/)
end
module Ruote