Module: Yt::Actions::List

Included in:
DeleteAll, Collections::Base
Defined in:
lib/yt/actions/list.rb

Instance Method Summary collapse

Instance Method Details

#first!Object



10
11
12
# File 'lib/yt/actions/list.rb', line 10

def first!
  first.tap{|item| raise Errors::NoItems, last_request unless item}
end