Skip to content

Instantly share code, notes, and snippets.

@codec
Last active December 14, 2015 14:08
Show Gist options
  • Save codec/5098225 to your computer and use it in GitHub Desktop.
Save codec/5098225 to your computer and use it in GitHub Desktop.
class foo {
notify { 'foo': }
}
class bar {
notify { 'bar': message => inline_template("<%= if classes.include?('foo') then 'bar' end %>") }
}
include foo
include bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment