Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/gjp/version_matcher.rb

Instance Method Summary collapse

Instance Method Details

#is_i?Boolean

Returns:

  • (Boolean)


93
94
95
# File 'lib/gjp/version_matcher.rb', line 93

def is_i?
  !!(self =~ /^[0-9]+$/)
end