lib/helpers/collection_helper.rb in mongo3-0.0.7 vs lib/helpers/collection_helper.rb in mongo3-0.0.8

- old
+ new

@@ -25,12 +25,15 @@ # converts orientation to human def orientation( value ) return "id" if value.is_a?(Mongo::ObjectID) case( value.to_i ) - when Mongo::ASCENDING : "asc" - when Mongo::DESCENDING : "desc" - else "n/a" + when Mongo::ASCENDING + "asc" + when Mongo::DESCENDING + "desc" + else + "n/a" end end end end \ No newline at end of file