Class: LicenseAcceptance::ArgAcceptance
- Inherits:
-
Object
- Object
- LicenseAcceptance::ArgAcceptance
- Defined in:
- lib/license_acceptance/arg_acceptance.rb
Instance Method Summary collapse
Instance Method Details
#accepted?(argv) ⇒ Boolean
4 5 6 |
# File 'lib/license_acceptance/arg_acceptance.rb', line 4 def accepted?(argv) look_for_value(argv, "accept") end |
#no_persist?(argv) ⇒ Boolean
12 13 14 |
# File 'lib/license_acceptance/arg_acceptance.rb', line 12 def no_persist?(argv) look_for_value(argv, "accept-no-persist") end |
#silent?(argv) ⇒ Boolean
8 9 10 |
# File 'lib/license_acceptance/arg_acceptance.rb', line 8 def silent?(argv) look_for_value(argv, "accept-silent") end |