Class: ImproveTypography::Configuration
- Inherits:
-
Object
- Object
- ImproveTypography::Configuration
- Defined in:
- lib/improve_typography/configuration.rb
Instance Attribute Summary collapse
-
#processors ⇒ Object
Returns the value of attribute processors.
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 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/improve_typography/configuration.rb', line 7 def initialize @processors = [ Processors::WordLineSeparator, Processors::Ellipsis, Processors::EnDash, Processors::EmDash, Processors::MultiplySign, Processors::Nbsp, Processors::Numbers, Processors::SingleQuotes, Processors::DoubleQuotes, Processors::Apostrophe, Processors::Units ] end |
Instance Attribute Details
#processors ⇒ Object
Returns the value of attribute processors.
5 6 7 |
# File 'lib/improve_typography/configuration.rb', line 5 def processors @processors end |