Class: Swagger::Blocks::PropertyNode

Inherits:
Node
  • Object
show all
Defined in:
lib/swagger/blocks.rb

Overview

Instance Attribute Summary

Attributes inherited from Node

#name

Instance Method Summary collapse

Methods inherited from Node

#as_json, call, #data, #key

Instance Method Details

#items(&block) ⇒ Object



396
397
398
# File 'lib/swagger/blocks.rb', line 396

def items(&block)
  self.data[:items] = Swagger::Blocks::ItemsNode.call(&block)
end