Sha256: b05f1f31956b3fdfea49676d0340bcce6cf33b16fef136c0005e7966ddcc2013

Contents?: true

Size: 248 Bytes

Versions: 1

Compression:

Stored size: 248 Bytes

Contents

require "rails/generators"
module blogmodule

	class ViewsGenerator < Rails::Generators::Base

		source_root File.expand_path("../../../../app", __FILE__)


        		def copy_views
			  directory "views", "app/views"
	        	end

  end
 end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blogmodule-1.0.2 lib/generators/blogmodule/views_generator.rb~