Sha256: 47445ee75691c77dd8a1d541a018cb3d48e4690e1901421ccaba8baff26a7c48
Contents?: true
Size: 400 Bytes
Versions: 4
Compression:
Stored size: 400 Bytes
Contents
# frozen_string_literal: true require 'rails/generators' module Bankai module Generators # :nodoc: class Base < Rails::Generators::Base 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
bankai-0.2.2 | lib/bankai/generators/base.rb |
bankai-0.2.1 | lib/bankai/generators/base.rb |
bankai-0.2.0 | lib/bankai/generators/base.rb |
bankai-0.1.0 | lib/bankai/generators/base.rb |