class RSpecApib::Element::Array

Represents an array in api-elements (api-elements.readthedocs.io/en/latest/)

Public Class Methods

from_hash(hash, index:, parent:) click to toggle source

rubocop:disable Lint/UnusedMethodArgument

# File lib/rspec_apib/elements/array.rb, line 7
def self.from_hash(hash, index:, parent:)
  new(hash["content"])
end