module TomlRB::LocalDateParser

Public Instance Methods

value() click to toggle source
# File lib/toml-rb/datetime.rb, line 24
def value
  year, mon, day = captures[:date_skeleton].first.value
  Time.local(year,mon,day)
end