Class: Gem::Specification
- Inherits:
-
Object
- Object
- Gem::Specification
- Defined in:
- lib/yard/rubygems/specification.rb
Instance Attribute Summary collapse
-
#has_rdoc ⇒ Object
Returns the value of attribute has_rdoc.
Instance Method Summary collapse
- #_dump_with_rdoc(limit) ⇒ Object (also: #_dump)
- #has_rdoc? ⇒ Boolean
- #has_yardoc ⇒ Object (also: #has_yardoc?)
- #has_yardoc=(value) ⇒ Object
Instance Attribute Details
#has_rdoc ⇒ Object
Returns the value of attribute has_rdoc.
25 26 27 |
# File 'lib/yard/rubygems/specification.rb', line 25 def has_rdoc @has_rdoc end |
Instance Method Details
#_dump_with_rdoc(limit) ⇒ Object Also known as: _dump
29 30 31 32 33 |
# File 'lib/yard/rubygems/specification.rb', line 29 def _dump_with_rdoc(limit) dmp = _dump_without_rdoc(limit) dmp[15] = @has_rdoc dmp end |
#has_rdoc? ⇒ Boolean
14 15 16 |
# File 'lib/yard/rubygems/specification.rb', line 14 def has_rdoc? @has_rdoc && @has_rdoc != 'yard' end |
#has_yardoc ⇒ Object Also known as: has_yardoc?
9 10 11 |
# File 'lib/yard/rubygems/specification.rb', line 9 def has_yardoc @has_rdoc == 'yard' end |
#has_yardoc=(value) ⇒ Object
5 6 7 |
# File 'lib/yard/rubygems/specification.rb', line 5 def has_yardoc=(value) @has_rdoc = value ? 'yard' : false end |