Sha256: 2d754583f6174faafca55d2a124748cd26bf9dd8242cc310cf611ab5e2a504fb

Contents?: true

Size: 312 Bytes

Versions: 8

Compression:

Stored size: 312 Bytes

Contents

# encoding: utf-8
# (c) 2011 Martin Kozák (martinkozak@martinkozak.net)

##
# IO extension.
#

class IO

    ##
    # Indicates, object is IO, so +IO+ or +StringIO+ class.
    #
    # @return [Boolean] +true+ if yes, +false+ in otherwise
    # @since 0.14.0
    #
    
    def io?
        true
    end
    
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hash-utils-1.0.0 lib/hash-utils/io.rb
hash-utils-0.18.1 lib/hash-utils/io.rb
hash-utils-0.18.0 lib/hash-utils/io.rb
hash-utils-0.17.1 lib/hash-utils/io.rb
hash-utils-0.17.0 lib/hash-utils/io.rb
hash-utils-0.16.0 lib/hash-utils/io.rb
hash-utils-0.15.0 lib/hash-utils/io.rb
hash-utils-0.14.0 lib/hash-utils/io.rb