Class: Sprinkle::Installers::User

Inherits:
Installer
  • Object
show all
Defined in:
lib/sprinkle/installers/user.rb

Instance Attribute Summary

Attributes inherited from Installer

#delivery, #options, #package, #post, #pre

Attributes included from Configurable

#delivery

Instance Method Summary collapse

Methods inherited from Installer

#process

Methods included from Configurable

#assert_delivery, #defaults, #method_missing, #option?

Constructor Details

#initialize(package, username, options, &block) ⇒ User

Returns a new instance of User.



4
5
6
7
8
# File 'lib/sprinkle/installers/user.rb', line 4

def initialize(package, username, options, &block)
  super package, &block
  @username=username
  @options =options
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Sprinkle::Configurable