summaryrefslogtreecommitdiffstats
path: root/README.rdoc
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-27 15:52:27 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-27 15:52:27 +0100
commita7e1eb7ed9cbc2613c2dc4b4306228d9f3fcd117 (patch)
treefbada4f47a0680eae1a029915b98fa34ca96f0c6 /README.rdoc
parentef44077310b4ebf8d3cb31ccb57d15b96a94c9d3 (diff)
downloadffi-efl-a7e1eb7ed9cbc2613c2dc4b4306228d9f3fcd117.zip
ffi-efl-a7e1eb7ed9cbc2613c2dc4b4306228d9f3fcd117.tar.gz
must use title_set instead of title= instide instance_eval
Diffstat (limited to 'README.rdoc')
-rw-r--r--README.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.rdoc b/README.rdoc
index 88fe7f9..8586d99 100644
--- a/README.rdoc
+++ b/README.rdoc
@@ -21,7 +21,7 @@ A ruby-ffi binding to efl libraries (Enlightenment Foundation Libraries).
class MyWin < Elm::ElmWin
def initialize name, title, &block
super FFI::MemoryPointer::NULL, name, &block
- title = title
+ title_set title
feed
smart_callback_add "delete,request", method(:on_delete), FFI::MemoryPointer.from_string("my data")
end