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 281
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 290
def ==(other)
  other.to_s == self.to_s
end
to_s() click to toggle source
# File lib/apipie/swagger_generator.rb, line 286
def to_s
  @type
end