File: simple.rb

package info (click to toggle)
ruby-cbor 0.5.9.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 424 kB
  • sloc: ansic: 3,435; ruby: 1,732; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 303 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module CBOR

  #
  # CBOR::Simple is used to carry around simple values that don't map
  # into Ruby classes (false, true, nil are the ones that do).
  class Simple

    # @param value [Integer] The integer number of the simple value
    def initialize(value)
    end

    attr_reader :value

  end
end