Module: Commands::CIC::Helpers

Defined in:
lib/commands/cic/helpers.rb

Instance Method Summary collapse

Instance Method Details

#cic_pwdObject



16
17
18
# File 'lib/commands/cic/helpers.rb', line 16

def cic_pwd
  ENV['CIC_PWD']
end

#courseware_environmentObject



4
5
6
# File 'lib/commands/cic/helpers.rb', line 4

def courseware_environment
  "CIC_COURSEWARE_VERSION=#{courseware_version} CIC_COURSEWARE_IMAGE=#{courseware_image} CIC_PWD=#{cic_pwd}"
end

#courseware_imageObject



8
9
10
# File 'lib/commands/cic/helpers.rb', line 8

def courseware_image
  ENV['CIC_COURSEWARE_IMAGE']
end

#courseware_versionObject



12
13
14
# File 'lib/commands/cic/helpers.rb', line 12

def courseware_version
  ENV['CIC_COURSEWARE_VERSION']
end