Module: Pragma::Decorator::Timestamp::ClassMethods
- Defined in:
- lib/pragma/decorator/timestamp.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#timestamp(name, options = {}) ⇒ Object
Defines a timestamp property which will be rendered as UNIX time.
Instance Method Details
#timestamp(name, options = {}) ⇒ Object
Defines a timestamp property which will be rendered as UNIX time.
26 27 28 29 |
# File 'lib/pragma/decorator/timestamp.rb', line 26 def (name, = {}) (name, ) (name, ) end |