From 5b5b620601a73fe569a2e4dad318113149afeb18 Mon Sep 17 00:00:00 2001 From: Denis Knauf Date: Mon, 6 Sep 2021 18:34:31 +0200 Subject: [PATCH] version 0.3.2. calling uses kvar-splats. --- lib/dencli.rb | 8 ++++---- lib/dencli/version.rb | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/dencli.rb b/lib/dencli.rb index 4f25347..4f4781c 100755 --- a/lib/dencli.rb +++ b/lib/dencli.rb @@ -68,12 +68,12 @@ class DenCli post end - def sub *a, &exe - @subs.sub *a, &exe + def sub *a, **o, &exe + @subs.sub *a, **o, &exe end - def cmd *a, &exe - @subs.cmd *a, &exe + def cmd *a, **o, &exe + @subs.cmd *a, **o, &exe end def call *a diff --git a/lib/dencli/version.rb b/lib/dencli/version.rb index 6b3120e..ad7110b 100644 --- a/lib/dencli/version.rb +++ b/lib/dencli/version.rb @@ -1,3 +1,3 @@ class DenCli - VERSION = '0.3.1' + VERSION = '0.3.2' end