Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update code/string/concatenation_randomized.rb
Co-authored-by: Juan Vásquez <javasgon@gmail.com>
  • Loading branch information
Aleksey Leshchuk and JuanVqz authored Jan 7, 2023
commit c0332060c75d4587d4290e705f565a0f1efc83a3
4 changes: 2 additions & 2 deletions code/string/concatenation_randomized.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def self.rand_str(named_range)
def self.method_missing(symbol)
return super unless @rand_strs.keys.include?(symbol)

define_singleton_method(symbol) { rand_str( symbol ) }
return rand_str( symbol )
define_singleton_method(symbol) { rand_str(symbol) }
return rand_str(symbol)
end

end
Expand Down