Ziya::Charts::Support::Base
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.
--- SEC00106
--- ""
---
- 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
---
Generated with the Darkfish Rdoc Generator.