Sha256: 747012042f2380d74bf17f26d300db3f3a4a50a96e9f29b6339acf3107e2faef

Contents?: true

Size: 394 Bytes

Versions: 3

Compression:

Stored size: 394 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[]
    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.8 test/fixtures/tagged-class-enclosed.rb
asciidoctor-1.5.7.1 test/fixtures/tagged-class-enclosed.rb
asciidoctor-1.5.7 test/fixtures/tagged-class-enclosed.rb