Class: SBOM::CycloneDX::Record::Copyright
- 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
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize ⇒ Copyright
constructor
A new instance of Copyright.
- #text ⇒ String
- #text= ⇒ String
- #text? ⇒ Boolean
- #text_valid? ⇒ Boolean
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.
5 |
# File 'sig/sbom/cyclone_dx/record/copyright.rbs', line 5 def initialize: (text: String) -> void |
Instance Method Details
#text ⇒ String
7 |
# File 'sig/sbom/cyclone_dx/record/copyright.rbs', line 7 def text: () -> String |
#text= ⇒ String
8 |
# File 'sig/sbom/cyclone_dx/record/copyright.rbs', line 8 def text=: (String) -> String |
#text? ⇒ Boolean
9 |
# File 'sig/sbom/cyclone_dx/record/copyright.rbs', line 9 def text?: () -> bool |
#text_valid? ⇒ Boolean
10 |
# File 'sig/sbom/cyclone_dx/record/copyright.rbs', line 10 def text_valid?: () -> bool |