class HimekuriTsBasicWeb
Public Class Methods
day_compile()
click to toggle source
# File lib/compile.rb, line 31 def self.day_compile # version info ruby_version = (RUBY_VERSION).to_s ruby_folder_version = ("3.0.0").to_s tsc_path = "$HOME/.nvm/versions/node/" + @@node_version + "/bin/tsc".to_s typescript_path = tsc_path + " " + "#{File.dirname(__FILE__)}/himekuri_web_days.ts".to_s stdout_ts, stderr_ts, status_ts = Open3.capture3(typescript_path) stdout_ts # puts stderr_ts; puts status_ts end
day_delete()
click to toggle source
# File lib/delete.rb, line 22 def self.day_delete delete_path = "rm -rf " + "#{File.dirname(__FILE__)}/himekuri_web_days.js".to_s stdout_ts, stderr_ts, status_ts = Open3.capture3(delete_path) stdout_ts # puts stderr_ts; puts status_ts end
himekuri_compile()
click to toggle source
# File lib/compile.rb, line 59 def self.himekuri_compile # version info ruby_version = (RUBY_VERSION).to_s ruby_folder_version = ("3.0.0").to_s tsc_path = "$HOME/.nvm/versions/node/" + @@node_version + "/bin/tsc".to_s typescript_path = tsc_path + " " + "#{File.dirname(__FILE__)}/himekuri_web_himekuri.ts".to_s stdout_ts, stderr_ts, status_ts = Open3.capture3(typescript_path) stdout_ts # puts stderr_ts; puts status_ts end
himekuri_delete()
click to toggle source
# File lib/delete.rb, line 40 def self.himekuri_delete delete_path = "rm -rf " + "#{File.dirname(__FILE__)}/himekuri_web_himekuri.js".to_s stdout_ts, stderr_ts, status_ts = Open3.capture3(delete_path) stdout_ts # puts stderr_ts; puts status_ts end
now_compile()
click to toggle source
# File lib/compile.rb, line 45 def self.now_compile # version info ruby_version = (RUBY_VERSION).to_s ruby_folder_version = ("3.0.0").to_s tsc_path = "$HOME/.nvm/versions/node/" + @@node_version + "/bin/tsc".to_s typescript_path = tsc_path + " " + "#{File.dirname(__FILE__)}/himekuri_web_justnow.ts".to_s stdout_ts, stderr_ts, status_ts = Open3.capture3(typescript_path) stdout_ts # puts stderr_ts; puts status_ts end
now_delete()
click to toggle source
# File lib/delete.rb, line 31 def self.now_delete delete_path = "rm -rf " + "#{File.dirname(__FILE__)}/himekuri_web_justnow.js".to_s stdout_ts, stderr_ts, status_ts = Open3.capture3(delete_path) stdout_ts # puts stderr_ts; puts status_ts end
Public Instance Methods
node_running_web_days()
click to toggle source
# File lib/himekurits.rb, line 27 def node_running_web_days # version info version = (HimekuriTs::VERSION).to_s himekuri_ts = "himekuri_ts-".to_s + version.to_s nodejs_path = "node" + " " + "#{File.dirname(__FILE__) + '/himekuri_web_days.js'}".to_s stdout_js, stderr_js, status_js = Open3.capture3(nodejs_path) stdout_js # puts stderr_js; puts status_js end
node_running_web_himekuri()
click to toggle source
# File lib/himekurits.rb, line 53 def node_running_web_himekuri # version info version = (HimekuriTs::VERSION).to_s himekuri_ts = "himekuri_ts-".to_s + version.to_s nodejs_path = "node" + " " + "#{File.dirname(__FILE__) + '/himekuri_web_himekuri.js'}".to_s stdout_js, stderr_js, status_js = Open3.capture3(nodejs_path) stdout_js # puts stderr_js; puts status_js end
node_running_web_now()
click to toggle source
# File lib/himekurits.rb, line 40 def node_running_web_now # version info version = (HimekuriTs::VERSION).to_s himekuri_ts = "himekuri_ts-".to_s + version.to_s nodejs_path = "node" + " " + "#{File.dirname(__FILE__) + '/himekuri_web_justnow.js'}".to_s stdout_js, stderr_js, status_js = Open3.capture3(nodejs_path) stdout_js # puts stderr_js; puts status_js end