steveklabnik/frappuccino

No emit method

revskill10 opened this issue · 3 comments

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.

Did you

require 'frappuccino'

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

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