class Apipie::SwaggerGenerator::SwaggerTypeWithFormat
Attributes
str_format[R]
Public Class Methods
new(type, str_format)
click to toggle source
# File lib/apipie/swagger_generator.rb, line 278 def initialize(type, str_format) @type = type @str_format = str_format end
Public Instance Methods
==(other)
click to toggle source
# File lib/apipie/swagger_generator.rb, line 287 def ==(other) other.to_s == self.to_s end
to_s()
click to toggle source
# File lib/apipie/swagger_generator.rb, line 283 def to_s @type end