class TJSON::DataType::NonScalar

Non-scalar types

Attributes

inner_type[R]

Public Class Methods

new(inner_type) click to toggle source
# File lib/tjson/datatype.rb, line 71
def initialize(inner_type)
  @inner_type = inner_type
end

Public Instance Methods

==(other) click to toggle source
# File lib/tjson/datatype.rb, line 79
def ==(other)
  self.class == other.class && inner_type == other.inner_type
end
inspect() click to toggle source
# File lib/tjson/datatype.rb, line 75
def inspect
  "#<#{self.class}<#{@inner_type.inspect}>>"
end