Sha256: 58c3c3a45ce54c79b650a4e270d6ff905e72d08b82e71ca5da6acd94ec0d09a4
Contents?: true
Size: 1.2 KB
Versions: 2
Compression:
Stored size: 1.2 KB
Contents
class Foo attr_accessor :ignoreme # IMPLICIT METHOD! # @return [String] just_a_method_for :implicit0 # Not recognized just_a_method_for :implicit_invalid # ## IS NOT RECOGNIZED! just_a_method_for :implicit_invalid2 ## # IS RECOGNIZED! just_a_method_for 'implicit_valid' # @attribute [r] # @return [Numeric] a number a_readable_attribute :attr1 # @attribute [w] a_writable_attribute :attr2, 'bar' # @attribute default_attribute :attr3 # @method xyz(a, b, c) # The foo method # @param [String] a # @visibility protected # @scope class foo_bar # @macro property # @method $1(${3-}) # A $0 that is awesome. # @param $3 first parameter # @return [$2] the property $1 property :name, String, :a, :b, :c # @macro property property :age, Fixnum, :value # This is just for x # @macro [attach] parser # @method $1(opts = {}) # @return NOTHING! parser :x parser :c_parser # @macro [attach] none # @method none(foo, bar) none # @macro something # @overload $1(a, b, c) something :qux # @overload qux2(a, b, c) something end class Bar parser :x_parser end class Baz < Foo parser :y_parser none { } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yard-0.7.1 | spec/handlers/examples/macro_handler_001.rb.txt |
yard-0.7.0 | spec/handlers/examples/macro_handler_001.rb.txt |