Class: AppUp::Hooks::Hook
- Inherits:
-
Struct
- Object
- Struct
- AppUp::Hooks::Hook
- Defined in:
- lib/app_up/hooks/hook.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#files ⇒ Object
Returns the value of attribute files.
-
#options ⇒ Object
Returns the value of attribute options.
-
#shell ⇒ Object
Returns the value of attribute shell.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#files ⇒ Object
Returns the value of attribute files
5 6 7 |
# File 'lib/app_up/hooks/hook.rb', line 5 def files @files end |
#options ⇒ Object
Returns the value of attribute options
5 6 7 |
# File 'lib/app_up/hooks/hook.rb', line 5 def @options end |
#shell ⇒ Object
Returns the value of attribute shell
5 6 7 |
# File 'lib/app_up/hooks/hook.rb', line 5 def shell @shell end |
Class Method Details
.run(shell, files, options) ⇒ Object
7 8 9 |
# File 'lib/app_up/hooks/hook.rb', line 7 def self.run(shell, files, ) new(shell, files, ).run end |
Instance Method Details
#run ⇒ Object
11 12 13 |
# File 'lib/app_up/hooks/hook.rb', line 11 def run raise "Must be implemented" end |