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