Sha256: 8714b77360939d5645370e9e515cb2ae577e2d0b6b88ccbbc12830fe31e75b85
Contents?: true
Size: 430 Bytes
Versions: 11
Compression:
Stored size: 430 Bytes
Contents
# frozen_string_literal: true require 'rails/generators' module Bankai module Generators # :nodoc: class Base < Rails::Generators::Base include Bankai::Helper def self.default_source_root File.expand_path(File.join('..', '..', '..', 'templates'), __dir__) end private def app_name Rails.app_class.parent_name.demodulize.underscore.dasherize end end end end
Version data entries
11 entries across 11 versions & 1 rubygems