shellopts 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shellopts/version.rb +1 -1
- data/lib/shellopts.rb +3 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62e1be2ce8220b6bec3fac551a2c44fef7ca52fa4cf1f1565e15836387a85bd9
|
4
|
+
data.tar.gz: b5872f570a32ff841cb632f18e390eb060fe746cd62d09347dd449782ce529ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08b6078dbf4690562e7e4d68cdbd27f2e840ba6440dbe8cbcb0aef932e27b2db959608bf3630f5725d2d8629691839546a41c72d6ea9f178c662a61e984b43be'
|
7
|
+
data.tar.gz: 49bd8f950a6f1e3ce457b974b88301f4052a597578f2379680f6b7bed8581f522860a679d9a9600427b37927ea5f9a3f110dbe857be14c564cd4e7c221b361ff
|
data/lib/shellopts/version.rb
CHANGED
data/lib/shellopts.rb
CHANGED
@@ -439,14 +439,9 @@ module ShellOpts
|
|
439
439
|
$stdout.send(method, message) if instance.debug && instance.program.__debug__
|
440
440
|
end
|
441
441
|
|
442
|
-
def self.
|
443
|
-
end
|
444
|
-
|
445
|
-
def self.verbose_flag
|
446
|
-
end
|
447
|
-
|
448
|
-
def self.debug_flag
|
449
|
-
end
|
442
|
+
def self.quiet?() instance.program.quiet? end
|
443
|
+
def self.verbose?(level = 1) level <= instance.program.verbose end
|
444
|
+
def self.debug?() instance.program.debug? end
|
450
445
|
|
451
446
|
module Message
|
452
447
|
@is_included = false
|