class DateTime

Public Instance Methods

to_toml(path = "") click to toggle source
# File lib/toml/monkey_patch.rb, line 84
def to_toml(path = "")
  self.to_time.utc.strftime("%Y-%m-%dT%H:%M:%SZ")
end