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)


96
97
98
# File 'lib/gjp/version_matcher.rb', line 96

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