# File lib/puppet/type/yumrepo.rb, line 40 40: def self.inikey(key) 41: # Override the inikey instance method 42: # Is there a way to do this without resorting to strings ? 43: # Using a block fails because the block can't access 44: # the variable 'key' in the outer scope 45: self.class_eval("def inikey ; \"#{key.to_s}\" ; end") 46: end