Flowdock
method

_parse_year

Importance_0
v1_8_7_72 - Show latest stable - 0 notes - Class: Date
_parse_year(str, e) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/date/format.rb, line 895
  def self._parse_year(str, e) # :nodoc:
    if str.sub!(/'(\d+)\b/n, ' ')
      e.year = $1.to_i
      true
    end
  end
Register or log in to add new notes.