Top Level Namespace

Includes:
Colours, Colours::E

Defined Under Namespace

Modules: Colours Classes: TestClass

Constant Summary collapse

COLOURS =
Colours::AllColourMethods

Constants included from Colours

Colours::ALL_COLOURS, Colours::ARRAY_REGISTERED_ANSI_COLOURS, Colours::BBLUE, Colours::BGREEN, Colours::BLACK, Colours::BLACK_ON_WHITE_BACKGROUND, Colours::BLACK_ON_WHITE_BG, Colours::BLUE, Colours::BOLDBLUE, Colours::BOLDRED, Colours::BOLDYELLOW, Colours::BOLD_BLACK, Colours::BOLD_BLUE, Colours::BOLD_BROWN, Colours::BOLD_CYAN, Colours::BOLD_GREEN, Colours::BOLD_RED, Colours::BOLD_TEAL, Colours::BOLD_WHITE, Colours::BOLD_YELLOW, Colours::BRED, Colours::BRIGHT_BLACK, Colours::BRIGHT_BLUE, Colours::BRIGHT_BROWN, Colours::BRIGHT_CYAN, Colours::BRIGHT_GREEN, Colours::BRIGHT_MAGENTA, Colours::BRIGHT_PINK, Colours::BRIGHT_RED, Colours::BRIGHT_TEAL, Colours::BRIGHT_WHITE, Colours::BRIGHT_YELLOW, Colours::BROWN, Colours::BWHITE, Colours::BYEL, Colours::BYELLOW, Colours::CGREEN, Colours::CGREY, Colours::CLEAR, Colours::CLOSING_TAG, Colours::COLOUR_BLACK, Colours::COLOUR_BLUE, Colours::COLOUR_BOLD_BLUE, Colours::COLOUR_BOLD_GREEN, Colours::COLOUR_BOLD_RED, Colours::COLOUR_BOLD_TEAL, Colours::COLOUR_BOLD_WHITE, Colours::COLOUR_BOLD_YELLOW, Colours::COLOUR_BROWN, Colours::COLOUR_CYAN, Colours::COLOUR_DARK_GRAY, Colours::COLOUR_GRAY, Colours::COLOUR_GREEN, Colours::COLOUR_LIGHT_BLUE, Colours::COLOUR_LIGHT_CYAN, Colours::COLOUR_LIGHT_GRAY, Colours::COLOUR_LIGHT_GREEN, Colours::COLOUR_LIGHT_GREY, Colours::COLOUR_LIGHT_MAGENTA, Colours::COLOUR_LIGHT_PURPLE, Colours::COLOUR_LIGHT_RED, Colours::COLOUR_MAGENTA, Colours::COLOUR_NC, Colours::COLOUR_PINK, Colours::COLOUR_PURPLE, Colours::COLOUR_RED, Colours::COLOUR_RESET, Colours::COLOUR_TEAL, Colours::COLOUR_WHITE, Colours::COLOUR_YELLOW, Colours::CRED, Colours::CYAN, Colours::CYANB, Colours::DARKGREEN, Colours::DEFAULT_COLOUR, Colours::DEFAULT_TEXT, Colours::ESC, Colours::FILE_256_COLOURS, Colours::FILE_BASIC_COLOURS, Colours::FILE_HTML_COLOURS, Colours::FILE_KDE_COLOUR_PALETTE, Colours::FILE_PREFER_THIS_COLOUR_SCHEMATA, Colours::FILE_USE_THESE_VALUES_FOR_THE_COLOUR_METHODS, Colours::GENERIC_RUBY_HEADER, Colours::GOLD, Colours::GRAY, Colours::GREEN, Colours::GREY, Colours::HASH_ANSI_COLOURS, Colours::HASH_NEW_COLOURS, Colours::HASH_SIMPLE_COLOURS, Colours::HOME_DIRECTORY_OF_USER_X, Colours::IS_A_TEST, Colours::ITALIC_CODE, Colours::KDE_COLOUR_PALETTE, Colours::LAST_UPDATE, Colours::LEFT, Colours::LIGHTBLUE, Colours::LIGHTGREEN, Colours::LIGHT_BLUE, Colours::LIGHT_PURPLE, Colours::LIGHT_RED, Colours::MAGENTA, Colours::MAIN_COLOURS, Colours::N, Colours::PINK, Colours::PROJECT_BASE_DIRECTORY, Colours::PURPLE, Colours::RED, Colours::REDB, Colours::REDRAW_THE_PROMPT, Colours::REGEX_FOR_HTML_COLOURS, Colours::REGEX_REMOVE_ANSI_ESCAPE_CHARACTERS, Colours::REGISTERED_COLOUR_METHODS, Colours::REGISTERED_COLOUR_METHODS_ALIASES, Colours::REMOVE_ANSI_ESCAPE_CHARACTERS, Colours::RESET, Colours::RESET_ALL_ATTRIBUTES, Colours::RESET_TERMINAL, Colours::REV, Colours::REVERT, Colours::RUBY_HEADER, Colours::SECONDARY_COLOURS, Colours::TEAL, Colours::TEST_FILE, Colours::UNDERLINE_CODE, Colours::URL_TO_THE_DOCUMENTATION, Colours::USE_THIS_COLOUR_FOR_THE_DEFAULT_COLOUR, Colours::VERSION, Colours::WHITE, Colours::YEL, Colours::YELLOW

Instance Method Summary collapse

Methods included from Colours::E

e

Methods included from Colours

#all_html_colours, #all_html_colours?, autogenerate_256_colours_methods, autogenerate_html_colours_methods, available_file_constants, available_html_colours?, #available_html_colours?, available_main_colours?, bold, bold_and_italic, #build_this_rgb_string, cat, #cif, #ciif, clear_screen, cliner, col, colour_for_symlinks, colour_method_or_display_the_content_of_the_file_or_use_via_pipe, colour_table?, colour_to_rgb, #colour_to_rgb_value, #colours, #colours?, commandline_arguments?, convert_hex_code_to_RGBA_array, convert_hex_to_rgb, convert_this_html_colour_into_an_array_of_rgb_values, convert_this_rgb_value_into_a_html_colour, convert_this_rgb_value_to_that_hexadecimal_representation, #convert_this_rgb_value_to_that_hexadecimal_representation, #default_colour, default_colour, disable_colours, display_this_256_colour, does_include?, does_this_line_include_a_html_colour?, does_this_string_contain_a_special_token?, does_this_string_include_a_html_colour?, does_this_string_include_a_html_number?, e, #ecomment, ecomment, #edefault_colour, #edir, #ef, efancy, #efancy, #efile, eimp, #eimportant, eliminate_html, enable_colours, #eparse, eparse, esymlink, #esymlink, esystem, ewarn, #ewarn, fancy_parse, file_256_colours, file_html_colours_to_rgb?, generate_shell_file_containing_the_html_colours, hash_html_colours?, html_colour_to_hex_value, html_colour_to_rgb_value, html_colourize, #html_colours, #html_colours?, is_a_valid_colour?, is_on_roebe?, is_this_a_256_colour?, italic, #italic, #last_colour_used?, left?, #left?, #main_colours, make_colour, #map_symbol_to_corresponding_colour, map_symbol_to_corresponding_colour, map_this_symbol_to_that_256_colour, map_this_symbol_to_that_html_colour, menu, new, #open_this_file, prefer_which_colour_scheme?, project_base_dir?, push_the_html_colours_methods_onto_the_toplevel_namespace, #random_colour?, random_html_colour, random_html_colour_with_this_text, #random_value?, random_value?, read_and_display_this_file, really_all_colours, #registered_colours?, remove_escape_sequence, remove_trailing_end_from, replace_html_colours_in_this_string, replace_html_like_tokens, report_whether_colours_will_be_used, reset_the_line, #restore?, return_a_unique_array_containing_all_available_colours, #return_all_html_colours, return_italic, return_main_regex_to_use_for_obtaining_the_full_content, #return_random_rgb, return_random_rgb, return_this_text_in_random_colour, return_this_via_kde_colour_palette, return_underline, rev, #rev, #rgb, #rgb_as_string, #rgb_format, rgb_print, rgb_puts, #rgb_to_hex, rgb_value_as_escape_code_string, #rgb_value_as_escape_code_string, #rgb_value_as_string, rparse, sanitize_line, scomments, #scomments, scomments?, sdir, #sdir, set_colour_table, set_commandline_arguments, set_last_colour_used, set_revert, sfancy, #sfancy, #sfile, sfile, sfile_or_sdir, show_256_colour_cube, show_all_256_colours, show_basic_colour_palette, show_help, show_html_colours, #show_html_colours, show_the_colour_table, show_the_version, shuffle, simple_colours_test, simportant, #simportant, #ssymlink, ssymlink, #swarn, swarn, test, #to_hex, underline, #underline, update_the_colour_codes_with, use_colours=, use_colours?, #use_colours?, #use_new_colour_codes, use_new_colour_table, write_this_in_256_colours, write_this_in_random_colour, write_this_via_kde_colour_palette

Instance Method Details

#Colours(i) ⇒ Object

#

Colours()

And a toplevel method that can be used to create a new instance of class Colours::Colours.

#


465
466
467
# File 'lib/colours/class/colours.rb', line 465

def Colours(i)
  ::Colours::Colours.new(i)
end