diff options
-rw-r--r-- | README.rdoc | 2 |
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 |