Methods

Class Index

Quicksearch

Ziya::Maps::Support::Ranges

Public Instance Methods

flatten( xml ) click to toggle source


Dump has_attribute into xml element

    # File lib/ziya/maps/support/ranges.rb, line 11
11:     def flatten( xml )
12:       ranges.each do |range|
13:         range["range"].flatten( xml )
14:       end
15:     end

secsequence

--- SEC00255

seccomment

--- ""

method_list

--- 
- methods: 
  - visibility: public
    aref: M000012
    name: flatten
    sourcecode: "    <span class=\"ruby-comment cmt\"># File lib/ziya/maps/support/ranges.rb, line 11</span>\n\
      11:     <span class=\"ruby-keyword kw\">def</span> <span class=\"ruby-identifier\">flatten</span>( <span class=\"ruby-identifier\">xml</span> )\n\
      12:       <span class=\"ruby-identifier\">ranges</span>.<span class=\"ruby-identifier\">each</span> <span class=\"ruby-keyword kw\">do</span> <span class=\"ruby-operator\">|</span><span class=\"ruby-identifier\">range</span><span class=\"ruby-operator\">|</span>\n\
      13:         <span class=\"ruby-identifier\">range</span>[<span class=\"ruby-value str\">&quot;range&quot;</span>].<span class=\"ruby-identifier\">flatten</span>( <span class=\"ruby-identifier\">xml</span> )\n\
      14:       <span class=\"ruby-keyword kw\">end</span>\n\
      15:     <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.