Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/aeonic.rb
Overview
Extend string class to test input
Instance Method Summary collapse
Instance Method Details
#isTimestamp? ⇒ Boolean
6 7 8 |
# File 'lib/aeonic.rb', line 6 def isTimestamp? true if Float(self) rescue false end |