Sha256: 8ac5b810147c250adddd2e5d67db3a67030e709156c45fbf5f98ba65f354d2ef
Contents?: true
Size: 597 Bytes
Versions: 1
Compression:
Stored size: 597 Bytes
Contents
module Troo module Commands module Status class List < Resource private def success ' Lists: ' + plural('list') + " found.\n" + " #{resource_title}" end def error if count > 0 ' Lists: ' + Esc.red + 'No default list set.' + Esc.reset else " Lists: No lists found.\n" end end def count @count ||= Troo::List.count end def resource @resource ||= Retrieval::List.default end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
troo-0.0.8 | lib/troo/commands/status/list.rb |