Method: M::TestCollection#column_size
- Defined in:
- lib/m/test_collection.rb
#column_size ⇒ Object
Used to line up method names in ‘#sprintf` when `m` aborts
29 30 31 32 33 |
# File 'lib/m/test_collection.rb', line 29 def column_size # Boil down the collection of test methods to the name of the method's # size, then find the largest one @column_size ||= map { |test| test.name.to_s.size }.max end |