Skip to content

Instantly share code, notes, and snippets.

@jamesgolick
Forked from joegaudet/gist:5248372
Created March 26, 2013 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesgolick/5248412 to your computer and use it in GitHub Desktop.
Save jamesgolick/5248412 to your computer and use it in GitHub Desktop.
def get(path, params={})
if parms[:memoize]
drivers[path] ||= value
else
driver.sc_object_for_property_path("#{abs_path}.#{Util.to_camel_case(path)}")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment