summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/efl.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/efl.rb b/lib/efl.rb
index 6f29dbd..19b5551 100644
--- a/lib/efl.rb
+++ b/lib/efl.rb
@@ -39,6 +39,7 @@ module Efl
def to_a; [self] end
def to_ary; [self] end
def to_s; Object.instance_method(:to_s).bind(self).call+' ['+self.to_ptr.to_s+']' end
+ alias :to_str :to_s
def to_ptr; @ptr; end
def === o; @ptr === o.to_ptr; end
def null?; @ptr.null?; end