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



17
18
19
# File 'lib/rake/contrib/publisher.rb', line 17

def name
  @name
end

#pkgdirObject

Returns the value of attribute pkgdir

Returns:

  • (Object)

    the current value of pkgdir



17
18
19
# File 'lib/rake/contrib/publisher.rb', line 17

def pkgdir
  @pkgdir
end

#webdirObject

Returns the value of attribute webdir

Returns:

  • (Object)

    the current value of webdir



17
18
19
# File 'lib/rake/contrib/publisher.rb', line 17

def webdir
  @webdir
end