Any reason this can't be one-lined?
```args.each { |arg| self.create_partition(partition_type, arg[:start], arg[:end]) }```