Instance MethodCreating an object, and calling instance method#class Mail def self.send_message(message:) puts message end def second_send(message:) puts message endend mail = Mail.newmail.second_send(message: "this is a test second message.") # output:$ruby main.rbthis is a test second message.CopyClass method cannot be called via the object:#class Mail def self.send_message(message:) puts message end def second_send(message:) puts message end end mail = Mail.newmail.send_message(message: "this is a test second message.") # output:$ruby main.rbmain.rb:13:in `<main>': undefined method `send_message' for #<Mail:0x0055c9ed73e008> (NoMethodError)Copy