Class: Peachy::Parsers::ParserWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/peachy/parsers/parser_wrapper.rb

Instance Method Summary collapse

Instance Method Details

#create_from_elementObject



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