Sha256: 3bf7634fb2ccc94f8bc317a44fe5a6f9c6708d2f446c3dd84f09f8380d29bf18

Contents?: true

Size: 414 Bytes

Versions: 8

Compression:

Stored size: 414 Bytes

Contents

# frozen_string_literal: true

require 'yard/tags/option_tag'

# Implements an enum tag for describing enumerated value data types
class PuppetStrings::Yard::Tags::EnumTag < YARD::Tags::OptionTag
  # Registers the tag with YARD.
  # @return [void]
  def self.register!
    YARD::Tags::Library.define_tag('puppet.enum', :enum, :with_enums)
    YARD::Tags::Library.visible_tags.place(:enum).after(:option)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
puppet-strings-4.1.3 lib/puppet-strings/yard/tags/enum_tag.rb
puppet-strings-4.1.2 lib/puppet-strings/yard/tags/enum_tag.rb
puppet-strings-4.1.1 lib/puppet-strings/yard/tags/enum_tag.rb
puppet-strings-4.1.0 lib/puppet-strings/yard/tags/enum_tag.rb
puppet-strings-4.0.0 lib/puppet-strings/yard/tags/enum_tag.rb
puppet-strings-4.0.0.rc.1 lib/puppet-strings/yard/tags/enum_tag.rb
puppet-strings-3.0.1 lib/puppet-strings/yard/tags/enum_tag.rb
puppet-strings-3.0.0 lib/puppet-strings/yard/tags/enum_tag.rb