class RubyYacht::Hook::Behavior

This class is the base class for behaviors in hooks.

Attributes

context[RW]

This context in which the command is being generated.

Public Instance Methods

dockerfile_command() click to toggle source

The command that should be run in a Dockerfile for this behavior.

# File lib/ruby_yacht/dsl/hook.rb, line 170
def dockerfile_command
  ''
end
shell_command() click to toggle source

The command that should be run in a shell script for this behavior.

# File lib/ruby_yacht/dsl/hook.rb, line 175
def shell_command
  ''
end