Class: AsciiParadise::ColourfulFlowers
- Inherits:
-
Base
- Object
- Base
- AsciiParadise::ColourfulFlowers
show all
- Defined in:
- lib/ascii_paradise/static_ascii/colourful_flowers.rb
Overview
AsciiParadise::ColourfulFlowers
Constant Summary
collapse
- COLOURFUL_FLOWERS =
#
AsciiParadise::COLOURFUL_FLOWERS
#
File.read("#{::AsciiParadise.static_dir?}colourful_flowers.ascii")
Class Method Summary
collapse
-
.run ⇒ Object
# === ColourfulFlowers.run ========================================================================= #.
Instance Method Summary
collapse
-
#initialize ⇒ ColourfulFlowers
constructor
# === initialize ========================================================================= #.
-
#run ⇒ Object
# === run (run tag) ========================================================================= #.
Methods inherited from Base
animation_dir?, #animation_directory?, #clear_screen, #colour_parse_this_string, #debug?, #do_not_run_already, #do_not_use_clear, #do_use_random_colour, #do_wait_for_keypress_event, e, #e, #enable_debug, #is_animated?, #menu, #project_base_dir?, #register_sigint, #remove_trailing_ansci_escape_code, #report_how_many_animated_components_exist, #reset, #return_basename_of_this_file_without_the_extension, #return_random_colour, #rev, #royalblue, #set_use_this_colour, #sfancy, #sfile, #show_available_components, #show_help, #simp, #slategrey, #sort_files, #static_dir?, #steelblue, #swarn, #use_colours?
Constructor Details
[View source]
24
25
26
27
|
# File 'lib/ascii_paradise/static_ascii/colourful_flowers.rb', line 24
def initialize
super()
run
end
|
Instance Method Details
#run ⇒ Object
[View source]
32
33
34
35
36
|
# File 'lib/ascii_paradise/static_ascii/colourful_flowers.rb', line 32
def run
COLOURFUL_FLOWERS.lines.each { |line|
e colour_parse_this_string(line)
}
end
|