Sha256: b5d252f967af97c72d9102f29f12e7bb624d2647f6b15baffc5f84428c356938
Contents?: true
Size: 935 Bytes
Versions: 34
Compression:
Stored size: 935 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, args_description) } 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
34 entries across 34 versions & 1 rubygems