Class: AdLint::Cc1::ShortTypeId
- Inherits:
-
StandardTypeId
- Object
- TypeId
- StandardTypeId
- AdLint::Cc1::ShortTypeId
- Defined in:
- lib/adlint/cc1/type.rb
Instance Method Summary collapse
- #==(rhs_id) ⇒ Object
-
#initialize ⇒ ShortTypeId
constructor
A new instance of ShortTypeId.
Methods inherited from TypeId
Constructor Details
#initialize ⇒ ShortTypeId
Returns a new instance of ShortTypeId.
3843 3844 3845 |
# File 'lib/adlint/cc1/type.rb', line 3843 def initialize super("short") end |
Instance Method Details
#==(rhs_id) ⇒ Object
3847 3848 3849 3850 3851 3852 3853 3854 |
# File 'lib/adlint/cc1/type.rb', line 3847 def ==(rhs_id) case rhs_id when ShortTypeId, SignedShortTypeId, ShortIntTypeId, SignedShortIntTypeId true else false end end |