class AdLint::Cc1::SignedShortTypeId

Public Class Methods

new() click to toggle source
Calls superclass method AdLint::Cc1::StandardTypeId::new
# File lib/adlint/cc1/type.rb, line 3887
def initialize
  super("signed short")
end

Public Instance Methods

==(rhs_id) click to toggle source
# File lib/adlint/cc1/type.rb, line 3891
def ==(rhs_id)
  case rhs_id
  when SignedShortTypeId, ShortTypeId, ShortIntTypeId, SignedShortIntTypeId
    true
  else
    false
  end
end