class Apipie::Generator::Swagger::Type
Attributes
str_format[R]
Public Class Methods
new(type, str_format = nil)
click to toggle source
# File lib/apipie/generator/swagger/type.rb, line 4 def initialize(type, str_format = nil) @type = type @str_format = str_format end
Public Instance Methods
==(other)
click to toggle source
# File lib/apipie/generator/swagger/type.rb, line 13 def ==(other) other.to_s == self.to_s end
to_s()
click to toggle source
# File lib/apipie/generator/swagger/type.rb, line 9 def to_s @type end