We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using some of these in other projects. Would be nice to have them added. Not to keen on the naming just yet, so throwing some examples below:
time = Time.now # => 2013-06-20 14:12:30 -0400 # => time.usec => 124634 time_truncate(time, :day) # => 2013-06-20 14:12:30 -0400 time_truncate(time, :hour) # => 2013-06-20 14:00:00 -0400 time_strip(time, :minute) # => 2013-06-20 14:12:00 -0400 time_trim(time, :second) # => 2013-06-20 14:12:00 -0400 # => time.usec => 0
See rspec/rspec-mocks#318 for a similar discussion.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Using some of these in other projects. Would be nice to have them added. Not to keen on the naming just yet, so throwing some examples below:
See rspec/rspec-mocks#318 for a similar discussion.
The text was updated successfully, but these errors were encountered: