Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

This is a setter

  • Loading branch information...
commit 963b323dba4e72aed35d8c023351097c9908071d 1 parent fc6028e
@weppos authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  classes/03_attributes.md
View
2  classes/03_attributes.md
@@ -102,7 +102,7 @@
self.title = title
end
- def title(value)
+ def title=(value)
@title = value.nil? ? value : value.to_s.strip
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.