Module: Briskly::Keyword::FrozenString::ClassMethods
- Included in:
- Briskly::Keyword::FrozenString
- Defined in:
- lib/briskly/keyword.rb
Instance Method Summary collapse
Instance Method Details
#get(string) ⇒ Object
25 26 27 28 |
# File 'lib/briskly/keyword.rb', line 25 def get(string) @@repository ||= {} @@repository[string.freeze] ||= new(string.freeze) end |