Created
May 17, 2020 14:35
-
-
Save naohaq/7e560af3304d7cc89fb8fb9f6a783599 to your computer and use it in GitHub Desktop.
IRB Color configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby; coding: utf-8-unix -*- | |
IRB::Color.instance_eval do | |
exprs = const_get('TOKEN_SEQ_EXPRS') | |
t_all = const_get('ALL') | |
exprs[:on_const] = [[self::YELLOW, self::BOLD, self::UNDERLINE], t_all] | |
exprs[:on_int] = [[self::YELLOW, self::BOLD], t_all] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment