Class: LicenseFinder::CLI::IgnoredGroups
- Extended by:
- Subcommand
- Includes:
- MakesDecisions
- Defined in:
- lib/license_finder/cli/ignored_groups.rb
Instance Method Summary collapse
Methods included from Subcommand
Methods included from MakesDecisions
Instance Method Details
#add(group) ⇒ Object
17 18 19 20 21 |
# File 'lib/license_finder/cli/ignored_groups.rb', line 17 def add(group) { decisions.ignore_group(group, txn) } say "Added #{group} to the ignored groups" end |
#list ⇒ Object
10 11 12 13 |
# File 'lib/license_finder/cli/ignored_groups.rb', line 10 def list say 'Ignored Groups:', :blue say_each(decisions.ignored_groups) end |
#remove(group) ⇒ Object
25 26 27 28 29 |
# File 'lib/license_finder/cli/ignored_groups.rb', line 25 def remove(group) { decisions.heed_group(group, txn) } say "Removed #{group} from the ignored groups" end |