class Primalize::Single::Timestamp
Constants
- TYPES
Public Class Methods
new(&coercion)
click to toggle source
# File lib/primalize/single.rb, line 328 def initialize &coercion @coercion = coercion end
Public Instance Methods
===(value)
click to toggle source
# File lib/primalize/single.rb, line 332 def === value TYPES.any? { |type| type === value } end
inspect()
click to toggle source
# File lib/primalize/single.rb, line 336 def inspect 'timestamp' end