Class: DeployDoc::Config

Inherits:
Struct
  • Object
show all
Defined in:
lib/deploy_doc/config.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#actionObject

Returns the value of attribute action

Returns:

  • (Object)

    the current value of action



2
3
4
# File 'lib/deploy_doc/config.rb', line 2

def action
  @action
end

#data_dirObject

Returns the value of attribute data_dir

Returns:

  • (Object)

    the current value of data_dir



2
3
4
# File 'lib/deploy_doc/config.rb', line 2

def data_dir
  @data_dir
end

#docker_imageObject

Returns the value of attribute docker_image

Returns:

  • (Object)

    the current value of docker_image



2
3
4
# File 'lib/deploy_doc/config.rb', line 2

def docker_image
  @docker_image
end

#docker_socketObject

Returns the value of attribute docker_socket

Returns:

  • (Object)

    the current value of docker_socket



2
3
4
# File 'lib/deploy_doc/config.rb', line 2

def docker_socket
  @docker_socket
end

#markdown_fileObject

Returns the value of attribute markdown_file

Returns:

  • (Object)

    the current value of markdown_file



2
3
4
# File 'lib/deploy_doc/config.rb', line 2

def markdown_file
  @markdown_file
end

Class Method Details

.defaultsObject



3
4
5
# File 'lib/deploy_doc/config.rb', line 3

def self.defaults
  Config.new(nil, nil, "unix:///var/run/docker.sock", "ruby:2.3", ".")
end