Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

allow passing an array as a :from option #6

Merged
merged 1 commit into from Apr 22, 2012

Conversation

Projects
None yet
2 participants

If i'm reading the README correctly, I think it says you're supposed to be able to do this, but I was getting
NoMethodError: undefined methodto_sym' for [:started, :warning]:Array`

when I tried to.

The Events class seems like it was ready to handle this as well, so maybe I'm missing something, but if not, this tiny change does away with that NoMethodError

Owner

svenfuchs commented Apr 22, 2012

looks good to me, thanks @j-wilkins!

svenfuchs pushed a commit that referenced this pull request Apr 22, 2012

Merge pull request #6 from j-wilkins/from_array
allow passing an array as a :from option

@svenfuchs svenfuchs merged commit ed05a3e into svenfuchs:master Apr 22, 2012

Owner

svenfuchs commented Apr 22, 2012

This seems to break the build on 1.8.7 though:

http://travis-ci.org/#!/svenfuchs/simple_states/jobs/1146152

yikes, sorry. Fixed in #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment