Use YARD
This commit is contained in:
parent
f7af496f5d
commit
1ec14d34c2
3 changed files with 10 additions and 0 deletions
5
.yardopts
Normal file
5
.yardopts
Normal file
|
@ -0,0 +1,5 @@
|
|||
--protected
|
||||
--private
|
||||
--markup markdown
|
||||
-
|
||||
LICENSE
|
3
Rakefile
3
Rakefile
|
@ -9,3 +9,6 @@ task lint: [:rubocop]
|
|||
|
||||
require 'rubocop/rake_task'
|
||||
RuboCop::RakeTask.new
|
||||
|
||||
require 'yard'
|
||||
YARD::Rake::YardocTask.new
|
||||
|
|
|
@ -27,4 +27,6 @@ Gem::Specification.new do |spec|
|
|||
spec.add_development_dependency 'rubocop', '~> 0.31'
|
||||
spec.add_development_dependency 'rspec', '~> 3.3'
|
||||
spec.add_development_dependency 'simplecov', '~> 0.10'
|
||||
spec.add_development_dependency 'yard', '~> 0.8'
|
||||
spec.add_development_dependency 'redcarpet', '~> 3.3'
|
||||
end
|
||||
|
|
Reference in a new issue