pp

Hello,

how can I change the minimum and maximum-width when using pp ?

thanks, Opti

Welcome to Ruby talk :grin:

Apologies, but what is pp ?

···

On Sat, Jul 24, 2021, 3:01 PM Die Optimisten <inform@die-optimisten.net> wrote:

Hello,

how can I change the minimum and maximum-width when using pp ?

thanks, Opti

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

I’m guessing pretty print? It don’t see an obvious way to do it.

···

Il giorno 24 lug 2021, alle ore 3:21 PM, Sean Felipe Wolfe <ether.joe@gmail.com> ha scritto:

Welcome to Ruby talk :grin:

Apologies, but what is pp ?

On Sat, Jul 24, 2021, 3:01 PM Die Optimisten <inform@die-optimisten.net> wrote:
Hello,

how can I change the minimum and maximum-width when using pp ?

thanks, Opti

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Thanks :+1:

···

On Sat, Jul 24, 2021, 3:44 PM Cameron <cameron.nigro@gmail.com> wrote:

I’m guessing pretty print? It don’t see an obvious way to do it.

Il giorno 24 lug 2021, alle ore 3:21 PM, Sean Felipe Wolfe < > ether.joe@gmail.com> ha scritto:

Welcome to Ruby talk :grin:

Apologies, but what is pp ?

On Sat, Jul 24, 2021, 3:01 PM Die Optimisten <inform@die-optimisten.net> > wrote:

Hello,

how can I change the minimum and maximum-width when using pp ?

thanks, Opti

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Quoting Die Optimisten (inform@die-optimisten.net):

how can I change the minimum and maximum-width when using pp ?

The pp method of the Kernel class has no way to do that, from what I
see. But if you use the one provided by class PP, there is a parameter
for width. See

ri PP.pp

Carlo

···

Subject: pp
  Date: Sat 24 Jul 21 09:01:06PM +0200

--
  * Se la Strada e la sua Virtu' non fossero state messe da parte,
* K * Carlo E. Prelz - fluido@fluido.as che bisogno ci sarebbe
  * di parlare tanto di amore e di rettitudine? (Chuang-Tzu)

1 Like

Hi,

I'm on mobile so haven't tried it myself but is this[0] what you mean?

[0]:

Cheers,

Alan

···

On Sat, 24 Jul 2021, 21:47 Sean Felipe Wolfe, <ether.joe@gmail.com> wrote:

Thanks :+1:

On Sat, Jul 24, 2021, 3:44 PM Cameron <cameron.nigro@gmail.com> wrote:

I’m guessing pretty print? It don’t see an obvious way to do it.

Il giorno 24 lug 2021, alle ore 3:21 PM, Sean Felipe Wolfe < >> ether.joe@gmail.com> ha scritto:

Welcome to Ruby talk :grin:

Apologies, but what is pp ?

On Sat, Jul 24, 2021, 3:01 PM Die Optimisten <inform@die-optimisten.net> >> wrote:

Hello,

how can I change the minimum and maximum-width when using pp ?

thanks, Opti

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org
?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Hi guys!
Does anyone know how to add some charts to a rails site? I'm having
troubles to use Chart.js
Thanks in advance!

···

El dom, 25 jul 2021 a las 9:33, Alan Gabbianelli (< alan.gabbianelli@gmail.com>) escribió:

Hi,

I'm on mobile so haven't tried it myself but is this[0] what you mean?

[0]:
pretty print - Formatting Ruby's prettyprint - Stack Overflow

Cheers,

Alan

On Sat, 24 Jul 2021, 21:47 Sean Felipe Wolfe, <ether.joe@gmail.com> wrote:

Thanks :+1:

On Sat, Jul 24, 2021, 3:44 PM Cameron <cameron.nigro@gmail.com> wrote:

I’m guessing pretty print? It don’t see an obvious way to do it.

Il giorno 24 lug 2021, alle ore 3:21 PM, Sean Felipe Wolfe < >>> ether.joe@gmail.com> ha scritto:

Welcome to Ruby talk :grin:

Apologies, but what is pp ?

On Sat, Jul 24, 2021, 3:01 PM Die Optimisten <inform@die-optimisten.net> >>> wrote:

Hello,

how can I change the minimum and maximum-width when using pp ?

thanks, Opti

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org
?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org
?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org
?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Don't reply to a thread with a completely unrelated question. Start your own.

···

On Aug 6, 2021, at 11:59, Otoniel Reyes Galay <otonielreyesgalay@gmail.com> wrote:

Hi guys!
Does anyone know how to add some charts to a rails site? I'm having troubles to use Chart.js
Thanks in advance!

El dom, 25 jul 2021 a las 9:33, Alan Gabbianelli (<alan.gabbianelli@gmail.com>) escribió:
Hi,

I'm on mobile so haven't tried it myself but is this[0] what you mean?

[0]: pretty print - Formatting Ruby's prettyprint - Stack Overflow

Cheers,

Alan

On Sat, 24 Jul 2021, 21:47 Sean Felipe Wolfe, <ether.joe@gmail.com> wrote:
Thanks :+1:

On Sat, Jul 24, 2021, 3:44 PM Cameron <cameron.nigro@gmail.com> wrote:
I’m guessing pretty print? It don’t see an obvious way to do it.

Il giorno 24 lug 2021, alle ore 3:21 PM, Sean Felipe Wolfe <ether.joe@gmail.com> ha scritto:

Welcome to Ruby talk :grin:

Apologies, but what is pp ?

On Sat, Jul 24, 2021, 3:01 PM Die Optimisten <inform@die-optimisten.net> wrote:
Hello,

how can I change the minimum and maximum-width when using pp ?

thanks, Opti

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;