Method: Ore::Inferences#infer_documentation!

Defined in:
lib/ore/inferences.rb

#infer_documentation!Object (protected)

Infers documentation of the project.

Since:

  • 0.1.2.



160
161
162
163
164
165
166
# File 'lib/ore/inferences.rb', line 160

def infer_documentation!
  if file?('.yardopts')
    @documentation = :yard
  else
    @documentation = :rdoc
  end
end