Class: Ree::PackageEnvVar

Inherits:
Object show all
Defined in:
lib/ree/core/package_env_var.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, doc) ⇒ PackageEnvVar

Returns a new instance of PackageEnvVar.

Parameters:

  • name (String)

    Env var name

  • Env (Nilor[String])

    var description



8
9
10
11
# File 'lib/ree/core/package_env_var.rb', line 8

def initialize(name, doc)
  @name = name
  @doc = doc
end

Instance Attribute Details

#docObject (readonly)

Returns the value of attribute doc.



4
5
6
# File 'lib/ree/core/package_env_var.rb', line 4

def doc
  @doc
end

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/ree/core/package_env_var.rb', line 4

def name
  @name
end