Class: NCipher::Configuration
- Inherits:
-
Object
- Object
- NCipher::Configuration
- Includes:
- ArgumentValidation
- Defined in:
- lib/n_cipher/configuration.rb
Instance Attribute Summary collapse
-
#delimiter ⇒ Object
Returns the value of attribute delimiter.
-
#seed ⇒ Object
Returns the value of attribute seed.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #reset ⇒ Object
Methods included from ArgumentValidation
around_alias, define_proxy_method, included, store_validation, validations
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 |
# File 'lib/n_cipher/configuration.rb', line 7 def initialize reset end |
Instance Attribute Details
#delimiter ⇒ Object
Returns the value of attribute delimiter.
5 6 7 |
# File 'lib/n_cipher/configuration.rb', line 5 def delimiter @delimiter end |
#seed ⇒ Object
Returns the value of attribute seed.
4 5 6 |
# File 'lib/n_cipher/configuration.rb', line 4 def seed @seed end |
Instance Method Details
#reset ⇒ Object
11 12 13 14 |
# File 'lib/n_cipher/configuration.rb', line 11 def reset @seed = 'にゃんぱす'.chars @delimiter = '〜' end |