class Erlash::ContextFormatter

Public Instance Methods

format() click to toggle source
# File lib/erlash/formatters/context_formatter.rb, line 3
def format
  [].tap do |acc|
    acc << 'Context:' if object.formatter.hints?
    acc << format_elem(object.value)
  end
end