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.
254 255 256 |
# File 'lib/active_admin/namespace.rb', line 254 def initialize @namespaces = {} end |
Instance Method Details
#each(&block) ⇒ Object
258 259 260 |
# File 'lib/active_admin/namespace.rb', line 258 def each(&block) @namespaces.values.each(&block) end |
#names ⇒ Object
262 263 264 |
# File 'lib/active_admin/namespace.rb', line 262 def names @namespaces.keys end |