Skip to content

Instantly share code, notes, and snippets.

@danielsdeleo
Created September 23, 2011 01:54
Show Gist options
  • Save danielsdeleo/1236580 to your computer and use it in GitHub Desktop.
Save danielsdeleo/1236580 to your computer and use it in GitHub Desktop.
link "/tmp/foo" do
to "/tmp/bar"
end
log "this is a message" do
action :nothing
end
link_resource = resources(:link => "/tmp/foo")
log_resource = resources(:log => "this is a message")
link_resource.notifies(:write, log_resource)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment