Class: ChupaText::Configuration
- Inherits:
-
Object
- Object
- ChupaText::Configuration
- Defined in:
- lib/chupa-text/configuration.rb
Defined Under Namespace
Classes: DecomposerConfiguration
Instance Attribute Summary collapse
-
#decomposer ⇒ Object
readonly
Returns the value of attribute decomposer.
-
#mime_type_registry ⇒ Object
Returns the value of attribute mime_type_registry.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
35 36 37 38 |
# File 'lib/chupa-text/configuration.rb', line 35 def initialize @decomposer = DecomposerConfiguration.new @mime_type_registry = MIMEType.registry end |
Instance Attribute Details
#decomposer ⇒ Object (readonly)
Returns the value of attribute decomposer.
33 34 35 |
# File 'lib/chupa-text/configuration.rb', line 33 def decomposer @decomposer end |
#mime_type_registry ⇒ Object
Returns the value of attribute mime_type_registry.
34 35 36 |
# File 'lib/chupa-text/configuration.rb', line 34 def mime_type_registry @mime_type_registry end |
Class Method Details
.default ⇒ Object
20 21 22 |
# File 'lib/chupa-text/configuration.rb', line 20 def default @default ||= create_default end |