Method: Origen::Users::User#id
- Defined in:
- lib/origen/users/user.rb
#id(options = {}) ⇒ Object Also known as: core_id, username
50 51 52 53 54 |
# File 'lib/origen/users/user.rb', line 50 def id( = {}) # Way to force Origen to use the new user ID in case of WSL where the core ID might not match the WSL login name # User needs to setup the environment variable in their .bashrc or .tcshrc file ENV['ORIGEN_USER_ID'] || @id.to_s.downcase end |