class Bundler::Thor::Arguments
def initialize(arguments = [])
Takes an array of Bundler::Thor::Argument objects.
def initialize(arguments = []) @assigns, @non_assigned_required = {}, [] @switches = arguments arguments.each do |argument| if !argument.default.nil? @assigns[argument.human_name] = argument.default elsif argument.required? @non_assigned_required << argument end end end