Sha256: 9bcbb2cad62353c980e08f443f71f0e67ab60553c243f5eb4cc3caf7f20088e7
Contents?: true
Size: 921 Bytes
Versions: 19
Compression:
Stored size: 921 Bytes
Contents
xml.h3 "#{operation}" xml.a("name" => "#{operation}") {} xml.p("class" => "pre"){ |pre| create_html_public_method_return_type(xml,pre, output) xml.span("class" => "bold") {|y| y << "#{operation} (" } create_html_public_method_arguments(xml, pre, input) } xml.p "#{description}" unless description.blank? xml.p "Parameters:" xml.ul { input.each do |element| xml.li("class" => "pre") { |pre| create_element_type_html(pre, element) } end } xml.p "Return value:" xml.ul { xml.li { create_return_type_list_html(xml,output) } } operation_exceptions = @document.operation_exceptions(operation) unless operation_exceptions.blank? xml.p "Exceptions:" xml.ul { operation_exceptions.each do |p| xml.li("class" => "pre"){ |y| y<< "<a href='##{p.to_s}'><span class='lightBlue'> #{p.to_s}</span></a>" } end } end
Version data entries
19 entries across 19 versions & 1 rubygems