Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/prekin/extend_string_class.rb
Instance Method Summary collapse
Instance Method Details
#prekin? ⇒ 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 |