Class: Pact::Generator::Time
Overview
Time provides the time generator which will give the current time in the defined format
Instance Method Summary collapse
Methods inherited from Date
#call, #can_generate?, #convert_from_java_simple_date_format
Instance Method Details
#default_format ⇒ Object
11 12 13 |
# File 'lib/pact/generator/time.rb', line 11 def default_format 'HH:mm' end |
#type ⇒ Object
7 8 9 |
# File 'lib/pact/generator/time.rb', line 7 def type 'Time' end |