Proc vs Lambda
lambdas are strict on argument number. If the call doesn’t respect the exact number of arguments then an ArgumentError
is raised… SEE MORE
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
lambdas are strict on argument number. If the call doesn’t respect the exact number of arguments then an ArgumentError
is raised… SEE MORE
Post a comment