Class: CustomElementsManifestParser::DataTypes::CssPart
- Inherits:
-
BaseStruct
- Object
- Dry::Struct
- BaseStruct
- CustomElementsManifestParser::DataTypes::CssPart
- Defined in:
- lib/custom_elements_manifest_parser/data_types/css_part.rb
Overview
The name + description of a CSS Part
Instance Attribute Summary collapse
-
#deprecated ⇒ nil, ...
- Whether the CSS shadow part is deprecated.
-
#description ⇒ nil, String
- A markdown description.
-
#name ⇒ String
- Name of the CSS part.
-
#summary ⇒ nil, String
- A markdown summary suitable for display in a listing.
Instance Method Summary collapse
Instance Attribute Details
#deprecated ⇒ nil, ...
Returns - Whether the CSS shadow part is deprecated. If the value is a string, it's the reason for the deprecation.
25 |
# File 'lib/custom_elements_manifest_parser/data_types/css_part.rb', line 25 attribute :deprecated, Types::Strict::String.optional | Types::Strict::Bool.optional.(required: false) |
#description ⇒ nil, String
Returns - A markdown description.
19 |
# File 'lib/custom_elements_manifest_parser/data_types/css_part.rb', line 19 attribute :description, Types::Strict::String.optional.(required: false) |
#name ⇒ String
Returns - Name of the CSS part.
11 |
# File 'lib/custom_elements_manifest_parser/data_types/css_part.rb', line 11 attribute :name, Types::Strict::String |
#summary ⇒ nil, String
Returns - A markdown summary suitable for display in a listing.
15 |
# File 'lib/custom_elements_manifest_parser/data_types/css_part.rb', line 15 attribute :summary, Types::Strict::String.optional.(required: false) |
Instance Method Details
#visit(parser:) ⇒ Object
27 28 29 |
# File 'lib/custom_elements_manifest_parser/data_types/css_part.rb', line 27 def visit(parser:) self end |