ruby-2.7 needs ** for key-value-pair-arguments
This commit is contained in:
parent
ad44237905
commit
d25e1a9762
|
@ -179,10 +179,10 @@ class Knot::Protocol
|
||||||
|
|
||||||
def zone( zone) @zones[zone.to_s.to_sym] end
|
def zone( zone) @zones[zone.to_s.to_sym] end
|
||||||
|
|
||||||
def conf_set( **opts) call opts.update( command: 'conf-set') end
|
def conf_set( **opts) call **opts.update( command: 'conf-set') end
|
||||||
def conf_unset( **opts) call opts.update( command: 'conf-set') end
|
def conf_unset( **opts) call **opts.update( command: 'conf-set') end
|
||||||
|
|
||||||
def zone_set( **opts) call opts.update( command: 'zone-set') end
|
def zone_set( **opts) call **opts.update( command: 'zone-set') end
|
||||||
def zone_unset( **opts) call opts.update( command: 'zone-unset') end
|
def zone_unset( **opts) call **opts.update( command: 'zone-unset') end
|
||||||
def zone_get( **opts) call opts.update( command: 'zone-get') end
|
def zone_get( **opts) call **opts.update( command: 'zone-get') end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue