Module: TmfComponents
- Defined in:
- lib/tmf_components.rb
Class Method Summary collapse
Class Method Details
.add(name) ⇒ Object
4 5 6 |
# File 'lib/tmf_components.rb', line 4 def add(name) list << name end |
.has?(name) ⇒ Boolean
8 9 10 |
# File 'lib/tmf_components.rb', line 8 def has?(name) list.include?(name) end |
.list ⇒ Object
12 13 14 |
# File 'lib/tmf_components.rb', line 12 def list @list ||= Set.new end |