Parent

Methods

Class Index

Quicksearch

Ziya::Charts::Support::Filter

Specifies the various filters that can be reused across components ie blur, bevel, glow, etc... See www.maani.us/xml_charts/index.php?menu=Reference&submenu=filter for additional documentation, examples and futher detail.

Public Instance Methods

flatten( xml ) click to toggle source


Dump has_attribute into xml element

    # File lib/ziya/charts/support/filter.rb, line 18
18:     def flatten( xml )
19:       if filters
20:         xml.filter do 
21:           filters.each { |comp| comp.flatten( xml ) }
22:         end
23:       end
24:     end

secsequence

--- SEC00106

seccomment

--- ""

method_list

--- 
- methods: 
  - visibility: public
    aref: M000086
    name: flatten
    sourcecode: "    <span class=\"ruby-comment cmt\"># File lib/ziya/charts/support/filter.rb, line 18</span>\n\
      18:     <span class=\"ruby-keyword kw\">def</span> <span class=\"ruby-identifier\">flatten</span>( <span class=\"ruby-identifier\">xml</span> )\n\
      19:       <span class=\"ruby-keyword kw\">if</span> <span class=\"ruby-identifier\">filters</span>\n\
      20:         <span class=\"ruby-identifier\">xml</span>.<span class=\"ruby-identifier\">filter</span> <span class=\"ruby-keyword kw\">do</span> \n\
      21:           <span class=\"ruby-identifier\">filters</span>.<span class=\"ruby-identifier\">each</span> { <span class=\"ruby-operator\">|</span><span class=\"ruby-identifier\">comp</span><span class=\"ruby-operator\">|</span> <span class=\"ruby-identifier\">comp</span>.<span class=\"ruby-identifier\">flatten</span>( <span class=\"ruby-identifier\">xml</span> ) }\n\
      22:         <span class=\"ruby-keyword kw\">end</span>\n\
      23:       <span class=\"ruby-keyword kw\">end</span>\n\
      24:     <span class=\"ruby-keyword kw\">end</span>"
    m_desc: |-
      <hr size="10"></hr><p>
      Dump has_attribute into xml element
      </p>
    params: ( xml )
  category: Instance
  type: Public

sectitle

--- 

[Validate]

Generated with the Darkfish Rdoc Generator.