Module: Efl::Ecore
- Defined in:
- lib/efl/ecore.rb,
lib/efl/native/ecore.rb
Defined Under Namespace
Classes: REcorePipe
Constant Summary
- EVENT_NONE =
ecore-1/Ecore.h line 95
0- EVENT_SIGNAL_USER =
1- EVENT_SIGNAL_HUP =
2- EVENT_SIGNAL_EXIT =
3- EVENT_SIGNAL_POWER =
4- EVENT_SIGNAL_REALTIME =
User signal event Hup signal event Exit signal event Power signal event Realtime signal event
5- EVENT_COUNT =
6
Class Method Summary (collapse)
Class Method Details
+ (Object) method_missing(m, *args, &block)
10 11 12 13 14 15 |
# File 'lib/efl/native/ecore.rb', line 10 def self.method_missing m, *args, &block sym = 'ecore_'+m.to_s raise NameError.new "#{self.name}.#{sym} (#{m})" if not Efl::Native.respond_to? sym self.module_eval "def self.#{m} *args, █ r=Efl::Native.#{sym}(*args); yield r if block_given?; r; end" self.send m, *args, &block end |
+ (Object) version
18 19 20 |
# File 'lib/efl/ecore.rb', line 18 def self.version Native::VersionStruct.new(Native.ecore_version) end |