Flowdock
method

parse

Importance_0
v1_9_2_180 - Show latest stable - 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.