Sha256: 06e350d0f919b5c33de9dca11cc93530d640c59a47a6fe8369ffbd4b6c25d7d2

Contents?: true

Size: 1.87 KB

Versions: 14

Compression:

Stored size: 1.87 KB

Contents

class NilClass
  #
  # Same as CBOR.encode(self[, io]).
  #
  # @return [String] serialized data
  #
  def to_cbor(io=nil)
  end
end

class TrueClass
  #
  # Same as CBOR.encode(self[, io]).
  #
  # @return [String] serialized data
  #
  def to_cbor(io=nil)
  end
end

class FalseClass
  #
  # Same as CBOR.encode(self[, io]).
  #
  # @return [String] serialized data
  #
  def to_cbor(io=nil)
  end
end

class Fixnum < Integer
  #
  # Same as CBOR.encode(self[, io]).
  #
  # @return [String] serialized data
  #
  def to_cbor(io=nil)
  end
end

class Bignum < Integer
  #
  # Same as CBOR.encode(self[, io]).
  #
  # @return [String] serialized data
  #
  def to_cbor(io=nil)
  end
end

class Float < Numeric
  #
  # Same as CBOR.encode(self[, io]).
  #
  # @return [String] serialized data
  #
  def to_cbor(io=nil)
  end
end

class String
  #
  # Same as CBOR.encode(self[, io]).
  #
  # @return [String] serialized data
  #
  def to_cbor(io=nil)
  end
end

class Array
  #
  # Same as CBOR.encode(self[, io]).
  #
  # @return [String] serialized data
  #
  def to_cbor(io=nil)
  end
end

class Hash
  #
  # Same as CBOR.encode(self[, io]).
  #
  # @return [String] serialized data
  #
  def to_cbor(io=nil)
  end
end

class Time
  #
  # Same as CBOR.encode(self[, io]).
  #
  # @return [String] serialized data
  #
  def to_cbor(io=nil)
  end
end


class Regexp
  #
  # Same as CBOR.encode(self[, io]).
  #
  # @return [String] serialized data
  #
  def to_cbor(io=nil)
  end
end

class URI
  #
  # Same as CBOR.encode(self[, io]).  This method is only defined if
  # the class URI was defined when the CBOR extension was loaded, so
  # +require "uri"+ before +require "cbor"+ if you need this.
  #
  # @return [String] serialized data
  #
  def to_cbor(io=nil)
  end
end

class Symbol
  #
  # Same as CBOR.encode(self[, io]).
  #
  # @return [String] serialized data
  #
  def to_cbor(io=nil)
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
hx_cbor-2024.7.7 doclib/cbor/core_ext.rb
cbor-0.5.9.8 doclib/cbor/core_ext.rb
cbor-0.5.9.7 doclib/cbor/core_ext.rb
hx_cbor-2021.8.20 doclib/cbor/core_ext.rb
cbor-0.5.9.6 doclib/cbor/core_ext.rb
cbor-0.5.9.5 doclib/cbor/core_ext.rb
cbor-0.5.9.4 doclib/cbor/core_ext.rb
cbor-0.5.9.3 doclib/cbor/core_ext.rb
cbor-0.5.9.2 doclib/cbor/core_ext.rb
cbor-0.5.9.1 doclib/cbor/core_ext.rb
cbor-0.5.9.0 doclib/cbor/core_ext.rb
cbor-0.5.8.0 doclib/cbor/core_ext.rb
cbor-0.5.6.4 doclib/cbor/core_ext.rb
cbor-0.5.6.2 doclib/cbor/core_ext.rb