Module: SBOM::CycloneDX::Record::_Klass
- Included in:
- Base
- Defined in:
- sig/sbom/cyclone_dx/record.rbs
Instance Method Summary collapse
- #const ⇒ void
- #const_names ⇒ Array[Symbol]
- #create ⇒ SBOM::CycloneDX::Record::Base
- #create! ⇒ SBOM::CycloneDX::Record::Base
- #custom_validators ⇒ Array[[Array[Symbol], String?, ^(*fieldValue?) -> (bool? | String | Array[String])]]
- #fields ⇒ void
- #json_name ⇒ void, (?nil) -> String
- #prop ⇒ void
- #prop_names ⇒ Array[Symbol]
- #validate ⇒ void
Instance Method Details
#const ⇒ void
This method returns an undefined value.
148 |
# File 'sig/sbom/cyclone_dx/record.rbs', line 148 def const: (Symbol, fieldTypeLabel, fieldValue, ?required: bool, ?json_name: String?, **untyped) -> void |
#const_names ⇒ Array[Symbol]
154 |
# File 'sig/sbom/cyclone_dx/record.rbs', line 154 def const_names: () -> Array[Symbol] |
#create ⇒ SBOM::CycloneDX::Record::Base
144 |
# File 'sig/sbom/cyclone_dx/record.rbs', line 144 def create: (**untyped) -> SBOM::CycloneDX::Record::Base |
#create! ⇒ SBOM::CycloneDX::Record::Base
145 |
# File 'sig/sbom/cyclone_dx/record.rbs', line 145 def create!: (**untyped) -> SBOM::CycloneDX::Record::Base |
#custom_validators ⇒ Array[[Array[Symbol], String?, ^(*fieldValue?) -> (bool? | String | Array[String])]]
156 |
# File 'sig/sbom/cyclone_dx/record.rbs', line 156 def custom_validators: () -> Array[[Array[Symbol], String?, ^(*fieldValue?) -> (bool? | String | Array[String])]] |
#fields ⇒ void
This method returns an undefined value.
155 |
# File 'sig/sbom/cyclone_dx/record.rbs', line 155 def fields: [T < SBOM::CycloneDX::Field::Base] () -> Hash[Symbol, singleton(SBOM::CycloneDX::Field::Base)] |
#json_name ⇒ void, (?nil) -> String
146 |
# File 'sig/sbom/cyclone_dx/record.rbs', line 146 def json_name: (String) -> void | (?nil) -> String |
#prop ⇒ void
This method returns an undefined value.
147 |
# File 'sig/sbom/cyclone_dx/record.rbs', line 147 def prop: (Symbol, fieldTypeLabel, ?required: bool, ?json_name: String?, **untyped) -> void |
#prop_names ⇒ Array[Symbol]
153 |
# File 'sig/sbom/cyclone_dx/record.rbs', line 153 def prop_names: (?include_const: bool) -> Array[Symbol] |
#validate ⇒ void
This method returns an undefined value.
149 |
# File 'sig/sbom/cyclone_dx/record.rbs', line 149 def validate: |