Sha256: 13d273aa5fda03fbebd9aede138c58c945e8023fc7425d3a55906de63bbd3372
Contents?: true
Size: 411 Bytes
Versions: 34
Compression:
Stored size: 411 Bytes
Contents
class EnjuBiblio::SetupGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) argument :file, type: :string, default: "all" def copy_setup_files directory("db/fixtures", "db/fixtures/enju_biblio") return if file == 'fixture' append_to_file("config/schedule.rb", File.open(File.expand_path('../templates', __FILE__) + '/config/schedule.rb').read) end end
Version data entries
34 entries across 33 versions & 2 rubygems