diff --git a/flatten_array.rb b/flatten_array.rb new file mode 100644 index 0000000..bebc5db --- /dev/null +++ b/flatten_array.rb @@ -0,0 +1,6 @@ +module FlattenArray + def self.flatten(input_array) + input_array.flatten.compact + end + VERSION = 1 +end