class HappySeed::Generators::StaticBlogGenerator

Public Instance Methods

generate_rails_plugin() click to toggle source
# File lib/generators/happy_seed/static_blog/static_blog_generator.rb, line 8
def generate_rails_plugin
  source_root = File.expand_path('../templates', __FILE__)
  args.shift
  app_name = args.shift

  self.destination_root = app_name

  directory "."
end