class ApiSketch::DSL::ComplexAttributeParser
Public Instance Methods
method_missing(method_name, *arguments, &block)
click to toggle source
Calls superclass method
ApiSketch::DSL::AttributeParser#method_missing
# File lib/api_sketch/dsl/complex_attribute_parser.rb, line 3 def method_missing(method_name, *arguments, &block) if method_name == :content @attribute_values[:content] = ApiSketch::DSL::Attributes.new(@container_type, &block).to_a else super(method_name, *arguments, &block) end end