Module: SBOM::CycloneDX::Record::_Klass

Included in:
Base
Defined in:
sig/sbom/cyclone_dx/record.rbs

Instance Method Summary collapse

Instance Method Details

#const ⇒ void

This method returns an undefined value.

Parameters:

  • (Symbol)
  • (fieldTypeLabel)
  • (fieldValue)
  • required: (Boolean)
  • json_name: (String, nil)
  • (Object)


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]

Returns:

  • (Array[Symbol])


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

def const_names: () -> Array[Symbol]

#create ⇒ SBOM::CycloneDX::Record::Base

Parameters:

  • (Object)

Returns:



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

def create: (**untyped) -> SBOM::CycloneDX::Record::Base

#create! ⇒ SBOM::CycloneDX::Record::Base

Parameters:

  • (Object)

Returns:



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])]]

Returns:

  • (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

Parameters:

  • (String)

Returns:

  • (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.

Parameters:

  • (Symbol)
  • (fieldTypeLabel)
  • required: (Boolean)
  • json_name: (String, nil)
  • (Object)


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]

Parameters:

  • include_const: (Boolean)

Returns:

  • (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: