Method: Cinch::Channel#modes
- Defined in:
- lib/cinch/channel.rb
#modes ⇒ Hash{String => Object} (readonly)
This attribute describes all modes set in the channel. They’re represented as a Hash, mapping the mode (e.g. “i”, “k”, …) to either a value in the case of modes that take an option (e.g. “k” for the channel key) or true.
44 45 46 |
# File 'lib/cinch/channel.rb', line 44 def modes @modes end |