From b13ae1a28857c19cd951453dc75fbab1d0f7f276 Mon Sep 17 00:00:00 2001 From: kazuyoshi tlacaelel Date: Sat, 3 Dec 2011 20:43:52 -0600 Subject: [PATCH] Update README.rdoc --- README.rdoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.rdoc b/README.rdoc index 8d570a3..35dc48e 100644 --- a/README.rdoc +++ b/README.rdoc @@ -113,6 +113,21 @@ of code, and its quite simple :) If you are thinking about extending look at the internals of this library. Specially Behaviours, Colors, and Backgrounds it'll give you a good idea on how to code/organize your extensions. :) +== How much intrusion are you making on the String object?? + +This is all the code that isna uses to extend strings. + + class String + + def to_ansi + Isna::String.new(self) + end + + end + +There are no overrides, no intrusion, and no posible collisions withing the Data Type Object. +Isna tries to do all its hard work separately and play nice with other libraries :) + == Why isna?? "isna" is "ansi" spelled backwards, but the gem name was already taken :S