Sha256: a4d1f6173e0bdaf45c581be1f281b5518a9c9822a26790ce085016819d9c7d14
Contents?: true
Size: 353 Bytes
Versions: 14
Compression:
Stored size: 353 Bytes
Contents
# frozen_string_literal: true module Phlex module Generators class TableGenerator < ::Rails::Generators::NamedBase source_root File.expand_path("templates", __dir__) class_option :properties, type: :array, default: [] def create_view template "table.rb.erb", File.join("app/views", class_path, "#{file_name}.rb") end end end end
Version data entries
14 entries across 14 versions & 2 rubygems