Class: HostInfo

Inherits:
Struct
  • Object
show all
Defined in:
lib/rake/contrib/publisher.rb

Overview

Configuration information about an upload host system.

name

Name of host system.

webdir

Base directory for the web information for the application. The application name (APP) is appended to this directory before using.

pkgdir

Directory on the host system where packages can be placed.

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



13
14
15
# File 'lib/rake/contrib/publisher.rb', line 13

def name
  @name
end

#pkgdirObject

Returns the value of attribute pkgdir

Returns:

  • (Object)

    the current value of pkgdir



13
14
15
# File 'lib/rake/contrib/publisher.rb', line 13

def pkgdir
  @pkgdir
end

#webdirObject

Returns the value of attribute webdir

Returns:

  • (Object)

    the current value of webdir



13
14
15
# File 'lib/rake/contrib/publisher.rb', line 13

def webdir
  @webdir
end