Class: ActiveAdmin::Namespace::Store
- Inherits:
-
Object
- Object
- ActiveAdmin::Namespace::Store
- Includes:
- Enumerable
- Defined in:
- lib/active_admin/namespace.rb
Instance Method Summary collapse
- #each(&block) ⇒ Object
-
#initialize ⇒ Store
constructor
A new instance of Store.
- #names ⇒ Object
Constructor Details
#initialize ⇒ Store
Returns a new instance of Store.
212 213 214 |
# File 'lib/active_admin/namespace.rb', line 212 def initialize @namespaces = {} end |
Instance Method Details
#each(&block) ⇒ Object
216 217 218 |
# File 'lib/active_admin/namespace.rb', line 216 def each(&block) @namespaces.values.each(&block) end |
#names ⇒ Object
220 221 222 |
# File 'lib/active_admin/namespace.rb', line 220 def names @namespaces.keys end |