Class: Konjak::Property
- Inherits:
-
StructuralElement
- Object
- Delegator
- Element
- StructuralElement
- Konjak::Property
- Defined in:
- lib/konjak/property.rb
Constant Summary collapse
- TAG_NAME =
'prop'
Instance Method Summary collapse
-
#can_contain?(element) ⇒ Boolean
methods.
-
#text ⇒ Object
childrens.
- #unpublished? ⇒ Boolean
Methods inherited from Element
Constructor Details
This class inherits a constructor from Konjak::Element
Instance Method Details
#can_contain?(element) ⇒ Boolean
methods
18 19 20 21 22 |
# File 'lib/konjak/property.rb', line 18 def can_contain?(element) # FIXME # Tool-specific data or text. String === element end |
#text ⇒ Object
childrens
13 14 15 |
# File 'lib/konjak/property.rb', line 13 def text super end |
#unpublished? ⇒ Boolean
24 25 26 |
# File 'lib/konjak/property.rb', line 24 def unpublished? type.start_with? 'x-' end |