Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/spectest/platform_watir/platform_object.rb

Instance Method Summary collapse

Instance Method Details

#is_integer?Boolean

Returns:

  • (Boolean)


135
136
137
# File 'lib/spectest/platform_watir/platform_object.rb', line 135

def is_integer?
  true if Integer(self) rescue false
end