This gem is called ascii_paradise. AsciiParadise is an umbrella project that allows us to gather ascii-related code, in Ruby. Note that the main focus is to find animated ascii, but we will also store some non-animated ascii - it really is an umbrella project. The main goal will remain on animated ascii though. It has included some other projects, such as: ascii_counter. ascii_counter allows you to count down from a specified start number. Another project that was integrated was ascii_hearts. This is not very useful at all - we will only draw a red ascii heart (see the example file in the test/ directory for that). And yet another project is ascii_box. This one allows you to display boxed-content, padded and centered in the middle. This may be useful to report configuration settings, such as key: value entries. There are some other additions, such as an animated pacman. Have a look at the file ascii_paradise.rb to find all of these elements, or look at the file in the test/ directory, which also shows you the examples. Note that you can randomly invoke one of the class methods by issuing: AsciiParadise.random That way you don't have to know the specific method-name. If you have specific suggestions to make this gem more useful for others, please drop me an email at: shevegen@gmail.com Thank you.
V247
No comments:
Post a Comment