Sha256: 3db325e6069cca2d38ddc5b00ccf8aa76ffe15125647fcd3f812bdc4ea70bb98
Contents?: true
Size: 1.19 KB
Versions: 10
Compression:
Stored size: 1.19 KB
Contents
class TestSend def another_method_as_arg(help_method) help_method end def second_level_method_chain(second_level_method) second_level_method end def third_level_method_chain(third_level_method) third_level_method end def method_with_calculated_value(calculated_value) calculated_value end def to_another_object(another_object_method) another_object_method end def to_another_object_with_params(send_with_params) send_with_params end def not_explicit_with_params(not_explicit) not_explicit end def fail_to_understand(failure) failure end private def help_method 'Help method' end def second_level_method help_method end def third_level_method second_level_method end def calculated_value 1 + 3 end def not_explicit(name) 'Could you find it?' end def failure(name) # does not understand :dstr "Can't you understand, #{name}?" end def data_to_analyze another_object_method = AnotherObject.my_name send_with_params = AnotherObject.send_with_params(12) end end class AnotherObject def self.my_name 'Domas' end def self.send_with_params(id) "Id was #{id}" end end
Version data entries
10 entries across 10 versions & 1 rubygems