class RSpecApib::Element::HrefVariables
Represents a collection of href variables in api-elements (api-elements.readthedocs.io/en/latest/)
Public Instance Methods
[](key)
click to toggle source
# File lib/rspec_apib/elements/href_variables.rb, line 7 def [](key) member = content.find { |href_variable| href_variable.is_a?(Member) && href_variable.content.key?(key) } return nil if member.nil? member.content[key] end