lib/helium/console/registry/table.rb in helium-console-0.1.9 vs lib/helium/console/registry/table.rb in helium-console-0.1.10
- old
+ new
@@ -57,10 +57,10 @@
' ' * (width - length_of(string)) + string
end
def rows
@rows ||= case level
- when 1 then object.rows
+ when 1 then rows_limited_by(42)
when 2 then rows_limited_by(10)
else rows_limited_by(3)
end
end