Class: I18n::Inflector::HSet
- Inherits:
-
Set
- Object
- Set
- I18n::Inflector::HSet
- Defined in:
- lib/i18n-inflector/hset.rb
Overview
This class keeps sets of data
Instance Method Summary collapse
-
#[](k) ⇒ Boolean
This method performs a fast check if an element exists in a set.
Instance Method Details
#[](k) ⇒ Boolean
This method performs a fast check if an element exists in a set.
21 22 23 |
# File 'lib/i18n-inflector/hset.rb', line 21 def [](k) @hash[k] == true end |