Sha256: c8722dadbcf8ba4b7cc3d86c590fa6964771b09db0376f2431f6e46200efd282
Contents?: true
Size: 1.19 KB
Versions: 1
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zapata-1.0.0 | spec/support/rails_test_app/app/models/test_send.rb |