summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/genruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/genruby.rb b/tools/genruby.rb
index 9fd4e14..dc44779 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -41,7 +41,7 @@ module Efl
#
module MNAME
#
- FCT_PREFIX = 'MY_FCT_PREFIX_'
+ FCT_PREFIX = 'MY_FCT_PREFIX_' unless const_defined? :FCT_PREFIX
#
def self.method_missing meth, *args, &block
sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX