Class: Sprinkle::Installers::BsdPort
- Defined in:
- lib/sprinkle/installers/bsd_port.rb
Overview
OpenBSD and FreeBSD Port Installer
The Port installer installs OpenBSD and FreeBSD ports. Before usage, the ports sytem must be installed and read on the target operating system.
Example Usage
Installing the magic_beans port.
package :magic_beans do
bsd_port 'magic/magic_beans'
end
Instance Attribute Summary collapse
-
#port ⇒ Object
:nodoc:.
Attributes inherited from Installer
#delivery, #options, #package, #post, #pre
Attributes included from Configurable
Instance Method Summary collapse
-
#initialize(parent, port, &block) ⇒ BsdPort
constructor
:nodoc:.
Methods inherited from Installer
Methods included from Configurable
#assert_delivery, #defaults, #method_missing, #option?
Constructor Details
#initialize(parent, port, &block) ⇒ BsdPort
:nodoc:
20 21 22 23 |
# File 'lib/sprinkle/installers/bsd_port.rb', line 20 def initialize(parent, port, &block) #:nodoc: super parent, &block @port = port end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Sprinkle::Configurable
Instance Attribute Details
#port ⇒ Object
:nodoc:
18 19 20 |
# File 'lib/sprinkle/installers/bsd_port.rb', line 18 def port @port end |