Class: FPM::Fry::Plugin::Env::AddEnv Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/fpm/fry/plugin/env.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#envObject

Returns the value of attribute env

Returns:

  • (Object)

    the current value of env



10
11
12
# File 'lib/fpm/fry/plugin/env.rb', line 10

def env
  @env
end

Instance Method Details

#call(_, df) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



12
13
14
# File 'lib/fpm/fry/plugin/env.rb', line 12

def call(_, df)
  df[:source] << format
end