Ad
  • Custom User Avatar

    I am having the same 'problem' with Ruby.

    A valid empty construction
    #<ArgumentError: wrong number of arguments (0 for 1)>
    initialize' new' `block (2 levels) in

    I am not sure if you are trying to RSPEC / test whether a call to the method has any paramaters - not just blank. I've tested my code in REPL.IT and it returns fine with plugboard()