lib/output_mode/tldr/show.rb in output_mode-1.0.0 vs lib/output_mode/tldr/show.rb in output_mode-1.1.1
- old
+ new
@@ -15,9 +15,10 @@
# @param verbose: Whether the field will be shown in the verbose output
# @yieldparam model The subject the column is describing, some sort of data model
def register_callable(header:, verbose: nil, &b)
super(modes: { verbose: verbose }, header: header, &b)
end
+ alias_method :register_attribute, :register_callable
# Creates an new +output+ from the verbosity flag. This method only uses
# +$stdout+ as part of it's output class discovery logic. It does not
# print to the io directly
#