app/lib/actions/base.rb in foreman-tasks-0.1.5 vs app/lib/actions/base.rb in foreman-tasks-0.2.0

- old
+ new

@@ -15,10 +15,10 @@ self.output end # This method should return humanized description of the action, e.g. "Install Package" def humanized_name - action_class.name[/\w+$/].gsub(/([a-z])([A-Z])/) { "#{$1} #{$2}" } + self.class.name[/\w+$/].gsub(/([a-z])([A-Z])/) { "#{$1} #{$2}" } end # This method should return String of Array<String> describing input for the task def humanized_input task_input.pretty_inspect