diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-11 22:37:42 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-11 22:37:42 +0200 |
commit | eeaf9ecdbd95a1628e92f41301cacfe3554eb6f3 (patch) | |
tree | 26d6cd585c8c81b2d0ee8837c147f2fe60d1e6c3 /lib/efl/evas.rb | |
parent | 82df949bf2931cabf3f6e278d38f0358cd653baf (diff) | |
download | ffi-efl-eeaf9ecdbd95a1628e92f41301cacfe3554eb6f3.zip ffi-efl-eeaf9ecdbd95a1628e92f41301cacfe3554eb6f3.tar.gz |
remove VERSION constants, change def self.X in class << self alias X Y
Diffstat (limited to 'lib/efl/evas.rb')
-rw-r--r-- | lib/efl/evas.rb | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/lib/efl/evas.rb b/lib/efl/evas.rb index 88426a7..ccb4af3 100644 --- a/lib/efl/evas.rb +++ b/lib/efl/evas.rb @@ -6,11 +6,6 @@ require 'ffi' module EFL module EVAS # - MAJOR = 0 - MINOR = 0 - REVISION = 1 - VERSION = [MAJOR,MINOR,REVISION].join '.' - # extend FFI::Library # ffi_lib 'evas' @@ -25,12 +20,9 @@ module EFL end end # - def self.init - evas_init - end - # - def self.shutdown - evas_shutdown + class << self + alias init evas_init + alias shutdown evas_shutdown end # end |