Class: Conjur::Env::ConjurVariable

Inherits:
CustomTag
  • Object
show all
Defined in:
lib/conjur/conjurenv.rb

Instance Method Summary collapse

Methods inherited from CustomTag

#conjur_id, #gsub!, #init_with, #initialize

Constructor Details

This class inherits a constructor from Conjur::Env::CustomTag

Instance Method Details

#evaluate(value) ⇒ Object



45
46
47
48
# File 'lib/conjur/conjurenv.rb', line 45

def evaluate value
  raise "variable #{conjur_id} exists but doesn't have a value" if value.nil?
  value.chomp
end