Sha256: b8de7ada1552c95e096b018280b39e3a4f957c3bbea1479083bee5f24fbbbf4a

Contents?: true

Size: 725 Bytes

Versions: 4

Compression:

Stored size: 725 Bytes

Contents

module Orthotypo
  class Composer::Fr < Composer

    protected

    def chars_with_space_before
      [
        '%'
      ]
    end

    def chars_with_space_after
      [
        ',',
        '.',
        '...',
        '…'
      ]
    end
    
    def chars_with_space_around
      [
        ';',
        ':',
        '!',
        '?'
      ]
    end

    def chars_with_no_space_around
      [
        "'",
        '’',
        'ʼ'
      ]
    end

    def pairs_with_space_around
      [
        '«»'
      ]
    end
    
    def pairs_with_no_space_around
      [
        '“”',
        '‘’',
        '‹›',
        '""',
        "''",
        "()",
        "{}",
        "[]"
      ]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
orthotypo-1.0.1 lib/orthotypo/composer/fr.rb
orthotypo-1.0.0 lib/orthotypo/composer/fr.rb
orthotypo-0.6.0 lib/orthotypo/composer/fr.rb
orthotypo-0.5.1 lib/orthotypo/composer/fr.rb