Class: Codestrap::Object::Standard::Datetime
- Defined in:
- lib/codestrap/object/standard/datetime.rb
Overview
Date and Time object directly from Rubys Datetime class
Class Method Summary collapse
-
.objects ⇒ Hash
Objects.
-
.weight ⇒ Integer
Object(s) weight.
Class Method Details
.objects ⇒ Hash
Objects
18 19 20 |
# File 'lib/codestrap/object/standard/datetime.rb', line 18 def self.objects { 'datetime' => DateTime.now } end |
.weight ⇒ Integer
Object(s) weight
11 12 13 |
# File 'lib/codestrap/object/standard/datetime.rb', line 11 def self.weight 200 end |