method

_parse_year

Importance_0
v1_8_6_287 - 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 866
  def self._parse_year(str, e) # :nodoc:
    if str.sub!(/'(\d+)\b/in, ' ')
      e.year = $1.to_i
      true
    end
  end
Register or log in to add new notes.