Amokrane
6/15/2011 - 10:57 PM

#protip shown by @tenderlove regarding attr accessors

#protip shown by @tenderlove regarding attr accessors

class Foo
  attr_reader :some_attribute
  alias :some_attribute? :some_attribute
end