I did.
But it works without error
Lower method works and upper method idle. Name of two methods are same
^^
is this a bug?
I did.
But it works without error
Lower method works and upper method idle. Name of two methods are same
^^
is this a bug?
That’s because Ruby allows you to redefine methods on the fly, so that
second definition is viewed as just that. A redefinition. The first is
nullified effectively.
RSL
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