class DateTime
Public Instance Methods
to_hcl(indent = 0)
click to toggle source
# File lib/hcl/monkey_patch.rb, line 88 def to_hcl(indent = 0) self.to_time.utc.strftime("%Y-%m-%dT%H:%M:%SZ") end
# File lib/hcl/monkey_patch.rb, line 88 def to_hcl(indent = 0) self.to_time.utc.strftime("%Y-%m-%dT%H:%M:%SZ") end