lib/rake/funnel/tasks/msbuild.rb in rake-funnel-0.22.3 vs lib/rake/funnel/tasks/msbuild.rb in rake-funnel-0.23.0
- old
+ new
@@ -8,18 +8,18 @@
class MSBuild < Rake::TaskLib
include Rake::Funnel::Support
include Rake::Funnel::Support::MSBuild
attr_accessor :name, :msbuild, :msbuild_finder, :project_or_solution, :args, :search_pattern
- attr_writer :project_or_solution # rubocop:disable Lint/DuplicateMethods
+ attr_writer :project_or_solution
def initialize(*args, &task_block)
setup_ivars(args)
define(args, &task_block)
end
- def project_or_solution # rubocop:disable Lint/DuplicateMethods
+ def project_or_solution
Finder.new(@project_or_solution || search_pattern, self, 'No projects or more than one project found.')
end
private