Class: Gem::Specification

Inherits:
Object
  • Object
show all
Defined in:
lib/yard/rubygems/specification.rb

Instance Method Summary collapse

Instance Method Details

#has_rdoc?Boolean

Returns:

  • (Boolean)

18
19
20
# File 'lib/yard/rubygems/specification.rb', line 18

def has_rdoc?
  @has_rdoc && @has_rdoc != 'yard'
end

#has_yardocObject Also known as: has_yardoc?


13
14
15
# File 'lib/yard/rubygems/specification.rb', line 13

def has_yardoc
  @has_rdoc == 'yard'
end

#has_yardoc=(value) ⇒ Object

Since:

  • 0.5.3


9
10
11
# File 'lib/yard/rubygems/specification.rb', line 9

def has_yardoc=(value)
  @has_rdoc = 'yard'
end