Class: UniqIdentifier::Configuration
- Inherits:
-
Object
- Object
- UniqIdentifier::Configuration
- Defined in:
- lib/uniq_identifier/configuration.rb
Instance Attribute Summary collapse
-
#generator ⇒ Object
Returns the value of attribute generator.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 |
# File 'lib/uniq_identifier/configuration.rb', line 7 def initialize self.generator = SecureRandom end |
Instance Attribute Details
#generator ⇒ Object
Returns the value of attribute generator.
5 6 7 |
# File 'lib/uniq_identifier/configuration.rb', line 5 def generator @generator end |