Sha256: 49dcb4378e9afeadabdd9f307b2daba45e99d5c605cb49c119d98cffe98c589a

Contents?: true

Size: 78 Bytes

Versions: 98

Compression:

Stored size: 78 Bytes

Contents

class String
  def is_integer
    true if Integer(self) rescue false
  end
end

Version data entries

98 entries across 98 versions & 5 rubygems

Version Path
data_magic-1.2 lib/data_magic/core_ext/string.rb
page-object-2.2 lib/page-object/core_ext/string.rb
data_magic-1.1 lib/data_magic/core_ext/string.rb
page-object-2.1.1 lib/page-object/core_ext/string.rb
page-object-2.1 lib/page-object/core_ext/string.rb
data_magic-1.0 lib/data_magic/core_ext/string.rb
page-object-2.0.0 lib/page-object/core_ext/string.rb
page-object-1.2.2 lib/page-object/core_ext/string.rb
page-object-1.2.1 lib/page-object/core_ext/string.rb
page-object-1.2.0 lib/page-object/core_ext/string.rb
page-object-1.1.1 lib/page-object/core_ext/string.rb
data_magic-0.22 lib/data_magic/core_ext/string.rb
fig_magic-0.5 lib/fig_magic/core_ext/string.rb
fig_magic-0.4 lib/fig_magic/core_ext/string.rb
fig_magic-0.3 lib/fig_magic/core_ext/string.rb
fig_magic-0.2 lib/fig_magic/core_ext/string.rb
fig_magic-0.1 lib/fig_magic/core_ext/string.rb
page_object-1.1.3 lib/page-object/core_ext/string.rb
page_object-1.1.2 lib/page-object/core_ext/string.rb
page_object-1.1.1 lib/page-object/core_ext/string.rb