You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classPerson# extend and include go firstextendSomeModuleincludeAnotherModule# inner classesCustomErrorKlass=Class.new(StandardError)# constants are nextSOME_CONSTANT=20# afterwards we have attribute macrosattr_reader:name# followed by other macros (if any)validates:name# public class methods are next in linedefself.some_methodend# initialization goes between class methods and other instance methodsdefinitializeend# followed by other public instance methodsdefsome_methodend# protected and private methods are grouped near the endprotecteddefsome_protected_methodendprivatedefsome_private_methodendend
Sugiro:
The text was updated successfully, but these errors were encountered: