Sha256: 15073b7f1f8b6bc8c22ec8746a56fc806a4bd0a8e56455735a291df5f02741be
Contents?: true
Size: 421 Bytes
Versions: 6
Compression:
Stored size: 421 Bytes
Contents
require 'thor' module HappySeed module Generators class StaticGenerator < Thor::Group include Thor::Actions source_root File.expand_path('../templates', __FILE__) def generate_rails_plugin source_root = File.expand_path('../templates', __FILE__) args.shift app_name = args.shift self.destination_root = app_name directory "." end end end end
Version data entries
6 entries across 6 versions & 1 rubygems