Method: Dictionary#order_by_value
- Defined in:
- lib/ruber/utils.rb
#order_by_value ⇒ Object
Works as the method with the same name in facets but works around a bug with facets and ruby 1.9
268 269 270 271 272 |
# File 'lib/ruber/utils.rb', line 268 def order_by_value @order_by = lambda { |i| i[0] } order self end |