Sha256: f7448036cadd5e924c44d3815c754a89bee1f2af71eeb0b11e5add0460f5b9f7

Contents?: true

Size: 397 Bytes

Versions: 3

Compression:

Stored size: 397 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators'

module HtmlTo
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path('./templates', __dir__)

      desc 'Copy example of serializer to your app'

      def copy_initializer
        copy_file 'html_to_serializer.rb', 'app/serializers/html_to_serializer.rb'
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
html_to-1.1.3 lib/generators/html_to/install_generator.rb
html_to-1.1.2 lib/generators/html_to/install_generator.rb
html_to-1.1.1 lib/generators/html_to/install_generator.rb