Class: ActiveAdmin::Namespace::Store

Inherits:
Object
  • Object
show all
Includes:
Enumerable
Defined in:
lib/active_admin/namespace.rb

Instance Method Summary collapse

Constructor Details

#initializeStore

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

#namesObject



220
221
222
# File 'lib/active_admin/namespace.rb', line 220

def names
  @namespaces.keys
end