Module: Charyf::Command::Behavior::ClassMethods
- Defined in:
- lib/charyf/utils/command/behavior.rb
Instance Method Summary collapse
-
#no_color! ⇒ Object
Remove the color from output.
-
#subclasses ⇒ Object
Track all subclasses.
Instance Method Details
#no_color! ⇒ Object
Remove the color from output.
20 21 22 |
# File 'lib/charyf/utils/command/behavior.rb', line 20 def no_color! Thor::Base.shell = Thor::Shell::Basic end |
#subclasses ⇒ Object
Track all subclasses.
15 16 17 |
# File 'lib/charyf/utils/command/behavior.rb', line 15 def subclasses @subclasses ||= [] end |