Sha256: ab43bc0b01e0a7c0685a4d5a5e64483132aa2b1f486c8caba774c3e25f6ac4e4

Contents?: true

Size: 415 Bytes

Versions: 3

Compression:

Stored size: 415 Bytes

Contents

#tag::all[]
class Dog
  #tag::init[]
  def initialize breed
    @breed = breed
  end
  #end::init[]
  #tag::bark[]

  def bark
    #tag::bark-beagle[]
    if @breed == 'beagle'
      'woof woof woof woof woof'
    #end::bark-beagle[]
    #tag::bark-other[]
    else
      'woof woof'
    #end::bark-other[]
    #tag::bark-all[]
    #tag::bark-all[]
    end
    #end::bark-all[]
  end
  #end::bark[]
end
#end::all[]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
asciidoctor-1.5.6.2 test/fixtures/tagged-class-enclosed.rb
asciidoctor-1.5.6.1 test/fixtures/tagged-class-enclosed.rb
asciidoctor-1.5.6 test/fixtures/tagged-class-enclosed.rb