Class: SuperDiff::ObjectInspection::Inspectors::TimeLike

Inherits:
Base
  • Object
show all
Defined in:
lib/super_diff/object_inspection/inspectors/time_like.rb

Constant Summary collapse

TIME_FORMAT =
"%Y-%m-%d %H:%M:%S.%3N %Z %:z".freeze

Class Method Summary collapse

Methods inherited from Base

#call

Class Method Details

.applies_to?(value) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/super_diff/object_inspection/inspectors/time_like.rb', line 5

def self.applies_to?(value)
  SuperDiff.time_like?(value)
end