Method: Subroutine::Outputs#get_output

Defined in:
lib/subroutine/outputs.rb

#get_output(name) ⇒ Object



51
52
53
54
55
56
# File 'lib/subroutine/outputs.rb', line 51

def get_output(name)
  name = name.to_sym
  raise ::Subroutine::Outputs::UnknownOutputError, name unless output_configurations.key?(name)

  outputs[name]
end