aboutsummaryrefslogtreecommitdiffstats
path: root/lib/irb/color.rb
diff options
context:
space:
mode:
authorTanaka Akira <akr@fsij.org>2020-07-21 20:28:36 +0900
committerTanaka Akira <akr@fsij.org>2020-07-21 20:28:36 +0900
commit48eb1ad2c3aa1a14bd8ef61cbd72a791b0b67418 (patch)
tree3f3e8785ad735b2b38aa5e5bf2cede309967354b /lib/irb/color.rb
parent73ee1295a33c51f24e774b273fdeca5910ce5ba8 (diff)
downloadruby-48eb1ad2c3aa1a14bd8ef61cbd72a791b0b67418.tar.gz
[DOC] time.c document updated.
* fraction -> subsecond for consistency with method name * The sentence, "A non-portable feature allows the offset to be negative on some systems.", is removed. Time before 1970 should work portably now. If localtime() doesn't work before 1970, Ruby should extrapolate it. * Time::new -> Time.new "::" for method call is not common notation now. * Time#to_i truncates subsecond * Time#to_f approximates a value in Time object * Time#to_r The sentence, "You can use this method to convert _time_ to another Epoch.", is removed. It is not clear because no actual example of "another Epoch" is given. * Time#usec truncates fraction of microseconds. * Time#nsec truncates fraction of nanoseconds. * describe Time#inspect shows subsecond since Ruby 2.7.0.
Diffstat (limited to 'lib/irb/color.rb')
0 files changed, 0 insertions, 0 deletions