Wisper as an alternative to the Observer Design Pattern in RubyOnRails

1

I'm trying to implement the Wisper as an alternative to the Observer Design Pattern that was deprecated from Ruby.

The error is: wrong number of arguments (given 1, expected 0)

The method I created is basically to execute a puts "A restaurant has received a qualification".

I am studying Caelum's RR77 handout.

link

    
asked by anonymous 07.10.2016 / 18:30

1 answer

1

We succeeded. The code is available at: link

    
07.10.2016 / 21:02