module Fig::Command::Action::Role::HasSubAction
Attributes
sub_action[RW]
Public Instance Methods
apply_base_config?()
click to toggle source
# File lib/fig/command/action/role/has_sub_action.rb, line 46 def apply_base_config?() check_sub_action_presence() return sub_action.apply_base_config? end
apply_config?()
click to toggle source
# File lib/fig/command/action/role/has_sub_action.rb, line 41 def apply_config?() check_sub_action_presence() return sub_action.apply_config? end
check_sub_action_presence()
click to toggle source
# File lib/fig/command/action/role/has_sub_action.rb, line 15 def check_sub_action_presence() return if sub_action raise 'Bug in code. Sub-action missing.' end
configure(options)
click to toggle source
# File lib/fig/command/action/role/has_sub_action.rb, line 51 def configure(options) check_sub_action_presence() return sub_action.configure(options) end
descriptor_requirement()
click to toggle source
# File lib/fig/command/action/role/has_sub_action.rb, line 21 def descriptor_requirement() check_sub_action_presence() return sub_action.descriptor_requirement() end
execute()
click to toggle source
# File lib/fig/command/action/role/has_sub_action.rb, line 61 def execute() check_sub_action_presence() return sub_action.execute() end
execution_context=(context)
click to toggle source
# File lib/fig/command/action/role/has_sub_action.rb, line 56 def execution_context=(context) check_sub_action_presence() sub_action.execution_context = context end
load_base_package?()
click to toggle source
# File lib/fig/command/action/role/has_sub_action.rb, line 31 def load_base_package?() check_sub_action_presence() return sub_action.load_base_package? end
modifies_repository?()
click to toggle source
# File lib/fig/command/action/role/has_sub_action.rb, line 26 def modifies_repository?() check_sub_action_presence() return sub_action.modifies_repository? end
register_base_package?()
click to toggle source
# File lib/fig/command/action/role/has_sub_action.rb, line 36 def register_base_package?() check_sub_action_presence() return sub_action.register_base_package? end
sub_action?()
click to toggle source
# File lib/fig/command/action/role/has_sub_action.rb, line 11 def sub_action?() true end