Class: Prebundler::Cli::List
Instance Attribute Summary
Attributes inherited from Base
#args, #global_options, #options, #out
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Prebundler::Cli::Base
Instance Method Details
#run ⇒ Object
4 5 6 7 8 9 |
# File 'lib/prebundler/cli/list.rb', line 4 def run gem_list.each do |_, gem_ref| next unless show_gem?(gem_ref) out.puts "#{gem_ref.id} from #{gem_ref.source}" end end |