summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-08-26 09:03:04 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-08-26 09:03:04 +0200
commitb3a31efd9abecaf1c93675257cd64220c8862d7f (patch)
treea6064cd72dd604c3c580f1d14293c9e1a7d80149
parentf2002f8c5fc6bd9b501f55585c162abaa4930473 (diff)
downloadffi-efl-b3a31efd9abecaf1c93675257cd64220c8862d7f.zip
ffi-efl-b3a31efd9abecaf1c93675257cd64220c8862d7f.tar.gz
fix readme example
-rw-r--r--README.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.rdoc b/README.rdoc
index bb96579..4c344ad 100644
--- a/README.rdoc
+++ b/README.rdoc
@@ -34,7 +34,7 @@ A ruby-ffi binding to efl libraries (Enlightenment Foundation Libraries).
end
w.resize_object_add bg
lb = Efl::Elm::ElmLabel.new w do |lb|
- lb.label_set "Hello World!"
+ lb.text = "Hello World!"
lb.size_hint_weight_set 1.0, 1.0
end
lb.show