Sha256: ca11f0a075173ce9947c2b93a0c863f361186b25030281bac7cac2d766c29841

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

require "rails/generators"

module JsonStatham
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path("templates", __dir__)

    def add_initializer
      template "json_statham.rb", "config/initializers/json_statham.rb"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
json_statham-0.1.3 lib/generators/json_statham/install_generator.rb