Class: Passphrase::Default
- Inherits:
-
Object
- Object
- Passphrase::Default
- Defined in:
- lib/passphrase/default.rb
Overview
Class instance variables in this class define default values for Passphrase options and the range for the number of words that can be specified for a passphrase on the command-line.
Class Attribute Summary collapse
-
.number_range ⇒ Range
readonly
An arbitrary range specifying the allowable number of words in a passphrase, referenced by the CLI.parse method.
-
.options ⇒ Hash
readonly
The default options used to instantiate a Passphrase object.
Class Attribute Details
.number_range ⇒ Range (readonly)
Returns an arbitrary range specifying the allowable number of words in a passphrase, referenced by the CLI.parse method.
12 13 14 |
# File 'lib/passphrase/default.rb', line 12 def number_range @number_range end |
.options ⇒ Hash (readonly)
Returns the default options used to instantiate a Passphrase object.
9 10 11 |
# File 'lib/passphrase/default.rb', line 9 def end |