Class: Dployr::Scripts::Hook
- Inherits:
-
Object
- Object
- Dployr::Scripts::Hook
- Defined in:
- lib/dployr/scripts/hook.rb
Instance Method Summary collapse
-
#initialize(ip, instance, stage) ⇒ Hook
constructor
A new instance of Hook.
Constructor Details
#initialize(ip, instance, stage) ⇒ Hook
Returns a new instance of Hook.
5 6 7 8 9 10 |
# File 'lib/dployr/scripts/hook.rb', line 5 def initialize(ip, instance, stage) @ip = ip @instance = instance @stage = stage run end |