Class: Generator

Inherits:
Thor
  • Object
show all
Includes:
Add, New, Quickstart, Repo, Util, Thor::Actions, Thor::Shell
Defined in:
lib/fusegen/add.rb,
lib/fusegen/new.rb,
lib/fusegen/repo.rb,
lib/fusegen/util.rb,
lib/fusegen/generator.rb,
lib/fusegen/quickstart.rb

Defined Under Namespace

Modules: Add, New, Quickstart, Repo, Util

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Util

#copy_from_repo, #get_quickstarts, #get_substitution_value, #get_version, #initialize, #load_file, #say_error, #say_info, #say_task, #say_warn

Methods included from Quickstart

#qs_info, #qs_list

Methods included from Add

#add_feature, #add_index, #add_readme

Methods included from Repo

#repo_add, #repo_find_template, #repo_list, #repo_rm

Methods included from New

#new_project

Instance Attribute Details

#versionsObject

Returns the value of attribute versions.



18
19
20
# File 'lib/fusegen/generator.rb', line 18

def versions
  @versions
end

Class Method Details

.source_rootObject



20
21
22
# File 'lib/fusegen/generator.rb', line 20

def self.source_root
  File.dirname(__FILE__)
end