class AdLint::Cc1::ShortTypeId

Public Class Methods

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

Public Instance Methods

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