lib/macros4cuke/templating/section.rb in macros4cuke-0.5.03 vs lib/macros4cuke/templating/section.rb in macros4cuke-0.5.06

- old
+ new

@@ -40,11 +40,11 @@ when Placeholder subResult << a_child.name when Section subResult.concat(a_child.variables) else - # Do nothing + # Do nothing end end return all_vars.flatten.uniq end @@ -52,10 +52,10 @@ # Render the placeholder given the passed arguments. # This method has the same signature as the {Engine#render} method. # @return [String] The text value assigned to the placeholder. # Returns an empty string when no value is assigned to the placeholder. - def render(aContextObject, theLocals) + def render(_, _) msg = "Method Section.#{__method__} must be implemented in subclass." fail(NotImplementedError, msg) end end # class