stdlib/console.rb
# Group the given block but collapse it.
Group the given block but collapse it.
Group the given block but collapse it .
def group!(*args, &block)
    return unless block_given?
    `#{@native}.groupCollapsed.apply(#{@native}, args)`
    begin
      if block.arity == 0
        instance_exec(&block)
      else
        yield(self)
      end
    ensure
      `#{@native}.groupEnd()`
    end
  end
def group! ( * args , & block ) return unless block_given? ` #{ @native } .groupCollapsed.apply( #{ @native } , args) ` begin if block . arity == 0 instance_exec ( & block ) else yield ( self ) end ensure ` #{ @native } .groupEnd() ` end end
Group the given block but collapse it.
Group the given block but collapse it .
args
<not_specific>
block
<not_specific>