Flowdock
method

[]

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: XSD::NamedElements
[](idx) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/xsd/namedelements.rb, line 40
  def [](idx)
    if idx.is_a?(Numeric)
      @elements[idx]
    else
      @cache[idx] ||= @elements.find { |item| item.name == idx }
    end
  end
Register or log in to add new notes.