Class: SBOM::CycloneDX::Record::Copyright

Inherits:
Base
  • Object
show all
Defined in:
lib/sbom/cyclone_dx/record/copyright.rb,
sig/sbom/cyclone_dx/record/copyright.rbs

Overview

Schema name: Copyright

Constant Summary

Constants inherited from Base

Base::Record

Instance Attribute Summary

Attributes inherited from Base

#errors

Instance Method Summary collapse

Methods inherited from Base

#<=>, const, custom_validators, fields, #formatted_errors, json_create, json_name, prop, #valid!, #valid?, validate

Methods included from _Klass

#const, #const_names, #create, #create!, #custom_validators, #fields, #json_name, #prop, #prop_names, #validate

Methods included from _Instance

#as_json, #errors, #formatted_errors, #to_json, #valid?

Constructor Details

#initialize ⇒ Copyright

Returns a new instance of Copyright.

Parameters:

  • text: (String)


5
# File 'sig/sbom/cyclone_dx/record/copyright.rbs', line 5

def initialize: (text: String) -> void

Instance Method Details

#text ⇒ String

Returns:

  • (String)


7
# File 'sig/sbom/cyclone_dx/record/copyright.rbs', line 7

def text: () -> String

#text= ⇒ String

Parameters:

  • (String)

Returns:

  • (String)


8
# File 'sig/sbom/cyclone_dx/record/copyright.rbs', line 8

def text=: (String) -> String

#text? ⇒ Boolean

Returns:

  • (Boolean)


9
# File 'sig/sbom/cyclone_dx/record/copyright.rbs', line 9

def text?: () -> bool

#text_valid? ⇒ Boolean

Returns:

  • (Boolean)


10
# File 'sig/sbom/cyclone_dx/record/copyright.rbs', line 10

def text_valid?: () -> bool