Class: Gem::Specification

Inherits:
Object
  • Object
show all
Defined in:
lib/rubygems_plugin.rb

Instance Method Summary collapse

Instance Method Details

#has_rdoc?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/rubygems_plugin.rb', line 20

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

#has_yardocObject Also known as: has_yardoc?



15
16
17
# File 'lib/rubygems_plugin.rb', line 15

def has_yardoc
  @has_rdoc == 'yard'
end

#has_yardoc=(value) ⇒ Object

Since:

  • 0.5.3



11
12
13
# File 'lib/rubygems_plugin.rb', line 11

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