lib/indentation/array_mod.rb in indentation-0.0.3 vs lib/indentation/array_mod.rb in indentation-0.0.4

- old
+ new

@@ -53,10 +53,10 @@ array_element.indent!(num, i_char) end end # Get the least indentation of all elements - def find_least_indentation + def find_least_indentation(options = {:ignore_blank_lines => true, :ignore_empty_lines => true}) self.collect{|array_element| array_element.find_least_indentation }.min end # Find the least indentation of all elements and remove that amount (if any) # Can pass an optional modifier that changes the indentation amount removed \ No newline at end of file