Method: Zeus::M::TestCollection#column_size
- Defined in:
- lib/zeus/m/test_collection.rb
#column_size ⇒ Object
Used to line up method names in ‘#sprintf` when `m` aborts
31 32 33 34 35 |
# File 'lib/zeus/m/test_collection.rb', line 31 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 |