Skip to content
Poignant Guide Ruby Q&A
Sections

classes

1 thread tagged with this topic

Threads tagged classes

  1. •

    What does self mean inside a Ruby class?

    I am building my first Rails app for a client and I keep meeting self in models: def self.recent, self.status = "paid", and sometimes plain status = "paid". I...

    2replies
Poignant Guide Ruby Q&A. Questions and answers on learning Ruby and programming: syntax, blocks, objects, gems, Rails, debugging and reading the Poignant Guide.