P
Pen Ttt
in my irb console:
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'date'
=> false
irb(main):003:0> puts Date.parse("oct").to_s.split("-")[1]
10
=> nil
1.why
irb(main):002:0> require 'date'
=> false
2.is there more simple way to change "oct" into 10?
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'date'
=> false
irb(main):003:0> puts Date.parse("oct").to_s.split("-")[1]
10
=> nil
1.why
irb(main):002:0> require 'date'
=> false
2.is there more simple way to change "oct" into 10?