Module: LLM::Gemini::Response::Models
- Includes:
- Enumerable
- Defined in:
- lib/llm/providers/gemini/response/models.rb
Instance Method Summary collapse
Instance Method Details
#each ⇒ Object
6 7 8 9 |
# File 'lib/llm/providers/gemini/response/models.rb', line 6 def each(&) return enum_for(:each) unless block_given? models.each { yield(_1) } end |
#models ⇒ Object
11 12 13 |
# File 'lib/llm/providers/gemini/response/models.rb', line 11 def models body.models || [] end |