Sha256: 6da4c35ab4382b821c3117596a3d9a50a14b7d1b91e98739bb0d1aa1f2c3c6d4

Contents?: true

Size: 424 Bytes

Versions: 5

Compression:

Stored size: 424 Bytes

Contents

# frozen_string_literal: true

module Cybele
  module Helpers
    module Haml
      def configure_haml
        # Add initializers
        bundle_command 'exec rails generate haml:application_layout convert'
        remove_file 'app/views/layouts/application.html.erb'
      end

      def add_haml_gems
        # Add Gems
        append_file('Gemfile', template_content('haml/haml_Gemfile.erb'))
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cybele-2.3.2 lib/cybele/helpers/haml.rb
cybele-2.3.1 lib/cybele/helpers/haml.rb
cybele-2.2.0 lib/cybele/helpers/haml.rb
cybele-2.1.0 lib/cybele/helpers/haml.rb
cybele-2.0.0 lib/cybele/helpers/haml.rb