Class: TED::ObjectHash

Inherits:
Hash
  • Object
show all
Defined in:
lib/ted/object_hash.rb

Instance Method Summary collapse

Instance Method Details

#eachObject



3
4
5
6
7
8
9
# File 'lib/ted/object_hash.rb', line 3

def each
  super do |key, object|
    next unless key.is_a?(Integer)
    next if object.description.empty?
    yield object
  end
end