Class: Dev::Ruby::Config

Inherits:
Struct
  • Object
show all
Defined in:
lib/firespring_dev_commands/ruby.rb

Overview

Config object for setting top level git config options

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



12
13
14
15
16
17
18
19
# File 'lib/firespring_dev_commands/ruby.rb', line 12

def initialize
  self.container_path = DEFAULT_PATH
  self.local_path = DEV_COMMANDS_ROOT_DIR
  self.package_file = DEFAULT_PACKAGE_FILE
  self.coverage = nil
  self.min_version = nil
  self.max_version = nil
end

Instance Attribute Details

#container_pathObject

Returns the value of attribute container_path

Returns:

  • (Object)

    the current value of container_path



11
12
13
# File 'lib/firespring_dev_commands/ruby.rb', line 11

def container_path
  @container_path
end

#coverageObject

Returns the value of attribute coverage

Returns:

  • (Object)

    the current value of coverage



11
12
13
# File 'lib/firespring_dev_commands/ruby.rb', line 11

def coverage
  @coverage
end

#local_pathObject

Returns the value of attribute local_path

Returns:

  • (Object)

    the current value of local_path



11
12
13
# File 'lib/firespring_dev_commands/ruby.rb', line 11

def local_path
  @local_path
end

#max_versionObject

Returns the value of attribute max_version

Returns:

  • (Object)

    the current value of max_version



11
12
13
# File 'lib/firespring_dev_commands/ruby.rb', line 11

def max_version
  @max_version
end

#min_versionObject

Returns the value of attribute min_version

Returns:

  • (Object)

    the current value of min_version



11
12
13
# File 'lib/firespring_dev_commands/ruby.rb', line 11

def min_version
  @min_version
end

#package_fileObject

Returns the value of attribute package_file

Returns:

  • (Object)

    the current value of package_file



11
12
13
# File 'lib/firespring_dev_commands/ruby.rb', line 11

def package_file
  @package_file
end