Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Event listeners #7

Closed
johncarney opened this issue Mar 24, 2014 · 2 comments
Closed

Event listeners #7

johncarney opened this issue Mar 24, 2014 · 2 comments
Assignees

Comments

@johncarney
Copy link

It'd be cool if you could attach event listeners to lights that get called on state changes:

light.listen(:on) { |target| target.set_color(favourite_colour) }
@chendo
Copy link
Contributor

chendo commented Mar 24, 2014

Coming in a future release :)

@johncarney
Copy link
Author

👍

@chendo chendo self-assigned this Mar 24, 2014
@dntj dntj closed this as completed Mar 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants