Class: String
Instance Method Summary collapse
Instance Method Details
#integer? ⇒ Boolean
2 3 4 |
# File 'lib/bolo/core_ext/string.rb', line 2 def integer? self.match?(/^\d+$/) end |
2 3 4 |
# File 'lib/bolo/core_ext/string.rb', line 2 def integer? self.match?(/^\d+$/) end |