Sha256: 7f3c9709825e244e5eb04ea36101f28a7552754142478cdf7390f95e781be83b

Contents?: true

Size: 317 Bytes

Versions: 6

Compression:

Stored size: 317 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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
yard-0.5.8 spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.5.7 spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.5.6 spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.5.5 spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.5.4 spec/handlers/examples/attribute_handler_001.rb.txt
yard-0.5.3 spec/handlers/examples/attribute_handler_001.rb.txt