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

#name ⇒ Object

Returns the value of attribute name

Returns:

  • (Object) —

    the current value of name



11
12
13
# File 'lib/rake/contrib/publisher.rb', line 11

def name
  @name
end

#pkgdir ⇒ Object

Returns the value of attribute pkgdir

Returns:

  • (Object) —

    the current value of pkgdir



11
12
13
# File 'lib/rake/contrib/publisher.rb', line 11

def pkgdir
  @pkgdir
end

#webdir ⇒ Object

Returns the value of attribute webdir

Returns:

  • (Object) —

    the current value of webdir



11
12
13
# File 'lib/rake/contrib/publisher.rb', line 11

def webdir
  @webdir
end