summaryrefslogtreecommitdiffstats
path: root/lib/efl/elementary.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-11 10:07:14 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-11 10:07:14 +0200
commit533f8327d0a3f1eae95aedadd48d0f1640766f28 (patch)
tree985b29d9f744d14c8c2ab930fb15d7099c02c181 /lib/efl/elementary.rb
parent0c30e8a8efcc32de3216a8f49b84793e51ff31cc (diff)
downloadffi-efl-533f8327d0a3f1eae95aedadd48d0f1640766f28.zip
ffi-efl-533f8327d0a3f1eae95aedadd48d0f1640766f28.tar.gz
add missing sed-variables, fix EinaLog module generation, add self.version for all modules and use them in spec describe
Diffstat (limited to 'lib/efl/elementary.rb')
-rw-r--r--lib/efl/elementary.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/efl/elementary.rb b/lib/efl/elementary.rb
index 7d90632..739dc17 100644
--- a/lib/efl/elementary.rb
+++ b/lib/efl/elementary.rb
@@ -7,6 +7,10 @@ require 'efl/native/elementary'
module Efl
module Elm
#
+ def self.version
+ Native::VersionStruct.new(Native.elm_version)
+ end
+ #
class << self
def init *args
a = args.select { |e| e.is_a? String }