Sha256: 2b4a0205b930a1843ad7ba1edf6dc2229aaa0eb285542316207a21b4723ea8b0

Contents?: true

Size: 291 Bytes

Versions: 4

Compression:

Stored size: 291 Bytes

Contents

class KblogGenerator < Rails::Generators::Base
	source_root File.expand_path('../templates', __FILE__)

  	def create_initializer_file
		puts "creating file config/initializer/kblog_init.rb - adopt to your needs!"
		copy_file "initializer.rb", "config/initializers/kblog_init.rb"
  	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kblog-0.0.4 lib/generators/kblog/kblog_generator.rb
kblog-0.0.3 lib/generators/kblog/kblog_generator.rb
kblog-0.0.2 lib/generators/kblog/kblog_generator.rb
kblog-0.0.1 lib/generators/kblog/kblog_generator.rb