Class: Herdsman::Environment

Inherits:
Object
  • Object
show all
Defined in:
lib/herdsman/environment.rb

Constant Summary collapse

DEFAULT_GIT_COMMAND =
'/usr/bin/env git'.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEnvironment

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_commandObject

Returns the value of attribute git_command.



5
6
7
# File 'lib/herdsman/environment.rb', line 5

def git_command
  @git_command
end