5x7 digital color words on your terminal.
Add this line to your application's Gemfile:
gem 'digi_moji'
And then execute:
$ bundle
Or install it yourself as:
$ gem install digi_moji
Try digi_moji new
command with words:
% digi_moji new RUBY
% digi_moji new RUBY --fg=bg_red --bg=bg_yellow
% digi_moji new RUBY --fg=red --bg=red_blink --cell='R'
digi_moji time
outputs current time:
digi_moji timer
outputs count down timer:
digi_moji help
for more info.
require 'digi_moji'
str = DigiMoji::String.new("HE", fg:'bg_green', bg:'bg_yellow')
puts str
puts
puts str + "LLO!"
puts
puts str.join("LP!", fg:'bg_red')
Output:
- Fork it ( https://github.com/[my-github-username]/digi_moji/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request