Class: String
Instance Method Summary collapse
Instance Method Details
#is_real_integer? ⇒ Boolean
2 3 4 |
# File 'lib/string_patch.rb', line 2 def is_real_integer? self.to_i.to_s == self end |
2 3 4 |
# File 'lib/string_patch.rb', line 2 def is_real_integer? self.to_i.to_s == self end |