# How to write specs

How to describe attributes

![](https://939397000-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L9htzNbAvfpKcVkZT-D%2F-L9hu-eH5xWIUnJXzT0n%2F-L9hu0qqg803jPuiW5fu%2Fcarbon%20\(26\).png?generation=1523336108357400\&alt=media)

How to describe an instance method

![](https://939397000-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L9htzNbAvfpKcVkZT-D%2F-L9hu-eH5xWIUnJXzT0n%2F-L9hu0qycO5o6faC7lo_%2Fcarbon%20\(24\).png?generation=1523336094725246\&alt=media)

How to describe a class method

![](https://939397000-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L9htzNbAvfpKcVkZT-D%2F-L9hu-eH5xWIUnJXzT0n%2F-L9hu0r4fOyxYtVGvPb4%2Fcarbon%20\(23\).png?generation=1523336104263798\&alt=media)
