Class: AdLint::Cc1::SignedTypeId
- Inherits:
-
StandardTypeId
- Object
- TypeId
- StandardTypeId
- AdLint::Cc1::SignedTypeId
- Defined in:
- lib/adlint/cc1/type.rb
Instance Method Summary collapse
- #==(rhs_id) ⇒ Object
-
#initialize ⇒ SignedTypeId
constructor
A new instance of SignedTypeId.
Methods inherited from TypeId
Constructor Details
#initialize ⇒ SignedTypeId
Returns a new instance of SignedTypeId.
4154 4155 4156 |
# File 'lib/adlint/cc1/type.rb', line 4154 def initialize super("signed") end |
Instance Method Details
#==(rhs_id) ⇒ Object
4158 4159 4160 4161 4162 4163 4164 4165 |
# File 'lib/adlint/cc1/type.rb', line 4158 def ==(rhs_id) case rhs_id when SignedTypeId, IntTypeId, SignedIntTypeId true else false end end |