Sha256: 6e0c24247f49e58e16fecd7d688c749b68ccc18fd6fd8d60886927d77ef2fc7d

Contents?: true

Size: 79 Bytes

Versions: 14

Compression:

Stored size: 79 Bytes

Contents

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
druid-ts-1.2.4 lib/druid/core_ext/string.rb
druid-ts-1.2.3 lib/druid/core_ext/string.rb
druid-ts-1.2.2 lib/druid/core_ext/string.rb
druid-ts-1.2.1 lib/druid/core_ext/string.rb
druid-ts-1.2.0 lib/druid/core_ext/string.rb
druid-ts-1.1.8 lib/druid/core_ext/string.rb
druid-ts-1.1.7 lib/druid/core_ext/string.rb
druid-ts-1.1.6 lib/druid/core_ext/string.rb
druid-ts-1.1.5 lib/druid/core_ext/string.rb
druid-ts-1.1.4 lib/druid/core_ext/string.rb
druid-ts-1.1.3 lib/druid/core_ext/string.rb
druid-ts-1.1.2 lib/druid/core_ext/string.rb
druid-ts-1.1.1 lib/druid/core_ext/string.rb
druid-ts-1.1.0 lib/druid/core_ext/string.rb