Class: Hatemile::Util::Css::StyleSheetRule Abstract
- Inherits:
-
Object
- Object
- Hatemile::Util::Css::StyleSheetRule
- Defined in:
- lib/hatemile/util/css/style_sheet_rule.rb
Overview
This class is abstract.
The StyleSheetRule interface contains the methods for access the CSS rule.
Direct Known Subclasses
Instance Method Summary collapse
-
#get_declarations(property_name) ⇒ Hatemile::Util::Css::StyleSheetDeclaration
abstract
Returns the declarations with the property.
-
#get_selector ⇒ String
abstract
Returns the selector of rule.
-
#has_declarations? ⇒ Boolean
abstract
Returns that the rule has declarations.
-
#has_property?(property_name) ⇒ Boolean
abstract
Returns that the rule has a declaration with the property.
Instance Method Details
#get_declarations(property_name) ⇒ Hatemile::Util::Css::StyleSheetDeclaration
This method is abstract.
Returns the declarations with the property.
58 59 60 |
# File 'lib/hatemile/util/css/style_sheet_rule.rb', line 58 def get_declarations(property_name) # Interface method end |
#get_selector ⇒ String
This method is abstract.
Returns the selector of rule.
67 68 69 |
# File 'lib/hatemile/util/css/style_sheet_rule.rb', line 67 def get_selector # Interface method end |
#has_declarations? ⇒ Boolean
This method is abstract.
Returns that the rule has declarations.
47 48 49 |
# File 'lib/hatemile/util/css/style_sheet_rule.rb', line 47 def has_declarations? # Interface method end |
#has_property?(property_name) ⇒ Boolean
This method is abstract.
Returns that the rule has a declaration with the property.
37 38 39 |
# File 'lib/hatemile/util/css/style_sheet_rule.rb', line 37 def has_property?(property_name) # Interface method end |