Class: InstallerRunner
Overview
Installer runner.
Class Method Summary collapse
- .appmakers ⇒ Object
- .cook ⇒ Object
- .create ⇒ Object
- .database ⇒ Object
- .download ⇒ Object
- .install ⇒ Object
- .nyasocom2_download ⇒ Object
- .nyasocom3_download ⇒ Object
- .nyasocom_app_download ⇒ Object
Class Method Details
.appmakers ⇒ Object
46 47 48 49 |
# File 'lib/install.rb', line 46 def self.appmakers encoding_style app_maker end |
.cook ⇒ Object
21 22 23 24 |
# File 'lib/install.rb', line 21 def self.cook encoding_style nyasocom2_custom_name end |
.create ⇒ Object
16 17 18 19 |
# File 'lib/install.rb', line 16 def self.create encoding_style nyasocom_sun_custom_name end |
.database ⇒ Object
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'lib/install.rb', line 51 def self.database encoding_style two = ARGV[1] pt = /\Apostgresql\z/ pg = /\A--pg\z/ if two.nil? puts "\nnyasocom_pg project, clone command.\n\nheat db postgresql\n\nheat db --pg\n\n" elsif two.match?(pt) postgresql elsif two.match?(pg) postgresql else puts 'No such option is found, please refer to the documentation.' end end |
.download ⇒ Object
26 27 28 29 |
# File 'lib/install.rb', line 26 def self.download encoding_style nyasocom_command end |
.install ⇒ Object
11 12 13 14 |
# File 'lib/install.rb', line 11 def self.install encoding_style nyasocom_custom_name end |
.nyasocom2_download ⇒ Object
31 32 33 34 |
# File 'lib/install.rb', line 31 def self.nyasocom2_download encoding_style nyasocom2_command end |
.nyasocom3_download ⇒ Object
36 37 38 39 |
# File 'lib/install.rb', line 36 def self.nyasocom3_download encoding_style nyasocom3_command end |
.nyasocom_app_download ⇒ Object
41 42 43 44 |
# File 'lib/install.rb', line 41 def self.nyasocom_app_download encoding_style nyasocom_app_command end |