Module: CommaParty

Defined in:
lib/commaparty.rb,
lib/commaparty/xml.rb,
lib/commaparty/html.rb,
lib/commaparty/markup.rb,
lib/commaparty/version.rb,
lib/commaparty/parse_tag.rb,
lib/commaparty/parse_body.rb,
lib/commaparty/parse_attributes.rb,
lib/commaparty/destructure_element.rb

Defined Under Namespace

Classes: DestructureElement, HTML, Markup, ParseAttributes, ParseBody, ParseTag, XML

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.builder(hiccup) ⇒ Object



20
21
22
# File 'lib/commaparty.rb', line 20

def self.builder(hiccup)
  CommaParty::Markup.new(hiccup).builder
end

.html(hiccup) ⇒ Object



8
9
10
# File 'lib/commaparty.rb', line 8

def self.html(hiccup)
  CommaParty::HTML.new(hiccup).call
end

.markup(hiccup) ⇒ Object



16
17
18
# File 'lib/commaparty.rb', line 16

def self.markup(hiccup)
  CommaParty::Markup.new(hiccup).call
end

.xml(hiccup) ⇒ Object



12
13
14
# File 'lib/commaparty.rb', line 12

def self.xml(hiccup)
  CommaParty::XML.new(hiccup).call
end