Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/prekin/extend_string_class.rb

Instance Method Summary collapse

Instance Method Details

#prekin?Boolean

Returns:

  • (Boolean)


4
5
6
7
8
# File 'lib/prekin/extend_string_class.rb', line 4

def prekin?
  target_time = Time.parse(self)

  target_time.prekin?
end