lib/rake/funnel/tasks/msbuild.rb in rake-funnel-0.21.0 vs lib/rake/funnel/tasks/msbuild.rb in rake-funnel-0.21.1
- old
+ new
@@ -6,18 +6,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
+ attr_writer :project_or_solution # rubocop:disable Lint/DuplicateMethods
def initialize(*args, &task_block)
setup_ivars(args)
define(args, &task_block)
end
- def project_or_solution
+ def project_or_solution # rubocop:disable Lint/DuplicateMethods
Finder.new(@project_or_solution || search_pattern, self, 'No projects or more than one project found.')
end
private