class ImproveTypography::Processor
Public Class Methods
call(*args)
click to toggle source
# File lib/improve_typography/processor.rb, line 3 def self.call(*args) new(*args).call end
new(str, options = {})
click to toggle source
Calls superclass method
# File lib/improve_typography/processor.rb, line 7 def initialize(str, options = {}) super(str, options) end
Public Instance Methods
call()
click to toggle source
# File lib/improve_typography/processor.rb, line 11 def call str end
Private Instance Methods
configuration()
click to toggle source
# File lib/improve_typography/processor.rb, line 17 def configuration @configuration ||= Configuration.new end
locale()
click to toggle source
# File lib/improve_typography/processor.rb, line 21 def locale options.fetch :locale, I18n.locale end