Class: RSpec::Core::Ordering::Custom Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | rspec-core/lib/rspec/core/ordering.rb |
Overview
Orders items based on a custom block.
Class Method Summary
- .new(callable) ⇒ Custom constructor Internal use only
Instance Method Summary
- #order(list) Internal use only
Instance Method Details
#order(list)
[ GitHub ]# File 'rspec-core/lib/rspec/core/ordering.rb', line 76
def order(list) @callable.call(list) end