Sha256: d3dfce615f5cfdd812a57bced44bb69fec9b2bf4627b4e8f1450ee66d9b25cb6
Contents?: true
Size: 426 Bytes
Versions: 2
Compression:
Stored size: 426 Bytes
Contents
# frozen_string_literal: true module ActiveRepresenter module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../templates", __FILE__) def copy_application_representer_file template "app/representers/application_representer.rb" end def create_concerns_directory create_file "app/representers/concerns/.keep" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lightrails-0.0.9 | lib/generators/active_representer/install_generator.rb |
lightrails-0.0.8 | lib/generators/active_representer/install_generator.rb |