Class: KStarter::Questions::LibraryGem

Inherits:
BaseGem show all
Defined in:
lib/k_starter/questions/gem.rb

Overview

Ask code generations for a new Ruby GEM project.

Instance Attribute Summary

Attributes inherited from BaseGem

#coc, #exe, #mit, #rspec

Attributes inherited from BaseQuestion

#actor, #description, #github_key, #klue_template_active, #klue_template_name, #name, #problem, #root_path, #solution, #story_active, #sub_path, #type, #user_story, #variant

Instance Method Summary collapse

Methods inherited from BaseGem

#ask_questions, #to_dom, #to_h

Methods inherited from BaseQuestion

#ask_actor, #ask_description, #ask_github_key, #ask_klue_template_active?, #ask_klue_template_name, #ask_problem, #ask_root_path, #ask_solution, #ask_story_active?, #ask_sub_path, #ask_user_story, #default_klue_template_active, #default_questions, #default_story_active, #infer_klue_template_name, #klue_template_questions, #question, #show_story, #story_questions, #to_h

Methods included from TtyHelpers

#command, #config, #cursor, #editor, #exec_exist?, #generator, #pager, #platform, #prompt, #screen, #which

Constructor Details

#initialize(**args) ⇒ LibraryGem

Returns a new instance of LibraryGem.



114
115
116
117
# File 'lib/k_starter/questions/gem.rb', line 114

def initialize(**args)
  args = { variant: :library }.merge(args)
  super(**args)
end