Module: LLM::Anthropic::Response::Enumerable
- Includes:
- Enumerable
- Defined in:
- lib/llm/providers/anthropic/response/enumerable.rb
Instance Method Summary collapse
Instance Method Details
#each ⇒ Object
6 7 8 9 |
# File 'lib/llm/providers/anthropic/response/enumerable.rb', line 6 def each(&) return enum_for(:each) unless block_given? data.each { yield(_1) } end |