Let’s assume you have two GitHub accounts:
You want to configure your Mac to manage both accounts.
Note: This guide can be extended for more than two accounts. :)
Let’s assume you have two GitHub accounts:
You want to configure your Mac to manage both accounts.
Note: This guide can be extended for more than two accounts. :)
module CaseConverter | |
class Transformations | |
class << self | |
def transform(value) | |
case value | |
when Array then value.map { |item| transform(item) } | |
when Hash then value.deep_transform_keys! { |key| transform(key) } | |
when String then camelize(value) | |
else value | |
end |
In your command-line run the following commands:
brew doctor
brew update