Skip to content

Instantly share code, notes, and snippets.

@tosch
Created February 9, 2010 14:27
Show Gist options
  • Save tosch/299235 to your computer and use it in GitHub Desktop.
Save tosch/299235 to your computer and use it in GitHub Desktop.
def remote_definition_allowed!(true_or_false = true)
conf = @storage.get('configurations', 'engine')
conf['remote_definition_allowed'] = true_or_false
@storage.put(conf)
true_or_false
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment