ÿØÿà JFIF    ÿÛ „ ( %!1!%*+...983,7(-.- Boolean.pm000064400000001204152357550140006465 0ustar00package JSON::PP::Boolean; use strict; use overload ( "0+" => sub { ${$_[0]} }, "++" => sub { $_[0] = ${$_[0]} + 1 }, "--" => sub { $_[0] = ${$_[0]} - 1 }, fallback => 1, ); $JSON::PP::Boolean::VERSION = '2.97001'; 1; __END__ =head1 NAME JSON::PP::Boolean - dummy module providing JSON::PP::Boolean =head1 SYNOPSIS # do not "use" yourself =head1 DESCRIPTION This module exists only to provide overload resolution for Storable and similar modules. See L for more info about this class. =head1 AUTHOR This idea is from L written by Marc Lehmann =cut sharing_detection-c.ri000064400000000535152401660330011014 0ustar00U:RDoc::Attr[iI"sharing_detection:ETI"PP::sharing_detection;TI"RW;T: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"') { ... };T: @format0: @fileI"lib/pp.rb;T:0@omit_headings_from_table_of_contents_below00I";T[I" (obj);T@FI"PPMethods;FcRDoc::NormalModule00PPMethods/pp_hash-i.ri000064400000000455152401660330010617 0ustar00U:RDoc::AnyMethod[iI" pp_hash:EFI"PP::PPMethods#pp_hash;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"A pretty print for a Hash;T: @fileI"lib/pp.rb;T:0@omit_headings_from_table_of_contents_below000[I" (obj);T@FI"PPMethods;FcRDoc::NormalModule00PPMethods/object_address_group-i.ri000064400000000620152401660330013356 0ustar00U:RDoc::AnyMethod[iI"object_address_group:EFI"'PP::PPMethods#object_address_group;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"NA convenience method, like object_group, but also reformats the Object's ;TI"object_id.;T: @fileI"lib/pp.rb;T:0@omit_headings_from_table_of_contents_below000[I"(obj, &block);T@FI"PPMethods;FcRDoc::NormalModule00PPMethods/seplist-i.ri000064400000002275152401660330010662 0ustar00U:RDoc::AnyMethod[iI" seplist:EFI"PP::PPMethods#seplist;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Adds a separated list. ;TI"EThe list is separated by comma with breakable space, by default.;To:RDoc::Markup::BlankLineo; ; [I"7#seplist iterates the +list+ using +iter_method+. ;TI", @group_queue=#], []]>, @buffer=[], @newline="\n", @group_stack=[#], @buffer_width=0, @indent=0, @maxwidth=79, @output_width=2, @output=#> ;T; 0o; ;[I"(Pretty-printed output returns this:;To; ;[I"#, ;TI" @group_queue= ;TI"+ #], ;TI" []]>, ;TI" @group_stack= ;TI"Q [#], ;TI" @indent=0, ;TI" @maxwidth=79, ;TI" @newline="\n", ;TI" @output=#, ;TI" @output_width=2> ;T; 0S; ;i;I" Usage;T@o; ;[ I"!pp(obj) #=> obj ;TI"!pp obj #=> obj ;TI"/pp(obj1, obj2, ...) #=> [obj1, obj2, ...] ;TI"!pp() #=> nil ;T; 0o; ;[I"DOutput obj(s) to $> in pretty printed format.;T@o; ;[I" It returns obj(s).;T@S; ;i;I"Output Customization;T@o; ;[I"GTo define a customized pretty printing function for your classes, ;TI"Aredefine method #pretty_print(pp) in the class.;T@o; ;[I"_#pretty_print takes the +pp+ argument, which is an instance of the PP class. ;TI"KThe method uses #text, #breakable, #nest, #group and #pp to print the ;TI" object.;T@S; ;i;I"Pretty-Print JSON;T@o; ;[I"8To pretty-print JSON refer to JSON#pretty_generate.;T@S; ;i;I" Author;To; ;[I" Tanaka Akira ;T: @fileI"lib/pp.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[[ I"sharing_detection;TI"RW;T: publicTI"lib/pp.rb;T[[[I"PPMethods;To;;[;@W;0@\[[I" class;T[[;[[I"pp;F@\[I"singleline_pp;F@\[:protected[[: private[[I" instance;T[[;[[;[[;[[[U:RDoc::Context::Section[i0o;;[;0;0[@W@WcRDoc::TopLevelsingleline_pp-c.ri000064400000000647152401660330010157 0ustar00U:RDoc::AnyMethod[iI"singleline_pp:EFI"PP::singleline_pp;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I">Outputs +obj+ to +out+ like PP.pp but with no indent and ;TI" newline.;To:RDoc::Markup::BlankLineo; ; [I"$PP.singleline_pp returns +out+.;T: @fileI"lib/pp.rb;T:0@omit_headings_from_table_of_contents_below000[I"(obj, out=$>);T@FI"PP;TcRDoc::NormalClass00pp-c.ri000064400000001011152401660330005730 0ustar00U:RDoc::AnyMethod[iI"pp:EFI" PP::pp;TT: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"8Outputs +obj+ to +out+ in pretty printed format of ;TI"+width+ columns in width.;To:RDoc::Markup::BlankLineo; ; [I"6If +out+ is omitted, $> is assumed. ;TI"*If +width+ is omitted, 79 is assumed.;T@o; ; [I"PP.pp returns +out+.;T: @fileI"lib/pp.rb;T:0@omit_headings_from_table_of_contents_below000[I"(obj, out=$>, width=79);T@FI"PP;TcRDoc::NormalClass00sharing_detection%3d-c.ri000064400000000474152401660330011312 0ustar00U:RDoc::AnyMethod[iI"sharing_detection=:ETI"PP::sharing_detection=;TT: privateo:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"*Sets the sharing detection flag to b.;T: @fileI"lib/pp.rb;T:0@omit_headings_from_table_of_contents_below000[I"(b);T@FI"PP;TcRDoc::NormalClass00