Module: CustomElementsManifestParser::Types

Defined in:
lib/custom_elements_manifest_parser/types.rb

Overview

Dry types

Class Method Summary collapse

Class Method Details

.privacyTypes::String.enum("private", "protected", "public"]

Returns Types::String.enum("private", "protected", "public"].

Returns:

  • (Types::String.enum("private", "protected", "public"])

    Types::String.enum("private", "protected", "public"]



10
11
12
# File 'lib/custom_elements_manifest_parser/types.rb', line 10

def self.privacy
  Types::String.enum("private", "protected", "public")
end