Class: Peachy::Parsers::ParserWrapper
- Inherits:
-
Object
- Object
- Peachy::Parsers::ParserWrapper
- Defined in:
- lib/peachy/parsers/parser_wrapper.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#create_from_element ⇒ Object
4 5 6 7 8 |
# File 'lib/peachy/parsers/parser_wrapper.rb', line 4 def create_from_element return create_proxy if has_children? return create_proxy_with_attributes if has_attributes? return create_content_child end |