Skip to content

Commit

Permalink
Merge pull request #48 from lslezak/regexp_fix
Browse files Browse the repository at this point in the history
Fixed regexp in include method construction
  • Loading branch information
jreidinger committed Jun 21, 2013
2 parents 2c06955 + 19c4eb4 commit b4a9e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ruby/yast/yast.rb
Expand Up @@ -72,7 +72,7 @@ def self.include(target, path)

target.class.send(:include, mod)

method_name = "initialize_" + path_without_suffix.gsub(/[.-\/]/, "_")
method_name = "initialize_" + path_without_suffix.gsub(/[-.\/]/, "_")

target.send method_name.to_sym, target
end
Expand Down

0 comments on commit b4a9e79

Please sign in to comment.