diff options
Diffstat (limited to 'guides/rails_guides')
-rw-r--r-- | guides/rails_guides/generator.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/rails_guides/generator.rb b/guides/rails_guides/generator.rb index 1f0a2063f2..48e90510e1 100644 --- a/guides/rails_guides/generator.rb +++ b/guides/rails_guides/generator.rb @@ -17,7 +17,7 @@ module RailsGuides class Generator GUIDES_RE = /\.(?:erb|md)\z/ - def initialize(edge:, version:, all:, only:, kindle:, language:, direction: :ltr) + def initialize(edge:, version:, all:, only:, kindle:, language:, direction: "ltr") @edge = edge @version = version @all = all @@ -118,7 +118,7 @@ module RailsGuides def copy_assets FileUtils.cp_r(Dir.glob("#{@guides_dir}/assets/*"), @output_dir) - if @direction == :rtl + if @direction == "rtl" overwrite_css_with_right_to_left_direction end end |