Hello everyone!
Is it possible to modify this function: beginning_of_week?
What I want is something like this :
beginning_of_week(0) returns Sunday
beginning_of_week(1) returns Monday
Thank you!
Hello everyone!
Is it possible to modify this function: beginning_of_week?
What I want is something like this :
beginning_of_week(0) returns Sunday
beginning_of_week(1) returns Monday
Thank you!
What’s the argument that you’re passing the method?
Just an integer?
On Feb 27, 12:58 am, Guillaume L. <rails-mailing-l…@andreas-
I see 2 ways you could do this
On Feb 26, 7:58 pm, Guillaume L. <rails-mailing-l…@andreas-
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