Hello.
Might be nice if the following warned:
class A
def go a, b
end
end
a = A.new
a.stub!(go) {
}
a.go # doesn’t have enough parameters, arity is wrong.
Might be useful at times.
Thanks much!
-roger-
Hello.
Might be nice if the following warned:
class A
def go a, b
end
end
a = A.new
a.stub!(go) {
}
a.go # doesn’t have enough parameters, arity is wrong.
Might be useful at times.
Thanks much!
-roger-
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs