Class: Herdsman::Environment
- Inherits:
-
Object
- Object
- Herdsman::Environment
- Defined in:
- lib/herdsman/environment.rb
Constant Summary collapse
- DEFAULT_GIT_COMMAND =
'/usr/bin/env git'.freeze
Instance Attribute Summary collapse
-
#git_command ⇒ Object
Returns the value of attribute git_command.
Instance Method Summary collapse
-
#initialize ⇒ Environment
constructor
A new instance of Environment.
Constructor Details
#initialize ⇒ Environment
Returns a new instance of Environment.
6 7 8 |
# File 'lib/herdsman/environment.rb', line 6 def initialize @git_command = DEFAULT_GIT_COMMAND end |
Instance Attribute Details
#git_command ⇒ Object
Returns the value of attribute git_command.
5 6 7 |
# File 'lib/herdsman/environment.rb', line 5 def git_command @git_command end |