Module: RR::ColourExts
- Defined in:
- lib/refined-refinements/colours.rb,
lib/refined-refinements/curses/colours.rb
Constant Summary collapse
- REGEXP =
/ <(?<dot_separated_methods>[^>]+)> (?<text_between_tags>.*?) <\/\k<dot_separated_methods>> /xm
Class Method Summary collapse
Class Method Details
.colours ⇒ Object
13 14 15 |
# File 'lib/refined-refinements/colours.rb', line 13 def self.colours @colours ||= Object.new.extend(Term::ANSIColor) end |