From 297e9fdfa3819ee45a365082e597a6d7cdd8ac01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 24 Feb 2012 22:18:20 +0100 Subject: efl/eina*: cleanup --- lib/efl/eina_hash.rb | 1 - lib/efl/eina_list.rb | 1 - lib/efl/eina_log.rb | 4 +++- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/efl/eina_hash.rb b/lib/efl/eina_hash.rb index ac10462..3bac050 100644 --- a/lib/efl/eina_hash.rb +++ b/lib/efl/eina_hash.rb @@ -1,7 +1,6 @@ #! /usr/bin/env ruby # -*- coding: UTF-8 -*- # -#require 'efl' require 'efl/eina' require 'efl/native/eina_hash' # diff --git a/lib/efl/eina_list.rb b/lib/efl/eina_list.rb index 7b77db9..1343840 100644 --- a/lib/efl/eina_list.rb +++ b/lib/efl/eina_list.rb @@ -1,7 +1,6 @@ #! /usr/bin/env ruby # -*- coding: UTF-8 -*- # -#require 'efl' require 'efl/eina' require 'efl/native/eina_list' # diff --git a/lib/efl/eina_log.rb b/lib/efl/eina_log.rb index 95c4668..4736003 100644 --- a/lib/efl/eina_log.rb +++ b/lib/efl/eina_log.rb @@ -1,7 +1,6 @@ #! /usr/bin/env ruby # -*- coding: UTF-8 -*- # -#require 'efl' require 'efl/eina' require 'efl/native/eina_log' # @@ -46,6 +45,9 @@ module Efl file, line, func = caller[1].split ':' Native.eina_log_print Native.EINA_LOG_DOMAIN_GLOBAL, lvl, file, func, line.to_i, msg end + class << self + private :_log + end # def self.log_crit msg self._log :eina_log_level_critical, msg -- cgit v1.1-2-g2b99