Sha256: 00c36fa61e80d328b9bdc9c09a81204b0892ab2149a8fbfd71d324e0255c276b

Contents?: true

Size: 917 Bytes

Versions: 6

Compression:

Stored size: 917 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

6 entries across 6 versions & 1 rubygems

Version Path
washout_builder-1.0.5 app/views/wash_with_html/_public_method.builder
washout_builder-1.0.4 app/views/wash_with_html/_public_method.builder
washout_builder-1.0.2 app/views/wash_with_html/_public_method.builder
washout_builder-1.0.0 app/views/wash_with_html/_public_method.builder
washout_builder-0.16.5 app/views/wash_with_html/_public_method.builder
washout_builder-0.16.4 app/views/wash_with_html/_public_method.builder