Class: Intellihash::Configuration
- Inherits:
-
Object
- Object
- Intellihash::Configuration
- Defined in:
- lib/intellihash/configuration.rb
Instance Attribute Summary collapse
-
#default_format ⇒ Object
Returns the value of attribute default_format.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#intelligent_by_default ⇒ Object
Returns the value of attribute intelligent_by_default.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
31 32 33 34 35 |
# File 'lib/intellihash/configuration.rb', line 31 def initialize @default_format = :symbol @enabled = false @intelligent_by_default = false end |
Instance Attribute Details
#default_format ⇒ Object
Returns the value of attribute default_format.
29 30 31 |
# File 'lib/intellihash/configuration.rb', line 29 def default_format @default_format end |
#enabled ⇒ Object
Returns the value of attribute enabled.
28 29 30 |
# File 'lib/intellihash/configuration.rb', line 28 def enabled @enabled end |
#intelligent_by_default ⇒ Object
Returns the value of attribute intelligent_by_default.
28 29 30 |
# File 'lib/intellihash/configuration.rb', line 28 def intelligent_by_default @intelligent_by_default end |