vendored/puppet/lib/puppet/relationship.rb in bolt-0.15.0 vs vendored/puppet/lib/puppet/relationship.rb in bolt-0.16.0

- old
+ new

@@ -28,10 +28,11 @@ new(source, target, args) end def event=(event) - raise ArgumentError, "You must pass a callback for non-NONE events" if event != :NONE and ! callback + #TRANSLATORS 'NONE' should not be translated + raise ArgumentError, _("You must pass a callback for non-NONE events") if event != :NONE and ! callback @event = event end def initialize(source, target, options = {}) @source, @target = source, target