Hacker News new | ask | show | jobs
by maleldil 455 days ago
It's unclear whether `chat` is a field/property/member of `RubyLLM` or a method being called.
2 comments

Ruby only has methods and everything is an object. So… that solves that.
Perhaps to you, but anyone that’s ever worked with Ruby knows that there’s no such thing as fields/properties/members in Ruby. There are only methods. Parentheses are optional for method calls.