[Rock-dev] orocos.rb: method has_property? is declared twice for TaskContext

Alexander Duda Alexander.Duda at dfki.de
Wed Jun 8 19:20:55 CEST 2011


The method has_property? is declared twice. Which one can be deleted?

task_context.rb:594
# Returns true if this task context has either a property or an
attribute with the given name
        def has_property?(name)
            name = name.to_s
            CORBA.refine_exceptions(self) do
                do_has_property?(name)
            end
        end

task_context.rb:633
# Returns true if +name+ is the name of a property on this task context
        def has_property?(name)
            property_names.include?(name.to_str)
        end


Alex

-- 
Dipl.-Ing. Alexander Duda 
Unterwasserrobotik

DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-456620
Fax:   +49 (0)421 178-454150
E-Mail: alexander.duda at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3



More information about the Rock-dev mailing list