Class: SBOM::CycloneDX::Record::Metadata::PreDefinedPhase

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

Overview

Schema name: PreDefinedPhase

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 ⇒ PreDefinedPhase

Returns a new instance of PreDefinedPhase.

Parameters:

  • phase: (String)


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

def initialize: (phase: String) -> void

Instance Method Details

#phase ⇒ String

Returns:

  • (String)


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

def phase: () -> String

#phase= ⇒ String

Parameters:

  • (String)

Returns:

  • (String)


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

def phase=: (String) -> String

#phase? ⇒ Boolean

Returns:

  • (Boolean)


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

def phase?: () -> bool

#phase_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def phase_valid?: () -> bool