Sha256: 2f35bb7bf30286f38329ba6ba5a6c9b3781c5742a618e8445abe8582f58467bc

Contents?: true

Size: 69 Bytes

Versions: 15

Compression:

Stored size: 69 Bytes

Contents

class String
    def is_i?
       /\A[-+]?\d+\z/ === self
    end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
osc_ruby-0.3.0 lib/ext/string.rb
osc_ruby-0.2.0 lib/ext/string.rb
osc_ruby-0.1.13 lib/ext/string.rb
osc_ruby-0.1.12 lib/ext/string.rb
osc_ruby-0.1.11 lib/ext/string.rb
osc_ruby-0.1.10 lib/ext/string.rb
osc_ruby-0.1.9 lib/ext/string.rb
osc_ruby-0.1.8 lib/ext/string.rb
osc_ruby-0.1.7 lib/ext/string.rb
osc_ruby-0.1.6 lib/ext/string.rb
osc_ruby-0.1.5 lib/ext/string.rb
osc_ruby-0.1.4 lib/ext/string.rb
osc_ruby-0.1.3 lib/ext/string.rb
osc_ruby-0.1.2 lib/ext/string.rb
osc_ruby-0.1.1 lib/ext/string.rb