Module: Sandbox
- Defined in:
- lib/sandbox.rb,
lib/sandbox/cli.rb,
lib/sandbox/errors.rb,
lib/sandbox/output.rb,
lib/sandbox/version.rb,
lib/sandbox/installer.rb
Defined Under Namespace
Modules: Output
Classes: CLI, Error, Installer, LoadedSandboxError, ParseError
Constant Summary
collapse
- VERSION =
"0.5.1"
Class Method Summary
collapse
Class Method Details
.decrease_verbosity ⇒ Object
15
16
17
|
# File 'lib/sandbox.rb', line 15
def decrease_verbosity
@verbosity = verbosity - 1
end
|
.increase_verbosity ⇒ Object
11
12
13
|
# File 'lib/sandbox.rb', line 11
def increase_verbosity
@verbosity = verbosity + 1
end
|
.quiet? ⇒ Boolean
19
20
21
|
# File 'lib/sandbox.rb', line 19
def quiet?
verbosity < 0
end
|
.really_quiet? ⇒ Boolean
23
24
25
|
# File 'lib/sandbox.rb', line 23
def really_quiet?
verbosity < -1
end
|
.really_verbose? ⇒ Boolean
31
32
33
|
# File 'lib/sandbox.rb', line 31
def really_verbose?
verbosity > 1
end
|
.verbose? ⇒ Boolean
27
28
29
|
# File 'lib/sandbox.rb', line 27
def verbose?
verbosity > 0
end
|
.verbosity ⇒ Object
7
8
9
|
# File 'lib/sandbox.rb', line 7
def verbosity
@verbosity ||= 0
end
|