Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No emit method #28

Open
revskill10 opened this issue Jun 21, 2015 · 3 comments
Open

No emit method #28

revskill10 opened this issue Jun 21, 2015 · 3 comments

Comments

@revskill10
Copy link

I create a class

class Model
def push
emit(:pushed)
end
end

But when running, it says there is no method :emit.
Please explain more here.

@steveklabnik
Copy link
Owner

Did you

require 'frappuccino'

@revskill10
Copy link
Author

Yes. I've required the gem.
The error stay the same.

@shilpi230
Copy link

U can't directly access it use this
c = Model.new
stream = Frappuccino::Stream.new(c) after that it won't say.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants