Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/ruby_proctor/string_ext.rb
Instance Method Summary collapse
Instance Method Details
#is_integer? ⇒ Boolean
2 3 4 |
# File 'lib/ruby_proctor/string_ext.rb', line 2 def is_integer? self.to_i.to_s == self end |