Skip to content

Instantly share code, notes, and snippets.

/ruby.rb Secret

Created April 22, 2015 18:31
Show Gist options
  • Save anonymous/8f22f37984a483e5625f to your computer and use it in GitHub Desktop.
Save anonymous/8f22f37984a483e5625f to your computer and use it in GitHub Desktop.
@configurations.flatten.each do |config_file|
temp_class = Class.new do
singleton_class.class_eval do
def configuration_keys
file_contents = YAML.load_file(config_file)
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment