Class: Udb::Resolver::ConfigInfo

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/udb/resolver.rb

Overview

return type of #cfg_info

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, path:, overlay_path: nil, unresolved_yaml:, resolved_yaml: nil, spec_path:, merged_spec_path:, resolved_spec_path:)

Parameters:

  • name (String)
  • path (Pathname)
  • overlay_path (Pathname, nil) (defaults to: nil)
  • unresolved_yaml (Hash{String => T.untyped})
  • resolved_yaml (Hash{String => T.untyped}, nil) (defaults to: nil)
  • spec_path (Pathname)
  • merged_spec_path (Pathname)
  • resolved_spec_path (Pathname)


# File ''

const :name, String
const :path, Pathname
prop :overlay_path, T.nilable(Pathname)
const :unresolved_yaml, T::Hash[String, T.untyped]
prop :resolved_yaml, T.nilable(T::Hash[String, T.untyped])
const :spec_path, Pathname
const :merged_spec_path, Pathname
const :resolved_spec_path, Pathname

Instance Attribute Details

#merged_spec_pathPathname (readonly)

Returns the value of prop ‘merged_spec_path`.

Returns:

  • (Pathname)


# File ''

const :merged_spec_path, Pathname

#nameString (readonly)

Returns the value of prop ‘name`.

Returns:

  • (String)


# File ''

const :name, String

#overlay_pathPathname?

Returns the value of prop ‘overlay_path`.

Returns:

  • (Pathname, nil)


# File ''

prop :overlay_path, T.nilable(Pathname)

#pathPathname (readonly)

Returns the value of prop ‘path`.

Returns:

  • (Pathname)


# File ''

const :path, Pathname

#resolved_spec_pathPathname (readonly)

Returns the value of prop ‘resolved_spec_path`.

Returns:

  • (Pathname)


# File ''

const :resolved_spec_path, Pathname

#resolved_yamlHash{String => T.untyped}?

Returns the value of prop ‘resolved_yaml`.

Returns:

  • (Hash{String => T.untyped}, nil)


# File ''

prop :resolved_yaml, T.nilable(T::Hash[String, T.untyped])

#spec_pathPathname (readonly)

Returns the value of prop ‘spec_path`.

Returns:

  • (Pathname)


# File ''

const :spec_path, Pathname

#unresolved_yamlHash{String => T.untyped} (readonly)

Returns the value of prop ‘unresolved_yaml`.

Returns:

  • (Hash{String => T.untyped})


# File ''

const :unresolved_yaml, T::Hash[String, T.untyped]