Module: Polyfill::V2_4::Symbol::Instance::CasecmpQ::Method
- Defined in:
- lib/polyfill/v2_4/symbol/instance/casecmp_q.rb
Instance Method Summary collapse
Instance Method Details
#casecmp?(other) ⇒ Boolean
7 8 9 10 11 |
# File 'lib/polyfill/v2_4/symbol/instance/casecmp_q.rb', line 7 def casecmp?(other) return nil unless other.is_a?(::Symbol) casecmp(other) == 0 end |