Class: Humidifier::Props::TimestampProp

Inherits:
Prop
  • Object
show all
Defined in:
lib/humidifier/props.rb

Constant Summary

Constants inherited from Prop

Prop::WHITELIST

Instance Attribute Summary

Attributes inherited from Prop

#key, #name, #spec

Instance Method Summary collapse

Methods inherited from Prop

allow_type, allowed_types, #documentation, #initialize, #required?, #to_cf, #update_type, #valid?

Constructor Details

This class inherits a constructor from Humidifier::Props::Prop

Instance Method Details

#pretty_print(q) ⇒ Object



99
100
101
# File 'lib/humidifier/props.rb', line 99

def pretty_print(q)
  q.text("(#{name}=timestamp)")
end