Module: Dalt
- Defined in:
- lib/dalt.rb,
lib/dalt/parser.rb,
lib/dalt/version.rb,
lib/dalt/error/alt_no_passed.rb,
lib/dalt/error/without_alternate.rb
Overview
Dalt will use instance of Dalt::Parser
Defined Under Namespace
Modules: Error Classes: Parser
Constant Summary collapse
- VERSION =
'1.0.0'.freeze
Class Method Summary collapse
Class Method Details
.parse(text, alt: nil) ⇒ Object
8 9 10 |
# File 'lib/dalt.rb', line 8 def self.parse(text, alt: nil) @date = Dalt::Parser.new(text, alt: alt).parse end |