Sha256: a63a039ef41b2ed013e4b2437a42a92553bed95373643a37d744c35a6cdb06f7
Contents?: true
Size: 632 Bytes
Versions: 1
Compression:
Stored size: 632 Bytes
Contents
module Leolay module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../../', __FILE__) def copy_all_to_local #directory "leolay", "lib/generators/leolay" copy_file "leolay/leolay_generator.rb", "lib/generators/leolay/leolay_generator.rb" copy_file "leolay/USAGE", "lib/generators/leolay/USAGE" directory "leolay/templates", "lib/generators/leolay/templates" #copy_file "leonardo_shared.rb", "lib/generators/leonardo_shared.rb" unless File.exists? "lib/generators/leonardo_shared.rb" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
leonardo-1.5.0 | lib/generators/leolay/install_generator.rb |