method

parse

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: Delta
parse(str) public

No documentation

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

Hide source
# File lib/date/delta.rb, line 177
    def self.parse(str)
      d = begin (@@pa ||= Parser.new).parse(str)
          rescue Racc::ParseError
            raise ArgumentError, 'syntax error'
          end
      new!(d)
    end
Register or log in to add new notes.