class Bluepine::Attributes::TimeAttribute

Public Instance Methods

format() click to toggle source
Calls superclass method Bluepine::Attributes::Attribute#format
# File lib/bluepine/attributes/time_attribute.rb, line 6
def format
  super || "date-time"
end
spec() click to toggle source
# File lib/bluepine/attributes/time_attribute.rb, line 10
def spec
  "ISO 8601"
end
spec_uri() click to toggle source
# File lib/bluepine/attributes/time_attribute.rb, line 14
def spec_uri
  "https://en.wikipedia.org/wiki/ISO_8601"
end