Top Level Namespace

Includes:
Glimmer, Java, Math, Roebe, Roebe::Configuration, Roebe::CustomMethods, Roebe::Math, Roebe::SQL::Commands, Roebe::Time

Defined Under Namespace

Modules: Enumerable, Errno, FileOperations, HexaPDF, HookScriptAPI, Kernel, Math, MimeTypes, PostInstall, Process, Roebe Classes: Array, ConfigTable, Dir, DrawPanel, Example, File, Fixnum, Float, FormTable, Hash, Hello, Installer, Integer, Module, MyApp, Numeric, Object, Proc, Range, Seconds, SetupError, String, Struct, ToplevelInstaller, ToplevelInstallerMulti, Visits

Constant Summary collapse

N_TIMES =

Testing code.

10
BACKGROUND_COLOR =
#

BACKGROUND_COLOR

#
'#d3d2d1'
DARKER_BACKGROUND_COLOR =
#

DARKER_BACKGROUND_COLOR

#
'#b9b5b2'
FULL_BACKGROUND_COLOUR =
#

FULL_BACKGROUND_COLOUR

#
'background-color: '+DARKER_BACKGROUND_COLOR+';'
N_SONGS =
#

localhost/programming/ruby/src/roebe/lib/roebe/www/audio/audio.cgi

#

N_SONGS

Stand vom 18.02.2006: 370 Stand vom 03.06.2008: 482 Stand vom 11.10.2020: 720 Stand vom 05.07.2021: 727 Stand vom 29.03.2023: 746

#
732
TITLE =
'Beauty - objektive Kriterien'
USE_THIS_AS_BACKGROUND_COLOUR =
'#d3d2d1'
MAIN_BACKGROUND_COLOR =
#

MAIN_BACKGROUND_COLOR

#
'background-color: #e7e5e2'
StringColourParser =
Roebe::StringColourParser
BASE_DIRECTORY =
#

Specify a directory with images next:

#
'/home/x/data/images/NJOY/'
BACKGROUND_COLOUR =
#

The purpose of this code is to quickly view a page under the documentation/ subsection.

#
'
  background-color: black;
  color: white;
  font-weight: 500;
'

Constants included from Roebe::Configuration

Roebe::Configuration::SHALL_WE_DEBUG

Constants included from Roebe::CustomMethods

Roebe::CustomMethods::ALPHABET, Roebe::CustomMethods::ARRAY, Roebe::CustomMethods::EINE_MINUTE, Roebe::CustomMethods::EINE_STUNDE, Roebe::CustomMethods::HASH, Roebe::CustomMethods::HOME_DIRECTORY_OF_USER_X, Roebe::CustomMethods::PI, Roebe::CustomMethods::STRING

Constants included from Roebe

Roebe::ALPHABET, Roebe::ARCHIVE_TYPES, Roebe::ARRAY_INSTALL_THESE_GEM_PROJECTS, Roebe::ARRAY_RUBY_KEYWORDS, Roebe::ARRAY_VIDEO_FILE_TYPES, Roebe::ASCII_DIFFERENCE, Roebe::BOOK_EMOJI, Roebe::BROWSER_TO_USE_BY_DEFAULT, Roebe::CHECKMARK_COMPLETED, Roebe::CHECKMARK_COMPLETED_THIN, Roebe::COLOURS, Roebe::DAY_NAMES, Roebe::DEFAULT_RUBY_HEADER, Roebe::DIRECTORY_CONTAINING_THE_NANO_RC_FILES, Roebe::DIRECTORY_ROEBE_YAML_PDF, Roebe::ENGLISH_TO_GERMAN_WEEKDAY, Roebe::EOL, Roebe::ERROR_LINE, Roebe::EURO, Roebe::FBSETBG_COMMAND, Roebe::FILE_ALIASES, Roebe::FILE_AUTOSTART_THESE_PROGRAMS, Roebe::FILE_BROWSER_YAML, Roebe::FILE_CD_ALIASES, Roebe::FILE_CONTACTS, Roebe::FILE_CONTACTS_YAML, Roebe::FILE_DIRECTORY_STRUCTURE, Roebe::FILE_MARK_THIS_DIRECTORY, Roebe::FILE_PROJECT_BASE_DIRECTORY, Roebe::FILE_SIZE_OF_COUNTRIES, Roebe::FILE_TO_BROWSER, Roebe::FILE_USE_COLOURS, Roebe::HASH_SHORT_TO_LONG_WEEKDAYS, Roebe::HOME_DIRECTORY_OF_USER_X, Roebe::HOME_OF_THE_USER_CALLED_X, Roebe::Keywords, Roebe::LAST_UPDATE, Roebe::LINUX_DIRECTORY_FOR_TTF_FONTS, Roebe::LINUX_YAML, Roebe::LOG_DIRECTORY, Roebe::MAIN_EDITOR_TO_USE, Roebe::MASTER_BOOD_RECORD_SIZE, Roebe::N, Roebe::NAMESPACE, Roebe::ONE_DAY, Roebe::ONE_HOUR, Roebe::ONE_MINUTE, Roebe::PC, Roebe::PROGRAMS_DIRECTORY, Roebe::PROJECT_BASE_DIRECTORY, Roebe::ROEBE_DATA_DIRECTORY, Roebe::ROEBE_IRB_PROMPT, Roebe::ROEBE_PERSONAL_DIRECTORY, Roebe::RUBY_RESERVED_KEYWORDS, Roebe::RUBY_SRC, Roebe::RUBY_SRC_DIR, Roebe::STD_COMMENT, Roebe::STUDIUM, Roebe::STUDIUM_DIR, Roebe::STUDIUM_DIRECTORY, Roebe::TEMP_DIR, Roebe::TOKEN, Roebe::URL_TO_THE_DOCUMENTATION, Roebe::VALID_IMAGES, Roebe::VERSION, Roebe::WEEKDAYS_FROM_ENGLISH_TO_GERMAN, Roebe::WEEKDAYS_FROM_GERMAN_TO_ENGLISH

Constants included from Roebe::Encoding

Roebe::Encoding::ENCODING_BIT, Roebe::Encoding::ENCODING_ISO, Roebe::Encoding::ENCODING_UTF, Roebe::Encoding::ISO_ENCODING, Roebe::Encoding::UNICODE, Roebe::Encoding::USE_THIS_ENCODING

Constants included from Roebe::Time

Roebe::Time::DAY_NAMES, Roebe::Time::ONE_DAY, Roebe::Time::ONE_HOUR, Roebe::Time::ONE_MINUTE

Constants included from Roebe::Math

Roebe::Math::FORMULA_FOR_THE_AREA_OF_A_CIRCLE, Roebe::Math::FORMULA_FOR_THE_CIRCUMFERENCE_OF_A_CIRCLE, Roebe::Math::PI

Instance Method Summary collapse

Methods included from Roebe::Configuration

debug?, #do_debug, new

Methods included from Roebe::CustomMethods

#aa?, #abb, #abc, #add_ascii_suffix, #add_comment, #add_current_symlink_to_every_entry_under_programs, #add_magnet_links, #add_to_playlist, #all_dirs, #all_files, #alphabet_to_number, #append_help, #ascii, #ascii_alphabet, #ask_a_question_based_on_this_pwdstud_entry, #autoinclude, autosource, #autostart, #avg, #avinfo, #backup_kde, #bash, #batch_create_files, #benchmark_prototype, #binary, #bit?, #boku?, #border?, #build_all_my_local_gems, #bundle_exam_results, #calculate_sum_for_excel, #ccc, #chance, #change_all_entries_for_today, #chdir, #chmod?, #chunker, #close, #clr, #colour_to_hex, #colourized_method, #compile, #compile_as_appdir, #compile_into_xfce_prefix, #compile_these, #completion, #configure_magic, #copy_cookbook_files_into_ruby_cookbooks_directory, #copy_file, #cpp_header?, #cpruby, #cpu?, create_array_available_local_images, #create_benchmark_file, #create_database, #create_directories, #create_directory, #create_file, #create_image_collection, #create_individual_file, create_lua_pc_file, #create_lua_pc_file, #create_njoy_page, #create_rpm_dirs, #create_these_files_and_open_them, #cropdetect, #css_comments?, #csv, #custom_parse_this_XML_file_and_extract_email_contact_information, #custom_prompt, #cyberweb, #date, #default, #delete_all_directories_from_this_directory, #delete_all_empty_directories_from_this_directory, #delete_file, #dia, #dir, #dirs?, #disable_input, #display_battery, #display_help_for_wurzel_ziehen, #divide, #do_pid, #dolphin, #dosbox_config, #download, #download_favicon, #download_llvm_stuff, #druby, #dump_all_my_gems, e, #eject, #enable_auto_login, #enable_autoindent, #enable_input, #enable_my_firefox_profile, #enable_nano_config, enable_roebe_prompt, #encodings?, #env, #esystem, #extract, #extract_url, #extract_what_to, #fancy_irb, #features, #feedback_base_class, #feedback_base_dir, #feedback_help_about_raise, #feedback_ruby_keywords, feedback_which_ruby_version_is_in_use, #fetch_gimp, #fetch_page, #fib, #fibonacci, #file_ending, #fill_up_with_this_token, #filter_ansi, #find_duplicates, #find_object, #find_primes, #find_rdoc_docu, #fix_filenames, #fix_pidgin, #fsize, #fstat, #gem_install, #gem_install_script, #gemi, #generate_cookbooks_completions, #generate_html_table_for_individuelles_curriculum, #generate_lighttpd_configuration, #generate_opal_files, #generate_random_chars, #generate_random_numbers, #generate_random_string, #generate_rf_completions, #get_random_image, #getch, #girls, #git_colours, #google_search, #gtk, #gtk_runner?, #has_readline?, #heredocs?, #histogramm, #htmlentities, #images_to_html, #increase_volume, #install_acrobat_reader, #install_and_update_rcfiles, #install_bcm4318, #install_docbook_components, #install_geany_addons, #install_in_ruby_gem_manner, #install_in_ruby_setup_manner, #install_java, #install_lampp, #install_my_gems, #install_openoffice, #install_opera, #install_postgresql, #install_roebe_addons, #install_this_deb_file, #install_usb_tv, #install_wg111t, #install_xfce, #install_youtube_dl, #invoke_capitalize, #ip?, #is_image_file?, #is_on_roebe?, #iso_encoding, #javascriptcomment?, #json, #json_to_hash, #keywords?, #kill_la_files, #less, #liner, #link?, #ll, #load_path?, #load_wirble, #main_test, #make_cookbooks_gem, #make_gem, #make_pdf, #manual, #married, #married_with_children, #mbr?, #mechanize, #meduni?, #mem?, #merge_via_prawn, #methods?, #mini_fix_libtool_files, #misc, #mixed_case, #moleculargewicht, #month, #mp3_to_ogg, #multi_ascii_splitter, #mv, #my_sym, #n_words, #nano_addons, #ndirs?, #newstud10, #newstud11, #newstud12, #newstud13, #newstud14, #newstud15, #newstud16, #newstud17, #newstud18, #newstud19, #newstud2, #newstud20, #newstud3, #newstud4, #newstud5, #newstud6, #newstud7, #newstud8, #newstud9, #no_audio, #non_ascii, #objects?, ocra_build, #odd_or_even, #opal, #open?, #open_in_browser, #open_in_editor, #opnn, #optionparser?, #output_array_from_beautiful_menu, #pathname, #pexit, #pid, #ping, #play, #play_columbo_files, #play_midi, #play_random_simpsons_movie, #populate_the_main_ENV_variable_with_data_from_custom_yaml_file, #port_str, #ppexit, #prepare_gcc, #print_indent_pattern, #priv, #process_kill, #pty_spawn, #purge_invalid_yaml_directories_from_programs_hierarchy, #putssystem, #python_has_bz2?, #q, #question1, #question2, #question3, #question4, #question5, #rack_handlers?, #rails?, #random_number, #range, #raw_dir, #raw_read_line, #raw_readlines, #rbt, #rcfiles, #readable_int, #recursive_method_example, #register_irc?, #register_sigint, #registered_pipe_actions?, #reject_blanks, #remote_file_listing, #remove, #remove_all_symlinks, #remove_numbers, #remove_old_gem, #rename, #rename_all, #rename_ascii_files, #rep, #replace_double_underscores, #report_pwd, require_my_custom_addons, #require_opal, #reset_irb, #resize_images_for_my_mom, #restore?, #restore_kde, #restore_stdout?, #ret_ftype, #return_pwd, rev, #rev, #rf, #rfeedback, #rm, #rmax, #roebe_shell, #round, #rsong, #rsplit, #ruby_download, ruby_feature, #ruby_header, #ruby_main, #rubycalc, #rubycol, #run_cfdg, #sanitize_uptime, #save_all_contacts, #save_yaml, #say, #sdl, #setup_git, #sfancy, #show_all_256_colours, #show_encoding, #show_exponential_growth, #show_fc_list, #show_iso_encoding, #show_regex, #show_registered_binaries, #show_rubylibdir, #show_the_irb_history, show_the_irb_history, #show_yaml_syntax, #silence_warnings, #singularize, #size_of_directory, #snoop_on_keylog, #songlist, #sort_by_highest_price, #sqrt, #start_apache, #start_baldurs_gate2, #start_lampp, #start_lighttpd, #stat_file, #std_cfdg, #steop1, #stop_apache, #stop_lampp, #stop_lighty, #strip_leading_spaces, #strip_lowercase, #studium, #stundenplan?, #switch_to_psych, #symlink, #symmetrical_renaming_of_files_in_this_directory, #sys, #sysbg, #system_with_pid, #tabbed_mean, #terminal?, #test1, #test_genbank, #test_openssl, #the_pid?, #this_is_a_test, #time?, #tinyurl, #to_1000_ECTS, #to_ascii, #to_boolean, #to_current, #to_frequency, #to_mp3, #to_mp4, #to_mpg, #to_utf, #to_webm, #today?, #try_to_enable_the_expanded_cd_aliases, #uid, #undone, #unicode, #uniwien?, #update, #uri, #use, #use_firefox_for_kde_konsole, #utf?, #valid_ISBN?, #verbose_number, #verbose_truth, #view_slackware_packages, #wav_to_opus, #webrick, #week?, #welcome, #which_platform?, #windows_md5, #with_captured_stdout, #wochentag?, #wrap, #write_this_into_file, #wurzel, #x1, #xchat, #xfce_autostart, #xml, #yam, #yaml

Methods included from Roebe

[], add_comment, add_user_lighty, all_unicode_nodes, almost_equal_to, append_this_onto_that_file, append_this_program_to_the_autostart_array, append_to_gem_install_command, are_these_two_strings_an_anagram?, array_install_these_gem_projects, array_short_monthnames, at, auto_rename_file_based_on_its_creation_date, auto_rename_file_based_on_time_today, autodater, autogenerate_fluxbox_files, autoprune, autosource, available_classes, average_of_differences, backup_master_boot_record, base64, batch, batch_rename_pdf_files_systematically, beamed_eighth_note, beamed_eighth_notes, beamed_sixteenth_notes, beautify_system, binding?, binning, black_chess_bishop, black_chess_king, black_chess_knight, black_chess_pawn, black_chess_queen, black_chess_rook, black_circle, black_lozenge, black_medium_diamond, black_right_pointing_triangle, black_rightwards_arrow, black_shogi_piece, black_smiling_face, black_square, blinking_cursor, boku_opening_dates, box_drawings_heavy_down_and_horizontal, box_drawings_heavy_down_and_left, box_drawings_heavy_down_and_right, box_drawings_heavy_horizontal, box_drawings_heavy_up_and_horizontal, box_drawings_heavy_up_and_left, box_drawings_heavy_up_and_right, box_drawings_heavy_vertical, bring_up_this_wlan_device, browser, bug, build_all_my_local_gems, bundle_exam_results, c_debug?, calculate_bmi, calculate_hypotenuse, calculate_the_distance_between_two_points, calculate_the_variance, calendar, capitalize_this_file, cat, chained, chdir, check_mark, check_whether_an_internet_connection_is_available, checkmark_completed_thin?, cheering_megaphone, cliner, clock, colourize_files_and_directories, colourized_tokenitor1, colourized_tokenitor2, colourized_tokenitor3, colourized_tokenitor4, colourized_tokenitor5, compile_as_appdir, completed, controller, convert_global_env, copy_bluefish_configuration_files, copy_file, copy_setup_file_to_pwd, copy_setup_rb_file, copy_the_linux_kernel, cp_to_here, cpp_header?, crazy_make_mode, crc32, create_desktop_file_for, create_directories, create_directory, create_directory_layout, create_firefox_extension, create_games_iso, create_iso, create_lua_pc_file, create_mad_pkgconfig_file, create_my_gems, create_this_c_file, create_wpa_supplicant_build_file, create_zip, current_stable_version_of_ruby, custom_shebang?, cweb1, cweb2, cweb3, dark_shade, date_sort_based_on_filename, decompose_this_unicode_symbol, default_comment_line, default_file_read, determine_whether_colours_will_be_used_based_on_the_file_use_colours, dhcpcd, directory_roebe_yaml_pdf?, disable, disable_colours, display_mbr, display_unicode_snowman, do_compile_this_java_file_statically, do_use_unicode_environment, does_this_program_exist?, does_this_terminal_support_unicode?, dosbox_config, double_low_quotation_mark, downcase_all_entries_in_the_current_directory, downcase_extension, download_autogenerated_rcfiles, download_certdata, download_emojis, download_unicode_dataset, downwards_arrow, draw_line, draw_triangle, e, ecomment, #ecomment, edir, editor?, efancy, eighth_note, email, email?, embeddable_interface, empty?, enable, enable_colours, encoding?, encoding_iso, encoding_utf8, ensure_main_encoding, enter_chroot, env?, eparse, error_line?, esystem, expand_this_array, extract_gem_file, extract_this_file, extract_what_to, face_with_tears_of_joy, face_without_mouth, fast_fibonacci, fast_fibonacci_implementation, feedback_base_dir, file_binary_to_hexadecimal, file_binäre_einheiten, file_contacts, file_directory_structure, file_does_not_exist, file_holidays, file_kernel, file_network, file_pdf1?, file_pdf2?, file_pdf3?, file_pdf4?, file_pdf5?, file_pdf6?, file_pdf7?, file_pdf8?, file_pdf9?, file_roeberia_settings, file_these_pdf_files_were_opened, find_duplicate_entries_in_alias_file, find_expanded_alias, firefox, fix_iptables6, foto_searcher, fragments, full_block, geas_it, geas_it2, gem_install, gem_install_command, generate_aliases, generate_aliases_for_windows, generate_alsa_conf, generate_fluxbox_apps_file, generate_fluxbox_keys_and_apps_file, generate_fluxbox_keys_file, generate_ginger_the_cat_html_page, generate_html_table_for_individuelles_curriculum, generate_konsole_css_file, generate_lighttpd_configuration, generate_liloconfig, generate_locales, generate_ls_colors, generate_nano_config, generate_protocols, generate_the_cfdg_files, generate_the_file_alsa_conf, generate_xauthority_file, generate_xorg_conf, get_file_content, get_instance_variables, git_colours, #gold, gold, google_for, google_url_cleaner, grab_colour, gzip_this_file, halloween, has_german_umlaut?, has_openssl_support?, hash_birthday_notifications, heart_spacer, hello_world, heredocs?, hexdigest, hh_mm_ss, holiday, horizontal_double_bar, host_os?, hot_beverage, hypotenuse, identical, important_pdf_files?, increase_volume, infinity, install_all_registered_fonts, install_and_update_rcfiles, install_go, install_in_ruby_gem_manner, install_in_ruby_setup_manner, install_linux_kernel_api_headers, install_my_gems, install_nss, install_openssl_certifications, install_roebe_addons, install_ruby_project, install_rust, install_the_cascadia_font, install_the_hack_font, install_the_jet_brains_mono_font, install_this_font, install_this_locale, install_usb_ids, install_vivaldi, instance_variable_get, interactive_file_creator, invoke_xorg_buffer, is_a_html_colour?, is_audio_file?, is_image_file?, is_not_on_roebe, is_on_roebe, is_on_roebe?, is_on_windows?, is_prime?, is_this_port_open?, is_video_file?, java_header, jp2a, kde_konsole_command, keywords?, kill_dhcpcd, kill_firefox, kill_palemoon, left_five_eights_block, left_half_block, left_one_eight_block, left_one_quarter_block, left_pointing_index, left_seven_eights_block, left_three_eights_block, left_three_quarters_block, leftwards_arrow, libui1, libui2, libui3, light_shade, link?, load_custom_ruby_files, load_wirble, load_yaml, local_fotos_js, log10, log_directory?, low_line, lower_alpha, lower_five, lower_five_eighths_block, lower_half_block, lower_one, lower_one_eighth_block, lower_one_quarter_block, lower_seven_eighths_block, lower_six, lower_three_eighths_block, lower_three_quarters_block, make_gem, make_nodes_and_mount_dev_entries, mama?, map_input_to_unicode_symbol, median, medium_black_circle, medium_shade, medium_small_white_circle, medium_white_circle, mediumorchid, mediumpurple, menu, middle_dot, misc, mittelwert, mixed_case, money_bag, month_to_number, mount_procs, move_content_of_this_directory_to_that_directory_unless_target_already_exists, move_to_torrent_directory, music_flat_sign, music_natural_sign, music_sharp_sign, mv, n_characters_in_this_file, n_files, n_files_are_available_in_total, nano_addons, new_konsole_tab, newstud1, newstud10, newstud11, newstud12, newstud13, newstud14, newstud15, newstud16, newstud17, newstud18, newstud19, newstud2, newstud20, newstud21, newstud22, newstud23, newstud24, newstud25, newstud3, newstud4, newstud5, newstud6, newstud7, newstud8, newstud9, no_caps, non_ascii, not_equal_to, ntrad, #ntrad, number_to_english, ocra_build, open, open_in_browser, open_in_editor, #open_in_editor_and_browser, open_in_editor_and_browser, open_ports?, opnn, orange, orchid, padding?, palemoon, parse_commandline, password, path?, permanently_disable_colours, permanently_set_project_base_directory_to, permanently_use_palemoon, ping_widget, platform, play_columbo_files, play_random_married_with_children_video, play_random_simpsons_movie, play_random_songs, #play_simpsons, populate_important_pdf_files, populate_this_directory_with_rcfiles, pp_output, prepare_geas, prettify_url, #prettify_url, print_this_unicode_input, pristine_gems, #programs_dir?, programs_directory?, project_base_dir?, project_yaml_dir?, publish_gem, purge_both, purgebin, purgelib, purple, puts_this, pythagoras, python_multiline, quadrant_lower_left, quadrant_lower_right, quadrant_upper_left, quadrant_upper_left_and_lower_left_and_lower_right, quadrant_upper_left_and_lower_right, quadrant_upper_left_and_upper_right_and_lower_left, quadrant_upper_left_and_upper_right_and_lower_right, quadrant_upper_right, quadrant_upper_right_and_lower_left, quadrant_upper_right_and_lower_left_and_lower_right, quarter_note, query_length_of, random_background, random_background_via_n_delay, random_gtk, random_open, #rds, rds, readlines, register_sigint, registered_unicode_symbols, remove_directory, remove_escape_code, remove_extension, remove_file, remove_html, remove_line, remove_old_gem, remove_user, rename_ascii_files, rename_file, rename_konsole, repetition_pattern, replace_leading_file_name, replace_localhost_with_data, replace_space_with_underscore, report_classes, report_pwd, report_ruby_version, report_the_gtk_versions_available, report_the_location_of_the_default_browser, report_version, require_all_new_stud_ruby_files, require_all_standalone_classes, require_all_standalone_module_methods, require_all_standalone_modules, require_then_include_this_gem, require_this_roebe_class, require_unicode, restore_kde, restore_master_boot_record, return_all_remote_entries_from_this_url, return_all_unicode_symbols, return_audio_logo, return_cat_face_with_wry_smile, return_coloured_unicode_snowman, #return_date, return_date, return_english_weekday, return_even_numbered_lines_from_this_file, return_german_weekday, return_hostname, return_important_notification, return_n_aliases, return_natürliche_zahl, return_pid_of_kde_konsole, return_pile_of_poo, return_pwd, return_random_alphabet_character, return_real_filename, return_ruby_header, return_ruby_use_config_file, return_ten_aliases?, return_the_date_of_this_doc_file, return_twenty_aliases?, return_unicode_ascending_node, return_unicode_ballot_box, return_unicode_ballot_box_with_check, return_unicode_ballot_box_with_x, return_unicode_black_star, return_unicode_black_sun_with_rays, return_unicode_black_telephone, return_unicode_cat, return_unicode_cat_face, return_unicode_cloud, return_unicode_comet, return_unicode_conjunction, return_unicode_descending_node, return_unicode_dog, return_unicode_dog_face, return_unicode_heart, return_unicode_high_voltage_sign, return_unicode_keyboard, return_unicode_king, return_unicode_lightning, return_unicode_opposition, return_unicode_phone, return_unicode_shamrock, return_unicode_snowman, return_unicode_sun, return_unicode_television, return_unicode_thunderstorm, return_unicode_umbrella, return_unicode_white_star, return_unicode_white_telephone, return_unicode_yin_yang, return_url_to_the_blackchancery_font, return_url_to_the_envy_font, rev, reversed_rotated_floral_heart_bullet, right_half_block, right_one_eight_block, right_pointing_index, rightwards_arrow, rightwards_harpoon_over_leftwards_harpoon, rinstall2, royalblue, ruby_header, ruby_main, ruby_main_string, ruby_ssl?, ruby_use_config_file, rubycalc, rubyzip, run, run_rdate, run_shell, run_this_file_in_the_background, run_this_sinatra_app, run_traverse_install, rvid, rxinitrc, saltire, sandybrown, scan_for_wlan_spots, #sdir, sdir, #seagreen, seagreen, second_most_stable_version_of_ruby, serve_local_page, set_alias, set_alias_1, set_alias_10, set_alias_11, set_alias_12, set_alias_13, set_alias_14, set_alias_15, set_alias_16, set_alias_17, set_alias_18, set_alias_19, set_alias_2, set_alias_20, set_alias_21, set_alias_22, set_alias_23, set_alias_24, set_alias_25, set_alias_3, set_alias_4, set_alias_5, set_alias_6, set_alias_7, set_alias_8, set_alias_9, set_background, set_pdf1, set_pdf2, set_pdf3, set_pdf4, set_pdf5, set_pdf6, set_pdf7, set_pdf8, set_pdf9, set_pdf_for_this_number, set_permanently_use_this_browser, set_project_base_directory=, set_ten_aliases, set_xorg_buffer, sfancy, #sfile, sfile, show_POSIX_character_classes, show_all_256_colours, show_appointments, show_available_licences_for_the_installed_gems, show_available_users, show_beauty_string, show_eduroam_help, show_games, show_help, show_information_related_to_chello, show_nano_config, show_processes, show_regexp, show_sigint, show_the_last_opened_pdf_files, show_time, show_tv_channels, silent_redirection?, simp, #simp, simple_markdown_parser, sitelibdir?, slateblue, sort_by_highest_price, split_kde_konsole_tab_vertically, start_irb, start_lighttpd, start_pdf_libui, start_the_libui_shell, start_webrick, std_renamer, steelblue, steigung, stop_lighty, stories, string_to_hash, studium1, #studium1, subscript_four, subscript_six, subscript_three, subscript_two, superscript_minus, superscript_plus, swarn, symlink_files_from, tales_from_the_crypt, temp_dir?, third_most_stable_version_of_ruby, tibetan_symbol_padma_gdan, to_bool, to_camelcase, to_current, to_movie, to_mp3, to_underscore, tokenitor, tomato, top_left_corner_thin, #trad, trad, traditional_fibonacci, traurige_oder_fröhliche_zahl, try_to_enable_the_expanded_cd_aliases, try_to_extract_this_gem, try_to_require_the_colours_project, try_to_run_the_ascii_paradise_demo, turquoise, umbrella_with_raindrops, umfang, unicode_chess_symbols?, unicode_cliner, unicode_integral_symbol, university_email?, upcase_all_files, update, update_pciids, update_roebe, update_the_main_pdf_viewer_file_with_this_program, upper_half_block, upper_one_eighth_block, upwards_arrow, url_to_the_cascadia_font?, url_to_the_hack_font?, url_to_the_jet_brains_font?, use_atril, use_colours?, use_evince, user_install_all_registered_gems, verbose_truth, version?, vetmed?, warning_sign, weekday?, wget, wheel_of_dharma, white_chess_bishop, white_chess_king, white_chess_knight, white_chess_pawn, white_chess_queen, white_chess_rook, white_frowning_face, white_shogi_piece, white_sun_with_rays, whois, wochentag?, wochentag_anzeiger, word_count, word_frequencies, word_wrap, write_what_into, wurzel, www_directory?, zenity, zip_on_windows, zlib

Methods included from Roebe::Time

dd_mm_yyyy, get_current_month, #get_current_month, hh_mm_ss, #return_current_year, return_current_year, show_time

Methods included from Math

inverse_log, ln, pythagorean_triplets?

Methods included from Roebe::Math

#berechne_volumen, #calculate_bmi, #calculate_volume_of_zylinder, #dritte_wurzel_von, #fib, #harmonisches_mittel, #is_prime, #kreisflaeche, #kreisumfang, #log, mittelwert, #pi, #pythagoras, #quadrat, sqr, #sqr, sqrt3, variance, #vierte_wurzel_von

Instance Method Details

#cat(i = ARGV) ⇒ Object

#

cat

This method provides plain cat() functionality.

#


12
13
14
# File 'lib/roebe/cat/method.rb', line 12

def cat(i = ARGV)
  ::Roebe::Cat.cat(i) # Delegate towards Cat.cat() here.
end

#go_to_rootObject

go_to_root



41
42
43
# File 'lib/roebe/sinatra/sinatra_authentication_example/sinatra_authentication_example.rb', line 41

def go_to_root
  redirect '/'
end

#last_number(i) ⇒ Object



9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/roebe/math/traurige_oder_glückliche_zahl.rb', line 9

def last_number(i)
  # i = 2.3
  loop {
    break if i < 1.0
    i -= 1
  }
  # i is now 0.3
  result = i * 10 # Multiply it by 10.
  #e "result is: #{result}"
  rounded = result.round(1)
  #e "rounded is: #{rounded}"
  return rounded
end

#operate_on_the_number(i) ⇒ Object



23
24
25
26
27
28
29
30
31
32
33
# File 'lib/roebe/math/traurige_oder_glückliche_zahl.rb', line 23

def operate_on_the_number(i)
  sum = 0
  loop {
    i = i / 10.0 # 2.3
    new_number = last_number(i)
    sum += square(new_number)
    i = i.floor
    break if i <= 0.0
  }
  return sum
end

#primary_header(i, optional_css_class = 'martb2px', optional_id = '', optional_css_style = '') ⇒ Object

#

primary_header

#


4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/roebe/www/mathematics/common.rb', line 4

def primary_header(
    i,
    optional_css_class = 'martb2px',
    optional_id        = '',
    optional_css_style = ''
  )
  fancy2(
    i,
    optional_css_class,
    optional_id,
    optional_css_style
  )
end

#setup_rb_error(msg) ⇒ Object

Raises:



1652
1653
1654
# File 'lib/roebe/setup/setup.rb', line 1652

def setup_rb_error(msg)
  raise SetupError, msg
end

#show_usageObject

#

show_usage

#


323
324
325
326
# File 'lib/roebe/classes/calendar.rb', line 323

def show_usage
  warn 'usage: cal [-c iso3166] [-jmty] [[month] year]'
  exit 1
end

#some_testingObject

#

some_testing

#


217
218
219
220
221
222
223
224
225
226
# File 'lib/roebe/classes/move_file.rb', line 217

def some_testing # Use this method to test some things.
  puts 'Now doing some testing in the file move_file.rb:'
  # mkdir "/Depot/jjj/hi there"
  # ^^^ There is a bug ... this must be fixed.
  # input_file  = '/Depot/jjj/hi there'
  # output_file = '/Depot/jjj/hi_there'
  # MoveFile.new(input_file, output_file)
  # MoveFile.new( %w( abc def ghi) , '/Depot/j' )
  Roebe::MoveFile.new('abc','abc')
end

#square(i) ⇒ Object

a = 23



5
6
7
# File 'lib/roebe/math/traurige_oder_glückliche_zahl.rb', line 5

def square(i)
  return i ** 2
end

#tell_us_about_this_number(i = a) ⇒ Object



36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/roebe/math/traurige_oder_glückliche_zahl.rb', line 36

def tell_us_about_this_number(i = a)
  original_input = i
  loop {
    i = operate_on_the_number(i)
    if i == 1
      e original_input.to_s.rjust(3)+' ist eine traurige Zahl.'
      break
    elsif i == 4
      e original_input.to_s.rjust(3)+' ist eine glückliche Zahl.'
      break
    end
  }
end