[Facets] 10 Oct 2008 » I Spy String#margin

13 views
Skip to first unread message

Roger Pack

unread,
Aug 13, 2009, 7:45:02 AM8/13/09
to Facets
Hmm. String#margin suggest rename to String#strip_margin or remove_margin
that's what it does, isn't it?
-r
_______________________________________________
facets-universal mailing list
facets-u...@rubyforge.org
http://rubyforge.org/mailman/listinfo/facets-universal

Trans

unread,
Aug 13, 2009, 6:41:21 PM8/13/09
to facets-u...@rubyforge.org

On Aug 13, 7:45 am, Roger Pack <rogerdp...@gmail.com> wrote:
> Hmm.  String#margin suggest rename to String#strip_margin or remove_margin
> that's what it does, isn't it?

In a sense that's true. But the #margin method has been around a long
time. There really is no need to change the name.

T.

Trans

unread,
Dec 27, 2011, 8:00:58 PM12/27/11
to facets-u...@googlegroups.com, Facets
OTOH, Maybe #trim ?

Roger Pack

unread,
Feb 11, 2012, 11:40:54 AM2/11/12
to facets-u...@googlegroups.com, Facets
> OTOH, Maybe #trim ?

like it.

Reply all
Reply to author
Forward
0 new messages