Sha256: dbb56992d071689d89b920fa47cec0a4c2d3df9d9fafe4cece7f102904a2fca7

Contents?: true

Size: 360 Bytes

Versions: 136

Compression:

Stored size: 360 Bytes

Contents

module A
  attr_writer :x
end

class B
  class << self
    attr_accessor :z
  end

  attr :a, true
  attr :a2, false
  attr :a3
  # Docstring
  attr_reader :b, :c, :d
  attr_writer :e
  attr_accessor 'f'

  attr_accessor :z
end

class C
  def foo; end
  attr_writer :foo

  def bar=(value); end
  attr_reader :bar
end

class D
protected
attr_reader :parser
end

Version data entries

136 entries across 114 versions & 12 rubygems

Version Path
yard-0.9.24 spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.9.23 spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.9.22 spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.9.21 spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.9.20 spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.9.19 spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.9.16 spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.9.15 spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.9.14 spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.9.13 spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.9.12 spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.9.11 spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.9.10 spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.9.9 spec/handlers/examples/attribute_handler_001.rb.txt
etude_for_ruby-0.1.4 vendor/bundle/ruby/2.2.0/gems/yard-0.9.8/spec/handlers/examples/attribute_handler_001.rb.txt
etude_for_ruby-0.1.4 vendor/bundle/ruby/2.4.0/gems/yard-0.9.8/spec/handlers/examples/attribute_handler_001.rb.txt
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/yard-0.9.8/spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.9.8 spec/handlers/examples/attribute_handler_001.rb.txt
abaci-0.3.0 vendor/bundle/gems/yard-0.9.7/spec/handlers/examples/attribute_handler_001.rb.txt
abaci-0.3.0 vendor/bundle/gems/yard-0.9.1/spec/handlers/examples/attribute_handler_001.rb.txt