Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/data_magic/core_ext/string.rb
Instance Method Summary collapse
Instance Method Details
#is_integer ⇒ Object
4 5 6 7 8 |
# File 'lib/data_magic/core_ext/string.rb', line 4 def is_integer true if Integer(self) rescue StandardError false end |