Module: ViewData::PG::Controls::Time::Local::Raw
- Defined in:
- lib/view_data/pg/controls/time.rb
Class Method Summary collapse
Class Method Details
.example(time = nil) ⇒ Object
29 30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/view_data/pg/controls/time.rb', line 29 def self.example(time=nil) time ||= Time::Raw.example ::Time.new( time.year, time.month, time.day, time.hour, time.min, time.sec, Offset.seconds ) end |