Class: Texy::CLI
Instance Attribute Summary collapse
-
#repository ⇒ Object
readonly
Returns the value of attribute repository.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#repository ⇒ Object (readonly)
Returns the value of attribute repository.
20 21 22 |
# File 'lib/texy.rb', line 20 def repository @repository end |
Class Method Details
.destination_root ⇒ Object
26 27 28 |
# File 'lib/texy.rb', line 26 def self.destination_root TOP_LEVEL_DIRECTORY end |
.source_root ⇒ Object
22 23 24 |
# File 'lib/texy.rb', line 22 def self.source_root "#{TOP_LEVEL_DIRECTORY}/.templates" end |
Instance Method Details
#new_release_notes ⇒ Object
44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/texy.rb', line 44 def new_release_notes @repository = Documents::ReleaseNotes.repository @object = Documents::ReleaseNotes.new set_up_environment populate_code(object: @object) rescue SystemExit, Interrupt say "Exiting" exit end |
#new_sow ⇒ Object
31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/texy.rb', line 31 def new_sow @repository = Documents::StatementOfWork.repository @object = Documents::StatementOfWork.new set_up_environment populate_code(object: @object) rescue SystemExit, Interrupt say "Exiting" exit end |