lib/openapi3_parser/node/array.rb in openapi3_parser-0.7.0 vs lib/openapi3_parser/node/array.rb in openapi3_parser-0.8.0
- old
+ new
@@ -12,10 +12,10 @@
# the document hierachy.
class Array
extend Forwardable
include Enumerable
- def_delegators :node_data, :empty?
+ def_delegators :node_data, :empty?, :length, :size
attr_reader :node_data, :node_context
# @param [::Array] data data used to populate this node
# @param [Context] context The context of this node in the document
def initialize(data, context)