module RuWEB::Help

Displays help

Public Instance Methods

help_in_en() click to toggle source
# File lib/ruweb/help.rb, line 29
    def help_in_en
      %Q{🕷️ ruweb: hi: displaying help

ruweb [OPTION] [URI]

Options:
  --save-raw     Saves source text unchanged.
  --save-source  Saves source text with the addition of the text of the implemented pads.
  --save-code    Saves code text instead of execute it.

Read my manual on 'https://pad.programando.li/ruweb:manual'.

Executing example with my manual:}
    end
help_in_es() click to toggle source
# File lib/ruweb/help.rb, line 14
    def help_in_es
      %Q{🕷️ ruweb: hola: mostrando ayuda

ruweb [OPCIÓN] [URI]

Opciones:
  --save-raw     Guarda el texto de la fuente sin modificar.
  --save-source  Guarda el texto de la fuente con la incorporación del texto de los pads implementados.
  --save-code    Guarda el texto del código en lugar de ejecutarlo.

Lee mi manual en 'https://pad.programando.li/ruweb:manual'.

Ejecutando ejemplo con mi manual:}
    end
init() click to toggle source
# File lib/ruweb/help.rb, line 8
def init
  lang = ENV['LANG'] ? ENV['LANG'][0..1] : 'en'
  help = Help.method_defined?("help_in_#{lang}") ? "help_in_#{lang}" : 'help_in_en'
  puts send(help)
end