Method#call
Not sure what to make of this at all.
class Cat
def call(*args)
(args).join(' ^O^ ')
end
end
Cat.new.(:samson, :smeagol, :gimmick)
“...I've been working since 2008 with Ruby / Ruby on Rails, love a bit of Elixir / Phoenix and learning Rust. I also poke through other people's code and make PRs for OpenSource Ruby projects that sometimes make it...”
Not sure what to make of this at all.
class Cat
def call(*args)
(args).join(' ^O^ ')
end
end
Cat.new.(:samson, :smeagol, :gimmick)