Method: NsOptions::NamespaceData#each
- Defined in:
- lib/ns-options/namespace_data.rb
#each ⇒ Object
allow for iterating over the key/values of a namespace this uses #to_hash so you won’t get option/namespace objs for the values
77 78 79 |
# File 'lib/ns-options/namespace_data.rb', line 77 def each to_hash.each{|k,v| yield k,v if block_given? } end |