Sha256: 04b94c3a801d5c0b3882c27217c1f24ca7ae4034986c94fd13d2f255cc7ab913

Contents?: true

Size: 384 Bytes

Versions: 2

Compression:

Stored size: 384 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
puppet-strings-2.5.0 lib/puppet-strings/yard/tags/enum_tag.rb
puppet-strings-2.4.0 lib/puppet-strings/yard/tags/enum_tag.rb