ju9Y2ߍz#u*J̵u<$Y9\CݒrCܸ]&xc&Ik 8'5Jr%?]C˨/9{U]J+} CJ"4Ytz>T#@85UiPڃUpQ&_>aFSӿ0B1ݾ"R]R*IKo@}}(.rCXSD%@¥f:#s\B4)fB[ܒKG@T(f+J/4|* $Iq5ӈ |+yGm\J$Xa܊6#-_D:44w2I"+i9ҖS[pUEYaBG@ZPEs k]"4o!RE$?"ҶweY6- Utd(:AZ*&u[9)šMIRcΪL(};X⢩`r>g 6A@) ƹBuՄW܈̊ &w$n}gH>FGR?c >u?/;G 1_2lnqTP.S{{K:2H7dì[" z ԍ:.gL(KO<"AӺjeƁr!ɝzط=.u`PSbkQVթbM*&hp4͙.V(kDN}DNGC9Fw0FɄE2rJ '^{r =?|:ŧ2YG6&7@$Cu:[!<3:h1 :$?kcP, %D^`P8x%DN* ,h7DEo lXsC>4JQvAT\`\C`<5Ly%N5<D86!ņUeO<a!j3J (@Z 1"0'jBMPZg 5sY;n.W.Ͼ/'?OPhC rh4@nJ87brB&&V`w,N5*O Q Pk ~-ؽ MU|:cc(w 5>&|o⪢0)Qb+Xʵ.'*H{Z9M$}@)ߓ'' ,G/9ը^Kz~M}BrvqrG+0`qIesSrF_.Ox|<C (YKs8P zf[ -^}*إ ~b*OR;&"#'L# D넗* UhkyAA;#/!pg#{MZ5q֝Mq+E]`7j1ʝYn7!dTVjcT S!I=tO5&Iit质6U yokҟuAsT*#b&MS7T>4QE&t_Im<)*~xdTrDvUDH=ד^ `ҖNFSФ:A\aFS(tNܡCXUsXG!D=k's`SݘIM;.|^Ú ,~ Dg[mT;-a><w5j{gZXrK5prBH)=v1@f(EuV1*6T}P&>$tvG|m5{VUZѹ5L~oL WTTLH 8/AG{&Xkk+fe'M.|Ҡ'[Cj"+ȁZsT%LsjvAe,|:GXиoCD3PV\3$$ٶM=fP>kk(]ICUDo7dh #n6^]\;ӌeBX[Z0;_]!PkxԬ &Q!+czݐ8q"6TP'CiK482vȳ}s; ;eИń^ט|,&MM-4E SEYĭ[ΡC-x}5pzfы dj]+rMJLbt%<6tIsV?m>8|UP3T[lWZr4DD:b/^L_9tPug}LO=A3㡤>'%Z2ʠPDpQjҰ~g+_?̦Bɯ^K&Y:MvrѼل5Tb;4/~wT ;$ ri/1.8/system/REXML/UndefinedNamespaceException/new-c.yaml 0000644 00000000324 15217654522 0017201 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::UndefinedNamespaceException::new is_singleton: true name: new params: ( prefix, source, parser ) visibility: public ri/1.8/system/REXML/UndefinedNamespaceException/cdesc-UndefinedNamespaceException.yaml 0000644 00000000435 15217654522 0024647 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::UndefinedNamespaceException includes: [] instance_methods: [] name: UndefinedNamespaceException superclass: ParseException ri/1.8/system/REXML/Output/new-c.yaml 0000644 00000000301 15217654522 0013077 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Output::new is_singleton: true name: new params: (real_IO, encd="iso-8859-1") visibility: public ri/1.8/system/REXML/Output/to_s-i.yaml 0000644 00000000251 15217654522 0013264 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Output#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/REXML/Output/%3c%3c-i.yaml 0000644 00000000260 15217654522 0013165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Output#<< is_singleton: false name: "<<" params: ( content ) visibility: public ri/1.8/system/REXML/Output/cdesc-Output.yaml 0000644 00000000667 15217654522 0014464 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: encoding rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::Output includes: - !ruby/object:RI::IncludedModule name: Encoding instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: to_s name: Output superclass: Object ri/1.8/system/REXML/Entity/new-c.yaml 0000644 00000001556 15217654522 0013070 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Create a new entity. Simple entities can be constructed by passing a name, value to the constructor; this creates a generic, plain entity reference. For anything more complicated, you have to pass a Source to the constructor with the entity definiton, or use the accessor methods. WARNING: There is no validation of entity state except when the entity is read from a stream. If you start poking around with the accessors, you can easily create a non-conformant Entity. The best thing to do is dump the stupid DTDs and use XMLSchema instead." - !ruby/struct:SM::Flow::VERB body: " e = Entity.new( 'amp', '&' )\n" full_name: REXML::Entity::new is_singleton: true name: new params: (stream, value=nil, parent=nil, reference=false) visibility: public ri/1.8/system/REXML/Entity/to_s-i.yaml 0000644 00000000373 15217654522 0013245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns this entity as a string. See write(). full_name: REXML::Entity#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/REXML/Entity/unnormalized-i.yaml 0000644 00000000650 15217654522 0015006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evaluates to the unnormalized value of this entity; that is, replacing all entities -- both %ent; and &ent; entities. This differs from +value()+ in that value only replaces %ent; entities. full_name: REXML::Entity#unnormalized is_singleton: false name: unnormalized params: () visibility: public ri/1.8/system/REXML/Entity/normalized-i.yaml 0000644 00000000542 15217654522 0014443 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the value of this entity unprocessed -- raw. This is the normalized value; that is, with all %ent; and &ent; entities intact full_name: REXML::Entity#normalized is_singleton: false name: normalized params: () visibility: public ri/1.8/system/REXML/Entity/write-i.yaml 0000644 00000001157 15217654522 0013434 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Write out a fully formed, correct entity definition (assuming the Entity object itself is valid.) - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "out:" body: An object implementing <TT><<<TT> to which the entity will be output - !ruby/struct:SM::Flow::LI label: "indent:" body: DEPRECATED and ignored type: :NOTE full_name: REXML::Entity#write is_singleton: false name: write params: (out, indent=-1) visibility: public ri/1.8/system/REXML/Entity/matches%3f-c.yaml 0000644 00000000506 15217654522 0014213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evaluates whether the given string matchs an entity definition, returning true if so, and false otherwise. full_name: REXML::Entity::matches? is_singleton: true name: matches? params: (string) visibility: public ri/1.8/system/REXML/Entity/cdesc-Entity.yaml 0000644 00000004775 15217654522 0014420 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: external rw: R - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: ndata rw: R - !ruby/object:RI::Attribute comment: name: pubid rw: R - !ruby/object:RI::Attribute comment: name: ref rw: R class_methods: - !ruby/object:RI::MethodSummary name: matches? - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: God, I hate DTDs. I really do. Why this idiot standard still plagues us is beyond me. constants: - !ruby/object:RI::Constant comment: name: PUBIDCHAR value: "\"\\x20\\x0D\\x0Aa-zA-Z0-9\\\\-()+,./:=?;!*@$_%#\"" - !ruby/object:RI::Constant comment: name: SYSTEMLITERAL value: "%Q{((?:\"[^\"]*\")|(?:'[^']*'))}" - !ruby/object:RI::Constant comment: name: PUBIDLITERAL value: "%Q{(\"[#{PUBIDCHAR}']*\"|'[#{PUBIDCHAR}]*')}" - !ruby/object:RI::Constant comment: name: EXTERNALID value: "\"(?:(?:(SYSTEM)\\\\s+#{SYSTEMLITERAL})|(?:(PUBLIC)\\\\s+#{PUBIDLITERAL}\\\\s+#{SYSTEMLITERAL}))\"" - !ruby/object:RI::Constant comment: name: NDATADECL value: "\"\\\\s+NDATA\\\\s+#{NAME}\"" - !ruby/object:RI::Constant comment: name: PEREFERENCE value: "\"%#{NAME};\"" - !ruby/object:RI::Constant comment: name: ENTITYVALUE value: "%Q{((?:\"(?:[^%&\"]|#{PEREFERENCE}|#{REFERENCE})*\")|(?:'([^%&']|#{PEREFERENCE}|#{REFERENCE})*'))}" - !ruby/object:RI::Constant comment: name: PEDEF value: "\"(?:#{ENTITYVALUE}|#{EXTERNALID})\"" - !ruby/object:RI::Constant comment: name: ENTITYDEF value: "\"(?:#{ENTITYVALUE}|(?:#{EXTERNALID}(#{NDATADECL})?))\"" - !ruby/object:RI::Constant comment: name: PEDECL value: "\"\"" - !ruby/object:RI::Constant comment: name: GEDECL value: "\"\"" - !ruby/object:RI::Constant comment: name: ENTITYDECL value: /\s*(?:#{GEDECL})|(?:#{PEDECL})/um - !ruby/object:RI::Constant comment: name: PEREFERENCE_RE value: /#{PEREFERENCE}/um full_name: REXML::Entity includes: - !ruby/object:RI::IncludedModule name: XMLTokens instance_methods: - !ruby/object:RI::MethodSummary name: normalized - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: unnormalized - !ruby/object:RI::MethodSummary name: value - !ruby/object:RI::MethodSummary name: write name: Entity superclass: Child ri/1.8/system/REXML/Entity/value-i.yaml 0000644 00000001276 15217654522 0013420 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns the value of this entity. At the moment, only internal entities are processed. If the value contains internal references (IE, %blah;), those are replaced with their values. IE, if the doctype contains:" - !ruby/struct:SM::Flow::VERB body: " <!ENTITY % foo "bar">\n <!ENTITY yada "nanoo %foo; nanoo>\n" - !ruby/struct:SM::Flow::P body: "then:" - !ruby/struct:SM::Flow::VERB body: " doctype.entity('yada').value #-> "nanoo bar nanoo"\n" full_name: REXML::Entity#value is_singleton: false name: value params: () visibility: public ri/1.8/system/REXML/cdesc-REXML.yaml 0000644 00000001757 15217654522 0012554 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: entity_expansion_text_limit - !ruby/object:RI::MethodSummary name: entity_expansion_text_limit= comment: - !ruby/struct:SM::Flow::P body: This class was contributed by Mikko Tiihonen mikko DOT tiihonen AT hut DOT fi constants: - !ruby/object:RI::Constant comment: name: COPYRIGHT value: "\"Copyright \\xC2\\xA9 2001-2006 Sean Russell \"" - !ruby/object:RI::Constant comment: name: VERSION value: "\"3.1.7.3\"" - !ruby/object:RI::Constant comment: name: DATE value: "\"2007/275\"" - !ruby/object:RI::Constant comment: name: REVISION value: "\"$Revision: 40812 $\".gsub(/\\$Revision:|\\$/,'').strip" - !ruby/object:RI::Constant comment: name: Copyright value: COPYRIGHT - !ruby/object:RI::Constant comment: name: Version value: VERSION full_name: REXML includes: [] instance_methods: [] name: REXML superclass: ri/1.8/system/REXML/ElementDecl/new-c.yaml 0000644 00000000261 15217654522 0013765 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::ElementDecl::new is_singleton: true name: new params: ( src ) visibility: public ri/1.8/system/REXML/ElementDecl/cdesc-ElementDecl.yaml 0000644 00000000372 15217654522 0016217 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::ElementDecl includes: [] instance_methods: [] name: ElementDecl superclass: Declaration ri/1.8/system/REXML/AttlistDecl/new-c.yaml 0000644 00000001051 15217654522 0014016 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create an AttlistDecl, pulling the information from a Source. Notice that this isn't very convenient; to create an AttlistDecl, you basically have to format it yourself, and then have the initializer parse it. Sorry, but for the forseeable future, DTD support in REXML is pretty weak on convenience. Have I mentioned how much I hate DTDs? full_name: REXML::AttlistDecl::new is_singleton: true name: new params: (source) visibility: public ri/1.8/system/REXML/AttlistDecl/%5b%5d-i.yaml 0000644 00000000520 15217654522 0014104 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Access the attlist attribute/value pairs. - !ruby/struct:SM::Flow::VERB body: " value = attlist_decl[ attribute_name ]\n" full_name: REXML::AttlistDecl#[] is_singleton: false name: "[]" params: (key) visibility: public ri/1.8/system/REXML/AttlistDecl/write-i.yaml 0000644 00000000404 15217654522 0014366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Write out exactly what we got in. full_name: REXML::AttlistDecl#write is_singleton: false name: write params: (out, indent=-1) visibility: public ri/1.8/system/REXML/AttlistDecl/each-i.yaml 0000644 00000000544 15217654522 0014141 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Iterate over the key/value pairs:" - !ruby/struct:SM::Flow::VERB body: " attlist_decl.each { |attribute_name, attribute_value| ... }\n" full_name: REXML::AttlistDecl#each is_singleton: false name: each params: (&block) visibility: public ri/1.8/system/REXML/AttlistDecl/node_type-i.yaml 0000644 00000000270 15217654522 0015223 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::AttlistDecl#node_type is_singleton: false name: node_type params: () visibility: public ri/1.8/system/REXML/AttlistDecl/cdesc-AttlistDecl.yaml 0000644 00000002706 15217654522 0016310 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: What is this? Got me. name: element_name rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "This class needs:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Documentation - !ruby/struct:SM::Flow::LI label: "*" body: Work! Not all types of attlists are intelligently parsed, so we just type: :BULLET - !ruby/struct:SM::Flow::P body: spew back out what we get in. This works, but it would be better if we formatted the output ourselves. - !ruby/struct:SM::Flow::P body: AttlistDecls provide just enough support to allow namespace declarations. If you need some sort of generalized support, or have an interesting idea about how to map the hideous, terrible design of DTD AttlistDecls onto an intuitive Ruby interface, let me know. I'm desperate for anything to make DTDs more palateable. constants: [] full_name: REXML::AttlistDecl includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: include? - !ruby/object:RI::MethodSummary name: node_type - !ruby/object:RI::MethodSummary name: write name: AttlistDecl superclass: Child ri/1.8/system/REXML/AttlistDecl/include%3f-i.yaml 0000644 00000000602 15217654522 0015155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Whether an attlist declaration includes the given attribute definition - !ruby/struct:SM::Flow::VERB body: " if attlist_decl.include? "xmlns:foobar"\n" full_name: REXML::AttlistDecl#include? is_singleton: false name: include? params: (key) visibility: public ri/1.8/system/REXML/Encoding/encode_sjis-i.yaml 0000644 00000000300 15217654522 0015026 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Encoding#encode_sjis is_singleton: false name: encode_sjis params: (content) visibility: public ri/1.8/system/REXML/Encoding/decode_utf16-i.yaml 0000644 00000000276 15217654522 0015025 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Encoding#decode_utf16 is_singleton: false name: decode_utf16 params: (str) visibility: public ri/1.8/system/REXML/Encoding/encode_unile-i.yaml 0000644 00000000302 15217654522 0015174 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Encoding#encode_unile is_singleton: false name: encode_unile params: (content) visibility: public ri/1.8/system/REXML/Encoding/check_encoding-i.yaml 0000644 00000000302 15217654522 0015466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Encoding#check_encoding is_singleton: false name: check_encoding params: (str) visibility: public ri/1.8/system/REXML/Encoding/encode_iconv-i.yaml 0000644 00000000302 15217654522 0015176 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Encoding#encode_iconv is_singleton: false name: encode_iconv params: (content) visibility: public ri/1.8/system/REXML/Encoding/decode_cp1252-i.yaml 0000644 00000000365 15217654522 0014773 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert to UTF-8 full_name: REXML::Encoding#decode_cp1252 is_singleton: false name: decode_cp1252 params: (str) visibility: public ri/1.8/system/REXML/Encoding/encoding%3d-i.yaml 0000644 00000000272 15217654522 0014633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Encoding#encoding= is_singleton: false name: encoding= params: ( enc ) visibility: public ri/1.8/system/REXML/Encoding/encode_ascii-i.yaml 0000644 00000000371 15217654522 0015156 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert from UTF-8 full_name: REXML::Encoding#encode_ascii is_singleton: false name: encode_ascii params: (content) visibility: public ri/1.8/system/REXML/Encoding/encode_eucjp-i.yaml 0000644 00000000302 15217654522 0015166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Encoding#encode_eucjp is_singleton: false name: encode_eucjp params: (content) visibility: public ri/1.8/system/REXML/Encoding/to_iso_8859_15-i.yaml 0000644 00000000375 15217654522 0015053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert from UTF-8 full_name: REXML::Encoding#to_iso_8859_15 is_singleton: false name: to_iso_8859_15 params: (content) visibility: public ri/1.8/system/REXML/Encoding/cdesc-Encoding.yaml 0000644 00000004631 15217654522 0015133 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: ID ---> Encoding name name: encoding rw: R class_methods: - !ruby/object:RI::MethodSummary name: apply - !ruby/object:RI::MethodSummary name: encoding_method - !ruby/object:RI::MethodSummary name: register comment: constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Native, default format is UTF-8, so it is declared here rather than in an encodings/ definition. name: UTF_8 value: "'UTF-8'" - !ruby/object:RI::Constant comment: name: UTF_16 value: "'UTF-16'" - !ruby/object:RI::Constant comment: name: UNILE value: "'UNILE'" - !ruby/object:RI::Constant comment: name: SJISTOU8 value: "'-Swm0x'" - !ruby/object:RI::Constant comment: name: U8TOSJIS value: "'-Wsm0x'" - !ruby/object:RI::Constant comment: name: EUCTOU8 value: "'-Ewm0'" - !ruby/object:RI::Constant comment: name: U8TOEUC value: "'-Wem0'" full_name: REXML::Encoding includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: check_encoding - !ruby/object:RI::MethodSummary name: decode_ascii - !ruby/object:RI::MethodSummary name: decode_cp1252 - !ruby/object:RI::MethodSummary name: decode_eucjp - !ruby/object:RI::MethodSummary name: decode_eucjp - !ruby/object:RI::MethodSummary name: decode_iconv - !ruby/object:RI::MethodSummary name: decode_sjis - !ruby/object:RI::MethodSummary name: decode_sjis - !ruby/object:RI::MethodSummary name: decode_unile - !ruby/object:RI::MethodSummary name: decode_utf16 - !ruby/object:RI::MethodSummary name: decode_utf8 - !ruby/object:RI::MethodSummary name: encode_ascii - !ruby/object:RI::MethodSummary name: encode_cp1252 - !ruby/object:RI::MethodSummary name: encode_eucjp - !ruby/object:RI::MethodSummary name: encode_eucjp - !ruby/object:RI::MethodSummary name: encode_iconv - !ruby/object:RI::MethodSummary name: encode_sjis - !ruby/object:RI::MethodSummary name: encode_sjis - !ruby/object:RI::MethodSummary name: encode_unile - !ruby/object:RI::MethodSummary name: encode_utf16 - !ruby/object:RI::MethodSummary name: encode_utf8 - !ruby/object:RI::MethodSummary name: encoding= - !ruby/object:RI::MethodSummary name: from_iso_8859_15 - !ruby/object:RI::MethodSummary name: to_iso_8859_15 name: Encoding superclass: ri/1.8/system/REXML/Encoding/decode_sjis-i.yaml 0000644 00000000274 15217654522 0015026 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Encoding#decode_sjis is_singleton: false name: decode_sjis params: (str) visibility: public ri/1.8/system/REXML/Encoding/decode_utf8-i.yaml 0000644 00000000274 15217654522 0014744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Encoding#decode_utf8 is_singleton: false name: decode_utf8 params: (str) visibility: public ri/1.8/system/REXML/Encoding/decode_eucjp-i.yaml 0000644 00000000276 15217654522 0015166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Encoding#decode_eucjp is_singleton: false name: decode_eucjp params: (str) visibility: public ri/1.8/system/REXML/Encoding/from_iso_8859_15-i.yaml 0000644 00000000373 15217654522 0015372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert to UTF-8 full_name: REXML::Encoding#from_iso_8859_15 is_singleton: false name: from_iso_8859_15 params: (str) visibility: public ri/1.8/system/REXML/Encoding/encode_utf8-i.yaml 0000644 00000000300 15217654522 0014744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Encoding#encode_utf8 is_singleton: false name: encode_utf8 params: (content) visibility: public ri/1.8/system/REXML/Encoding/encode_utf16-i.yaml 0000644 00000000302 15217654522 0015025 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Encoding#encode_utf16 is_singleton: false name: encode_utf16 params: (content) visibility: public ri/1.8/system/REXML/Encoding/decode_unile-i.yaml 0000644 00000000276 15217654522 0015174 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Encoding#decode_unile is_singleton: false name: decode_unile params: (str) visibility: public ri/1.8/system/REXML/Encoding/encode_cp1252-i.yaml 0000644 00000000373 15217654522 0015004 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert from UTF-8 full_name: REXML::Encoding#encode_cp1252 is_singleton: false name: encode_cp1252 params: (content) visibility: public ri/1.8/system/REXML/Encoding/decode_iconv-i.yaml 0000644 00000000276 15217654522 0015176 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Encoding#decode_iconv is_singleton: false name: decode_iconv params: (str) visibility: public ri/1.8/system/REXML/Encoding/register-c.yaml 0000644 00000000276 15217654522 0014373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Encoding::register is_singleton: true name: register params: (enc, &block) visibility: public ri/1.8/system/REXML/Encoding/decode_ascii-i.yaml 0000644 00000000363 15217654522 0015145 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert to UTF-8 full_name: REXML::Encoding#decode_ascii is_singleton: false name: decode_ascii params: (str) visibility: public ri/1.8/system/REXML/Encoding/apply-c.yaml 0000644 00000000265 15217654522 0013672 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Encoding::apply is_singleton: true name: apply params: (obj, enc) visibility: public ri/1.8/system/REXML/Encoding/encoding_method-c.yaml 0000644 00000000304 15217654522 0015665 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Encoding::encoding_method is_singleton: true name: encoding_method params: (enc) visibility: public ri/1.8/system/REXML/Functions/variables-c.yaml 0000644 00000000266 15217654522 0014740 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::variables is_singleton: true name: variables params: () visibility: public ri/1.8/system/REXML/Functions/namespace_context-c.yaml 0000644 00000000306 15217654522 0016463 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::namespace_context is_singleton: true name: namespace_context params: () visibility: public ri/1.8/system/REXML/Functions/variables%3d-c.yaml 0000644 00000000271 15217654522 0015230 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::variables= is_singleton: true name: variables= params: (x) visibility: public ri/1.8/system/REXML/Functions/compare_language-c.yaml 0000644 00000000320 15217654522 0016250 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::compare_language is_singleton: true name: compare_language params: (lang1, lang2) visibility: public ri/1.8/system/REXML/Functions/text-c.yaml 0000644 00000000255 15217654522 0013752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::text is_singleton: true name: text params: ( ) visibility: public ri/1.8/system/REXML/Functions/count-c.yaml 0000644 00000000270 15217654522 0014113 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::count is_singleton: true name: count params: ( node_set ) visibility: public ri/1.8/system/REXML/Functions/string_length-c.yaml 0000644 00000000363 15217654522 0015635 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: UNTESTED full_name: REXML::Functions::string_length is_singleton: true name: string_length params: ( string ) visibility: public ri/1.8/system/REXML/Functions/string-c.yaml 0000644 00000003760 15217654522 0014300 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: A node-set is converted to a string by returning the string-value of the node in the node-set that is first in document order. If the node-set is empty, an empty string is returned. - !ruby/struct:SM::Flow::P body: A number is converted to a string as follows - !ruby/struct:SM::Flow::P body: NaN is converted to the string NaN - !ruby/struct:SM::Flow::P body: positive zero is converted to the string 0 - !ruby/struct:SM::Flow::P body: negative zero is converted to the string 0 - !ruby/struct:SM::Flow::P body: positive infinity is converted to the string Infinity - !ruby/struct:SM::Flow::P body: negative infinity is converted to the string -Infinity - !ruby/struct:SM::Flow::P body: if the number is an integer, the number is represented in decimal form as a Number with no decimal point and no leading zeros, preceded by a minus sign (-) if the number is negative - !ruby/struct:SM::Flow::P body: otherwise, the number is represented in decimal form as a Number including a decimal point with at least one digit before the decimal point and at least one digit after the decimal point, preceded by a minus sign (-) if the number is negative; there must be no leading zeros before the decimal point apart possibly from the one required digit immediately before the decimal point; beyond the one required digit after the decimal point there must be as many, but only as many, more digits as are needed to uniquely distinguish the number from all other IEEE 754 numeric values. - !ruby/struct:SM::Flow::P body: The boolean false value is converted to the string false. The boolean true value is converted to the string true. - !ruby/struct:SM::Flow::P body: An object of a type other than the four basic types is converted to a string in a way that is dependent on that type. full_name: REXML::Functions::string is_singleton: true name: string params: ( object=nil ) visibility: public ri/1.8/system/REXML/Functions/round-c.yaml 0000644 00000000266 15217654522 0014117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::round is_singleton: true name: round params: ( number ) visibility: public ri/1.8/system/REXML/Functions/sum-c.yaml 0000644 00000000261 15217654522 0013567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::sum is_singleton: true name: sum params: ( nodes ) visibility: public ri/1.8/system/REXML/Functions/boolean-c.yaml 0000644 00000000353 15217654522 0014404 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: UNTESTED full_name: REXML::Functions::boolean is_singleton: true name: boolean params: ( object=nil ) visibility: public ri/1.8/system/REXML/Functions/substring_before-c.yaml 0000644 00000000410 15217654522 0016321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Kouhei fixed this full_name: REXML::Functions::substring_before is_singleton: true name: substring_before params: ( string, test ) visibility: public ri/1.8/system/REXML/Functions/false-c.yaml 0000644 00000000336 15217654522 0014060 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: UNTESTED full_name: REXML::Functions::false is_singleton: true name: "false" params: ( ) visibility: public ri/1.8/system/REXML/Functions/name-c.yaml 0000644 00000000272 15217654522 0013705 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::name is_singleton: true name: name params: ( node_set=nil ) visibility: public ri/1.8/system/REXML/Functions/number-c.yaml 0000644 00000001707 15217654522 0014261 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: a string that consists of optional whitespace followed by an optional minus sign followed by a Number followed by whitespace is converted to the IEEE 754 number that is nearest (according to the IEEE 754 round-to-nearest rule) to the mathematical value represented by the string; any other string is converted to NaN - !ruby/struct:SM::Flow::P body: boolean true is converted to 1; boolean false is converted to 0 - !ruby/struct:SM::Flow::P body: a node-set is first converted to a string as if by a call to the string function and then converted in the same way as a string argument - !ruby/struct:SM::Flow::P body: an object of a type other than the four basic types is converted to a number in a way that is dependent on that type full_name: REXML::Functions::number is_singleton: true name: number params: ( object=nil ) visibility: public ri/1.8/system/REXML/Functions/substring-c.yaml 0000644 00000000554 15217654522 0015010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Take equal portions of Mike Stok and Sean Russell; mix vigorously, and pour into a tall, chilled glass. Serves 10,000. full_name: REXML::Functions::substring is_singleton: true name: substring params: ( string, start, length=nil ) visibility: public ri/1.8/system/REXML/Functions/context%3d-c.yaml 0000644 00000000271 15217654522 0014744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::context= is_singleton: true name: context= params: (value) visibility: public ri/1.8/system/REXML/Functions/processing_instruction-c.yaml 0000644 00000000326 15217654522 0017602 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::processing_instruction is_singleton: true name: processing_instruction params: ( node ) visibility: public ri/1.8/system/REXML/Functions/lang-c.yaml 0000644 00000000343 15217654522 0013705 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: UNTESTED full_name: REXML::Functions::lang is_singleton: true name: lang params: ( language ) visibility: public ri/1.8/system/REXML/Functions/normalize_space-c.yaml 0000644 00000000373 15217654522 0016142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: UNTESTED full_name: REXML::Functions::normalize_space is_singleton: true name: normalize_space params: ( string=nil ) visibility: public ri/1.8/system/REXML/Functions/method_missing-c.yaml 0000644 00000000304 15217654522 0015772 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::method_missing is_singleton: true name: method_missing params: ( id ) visibility: public ri/1.8/system/REXML/Functions/substring_after-c.yaml 0000644 00000000412 15217654522 0016162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Kouhei fixed this too full_name: REXML::Functions::substring_after is_singleton: true name: substring_after params: ( string, test ) visibility: public ri/1.8/system/REXML/Functions/translate-c.yaml 0000644 00000000417 15217654522 0014763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This is entirely Mike Stok's beast full_name: REXML::Functions::translate is_singleton: true name: translate params: ( string, tr1, tr2 ) visibility: public ri/1.8/system/REXML/Functions/namespace_uri-c.yaml 0000644 00000000314 15217654522 0015575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::namespace_uri is_singleton: true name: namespace_uri params: ( node_set=nil ) visibility: public ri/1.8/system/REXML/Functions/not-c.yaml 0000644 00000000337 15217654522 0013567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: UNTESTED full_name: REXML::Functions::not is_singleton: true name: not params: ( object ) visibility: public ri/1.8/system/REXML/Functions/ceiling-c.yaml 0000644 00000000272 15217654522 0014377 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::ceiling is_singleton: true name: ceiling params: ( number ) visibility: public ri/1.8/system/REXML/Functions/floor-c.yaml 0000644 00000000266 15217654522 0014111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::floor is_singleton: true name: floor params: ( number ) visibility: public ri/1.8/system/REXML/Functions/starts_with-c.yaml 0000644 00000000377 15217654522 0015346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Fixed by Mike Stok full_name: REXML::Functions::starts_with is_singleton: true name: starts_with params: ( string, test ) visibility: public ri/1.8/system/REXML/Functions/local_name-c.yaml 0000644 00000000363 15217654522 0015060 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: UNTESTED full_name: REXML::Functions::local_name is_singleton: true name: local_name params: ( node_set=nil ) visibility: public ri/1.8/system/REXML/Functions/contains-c.yaml 0000644 00000000371 15217654522 0014603 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Fixed by Mike Stok full_name: REXML::Functions::contains is_singleton: true name: contains params: ( string, test ) visibility: public ri/1.8/system/REXML/Functions/true-c.yaml 0000644 00000000334 15217654522 0013743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: UNTESTED full_name: REXML::Functions::true is_singleton: true name: "true" params: ( ) visibility: public ri/1.8/system/REXML/Functions/string_value-c.yaml 0000644 00000000277 15217654522 0015474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::string_value is_singleton: true name: string_value params: ( o ) visibility: public ri/1.8/system/REXML/Functions/id-c.yaml 0000644 00000000447 15217654522 0013365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Since REXML is non-validating, this method is not implemented as it requires a DTD full_name: REXML::Functions::id is_singleton: true name: id params: ( object ) visibility: public ri/1.8/system/REXML/Functions/concat-c.yaml 0000644 00000000347 15217654522 0014237 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: UNTESTED full_name: REXML::Functions::concat is_singleton: true name: concat params: ( *objects ) visibility: public ri/1.8/system/REXML/Functions/last-c.yaml 0000644 00000000255 15217654522 0013731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::last is_singleton: true name: last params: ( ) visibility: public ri/1.8/system/REXML/Functions/cdesc-Functions.yaml 0000644 00000005132 15217654522 0015574 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: boolean - !ruby/object:RI::MethodSummary name: ceiling - !ruby/object:RI::MethodSummary name: compare_language - !ruby/object:RI::MethodSummary name: concat - !ruby/object:RI::MethodSummary name: contains - !ruby/object:RI::MethodSummary name: context= - !ruby/object:RI::MethodSummary name: count - !ruby/object:RI::MethodSummary name: "false" - !ruby/object:RI::MethodSummary name: floor - !ruby/object:RI::MethodSummary name: get_namespace - !ruby/object:RI::MethodSummary name: id - !ruby/object:RI::MethodSummary name: lang - !ruby/object:RI::MethodSummary name: last - !ruby/object:RI::MethodSummary name: local_name - !ruby/object:RI::MethodSummary name: method_missing - !ruby/object:RI::MethodSummary name: name - !ruby/object:RI::MethodSummary name: namespace_context - !ruby/object:RI::MethodSummary name: namespace_context= - !ruby/object:RI::MethodSummary name: namespace_uri - !ruby/object:RI::MethodSummary name: normalize_space - !ruby/object:RI::MethodSummary name: not - !ruby/object:RI::MethodSummary name: number - !ruby/object:RI::MethodSummary name: position - !ruby/object:RI::MethodSummary name: processing_instruction - !ruby/object:RI::MethodSummary name: round - !ruby/object:RI::MethodSummary name: starts_with - !ruby/object:RI::MethodSummary name: string - !ruby/object:RI::MethodSummary name: string_length - !ruby/object:RI::MethodSummary name: string_value - !ruby/object:RI::MethodSummary name: substring - !ruby/object:RI::MethodSummary name: substring_after - !ruby/object:RI::MethodSummary name: substring_before - !ruby/object:RI::MethodSummary name: sum - !ruby/object:RI::MethodSummary name: text - !ruby/object:RI::MethodSummary name: translate - !ruby/object:RI::MethodSummary name: "true" - !ruby/object:RI::MethodSummary name: variables - !ruby/object:RI::MethodSummary name: variables= comment: - !ruby/struct:SM::Flow::P body: "If you add a method, keep in mind two things: (1) the first argument will always be a list of nodes from which to filter. In the case of context methods (such as position), the function should return an array with a value for each child in the array. (2) all method calls from XML will have "-" replaced with "_". Therefore, in XML, "local-name()" is identical (and actually becomes) "local_name()"" constants: [] full_name: REXML::Functions includes: [] instance_methods: [] name: Functions superclass: ri/1.8/system/REXML/Functions/position-c.yaml 0000644 00000000265 15217654522 0014633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::position is_singleton: true name: position params: ( ) visibility: public ri/1.8/system/REXML/Functions/get_namespace-c.yaml 0000644 00000000572 15217654522 0015563 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "@@context[:node] if defined? @@context[:node].namespace" comment: - !ruby/struct:SM::Flow::P body: Helper method. full_name: REXML::Functions::get_namespace is_singleton: true name: get_namespace params: ( node_set = nil ) {|@@context[:node] if defined? @@context[:node].namespace| ...} visibility: public ri/1.8/system/REXML/Functions/namespace_context%3d-c.yaml 0000644 00000000311 15217654522 0016753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Functions::namespace_context= is_singleton: true name: namespace_context= params: (x) visibility: public ri/1.8/system/REXML/SAX2Listener/start_element-i.yaml 0000644 00000000342 15217654522 0016112 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::SAX2Listener#start_element is_singleton: false name: start_element params: (uri, localname, qname, attributes) visibility: public ri/1.8/system/REXML/SAX2Listener/end_prefix_mapping-i.yaml 0000644 00000000321 15217654522 0017077 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::SAX2Listener#end_prefix_mapping is_singleton: false name: end_prefix_mapping params: (prefix) visibility: public ri/1.8/system/REXML/SAX2Listener/processing_instruction-i.yaml 0000644 00000000337 15217654522 0020065 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::SAX2Listener#processing_instruction is_singleton: false name: processing_instruction params: (target, data) visibility: public ri/1.8/system/REXML/SAX2Listener/cdata-i.yaml 0000644 00000000471 15217654522 0014323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Called when <![CDATA[ ... ]]> is encountered in a document. @p content "..." full_name: REXML::SAX2Listener#cdata is_singleton: false name: cdata params: (content) visibility: public ri/1.8/system/REXML/SAX2Listener/comment-i.yaml 0000644 00000000454 15217654522 0014712 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Called when a comment is encountered. @p comment The content of the comment full_name: REXML::SAX2Listener#comment is_singleton: false name: comment params: (comment) visibility: public ri/1.8/system/REXML/SAX2Listener/progress-i.yaml 0000644 00000000277 15217654522 0015117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::SAX2Listener#progress is_singleton: false name: progress params: (position) visibility: public ri/1.8/system/REXML/SAX2Listener/cdesc-SAX2Listener.yaml 0000644 00000003556 15217654522 0016332 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: A template for stream parser listeners. Note that the declarations (attlistdecl, elementdecl, etc) are trivially processed; REXML doesn't yet handle doctype entity declarations, so you have to parse them out yourself. - !ruby/struct:SM::Flow::H level: 3 text: Missing methods from SAX2 - !ruby/struct:SM::Flow::VERB body: " ignorable_whitespace\n" - !ruby/struct:SM::Flow::H level: 3 text: Methods extending SAX2 - !ruby/struct:SM::Flow::P body: WARNING These methods are certainly going to change, until DTDs are fully supported. Be aware of this. - !ruby/struct:SM::Flow::VERB body: " start_document\n end_document\n doctype\n elementdecl\n attlistdecl\n entitydecl\n notationdecl\n cdata\n xmldecl\n comment\n" constants: [] full_name: REXML::SAX2Listener includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: attlistdecl - !ruby/object:RI::MethodSummary name: cdata - !ruby/object:RI::MethodSummary name: characters - !ruby/object:RI::MethodSummary name: comment - !ruby/object:RI::MethodSummary name: doctype - !ruby/object:RI::MethodSummary name: elementdecl - !ruby/object:RI::MethodSummary name: end_document - !ruby/object:RI::MethodSummary name: end_element - !ruby/object:RI::MethodSummary name: end_prefix_mapping - !ruby/object:RI::MethodSummary name: entitydecl - !ruby/object:RI::MethodSummary name: notationdecl - !ruby/object:RI::MethodSummary name: processing_instruction - !ruby/object:RI::MethodSummary name: progress - !ruby/object:RI::MethodSummary name: start_document - !ruby/object:RI::MethodSummary name: start_element - !ruby/object:RI::MethodSummary name: start_prefix_mapping - !ruby/object:RI::MethodSummary name: xmldecl name: SAX2Listener superclass: ri/1.8/system/REXML/SAX2Listener/entitydecl-i.yaml 0000644 00000003207 15217654522 0015413 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "<!ENTITY ...> The argument passed to this method is an array of the entity declaration. It can be in a number of formats, but in general it returns (example, result):" - !ruby/struct:SM::Flow::VERB body: " <!ENTITY % YN '"Yes"'>\n ["%", "YN", "'\\"Yes\\"'", "\\""]\n <!ENTITY % YN 'Yes'>\n ["%", "YN", "'Yes'", "s"]\n <!ENTITY WhatHeSaid "He said %YN;">\n ["WhatHeSaid", "\\"He said %YN;\\"", "YN"]\n <!ENTITY open-hatch SYSTEM "http://www.textuality.com/boilerplate/OpenHatch.xml">\n ["open-hatch", "SYSTEM", "\\"http://www.textuality.com/boilerplate/OpenHatch.xml\\""]\n <!ENTITY open-hatch PUBLIC "-//Textuality//TEXT Standard open-hatch boilerplate//EN" "http://www.textuality.com/boilerplate/OpenHatch.xml">\n ["open-hatch", "PUBLIC", "\\"-//Textuality//TEXT Standard open-hatch boilerplate//EN\\"", "\\"http://www.textuality.com/boilerplate/OpenHatch.xml\\""]\n <!ENTITY hatch-pic SYSTEM "../grafix/OpenHatch.gif" NDATA gif>\n ["hatch-pic", "SYSTEM", "\\"../grafix/OpenHatch.gif\\"", "\\n\\t\\t\\t\\t\\t\\t\\tNDATA gif", "gif"]\n" full_name: REXML::SAX2Listener#entitydecl is_singleton: false name: entitydecl params: (name, decl) visibility: public ri/1.8/system/REXML/SAX2Listener/end_element-i.yaml 0000644 00000000322 15217654522 0015521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::SAX2Listener#end_element is_singleton: false name: end_element params: (uri, localname, qname) visibility: public ri/1.8/system/REXML/SAX2Listener/end_document-i.yaml 0000644 00000000277 15217654522 0015717 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::SAX2Listener#end_document is_singleton: false name: end_document params: () visibility: public ri/1.8/system/REXML/SAX2Listener/attlistdecl-i.yaml 0000644 00000001040 15217654522 0015554 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "If a doctype includes an ATTLIST declaration, it will cause this method to be called. The content is the declaration itself, unparsed. EG, <!ATTLIST el attr CDATA #REQUIRED> will come to this method as "el attr CDATA #REQUIRED". This is the same for all of the .*decl methods." full_name: REXML::SAX2Listener#attlistdecl is_singleton: false name: attlistdecl params: (element, pairs, contents) visibility: public ri/1.8/system/REXML/SAX2Listener/characters-i.yaml 0000644 00000000277 15217654522 0015372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::SAX2Listener#characters is_singleton: false name: characters params: (text) visibility: public ri/1.8/system/REXML/SAX2Listener/notationdecl-i.yaml 0000644 00000000402 15217654522 0015724 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "<!NOTATION ...>" full_name: REXML::SAX2Listener#notationdecl is_singleton: false name: notationdecl params: (content) visibility: public ri/1.8/system/REXML/SAX2Listener/start_prefix_mapping-i.yaml 0000644 00000000332 15217654522 0017470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::SAX2Listener#start_prefix_mapping is_singleton: false name: start_prefix_mapping params: (prefix, uri) visibility: public ri/1.8/system/REXML/SAX2Listener/xmldecl-i.yaml 0000644 00000001147 15217654522 0014700 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Called when an XML PI is encountered in the document. EG: <?xml version="1.0" encoding="utf"?> @p version the version attribute value. EG, "1.0" @p encoding the encoding attribute value, or nil. EG, "utf" @p standalone the standalone attribute value, or nil. EG, nil @p spaced the declaration is followed by a line break" full_name: REXML::SAX2Listener#xmldecl is_singleton: false name: xmldecl params: (version, encoding, standalone) visibility: public ri/1.8/system/REXML/SAX2Listener/start_document-i.yaml 0000644 00000000303 15217654522 0016274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::SAX2Listener#start_document is_singleton: false name: start_document params: () visibility: public ri/1.8/system/REXML/SAX2Listener/doctype-i.yaml 0000644 00000001234 15217654522 0014714 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Handles a doctype declaration. Any attributes of the doctype which are not supplied will be nil. # EG, <!DOCTYPE me PUBLIC "foo" "bar"> @p name the name of the doctype; EG, "me" @p pub_sys "PUBLIC", "SYSTEM", or nil. EG, "PUBLIC" @p long_name the supplied long name, or nil. EG, "foo" @p uri the uri of the doctype, or nil. EG, "bar"" full_name: REXML::SAX2Listener#doctype is_singleton: false name: doctype params: (name, pub_sys, long_name, uri) visibility: public ri/1.8/system/REXML/SAX2Listener/elementdecl-i.yaml 0000644 00000000377 15217654522 0015535 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "<!ELEMENT ...>" full_name: REXML::SAX2Listener#elementdecl is_singleton: false name: elementdecl params: (content) visibility: public ri/1.8/system/REXML/XPathParser/first-i.yaml 0000644 00000000676 15217654522 0014363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Performs a depth-first (document order) XPath search, and returns the first match. This is the fastest, lightest way to return a single result. - !ruby/struct:SM::Flow::P body: "FIXME: This method is incomplete!" full_name: REXML::XPathParser#first is_singleton: false name: first params: ( path_stack, node ) visibility: public ri/1.8/system/REXML/XPathParser/descendant_or_self-i.yaml 0000644 00000000767 15217654522 0017056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "FIXME The next two methods are BAD MOJO! This is my achilles heel. If anybody thinks of a better way of doing this, be my guest. This really sucks, but it is a wonder it works at all. ########################################################" full_name: REXML::XPathParser#descendant_or_self is_singleton: false name: descendant_or_self params: ( path_stack, nodeset ) visibility: private ri/1.8/system/REXML/XPathParser/new-c.yaml 0000644 00000000255 15217654522 0014010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XPathParser::new is_singleton: true name: new params: ( ) visibility: public ri/1.8/system/REXML/XPathParser/preceding-i.yaml 0000644 00000001066 15217654522 0015166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Builds a nodeset of all of the preceding nodes of the supplied node, in reverse document order - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "preceding:" body: includes every element in the document that precedes this node, type: :NOTE - !ruby/struct:SM::Flow::P body: except for ancestors full_name: REXML::XPathParser#preceding is_singleton: false name: preceding params: ( node ) visibility: private ri/1.8/system/REXML/XPathParser/get_namespace-i.yaml 0000644 00000000742 15217654522 0016021 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns a String namespace for a node, given a prefix The rules are:" - !ruby/struct:SM::Flow::VERB body: " 1. Use the supplied namespace mapping first.\n 2. If no mapping was supplied, use the context node to look up the namespace\n" full_name: REXML::XPathParser#get_namespace is_singleton: false name: get_namespace params: ( node, prefix ) visibility: private ri/1.8/system/REXML/XPathParser/next_sibling_node-i.yaml 0000644 00000000315 15217654522 0016714 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XPathParser#next_sibling_node is_singleton: false name: next_sibling_node params: (node) visibility: private ri/1.8/system/REXML/XPathParser/variables%3d-i.yaml 0000644 00000000303 15217654522 0015463 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XPathParser#variables= is_singleton: false name: variables= params: ( vars={} ) visibility: public ri/1.8/system/REXML/XPathParser/cdesc-XPathParser.yaml 0000644 00000004231 15217654522 0016255 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: You don't want to use this class. Really. Use XPath, which is a wrapper for this class. Believe me. You don't want to poke around in here. There is strange, dark magic at work in this code. Beware. Go back! Go back while you still can! constants: - !ruby/object:RI::Constant comment: name: LITERAL value: /^'([^']*)'|^"([^"]*)"/u - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Expr takes a stack of path elements and a set of nodes (either a Parent or an Array and returns an Array of matching nodes name: ALL value: "[ :attribute, :element, :text, :processing_instruction, :comment ]" - !ruby/object:RI::Constant comment: name: ELEMENTS value: "[ :element ]" full_name: REXML::XPathParser includes: - !ruby/object:RI::IncludedModule name: XMLTokens instance_methods: - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: compare - !ruby/object:RI::MethodSummary name: d_o_s - !ruby/object:RI::MethodSummary name: descendant_or_self - !ruby/object:RI::MethodSummary name: document_order - !ruby/object:RI::MethodSummary name: equality_relational_compare - !ruby/object:RI::MethodSummary name: expr - !ruby/object:RI::MethodSummary name: first - !ruby/object:RI::MethodSummary name: following - !ruby/object:RI::MethodSummary name: following_node_of - !ruby/object:RI::MethodSummary name: get_first - !ruby/object:RI::MethodSummary name: get_namespace - !ruby/object:RI::MethodSummary name: match - !ruby/object:RI::MethodSummary name: namespaces= - !ruby/object:RI::MethodSummary name: next_sibling_node - !ruby/object:RI::MethodSummary name: norm - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: preceding - !ruby/object:RI::MethodSummary name: preceding_node_of - !ruby/object:RI::MethodSummary name: predicate - !ruby/object:RI::MethodSummary name: recurse - !ruby/object:RI::MethodSummary name: variables= name: XPathParser superclass: Object ri/1.8/system/REXML/XPathParser/get_first-i.yaml 0000644 00000000305 15217654522 0015207 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XPathParser#get_first is_singleton: false name: get_first params: (path, nodeset) visibility: public ri/1.8/system/REXML/XPathParser/%5b%5d%3d-i.yaml 0000644 00000000304 15217654522 0014365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XPathParser#[]= is_singleton: false name: "[]=" params: ( variable_name, value ) visibility: public ri/1.8/system/REXML/XPathParser/d_o_s-i.yaml 0000644 00000000273 15217654522 0014310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XPathParser#d_o_s is_singleton: false name: d_o_s params: ( p, ns, r ) visibility: private ri/1.8/system/REXML/XPathParser/following_node_of-i.yaml 0000644 00000000317 15217654522 0016715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XPathParser#following_node_of is_singleton: false name: following_node_of params: ( node ) visibility: private ri/1.8/system/REXML/XPathParser/parse-i.yaml 0000644 00000000275 15217654522 0014341 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XPathParser#parse is_singleton: false name: parse params: (path, nodeset) visibility: public ri/1.8/system/REXML/XPathParser/recurse-i.yaml 0000644 00000000327 15217654522 0014675 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: node comment: full_name: REXML::XPathParser#recurse is_singleton: false name: recurse params: ( nodeset, &block ) {|node| ...} visibility: private ri/1.8/system/REXML/XPathParser/preceding_node_of-i.yaml 0000644 00000000317 15217654522 0016655 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XPathParser#preceding_node_of is_singleton: false name: preceding_node_of params: ( node ) visibility: private ri/1.8/system/REXML/XPathParser/following-i.yaml 0000644 00000000277 15217654522 0015231 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XPathParser#following is_singleton: false name: following params: ( node ) visibility: private ri/1.8/system/REXML/XPathParser/document_order-i.yaml 0000644 00000001326 15217654522 0016236 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reorders an array of nodes so that they are in document order It tries to do this efficiently. - !ruby/struct:SM::Flow::P body: "FIXME: I need to get rid of this, but the issue is that most of the XPath interpreter functions as a filter, which means that we lose context going in and out of function calls. If I knew what the index of the nodes was, I wouldn't have to do this. Maybe add a document IDX for each node? Problems with mutable documents. Or, rewrite everything." full_name: REXML::XPathParser#document_order is_singleton: false name: document_order params: ( array_of_nodes ) visibility: private ri/1.8/system/REXML/XPathParser/norm-i.yaml 0000644 00000000260 15217654522 0014174 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XPathParser#norm is_singleton: false name: norm params: (b) visibility: private ri/1.8/system/REXML/XPathParser/predicate-i.yaml 0000644 00000000305 15217654522 0015161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XPathParser#predicate is_singleton: false name: predicate params: (path, nodeset) visibility: public ri/1.8/system/REXML/XPathParser/compare-i.yaml 0000644 00000000275 15217654522 0014655 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XPathParser#compare is_singleton: false name: compare params: (a, op, b) visibility: private ri/1.8/system/REXML/XPathParser/equality_relational_compare-i.yaml 0000644 00000000355 15217654522 0021003 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XPathParser#equality_relational_compare is_singleton: false name: equality_relational_compare params: ( set1, op, set2 ) visibility: private ri/1.8/system/REXML/XPathParser/match-i.yaml 0000644 00000000305 15217654522 0014315 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XPathParser#match is_singleton: false name: match params: ( path_stack, nodeset ) visibility: public ri/1.8/system/REXML/XPathParser/expr-i.yaml 0000644 00000000321 15217654522 0014175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XPathParser#expr is_singleton: false name: expr params: ( path_stack, nodeset, context=nil ) visibility: private ri/1.8/system/REXML/XPathParser/namespaces%3d-i.yaml 0000644 00000000313 15217654522 0015633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XPathParser#namespaces= is_singleton: false name: namespaces= params: ( namespaces={} ) visibility: public ri/1.8/system/REXML/Attribute/cdesc-Attribute.yaml 0000644 00000003303 15217654522 0015560 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The element to which this attribute belongs name: element rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The normalized value of this attribute. That is, the attribute with entities intact. name: normalized rw: W class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "Defines an Element Attribute; IE, a attribute=value pair, as in: <element attribute="value"/>. Attributes can be in their own namespaces. General users of REXML will not interact with the Attribute class much." constants: - !ruby/object:RI::Constant comment: name: PATTERN value: /\s*(#{NAME_STR})\s*=\s*(["'])(.*?)\2/um full_name: REXML::Attribute includes: - !ruby/object:RI::IncludedModule name: Node - !ruby/object:RI::IncludedModule name: Namespace instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: element= - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: namespace - !ruby/object:RI::MethodSummary name: node_type - !ruby/object:RI::MethodSummary name: prefix - !ruby/object:RI::MethodSummary name: remove - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_string - !ruby/object:RI::MethodSummary name: value - !ruby/object:RI::MethodSummary name: write - !ruby/object:RI::MethodSummary name: xpath name: Attribute superclass: Object ri/1.8/system/REXML/Attribute/new-c.yaml 0000644 00000002612 15217654522 0013551 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Constructor. FIXME: The parser doesn't catch illegal characters in attributes" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "first:" body: "Either: an Attribute, which this new attribute will become a clone of; or a String, which is the name of this attribute" - !ruby/struct:SM::Flow::LI label: "second:" body: If first is an Attribute, then this may be an Element, or nil. If nil, then the Element parent of this attribute is the parent of the first Attribute. If the first argument is a String, then this must also be a String, and is the content of the attribute. If this is the content, it must be fully normalized (contain no illegal characters). - !ruby/struct:SM::Flow::LI label: "parent:" body: Ignored unless first is a String; otherwise, may be the Element parent of this attribute, or nil. type: :NOTE - !ruby/struct:SM::Flow::VERB body: " Attribute.new( attribute_to_clone )\n Attribute.new( attribute_to_clone, parent_element )\n Attribute.new( "attr", "attr_value" )\n Attribute.new( "attr", "attr_value", parent_element )\n" full_name: REXML::Attribute::new is_singleton: true name: new params: ( first, second=nil, parent=nil ) visibility: public ri/1.8/system/REXML/Attribute/to_s-i.yaml 0000644 00000000404 15217654522 0013727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the attribute value, with entities replaced full_name: REXML::Attribute#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/REXML/Attribute/to_string-i.yaml 0000644 00000001007 15217654522 0014773 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns this attribute out as XML source, expanding the name - !ruby/struct:SM::Flow::VERB body: " a = Attribute.new( "x", "y" )\n a.to_string # -> "x='y'"\n b = Attribute.new( "ns:x", "y" )\n b.to_string # -> "ns:x='y'"\n" full_name: REXML::Attribute#to_string is_singleton: false name: to_string params: () visibility: public ri/1.8/system/REXML/Attribute/hash-i.yaml 0000644 00000000412 15217654522 0013705 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates (and returns) a hash from both the name and value full_name: REXML::Attribute#hash is_singleton: false name: hash params: () visibility: public ri/1.8/system/REXML/Attribute/xpath-i.yaml 0000644 00000000256 15217654522 0014114 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Attribute#xpath is_singleton: false name: xpath params: () visibility: public ri/1.8/system/REXML/Attribute/remove-i.yaml 0000644 00000000552 15217654522 0014264 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes this Attribute from the tree, and returns true if successfull - !ruby/struct:SM::Flow::P body: This method is usually not called directly. full_name: REXML::Attribute#remove is_singleton: false name: remove params: () visibility: public ri/1.8/system/REXML/Attribute/element%3d-i.yaml 0000644 00000000572 15217654522 0014716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the element of which this object is an attribute. Normally, this is not directly called. - !ruby/struct:SM::Flow::P body: Returns this attribute full_name: REXML::Attribute#element= is_singleton: false name: element= params: ( element ) visibility: public ri/1.8/system/REXML/Attribute/prefix-i.yaml 0000644 00000001331 15217654522 0014260 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the namespace of the attribute. - !ruby/struct:SM::Flow::VERB body: " e = Element.new( "elns:myelement" )\n e.add_attribute( "nsa:a", "aval" )\n e.add_attribute( "b", "bval" )\n e.attributes.get_attribute( "a" ).prefix # -> "nsa"\n e.attributes.get_attribute( "b" ).prefix # -> "elns"\n a = Attribute.new( "x", "y" )\n a.prefix # -> ""\n" full_name: REXML::Attribute#prefix is_singleton: false name: prefix params: () visibility: public ri/1.8/system/REXML/Attribute/write-i.yaml 0000644 00000000454 15217654522 0014122 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Writes this attribute (EG, puts 'key="value"' to the output) full_name: REXML::Attribute#write is_singleton: false name: write params: ( output, indent=-1 ) visibility: public ri/1.8/system/REXML/Attribute/inspect-i.yaml 0000644 00000000262 15217654522 0014432 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Attribute#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/REXML/Attribute/node_type-i.yaml 0000644 00000000266 15217654522 0014757 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Attribute#node_type is_singleton: false name: node_type params: () visibility: public ri/1.8/system/REXML/Attribute/clone-i.yaml 0000644 00000000363 15217654522 0014067 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a copy of this attribute full_name: REXML::Attribute#clone is_singleton: false name: clone params: () visibility: public ri/1.8/system/REXML/Attribute/%3d%3d-i.yaml 0000644 00000000453 15217654522 0013636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if other is an Attribute and has the same name and value, false otherwise. full_name: REXML::Attribute#== is_singleton: false name: == params: ( other ) visibility: public ri/1.8/system/REXML/Attribute/namespace-i.yaml 0000644 00000000764 15217654522 0014730 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the namespace URL, if defined, or nil otherwise - !ruby/struct:SM::Flow::VERB body: " e = Element.new("el")\n e.add_attributes({"xmlns:ns", "http://url"})\n e.namespace( "ns" ) # -> "http://url"\n" full_name: REXML::Attribute#namespace is_singleton: false name: namespace params: (arg=nil) visibility: public ri/1.8/system/REXML/Attribute/value-i.yaml 0000644 00000000471 15217654522 0014103 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the UNNORMALIZED value of this attribute. That is, entities have been expanded to their values full_name: REXML::Attribute#value is_singleton: false name: value params: () visibility: public ri/1.8/system/REXML/QuickPath/match-c.yaml 0000644 00000000322 15217654522 0013776 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::QuickPath::match is_singleton: true name: match params: (element, path, namespaces=EMPTY_HASH) visibility: public ri/1.8/system/REXML/QuickPath/each-c.yaml 0000644 00000000330 15217654522 0013601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::QuickPath::each is_singleton: true name: each params: (element, path, namespaces=EMPTY_HASH, &block) visibility: public ri/1.8/system/REXML/QuickPath/cdesc-QuickPath.yaml 0000644 00000001627 15217654522 0015443 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: attribute - !ruby/object:RI::MethodSummary name: axe - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: filter - !ruby/object:RI::MethodSummary name: first - !ruby/object:RI::MethodSummary name: function - !ruby/object:RI::MethodSummary name: match - !ruby/object:RI::MethodSummary name: method_missing - !ruby/object:RI::MethodSummary name: name - !ruby/object:RI::MethodSummary name: parse_args - !ruby/object:RI::MethodSummary name: predicate comment: constants: - !ruby/object:RI::Constant comment: name: EMPTY_HASH value: "{}" full_name: REXML::QuickPath includes: - !ruby/object:RI::IncludedModule name: Functions - !ruby/object:RI::IncludedModule name: XMLTokens instance_methods: [] name: QuickPath superclass: Object ri/1.8/system/REXML/QuickPath/name-c.yaml 0000644 00000000254 15217654522 0013626 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::QuickPath::name is_singleton: true name: name params: () visibility: public ri/1.8/system/REXML/QuickPath/attribute-c.yaml 0000644 00000000274 15217654522 0014713 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::QuickPath::attribute is_singleton: true name: attribute params: ( name ) visibility: public ri/1.8/system/REXML/QuickPath/method_missing-c.yaml 0000644 00000000313 15217654522 0015713 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::QuickPath::method_missing is_singleton: true name: method_missing params: ( id, *args ) visibility: public ri/1.8/system/REXML/QuickPath/function-c.yaml 0000644 00000000313 15217654522 0014527 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::QuickPath::function is_singleton: true name: function params: ( elements, fname, rest ) visibility: public ri/1.8/system/REXML/QuickPath/parse_args-c.yaml 0000644 00000000311 15217654522 0015026 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::QuickPath::parse_args is_singleton: true name: parse_args params: ( element, string ) visibility: public ri/1.8/system/REXML/QuickPath/axe-c.yaml 0000644 00000000304 15217654522 0013457 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::QuickPath::axe is_singleton: true name: axe params: ( elements, axe_name, rest ) visibility: public ri/1.8/system/REXML/QuickPath/first-c.yaml 0000644 00000000322 15217654522 0014031 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::QuickPath::first is_singleton: true name: first params: (element, path, namespaces=EMPTY_HASH) visibility: public ri/1.8/system/REXML/QuickPath/predicate-c.yaml 0000644 00000002231 15217654522 0014643 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: A predicate filters a node-set with respect to an axis to produce a new node-set. For each node in the node-set to be filtered, the PredicateExpr is evaluated with that node as the context node, with the number of nodes in the node-set as the context size, and with the proximity position of the node in the node-set with respect to the axis as the context position; if PredicateExpr evaluates to true for that node, the node is included in the new node-set; otherwise, it is not included. - !ruby/struct:SM::Flow::P body: A PredicateExpr is evaluated by evaluating the Expr and converting the result to a boolean. If the result is a number, the result will be converted to true if the number is equal to the context position and will be converted to false otherwise; if the result is not a number, then the result will be converted as if by a call to the boolean function. Thus a location path para[3] is equivalent to para[position()=3]. full_name: REXML::QuickPath::predicate is_singleton: true name: predicate params: ( elements, path ) visibility: public ri/1.8/system/REXML/QuickPath/filter-c.yaml 0000644 00000000604 15217654522 0014172 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Given an array of nodes it filters the array based on the path. The result is that when this method returns, the array will contain elements which match the path full_name: REXML::QuickPath::filter is_singleton: true name: filter params: (elements, path) visibility: public ri/1.8/system/REXML/DTD/ElementDecl/new-c.yaml 0000644 00000000433 15217654522 0014401 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: \s*((((["']).*?\5)|[^\/'">]*)*?)(\/)?>/um, true) full_name: REXML::DTD::ElementDecl::new is_singleton: true name: new params: (match) visibility: public ri/1.8/system/REXML/DTD/ElementDecl/cdesc-ElementDecl.yaml 0000644 00000001166 15217654522 0016634 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: START value: "\"/um - !ruby/object:RI::Constant comment: name: PATTERN_RE value: /^\s*#{START}\s+((?:[:\w_][-\.\w_]*:)?[-!\*\.\w_]*)(.*?)>/ full_name: REXML::DTD::ElementDecl includes: [] instance_methods: [] name: ElementDecl superclass: Child ri/1.8/system/REXML/DTD/AttlistDecl/cdesc-AttlistDecl.yaml 0000644 00000000712 15217654522 0016716 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: START value: "\")/um full_name: REXML::DTD::AttlistDecl includes: [] instance_methods: [] name: AttlistDecl superclass: Child ri/1.8/system/REXML/DTD/cdesc-DTD.yaml 0000644 00000000264 15217654522 0012703 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: REXML::DTD includes: [] instance_methods: [] name: DTD superclass: ri/1.8/system/REXML/DTD/Parser/parse_helper-c.yaml 0000644 00000000412 15217654522 0015331 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Takes a String and parses it out full_name: REXML::DTD::Parser::parse_helper is_singleton: true name: parse_helper params: ( input ) visibility: public ri/1.8/system/REXML/DTD/Parser/cdesc-Parser.yaml 0000644 00000000451 15217654522 0014756 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: parse_helper comment: constants: [] full_name: REXML::DTD::Parser includes: [] instance_methods: [] name: Parser superclass: Object ri/1.8/system/REXML/DTD/Parser/parse-c.yaml 0000644 00000000267 15217654522 0014002 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::DTD::Parser::parse is_singleton: true name: parse params: ( input ) visibility: public ri/1.8/system/REXML/DTD/NotationDecl/new-c.yaml 0000644 00000000265 15217654522 0014606 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::DTD::NotationDecl::new is_singleton: true name: new params: (src) visibility: public ri/1.8/system/REXML/DTD/NotationDecl/to_s-i.yaml 0000644 00000000264 15217654522 0014766 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::DTD::NotationDecl#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/REXML/DTD/NotationDecl/cdesc-NotationDecl.yaml 0000644 00000001454 15217654522 0017240 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: parse_source comment: constants: - !ruby/object:RI::Constant comment: name: START value: "\"/um - !ruby/object:RI::Constant comment: name: SYSTEM value: /^\s*#{START}\s+(\w[\w-]*)\s+(SYSTEM)\s+((["']).*?\4)\s*>/um full_name: REXML::DTD::NotationDecl includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: write name: NotationDecl superclass: Child ri/1.8/system/REXML/DTD/NotationDecl/write-i.yaml 0000644 00000000306 15217654522 0015151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::DTD::NotationDecl#write is_singleton: false name: write params: ( output, indent ) visibility: public ri/1.8/system/REXML/DTD/NotationDecl/parse_source-c.yaml 0000644 00000000324 15217654522 0016503 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::DTD::NotationDecl::parse_source is_singleton: true name: parse_source params: (source, listener) visibility: public ri/1.8/system/REXML/DTD/EntityDecl/new-c.yaml 0000644 00000000452 15217654522 0014265 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "<!ENTITY name SYSTEM "..."> <!ENTITY name "...">" full_name: REXML::DTD::EntityDecl::new is_singleton: true name: new params: (src) visibility: public ri/1.8/system/REXML/DTD/EntityDecl/to_s-i.yaml 0000644 00000000262 15217654522 0014445 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::DTD::EntityDecl#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/REXML/DTD/EntityDecl/cdesc-EntityDecl.yaml 0000644 00000002055 15217654522 0016400 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: parse_source comment: constants: - !ruby/object:RI::Constant comment: name: START value: "\"/um - !ruby/object:RI::Constant comment: name: SYSTEM value: /^\s*#{START}\s+(?:%\s+)?(\w+)\s+SYSTEM\s+((["']).*?\3)(?:\s+NDATA\s+\w+)?\s*>/um - !ruby/object:RI::Constant comment: name: PLAIN value: /^\s*#{START}\s+(\w+)\s+((["']).*?\3)\s*>/um - !ruby/object:RI::Constant comment: name: PERCENT value: /^\s*#{START}\s+%\s+(\w+)\s+((["']).*?\3)\s*>/um full_name: REXML::DTD::EntityDecl includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: write name: EntityDecl superclass: Child ri/1.8/system/REXML/DTD/EntityDecl/write-i.yaml 0000644 00000000304 15217654522 0014630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::DTD::EntityDecl#write is_singleton: false name: write params: ( output, indent ) visibility: public ri/1.8/system/REXML/DTD/EntityDecl/parse_source-c.yaml 0000644 00000000322 15217654522 0016162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::DTD::EntityDecl::parse_source is_singleton: true name: parse_source params: (source, listener) visibility: public ri/1.8/system/REXML/Child/new-c.yaml 0000644 00000001036 15217654522 0012630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Constructor. Any inheritors of this class should call super to make sure this method is called. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "parent:" body: if supplied, the parent of this child will be set to the supplied value, and self will be added to the parent type: :NOTE full_name: REXML::Child::new is_singleton: true name: new params: ( parent = nil ) visibility: public ri/1.8/system/REXML/Child/next_sibling%3d-i.yaml 0000644 00000001033 15217654522 0015023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the next sibling of this child. This can be used to insert a child after some other child. - !ruby/struct:SM::Flow::VERB body: " a = Element.new("a")\n b = a.add_element("b")\n c = Element.new("c")\n b.next_sibling = c\n # => <a><b/><c/></a>\n" full_name: REXML::Child#next_sibling= is_singleton: false name: next_sibling= params: ( other ) visibility: public ri/1.8/system/REXML/Child/previous_sibling%3d-i.yaml 0000644 00000001052 15217654522 0015722 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the previous sibling of this child. This can be used to insert a child before some other child. - !ruby/struct:SM::Flow::VERB body: " a = Element.new("a")\n b = a.add_element("b")\n c = Element.new("c")\n b.previous_sibling = c\n # => <a><b/><c/></a>\n" full_name: REXML::Child#previous_sibling= is_singleton: false name: previous_sibling= params: (other) visibility: public ri/1.8/system/REXML/Child/bytes-i.yaml 0000644 00000000360 15217654522 0013172 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This doesn't yet handle encodings full_name: REXML::Child#bytes is_singleton: false name: bytes params: () visibility: public ri/1.8/system/REXML/Child/cdesc-Child.yaml 0000644 00000001573 15217654522 0013727 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: parent rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A Child object is something contained by a parent, and this class contains methods to support that. Most user code will not use this class directly. constants: [] full_name: REXML::Child includes: - !ruby/object:RI::IncludedModule name: Node instance_methods: - !ruby/object:RI::MethodSummary name: bytes - !ruby/object:RI::MethodSummary name: document - !ruby/object:RI::MethodSummary name: next_sibling= - !ruby/object:RI::MethodSummary name: parent= - !ruby/object:RI::MethodSummary name: previous_sibling= - !ruby/object:RI::MethodSummary name: remove - !ruby/object:RI::MethodSummary name: replace_with name: Child superclass: Object ri/1.8/system/REXML/Child/remove-i.yaml 0000644 00000000562 15217654522 0013345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes this child from the parent. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "Returns:" body: self type: :NOTE full_name: REXML::Child#remove is_singleton: false name: remove params: () visibility: public ri/1.8/system/REXML/Child/replace_with-i.yaml 0000644 00000000661 15217654522 0014516 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Replaces this object with another object. Basically, calls Parent.replace_child - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "Returns:" body: self type: :NOTE full_name: REXML::Child#replace_with is_singleton: false name: replace_with params: ( child ) visibility: public ri/1.8/system/REXML/Child/parent%3d-i.yaml 0000644 00000001267 15217654522 0013640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the parent of this child to the supplied argument. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "other:" body: Must be a Parent object. If this object is the same object as the existing parent of this child, no action is taken. Otherwise, this child is removed from the current parent (if one exists), and is added to the new parent. - !ruby/struct:SM::Flow::LI label: "Returns:" body: The parent added type: :NOTE full_name: REXML::Child#parent= is_singleton: false name: parent= params: ( other ) visibility: public ri/1.8/system/REXML/Child/document-i.yaml 0000644 00000000635 15217654522 0013667 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "Returns:" body: the document this child belongs to, or nil if this child type: :NOTE - !ruby/struct:SM::Flow::P body: belongs to no document full_name: REXML::Child#document is_singleton: false name: document params: () visibility: public ri/1.8/system/REXML/Source/new-c.yaml 0000644 00000000626 15217654522 0013051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Constructor @param arg must be a String, and should be a valid XML document @param encoding if non-null, sets the encoding of the source to this value, overriding all encoding detection full_name: REXML::Source::new is_singleton: true name: new params: (arg, encoding=nil) visibility: public ri/1.8/system/REXML/Source/scan-i.yaml 0000644 00000002144 15217654522 0013207 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Scans the source for a given pattern. Note, that this is not your usual scan() method. For one thing, the pattern argument has some requirements; for another, the source can be consumed. You can easily confuse this method. Originally, the patterns were easier to construct and this method more robust, because this method generated search regexes on the fly; however, this was computationally expensive and slowed down the entire REXML package considerably, since this is by far the most commonly called method. @param pattern must be a Regexp, and must be in the form of /^\s*(#{your pattern, with no groups})(.*)/. The first group will be returned; the second group is used if the consume flag is set. @param consume if true, the pattern returned will be consumed, leaving everything after it in the Source. @return the pattern, if found, or nil if the Source is empty or the pattern is not found. full_name: REXML::Source#scan is_singleton: false name: scan params: (pattern, cons=false) visibility: public ri/1.8/system/REXML/Source/match_to_consume-i.yaml 0000644 00000000320 15217654522 0015604 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Source#match_to_consume is_singleton: false name: match_to_consume params: ( char, pattern ) visibility: public ri/1.8/system/REXML/Source/current_line-i.yaml 0000644 00000000406 15217654522 0014753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "@return the current line in the source" full_name: REXML::Source#current_line is_singleton: false name: current_line params: () visibility: public ri/1.8/system/REXML/Source/consume-i.yaml 0000644 00000000270 15217654522 0013732 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Source#consume is_singleton: false name: consume params: ( pattern ) visibility: public ri/1.8/system/REXML/Source/read-i.yaml 0000644 00000000251 15217654522 0013173 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Source#read is_singleton: false name: read params: () visibility: public ri/1.8/system/REXML/Source/position-i.yaml 0000644 00000000261 15217654522 0014125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Source#position is_singleton: false name: position params: () visibility: public ri/1.8/system/REXML/Source/encoding%3d-i.yaml 0000644 00000000436 15217654522 0014347 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Inherited from Encoding Overridden to support optimized en/decoding full_name: REXML::Source#encoding= is_singleton: false name: encoding= params: (enc) visibility: public ri/1.8/system/REXML/Source/match_to-i.yaml 0000644 00000000300 15217654522 0014051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Source#match_to is_singleton: false name: match_to params: ( char, pattern ) visibility: public ri/1.8/system/REXML/Source/cdesc-Source.yaml 0000644 00000002423 15217654522 0014354 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The current buffer (what we're going to read next) name: buffer rw: R - !ruby/object:RI::Attribute comment: name: encoding rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The line number of the last consumed text name: line rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A Source can be searched for patterns, and wraps buffers and other objects and provides consumption of text constants: [] full_name: REXML::Source includes: - !ruby/object:RI::IncludedModule name: Encoding instance_methods: - !ruby/object:RI::MethodSummary name: consume - !ruby/object:RI::MethodSummary name: current_line - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: encoding= - !ruby/object:RI::MethodSummary name: match - !ruby/object:RI::MethodSummary name: match_to - !ruby/object:RI::MethodSummary name: match_to_consume - !ruby/object:RI::MethodSummary name: position - !ruby/object:RI::MethodSummary name: read - !ruby/object:RI::MethodSummary name: scan name: Source superclass: Object ri/1.8/system/REXML/Source/empty%3f-i.yaml 0000644 00000000373 15217654522 0013721 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "@return true if the Source is exhausted" full_name: REXML::Source#empty? is_singleton: false name: empty? params: () visibility: public ri/1.8/system/REXML/Source/match-i.yaml 0000644 00000000276 15217654522 0013363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Source#match is_singleton: false name: match params: (pattern, cons=false) visibility: public ri/1.8/system/REXML/Parsers/TreeParser/new-c.yaml 0000644 00000000332 15217654522 0015276 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::TreeParser::new is_singleton: true name: new params: ( source, build_context = Document.new ) visibility: public ri/1.8/system/REXML/Parsers/TreeParser/add_listener-i.yaml 0000644 00000000320 15217654522 0017145 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::TreeParser#add_listener is_singleton: false name: add_listener params: ( listener ) visibility: public ri/1.8/system/REXML/Parsers/TreeParser/cdesc-TreeParser.yaml 0000644 00000000540 15217654522 0017421 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::Parsers::TreeParser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_listener - !ruby/object:RI::MethodSummary name: parse name: TreeParser superclass: Object ri/1.8/system/REXML/Parsers/TreeParser/parse-i.yaml 0000644 00000000270 15217654522 0015626 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::TreeParser#parse is_singleton: false name: parse params: () visibility: public ri/1.8/system/REXML/Parsers/XPathParser/NodeTest-i.yaml 0000644 00000000314 15217654522 0016365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::XPathParser#NodeTest is_singleton: false name: NodeTest params: (path, parsed) visibility: private ri/1.8/system/REXML/Parsers/XPathParser/expand-i.yaml 0000644 00000000301 15217654522 0016113 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::XPathParser#expand is_singleton: false name: expand params: ( path ) visibility: public ri/1.8/system/REXML/Parsers/XPathParser/RelationalExpr-i.yaml 0000644 00000000521 15217654522 0017571 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "| RelationalExpr ('<' | '>' | '<=' | '>=') AdditiveExpr | AdditiveExpr" full_name: REXML::Parsers::XPathParser#RelationalExpr is_singleton: false name: RelationalExpr params: (path, parsed) visibility: private ri/1.8/system/REXML/Parsers/XPathParser/AndExpr-i.yaml 0000644 00000000440 15217654522 0016201 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "| AndExpr S 'and' S EqualityExpr | EqualityExpr" full_name: REXML::Parsers::XPathParser#AndExpr is_singleton: false name: AndExpr params: (path, parsed) visibility: private ri/1.8/system/REXML/Parsers/XPathParser/RelativeLocationPath-i.yaml 0000644 00000000344 15217654522 0020724 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::XPathParser#RelativeLocationPath is_singleton: false name: RelativeLocationPath params: (path, parsed) visibility: private ri/1.8/system/REXML/Parsers/XPathParser/FunctionCall-i.yaml 0000644 00000000452 15217654522 0017224 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "| FUNCTION_NAME '(' ( expr ( ',' expr )* )? ')'" full_name: REXML::Parsers::XPathParser#FunctionCall is_singleton: false name: FunctionCall params: (rest, parsed) visibility: private ri/1.8/system/REXML/Parsers/XPathParser/UnaryExpr-i.yaml 0000644 00000000420 15217654522 0016573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "| '-' UnaryExpr | UnionExpr" full_name: REXML::Parsers::XPathParser#UnaryExpr is_singleton: false name: UnaryExpr params: (path, parsed) visibility: private ri/1.8/system/REXML/Parsers/XPathParser/cdesc-XPathParser.yaml 0000644 00000007363 15217654522 0017705 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: You don't want to use this class. Really. Use XPath, which is a wrapper for this class. Believe me. You don't want to poke around in here. There is strange, dark magic at work in this code. Beware. Go back! Go back while you still can! constants: - !ruby/object:RI::Constant comment: name: LITERAL value: /^'([^']*)'|^"([^"]*)"/u - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: RelativeLocationPath - !ruby/struct:SM::Flow::VERB body: " | Step\n | (AXIS_NAME '::' | '@' | '') AxisSpecifier\n NodeTest\n Predicate\n | '.' | '..' AbbreviatedStep\n | RelativeLocationPath '/' Step\n | RelativeLocationPath '//' Step\n" name: AXIS value: /^(ancestor|ancestor-or-self|attribute|child|descendant|descendant-or-self|following|following-sibling|namespace|parent|preceding|preceding-sibling|self)::/ - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::VERB body: " Returns a 1-1 map of the nodeset\n The contents of the resulting array are either:\n true/false, if a positive match\n String, if a name match\n" - !ruby/struct:SM::Flow::P body: NodeTest - !ruby/struct:SM::Flow::VERB body: " | ('*' | NCNAME ':' '*' | QNAME) NameTest\n | NODE_TYPE '(' ')' NodeType\n | PI '(' LITERAL ')' PI\n | '[' expr ']' Predicate\n" name: NCNAMETEST value: /^(#{NCNAME_STR}):\*/u - !ruby/object:RI::Constant comment: name: QNAME value: Namespace::NAMESPLIT - !ruby/object:RI::Constant comment: name: NODE_TYPE value: /^(comment|text|node)\(\s*\)/m - !ruby/object:RI::Constant comment: name: PI value: /^processing-instruction\(/ - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: "| VARIABLE_REFERENCE | '(' expr ')' | LITERAL | NUMBER | FunctionCall" name: VARIABLE_REFERENCE value: /^\$(#{NAME_STR})/u - !ruby/object:RI::Constant comment: name: NUMBER value: /^(\d*\.?\d+)/ - !ruby/object:RI::Constant comment: name: NT value: /^comment|text|processing-instruction|node$/ full_name: REXML::Parsers::XPathParser includes: - !ruby/object:RI::IncludedModule name: XMLTokens instance_methods: - !ruby/object:RI::MethodSummary name: AdditiveExpr - !ruby/object:RI::MethodSummary name: AndExpr - !ruby/object:RI::MethodSummary name: EqualityExpr - !ruby/object:RI::MethodSummary name: FilterExpr - !ruby/object:RI::MethodSummary name: FunctionCall - !ruby/object:RI::MethodSummary name: LocationPath - !ruby/object:RI::MethodSummary name: MultiplicativeExpr - !ruby/object:RI::MethodSummary name: NodeTest - !ruby/object:RI::MethodSummary name: OrExpr - !ruby/object:RI::MethodSummary name: PathExpr - !ruby/object:RI::MethodSummary name: Predicate - !ruby/object:RI::MethodSummary name: PrimaryExpr - !ruby/object:RI::MethodSummary name: RelationalExpr - !ruby/object:RI::MethodSummary name: RelativeLocationPath - !ruby/object:RI::MethodSummary name: UnaryExpr - !ruby/object:RI::MethodSummary name: UnionExpr - !ruby/object:RI::MethodSummary name: abbreviate - !ruby/object:RI::MethodSummary name: expand - !ruby/object:RI::MethodSummary name: get_group - !ruby/object:RI::MethodSummary name: namespaces= - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: parse_args - !ruby/object:RI::MethodSummary name: predicate - !ruby/object:RI::MethodSummary name: predicate_to_string name: XPathParser superclass: Object ri/1.8/system/REXML/Parsers/XPathParser/abbreviate-i.yaml 0000644 00000000311 15217654522 0016741 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::XPathParser#abbreviate is_singleton: false name: abbreviate params: ( path ) visibility: public ri/1.8/system/REXML/Parsers/XPathParser/OrExpr-i.yaml 0000644 00000000422 15217654522 0016057 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "| OrExpr S 'or' S AndExpr | AndExpr" full_name: REXML::Parsers::XPathParser#OrExpr is_singleton: false name: OrExpr params: (path, parsed) visibility: private ri/1.8/system/REXML/Parsers/XPathParser/FilterExpr-i.yaml 0000644 00000000433 15217654522 0016726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "| FilterExpr Predicate | PrimaryExpr" full_name: REXML::Parsers::XPathParser#FilterExpr is_singleton: false name: FilterExpr params: (path, parsed) visibility: private ri/1.8/system/REXML/Parsers/XPathParser/parse-i.yaml 0000644 00000000275 15217654522 0015760 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::XPathParser#parse is_singleton: false name: parse params: (path) visibility: public ri/1.8/system/REXML/Parsers/XPathParser/Predicate-i.yaml 0000644 00000000443 15217654522 0016543 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Filters the supplied nodeset on the predicate(s) full_name: REXML::Parsers::XPathParser#Predicate is_singleton: false name: Predicate params: (path, parsed) visibility: private ri/1.8/system/REXML/Parsers/XPathParser/predicate_to_string-i.yaml 0000644 00000000370 15217654522 0020672 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: ( path ) comment: full_name: REXML::Parsers::XPathParser#predicate_to_string is_singleton: false name: predicate_to_string params: ( path, &block ) {|path| ...} visibility: public ri/1.8/system/REXML/Parsers/XPathParser/MultiplicativeExpr-i.yaml 0000644 00000000515 15217654522 0020475 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "| MultiplicativeExpr ('*' | S ('div' | 'mod') S) UnaryExpr | UnaryExpr" full_name: REXML::Parsers::XPathParser#MultiplicativeExpr is_singleton: false name: MultiplicativeExpr params: (path, parsed) visibility: private ri/1.8/system/REXML/Parsers/XPathParser/PathExpr-i.yaml 0000644 00000000460 15217654522 0016375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "| LocationPath | FilterExpr ('/' | '//') RelativeLocationPath" full_name: REXML::Parsers::XPathParser#PathExpr is_singleton: false name: PathExpr params: (path, parsed) visibility: private ri/1.8/system/REXML/Parsers/XPathParser/get_group-i.yaml 0000644 00000000433 15217654522 0016635 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: get_group( '[foo]bar' ) -> ['bar', '[foo]'] full_name: REXML::Parsers::XPathParser#get_group is_singleton: false name: get_group params: (string) visibility: private ri/1.8/system/REXML/Parsers/XPathParser/EqualityExpr-i.yaml 0000644 00000000466 15217654522 0017304 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "| EqualityExpr ('=' | '!=') RelationalExpr | RelationalExpr" full_name: REXML::Parsers::XPathParser#EqualityExpr is_singleton: false name: EqualityExpr params: (path, parsed) visibility: private ri/1.8/system/REXML/Parsers/XPathParser/PrimaryExpr-i.yaml 0000644 00000000322 15217654522 0017121 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::XPathParser#PrimaryExpr is_singleton: false name: PrimaryExpr params: (path, parsed) visibility: private ri/1.8/system/REXML/Parsers/XPathParser/UnionExpr-i.yaml 0000644 00000000430 15217654522 0016566 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "| UnionExpr '|' PathExpr | PathExpr" full_name: REXML::Parsers::XPathParser#UnionExpr is_singleton: false name: UnionExpr params: (path, parsed) visibility: private ri/1.8/system/REXML/Parsers/XPathParser/predicate-i.yaml 0000644 00000000305 15217654522 0016600 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::XPathParser#predicate is_singleton: false name: predicate params: (path) visibility: public ri/1.8/system/REXML/Parsers/XPathParser/LocationPath-i.yaml 0000644 00000000607 15217654522 0017232 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: LocationPath - !ruby/struct:SM::Flow::VERB body: " | RelativeLocationPath\n | '/' RelativeLocationPath?\n | '//' RelativeLocationPath\n" full_name: REXML::Parsers::XPathParser#LocationPath is_singleton: false name: LocationPath params: (path, parsed) visibility: private ri/1.8/system/REXML/Parsers/XPathParser/parse_args-i.yaml 0000644 00000000314 15217654522 0016766 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::XPathParser#parse_args is_singleton: false name: parse_args params: ( string ) visibility: private ri/1.8/system/REXML/Parsers/XPathParser/AdditiveExpr-i.yaml 0000644 00000000477 15217654522 0017242 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "| AdditiveExpr ('+' | S '-') MultiplicativeExpr | MultiplicativeExpr" full_name: REXML::Parsers::XPathParser#AdditiveExpr is_singleton: false name: AdditiveExpr params: (path, parsed) visibility: private ri/1.8/system/REXML/Parsers/XPathParser/namespaces%3d-i.yaml 0000644 00000000321 15217654522 0017251 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::XPathParser#namespaces= is_singleton: false name: namespaces= params: ( namespaces ) visibility: public ri/1.8/system/REXML/Parsers/PullParser/new-c.yaml 0000644 00000000272 15217654522 0015316 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::PullParser::new is_singleton: true name: new params: (stream) visibility: public ri/1.8/system/REXML/Parsers/PullParser/unshift-i.yaml 0000644 00000000301 15217654522 0016204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::PullParser#unshift is_singleton: false name: unshift params: (token) visibility: public ri/1.8/system/REXML/Parsers/PullParser/cdesc-PullParser.yaml 0000644 00000002705 15217654522 0017460 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::H level: 1 text: Using the Pull Parser - !ruby/struct:SM::Flow::P body: This API is experimental, and subject to change. - !ruby/struct:SM::Flow::VERB body: " parser = PullParser.new( "<a>text<b att='val'/>txet</a>" )\n while parser.has_next?\n res = parser.next\n puts res[1]['att'] if res.start_tag? and res[0] == 'b'\n end\n" - !ruby/struct:SM::Flow::P body: See the PullEvent class for information on the content of the results. The data is identical to the arguments passed for the various events to the StreamListener API. - !ruby/struct:SM::Flow::P body: "Notice that:" - !ruby/struct:SM::Flow::VERB body: " parser = PullParser.new( "<a>BAD DOCUMENT" )\n while parser.has_next?\n res = parser.next\n raise res[1] if res.error?\n end\n" - !ruby/struct:SM::Flow::P body: Nat Price gave me some good ideas for the API. constants: [] full_name: REXML::Parsers::PullParser includes: - !ruby/object:RI::IncludedModule name: XMLTokens instance_methods: - !ruby/object:RI::MethodSummary name: add_listener - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: peek - !ruby/object:RI::MethodSummary name: pull - !ruby/object:RI::MethodSummary name: unshift name: PullParser superclass: Object ri/1.8/system/REXML/Parsers/PullParser/add_listener-i.yaml 0000644 00000000320 15217654522 0017162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::PullParser#add_listener is_singleton: false name: add_listener params: ( listener ) visibility: public ri/1.8/system/REXML/Parsers/PullParser/peek-i.yaml 0000644 00000000275 15217654522 0015462 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::PullParser#peek is_singleton: false name: peek params: (depth=0) visibility: public ri/1.8/system/REXML/Parsers/PullParser/each-i.yaml 0000644 00000000321 15217654522 0015426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: self.pull comment: full_name: REXML::Parsers::PullParser#each is_singleton: false name: each params: () {|self.pull| ...} visibility: public ri/1.8/system/REXML/Parsers/PullParser/pull-i.yaml 0000644 00000000266 15217654522 0015512 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::PullParser#pull is_singleton: false name: pull params: () visibility: public ri/1.8/system/REXML/Parsers/SAX2Parser/new-c.yaml 0000644 00000000272 15217654522 0015117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::SAX2Parser::new is_singleton: true name: new params: (source) visibility: public ri/1.8/system/REXML/Parsers/SAX2Parser/get_namespace-i.yaml 0000644 00000000321 15217654522 0017122 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::SAX2Parser#get_namespace is_singleton: false name: get_namespace params: ( prefix ) visibility: private ri/1.8/system/REXML/Parsers/SAX2Parser/handle-i.yaml 0000644 00000000317 15217654522 0015567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::SAX2Parser#handle is_singleton: false name: handle params: ( symbol, *arguments ) visibility: private ri/1.8/system/REXML/Parsers/SAX2Parser/listen-i.yaml 0000644 00000003425 15217654522 0015635 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Listen arguments:" - !ruby/struct:SM::Flow::P body: Symbol, Array, Block - !ruby/struct:SM::Flow::VERB body: " Listen to Symbol events on Array elements\n" - !ruby/struct:SM::Flow::P body: Symbol, Block - !ruby/struct:SM::Flow::VERB body: " Listen to Symbol events\n" - !ruby/struct:SM::Flow::P body: Array, Listener - !ruby/struct:SM::Flow::VERB body: " Listen to all events on Array elements\n" - !ruby/struct:SM::Flow::P body: Array, Block - !ruby/struct:SM::Flow::VERB body: " Listen to :start_element events on Array elements\n" - !ruby/struct:SM::Flow::P body: Listener - !ruby/struct:SM::Flow::VERB body: " Listen to All events\n" - !ruby/struct:SM::Flow::P body: "Symbol can be one of: :start_element, :end_element, :start_prefix_mapping, :end_prefix_mapping, :characters, :processing_instruction, :doctype, :attlistdecl, :elementdecl, :entitydecl, :notationdecl, :cdata, :xmldecl, :comment" - !ruby/struct:SM::Flow::P body: "There is an additional symbol that can be listened for: :progress. This will be called for every event generated, passing in the current stream position." - !ruby/struct:SM::Flow::P body: Array contains regular expressions or strings which will be matched against fully qualified element names. - !ruby/struct:SM::Flow::P body: Listener must implement the methods in SAX2Listener - !ruby/struct:SM::Flow::P body: Block will be passed the same arguments as a SAX2Listener method would be, where the method name is the same as the matched Symbol. See the SAX2Listener for more information. full_name: REXML::Parsers::SAX2Parser#listen is_singleton: false name: listen params: ( *args, &blok ) visibility: public ri/1.8/system/REXML/Parsers/SAX2Parser/add_listener-i.yaml 0000644 00000000320 15217654522 0016763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::SAX2Parser#add_listener is_singleton: false name: add_listener params: ( listener ) visibility: public ri/1.8/system/REXML/Parsers/SAX2Parser/get_procs-i.yaml 0000644 00000000476 15217654522 0016327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The following methods are duplicates, but it is faster than using a helper full_name: REXML::Parsers::SAX2Parser#get_procs is_singleton: false name: get_procs params: ( symbol, name ) visibility: private ri/1.8/system/REXML/Parsers/SAX2Parser/parse-i.yaml 0000644 00000000270 15217654522 0015444 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::SAX2Parser#parse is_singleton: false name: parse params: () visibility: public ri/1.8/system/REXML/Parsers/SAX2Parser/deafen-i.yaml 0000644 00000000317 15217654522 0015556 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::SAX2Parser#deafen is_singleton: false name: deafen params: ( listener=nil, &blok ) visibility: public ri/1.8/system/REXML/Parsers/SAX2Parser/source-i.yaml 0000644 00000000272 15217654522 0015634 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::SAX2Parser#source is_singleton: false name: source params: () visibility: public ri/1.8/system/REXML/Parsers/SAX2Parser/cdesc-SAX2Parser.yaml 0000644 00000001445 15217654522 0017062 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: SAX2Parser constants: [] full_name: REXML::Parsers::SAX2Parser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: add_listener - !ruby/object:RI::MethodSummary name: deafen - !ruby/object:RI::MethodSummary name: get_listeners - !ruby/object:RI::MethodSummary name: get_namespace - !ruby/object:RI::MethodSummary name: get_procs - !ruby/object:RI::MethodSummary name: handle - !ruby/object:RI::MethodSummary name: listen - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: source name: SAX2Parser superclass: Object ri/1.8/system/REXML/Parsers/SAX2Parser/get_listeners-i.yaml 0000644 00000000327 15217654522 0017204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::SAX2Parser#get_listeners is_singleton: false name: get_listeners params: ( symbol, name ) visibility: private ri/1.8/system/REXML/Parsers/SAX2Parser/add-i.yaml 0000644 00000000273 15217654522 0015065 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::SAX2Parser#add is_singleton: false name: add params: ( pair ) visibility: private ri/1.8/system/REXML/Parsers/cdesc-Parsers.yaml 0000644 00000000274 15217654522 0014714 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: REXML::Parsers includes: [] instance_methods: [] name: Parsers superclass: ri/1.8/system/REXML/Parsers/LightParser/new-c.yaml 0000644 00000000273 15217654522 0015452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::LightParser::new is_singleton: true name: new params: (stream) visibility: public ri/1.8/system/REXML/Parsers/LightParser/rewind-i.yaml 0000644 00000000273 15217654522 0016157 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::LightParser#rewind is_singleton: false name: rewind params: () visibility: public ri/1.8/system/REXML/Parsers/LightParser/add_listener-i.yaml 0000644 00000000321 15217654522 0017316 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::LightParser#add_listener is_singleton: false name: add_listener params: ( listener ) visibility: public ri/1.8/system/REXML/Parsers/LightParser/parse-i.yaml 0000644 00000000271 15217654522 0015777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::LightParser#parse is_singleton: false name: parse params: () visibility: public ri/1.8/system/REXML/Parsers/LightParser/cdesc-LightParser.yaml 0000644 00000000623 15217654522 0017743 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::Parsers::LightParser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_listener - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: rewind name: LightParser superclass: Object ri/1.8/system/REXML/Parsers/BaseParser/new-c.yaml 0000644 00000000274 15217654522 0015256 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::BaseParser::new is_singleton: true name: new params: ( source ) visibility: public ri/1.8/system/REXML/Parsers/BaseParser/unshift-i.yaml 0000644 00000000503 15217654522 0016146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Push an event back on the head of the stream. This method has (theoretically) infinite depth. full_name: REXML::Parsers::BaseParser#unshift is_singleton: false name: unshift params: (token) visibility: public ri/1.8/system/REXML/Parsers/BaseParser/unnormalize-i.yaml 0000644 00000000452 15217654522 0017034 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Unescapes all possible entities full_name: REXML::Parsers::BaseParser#unnormalize is_singleton: false name: unnormalize params: ( string, entities=nil, filter=nil ) visibility: public ri/1.8/system/REXML/Parsers/BaseParser/entity-i.yaml 0000644 00000000317 15217654522 0016005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::BaseParser#entity is_singleton: false name: entity params: ( reference, entities ) visibility: public ri/1.8/system/REXML/Parsers/BaseParser/has_next%3f-i.yaml 0000644 00000000443 15217654522 0016600 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if there are more events. Synonymous with !empty? full_name: REXML::Parsers::BaseParser#has_next? is_singleton: false name: has_next? params: () visibility: public ri/1.8/system/REXML/Parsers/BaseParser/add_listener-i.yaml 0000644 00000000320 15217654522 0017120 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::BaseParser#add_listener is_singleton: false name: add_listener params: ( listener ) visibility: public ri/1.8/system/REXML/Parsers/BaseParser/position-i.yaml 0000644 00000000276 15217654522 0016341 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::BaseParser#position is_singleton: false name: position params: () visibility: public ri/1.8/system/REXML/Parsers/BaseParser/peek-i.yaml 0000644 00000001171 15217654522 0015414 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Peek at the depth event in the stack. The first element on the stack is at depth 0. If depth is -1, will parse to the end of the input stream and return the last event, which is always :end_document. Be aware that this causes the stream to be parsed up to the depth event, so you can effectively pre-parse the entire document (pull the entire thing into memory) using this method. full_name: REXML::Parsers::BaseParser#peek is_singleton: false name: peek params: (depth=0) visibility: public ri/1.8/system/REXML/Parsers/BaseParser/stream%3d-i.yaml 0000644 00000000304 15217654522 0016254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::BaseParser#stream= is_singleton: false name: stream= params: ( source ) visibility: public ri/1.8/system/REXML/Parsers/BaseParser/empty%3f-i.yaml 0000644 00000000407 15217654522 0016125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if there are no more events full_name: REXML::Parsers::BaseParser#empty? is_singleton: false name: empty? params: () visibility: public ri/1.8/system/REXML/Parsers/BaseParser/pull-i.yaml 0000644 00000000427 15217654522 0015447 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the next event. This is a PullEvent object. full_name: REXML::Parsers::BaseParser#pull is_singleton: false name: pull params: () visibility: public ri/1.8/system/REXML/Parsers/BaseParser/normalize-i.yaml 0000644 00000000452 15217654522 0016471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Escapes all possible entities full_name: REXML::Parsers::BaseParser#normalize is_singleton: false name: normalize params: ( input, entities=nil, entity_filter=nil ) visibility: public ri/1.8/system/REXML/Parsers/BaseParser/cdesc-BaseParser.yaml 0000644 00000021013 15217654522 0017345 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: source rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::H level: 1 text: Using the Pull Parser - !ruby/struct:SM::Flow::P body: This API is experimental, and subject to change. - !ruby/struct:SM::Flow::VERB body: " parser = PullParser.new( "<a>text<b att='val'/>txet</a>" )\n while parser.has_next?\n res = parser.next\n puts res[1]['att'] if res.start_tag? and res[0] == 'b'\n end\n" - !ruby/struct:SM::Flow::P body: See the PullEvent class for information on the content of the results. The data is identical to the arguments passed for the various events to the StreamListener API. - !ruby/struct:SM::Flow::P body: "Notice that:" - !ruby/struct:SM::Flow::VERB body: " parser = PullParser.new( "<a>BAD DOCUMENT" )\n while parser.has_next?\n res = parser.next\n raise res[1] if res.error?\n end\n" - !ruby/struct:SM::Flow::P body: Nat Price gave me some good ideas for the API. constants: - !ruby/object:RI::Constant comment: name: NCNAME_STR value: "'[\\w:][\\-\\w\\d.]*'" - !ruby/object:RI::Constant comment: name: NAME_STR value: "\"(?:(#{NCNAME_STR}):)?(#{NCNAME_STR})\"" - !ruby/object:RI::Constant comment: name: UNAME_STR value: "\"(?:#{NCNAME_STR}:)?#{NCNAME_STR}\"" - !ruby/object:RI::Constant comment: name: NAMECHAR value: "'[\\-\\w\\d\\.:]'" - !ruby/object:RI::Constant comment: name: NAME value: "\"([\\\\w:]#{NAMECHAR}*)\"" - !ruby/object:RI::Constant comment: name: NMTOKEN value: "\"(?:#{NAMECHAR})+\"" - !ruby/object:RI::Constant comment: name: NMTOKENS value: "\"#{NMTOKEN}(\\\\s+#{NMTOKEN})*\"" - !ruby/object:RI::Constant comment: name: REFERENCE value: "\"(?:{NAME};|\\\\d+;|[0-9a-fA-F]+;)\"" - !ruby/object:RI::Constant comment: name: REFERENCE_RE value: /#{REFERENCE}/ - !ruby/object:RI::Constant comment: name: DOCTYPE_START value: /\A\s*)/um - !ruby/object:RI::Constant comment: name: ATTRIBUTE_PATTERN value: /\s*(#{NAME_STR})\s*=\s*(["'])(.*?)\4/um - !ruby/object:RI::Constant comment: name: COMMENT_START value: /\A/um - !ruby/object:RI::Constant comment: name: CDATA_START value: /\A/um - !ruby/object:RI::Constant comment: name: CDATA_PATTERN value: //um - !ruby/object:RI::Constant comment: name: XMLDECL_START value: /\A<\?xml\s/u; - !ruby/object:RI::Constant comment: name: XMLDECL_PATTERN value: /<\?xml\s+(.*?)\?>/um - !ruby/object:RI::Constant comment: name: INSTRUCTION_START value: /\A<\?/u - !ruby/object:RI::Constant comment: name: INSTRUCTION_PATTERN value: /<\?(.*?)(\s+.*?)?\?>/um - !ruby/object:RI::Constant comment: name: TAG_MATCH value: /^<((?>#{NAME_STR}))\s*((?>\s+#{UNAME_STR}\s*=\s*(["']).*?\5)*)\s*(\/)?>/um - !ruby/object:RI::Constant comment: name: CLOSE_MATCH value: /^\s*<\/(#{NAME_STR})\s*>/um - !ruby/object:RI::Constant comment: name: VERSION value: /\bversion\s*=\s*["'](.*?)['"]/um - !ruby/object:RI::Constant comment: name: ENCODING value: /\bencoding\s*=\s*["'](.*?)['"]/um - !ruby/object:RI::Constant comment: name: STANDALONE value: /\bstandalone\s*=\s["'](.*?)['"]/um - !ruby/object:RI::Constant comment: name: ENTITY_START value: /^\s*/um - !ruby/object:RI::Constant comment: name: SYSTEMENTITY value: /^\s*(%.*?;)\s*$/um - !ruby/object:RI::Constant comment: name: ENUMERATION value: "\"\\\\(\\\\s*#{NMTOKEN}(?:\\\\s*\\\\|\\\\s*#{NMTOKEN})*\\\\s*\\\\)\"" - !ruby/object:RI::Constant comment: name: NOTATIONTYPE value: "\"NOTATION\\\\s+\\\\(\\\\s*#{NAME}(?:\\\\s*\\\\|\\\\s*#{NAME})*\\\\s*\\\\)\"" - !ruby/object:RI::Constant comment: name: ENUMERATEDTYPE value: "\"(?:(?:#{NOTATIONTYPE})|(?:#{ENUMERATION}))\"" - !ruby/object:RI::Constant comment: name: ATTTYPE value: "\"(CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS|#{ENUMERATEDTYPE})\"" - !ruby/object:RI::Constant comment: name: ATTVALUE value: "\"(?:\\\"((?:[^<&\\\"]|#{REFERENCE})*)\\\")|(?:'((?:[^<&']|#{REFERENCE})*)')\"" - !ruby/object:RI::Constant comment: name: DEFAULTDECL value: "\"(#REQUIRED|#IMPLIED|(?:(#FIXED\\\\s+)?#{ATTVALUE}))\"" - !ruby/object:RI::Constant comment: name: ATTDEF value: "\"\\\\s+#{NAME}\\\\s+#{ATTTYPE}\\\\s+#{DEFAULTDECL}\"" - !ruby/object:RI::Constant comment: name: ATTDEF_RE value: /#{ATTDEF}/ - !ruby/object:RI::Constant comment: name: ATTLISTDECL_START value: /^\s*/um - !ruby/object:RI::Constant comment: name: NOTATIONDECL_START value: /^\s*/um - !ruby/object:RI::Constant comment: name: SYSTEM value: /^\s*/um - !ruby/object:RI::Constant comment: name: TEXT_PATTERN value: /\A([^<]*)/um - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Entity constants name: PUBIDCHAR value: "\"\\x20\\x0D\\x0Aa-zA-Z0-9\\\\-()+,./:=?;!*@$_%#\"" - !ruby/object:RI::Constant comment: name: SYSTEMLITERAL value: "%Q{((?:\"[^\"]*\")|(?:'[^']*'))}" - !ruby/object:RI::Constant comment: name: PUBIDLITERAL value: "%Q{(\"[#{PUBIDCHAR}']*\"|'[#{PUBIDCHAR}]*')}" - !ruby/object:RI::Constant comment: name: EXTERNALID value: "\"(?:(?:(SYSTEM)\\\\s+#{SYSTEMLITERAL})|(?:(PUBLIC)\\\\s+#{PUBIDLITERAL}\\\\s+#{SYSTEMLITERAL}))\"" - !ruby/object:RI::Constant comment: name: NDATADECL value: "\"\\\\s+NDATA\\\\s+#{NAME}\"" - !ruby/object:RI::Constant comment: name: PEREFERENCE value: "\"%#{NAME};\"" - !ruby/object:RI::Constant comment: name: ENTITYVALUE value: "%Q{((?:\"(?:[^%&\"]|#{PEREFERENCE}|#{REFERENCE})*\")|(?:'([^%&']|#{PEREFERENCE}|#{REFERENCE})*'))}" - !ruby/object:RI::Constant comment: name: PEDEF value: "\"(?:#{ENTITYVALUE}|#{EXTERNALID})\"" - !ruby/object:RI::Constant comment: name: ENTITYDEF value: "\"(?:#{ENTITYVALUE}|(?:#{EXTERNALID}(#{NDATADECL})?))\"" - !ruby/object:RI::Constant comment: name: PEDECL value: "\"\"" - !ruby/object:RI::Constant comment: name: GEDECL value: "\"\"" - !ruby/object:RI::Constant comment: name: ENTITYDECL value: /\s*(?:#{GEDECL})|(?:#{PEDECL})/um - !ruby/object:RI::Constant comment: name: EREFERENCE value: /&(?!#{NAME};)/ - !ruby/object:RI::Constant comment: name: DEFAULT_ENTITIES value: "{ 'gt' => [/>/, '>', '>', />/], 'lt' => [/</, '<', '<', /], 'quot' => [/"/, '"', '\"', /\"/], \"apos\" => [/'/, \"'\", \"'\", /'/]" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: These are patterns to identify common markup errors, to make the error messages more informative. name: MISSING_ATTRIBUTE_QUOTES value: /^<#{NAME_STR}\s+#{NAME_STR}\s*=\s*[^"']/um full_name: REXML::Parsers::BaseParser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_listener - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: entity - !ruby/object:RI::MethodSummary name: has_next? - !ruby/object:RI::MethodSummary name: normalize - !ruby/object:RI::MethodSummary name: peek - !ruby/object:RI::MethodSummary name: position - !ruby/object:RI::MethodSummary name: pull - !ruby/object:RI::MethodSummary name: stream= - !ruby/object:RI::MethodSummary name: unnormalize - !ruby/object:RI::MethodSummary name: unshift name: BaseParser superclass: Object ri/1.8/system/REXML/Parsers/PullEvent/new-c.yaml 0000644 00000000633 15217654522 0015144 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The type of this event. Will be one of :tag_start, :tag_end, :text, :processing_instruction, :comment, :doctype, :attlistdecl, :entitydecl, :notationdecl, :entity, :cdata, :xmldecl, or :error. full_name: REXML::Parsers::PullEvent::new is_singleton: true name: new params: (arg) visibility: public ri/1.8/system/REXML/Parsers/PullEvent/notationdecl%3f-i.yaml 0000644 00000000406 15217654522 0017340 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Content: [ String text ]" full_name: REXML::Parsers::PullEvent#notationdecl? is_singleton: false name: notationdecl? params: () visibility: public ri/1.8/system/REXML/Parsers/PullEvent/instruction%3f-i.yaml 0000644 00000000404 15217654522 0017234 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Content: [ String text ]" full_name: REXML::Parsers::PullEvent#instruction? is_singleton: false name: instruction? params: () visibility: public ri/1.8/system/REXML/Parsers/PullEvent/xmldecl%3f-i.yaml 0000644 00000000443 15217654522 0016306 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Content: [ String version, String encoding, String standalone ]" full_name: REXML::Parsers::PullEvent#xmldecl? is_singleton: false name: xmldecl? params: () visibility: public ri/1.8/system/REXML/Parsers/PullEvent/cdata%3f-i.yaml 0000644 00000000370 15217654522 0015731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Content: [ String text ]" full_name: REXML::Parsers::PullEvent#cdata? is_singleton: false name: cdata? params: () visibility: public ri/1.8/system/REXML/Parsers/PullEvent/comment%3f-i.yaml 0000644 00000000374 15217654522 0016323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Content: [ String text ]" full_name: REXML::Parsers::PullEvent#comment? is_singleton: false name: comment? params: () visibility: public ri/1.8/system/REXML/Parsers/PullEvent/%5b%5d-i.yaml 0000644 00000000303 15217654522 0015224 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::PullEvent#[] is_singleton: false name: "[]" params: ( start, endd=nil) visibility: public ri/1.8/system/REXML/Parsers/PullEvent/doctype%3f-i.yaml 0000644 00000000452 15217654522 0016325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Content: [ String name, String pub_sys, String long_name, String uri ]" full_name: REXML::Parsers::PullEvent#doctype? is_singleton: false name: doctype? params: () visibility: public ri/1.8/system/REXML/Parsers/PullEvent/elementdecl%3f-i.yaml 0000644 00000000404 15217654522 0017134 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Content: [ String text ]" full_name: REXML::Parsers::PullEvent#elementdecl? is_singleton: false name: elementdecl? params: () visibility: public ri/1.8/system/REXML/Parsers/PullEvent/end_element%3f-i.yaml 0000644 00000000410 15217654522 0017127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Content: [ String tag_name ]" full_name: REXML::Parsers::PullEvent#end_element? is_singleton: false name: end_element? params: () visibility: public ri/1.8/system/REXML/Parsers/PullEvent/attlistdecl%3f-i.yaml 0000644 00000000404 15217654522 0017167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Content: [ String text ]" full_name: REXML::Parsers::PullEvent#attlistdecl? is_singleton: false name: attlistdecl? params: () visibility: public ri/1.8/system/REXML/Parsers/PullEvent/error%3f-i.yaml 0000644 00000000271 15217654522 0016006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::PullEvent#error? is_singleton: false name: error? params: () visibility: public ri/1.8/system/REXML/Parsers/PullEvent/text%3f-i.yaml 0000644 00000000424 15217654522 0015641 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Content: [ String raw_text, String unnormalized_text ]" full_name: REXML::Parsers::PullEvent#text? is_singleton: false name: text? params: () visibility: public ri/1.8/system/REXML/Parsers/PullEvent/event_type-i.yaml 0000644 00000000301 15217654522 0016533 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::PullEvent#event_type is_singleton: false name: event_type params: () visibility: public ri/1.8/system/REXML/Parsers/PullEvent/cdesc-PullEvent.yaml 0000644 00000002673 15217654522 0017136 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A parsing event. The contents of the event are accessed as an +Array?, and the type is given either by the ...? methods, or by accessing the type accessor. The contents of this object vary from event to event, but are identical to the arguments passed to +StreamListener+s for each event. constants: [] full_name: REXML::Parsers::PullEvent includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: attlistdecl? - !ruby/object:RI::MethodSummary name: cdata? - !ruby/object:RI::MethodSummary name: comment? - !ruby/object:RI::MethodSummary name: doctype? - !ruby/object:RI::MethodSummary name: elementdecl? - !ruby/object:RI::MethodSummary name: end_element? - !ruby/object:RI::MethodSummary name: entity? - !ruby/object:RI::MethodSummary name: entitydecl? - !ruby/object:RI::MethodSummary name: error? - !ruby/object:RI::MethodSummary name: event_type - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: instruction? - !ruby/object:RI::MethodSummary name: notationdecl? - !ruby/object:RI::MethodSummary name: start_element? - !ruby/object:RI::MethodSummary name: text? - !ruby/object:RI::MethodSummary name: xmldecl? name: PullEvent superclass: Object ri/1.8/system/REXML/Parsers/PullEvent/inspect-i.yaml 0000644 00000000273 15217654522 0016026 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::PullEvent#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/REXML/Parsers/PullEvent/entity%3f-i.yaml 0000644 00000000372 15217654522 0016173 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Content: [ String text ]" full_name: REXML::Parsers::PullEvent#entity? is_singleton: false name: entity? params: () visibility: public ri/1.8/system/REXML/Parsers/PullEvent/entitydecl%3f-i.yaml 0000644 00000001252 15217654522 0017021 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Due to the wonders of DTDs, an entity declaration can be just about anything. There's no way to normalize it; you'll have to interpret the content yourself. However, the following is true:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: "If the entity declaration is an internal entity: [ String name, String value ]" type: :BULLET - !ruby/struct:SM::Flow::P body: "Content: [ String text ]" full_name: REXML::Parsers::PullEvent#entitydecl? is_singleton: false name: entitydecl? params: () visibility: public ri/1.8/system/REXML/Parsers/PullEvent/start_element%3f-i.yaml 0000644 00000000435 15217654522 0017525 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Content: [ String tag_name, Hash attributes ]" full_name: REXML::Parsers::PullEvent#start_element? is_singleton: false name: start_element? params: () visibility: public ri/1.8/system/REXML/Parsers/StreamParser/new-c.yaml 0000644 00000000306 15217654522 0015633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::StreamParser::new is_singleton: true name: new params: (source, listener) visibility: public ri/1.8/system/REXML/Parsers/StreamParser/add_listener-i.yaml 0000644 00000000322 15217654522 0017503 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::StreamParser#add_listener is_singleton: false name: add_listener params: ( listener ) visibility: public ri/1.8/system/REXML/Parsers/StreamParser/parse-i.yaml 0000644 00000000272 15217654522 0016164 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::StreamParser#parse is_singleton: false name: parse params: () visibility: public ri/1.8/system/REXML/Parsers/StreamParser/cdesc-StreamParser.yaml 0000644 00000000544 15217654522 0020315 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::Parsers::StreamParser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_listener - !ruby/object:RI::MethodSummary name: parse name: StreamParser superclass: Object ri/1.8/system/REXML/Parsers/UltraLightParser/new-c.yaml 0000644 00000000300 15217654522 0016451 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::UltraLightParser::new is_singleton: true name: new params: (stream) visibility: public ri/1.8/system/REXML/Parsers/UltraLightParser/rewind-i.yaml 0000644 00000000300 15217654522 0017156 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::UltraLightParser#rewind is_singleton: false name: rewind params: () visibility: public ri/1.8/system/REXML/Parsers/UltraLightParser/add_listener-i.yaml 0000644 00000000326 15217654522 0020333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::UltraLightParser#add_listener is_singleton: false name: add_listener params: ( listener ) visibility: public ri/1.8/system/REXML/Parsers/UltraLightParser/cdesc-UltraLightParser.yaml 0000644 00000000635 15217654522 0021766 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::Parsers::UltraLightParser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_listener - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: rewind name: UltraLightParser superclass: Object ri/1.8/system/REXML/Parsers/UltraLightParser/parse-i.yaml 0000644 00000000276 15217654522 0017014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parsers::UltraLightParser#parse is_singleton: false name: parse params: () visibility: public ri/1.8/system/REXML/CData/new-c.yaml 0000644 00000001061 15217654522 0012557 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::VERB body: " Constructor. CData is data between <![CDATA[ ... ]]>\n" - !ruby/struct:SM::Flow::P body: Examples - !ruby/struct:SM::Flow::VERB body: " CData.new( source )\n CData.new( "Here is some CDATA" )\n CData.new( "Some unprocessed data", respect_whitespace_TF, parent_element )\n" full_name: REXML::CData::new is_singleton: true name: new params: ( first, whitespace=true, parent=nil ) visibility: public ri/1.8/system/REXML/CData/to_s-i.yaml 0000644 00000000654 15217654522 0012747 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the content of this CData object - !ruby/struct:SM::Flow::P body: Examples - !ruby/struct:SM::Flow::VERB body: " c = CData.new( "Some text" )\n c.to_s # -> "Some text"\n" full_name: REXML::CData#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/REXML/CData/cdesc-CData.yaml 0000644 00000001201 15217654522 0013575 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: START value: "''" - !ruby/object:RI::Constant comment: name: ILLEGAL value: /(\]\]>)/ full_name: REXML::CData includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: value - !ruby/object:RI::MethodSummary name: write name: CData superclass: Text ri/1.8/system/REXML/CData/write-i.yaml 0000644 00000002017 15217654522 0013130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: DEPRECATED - !ruby/struct:SM::Flow::P body: See the rexml/formatters package - !ruby/struct:SM::Flow::P body: Generates XML output of this object - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "output:" body: Where to write the string. Defaults to $stdout - !ruby/struct:SM::Flow::LI label: "indent:" body: The amount to indent this node by - !ruby/struct:SM::Flow::LI label: "transitive:" body: Ignored - !ruby/struct:SM::Flow::LI label: "ie_hack:" body: Ignored type: :NOTE - !ruby/struct:SM::Flow::P body: Examples - !ruby/struct:SM::Flow::VERB body: " c = CData.new( " Some text " )\n c.write( $stdout ) #-> <![CDATA[ Some text ]]>\n" full_name: REXML::CData#write is_singleton: false name: write params: ( output=$stdout, indent=-1, transitive=false, ie_hack=false ) visibility: public ri/1.8/system/REXML/CData/clone-i.yaml 0000644 00000000656 15217654522 0013105 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Make a copy of this object - !ruby/struct:SM::Flow::P body: Examples - !ruby/struct:SM::Flow::VERB body: " c = CData.new( "Some text" )\n d = c.clone\n d.to_s # -> "Some text"\n" full_name: REXML::CData#clone is_singleton: false name: clone params: () visibility: public ri/1.8/system/REXML/CData/value-i.yaml 0000644 00000000252 15217654522 0013111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::CData#value is_singleton: false name: value params: () visibility: public ri/1.8/system/REXML/entity_expansion_text_limit%3d-c.yaml 0000644 00000000500 15217654522 0017145 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the entity expansion limit. By default the limit is set to 10240. full_name: REXML::entity_expansion_text_limit= is_singleton: true name: entity_expansion_text_limit= params: ( val ) visibility: public ri/1.8/system/REXML/Formatters/Pretty/write_text-i.yaml 0000644 00000000322 15217654522 0016632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Formatters::Pretty#write_text is_singleton: false name: write_text params: ( node, output ) visibility: protected ri/1.8/system/REXML/Formatters/Pretty/new-c.yaml 0000644 00000001636 15217654522 0015230 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new pretty printer. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "output:" body: An object implementing '<<(String)', to which the output will be written. - !ruby/struct:SM::Flow::LI label: "indentation:" body: An integer greater than 0. The indentation of each level will be this number of spaces. If this is < 1, the behavior of this object is undefined. Defaults to 2. - !ruby/struct:SM::Flow::LI label: "ie_hack:" body: If true, the printer will insert whitespace before closing empty tags, thereby allowing Internet Explorer's feeble XML parser to function. Defaults to false. type: :NOTE full_name: REXML::Formatters::Pretty::new is_singleton: true name: new params: ( indentation=2, ie_hack=false ) visibility: public ri/1.8/system/REXML/Formatters/Pretty/indent_text-i.yaml 0000644 00000000365 15217654522 0016770 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Formatters::Pretty#indent_text is_singleton: false name: indent_text params: (string, level=1, style="\t", indentfirstline=true) visibility: private ri/1.8/system/REXML/Formatters/Pretty/write_cdata-i.yaml 0000644 00000000323 15217654522 0016723 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Formatters::Pretty#write_cdata is_singleton: false name: write_cdata params: ( node, output) visibility: protected ri/1.8/system/REXML/Formatters/Pretty/write_element-i.yaml 0000644 00000000326 15217654522 0017303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Formatters::Pretty#write_element is_singleton: false name: write_element params: (node, output) visibility: protected ri/1.8/system/REXML/Formatters/Pretty/wrap-i.yaml 0000644 00000000303 15217654522 0015404 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Formatters::Pretty#wrap is_singleton: false name: wrap params: (string, width) visibility: private ri/1.8/system/REXML/Formatters/Pretty/write_comment-i.yaml 0000644 00000000327 15217654522 0017315 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Formatters::Pretty#write_comment is_singleton: false name: write_comment params: ( node, output) visibility: protected ri/1.8/system/REXML/Formatters/Pretty/write_document-i.yaml 0000644 00000000332 15217654522 0017465 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Formatters::Pretty#write_document is_singleton: false name: write_document params: ( node, output ) visibility: protected ri/1.8/system/REXML/Formatters/Pretty/cdesc-Pretty.yaml 0000644 00000002303 15217654522 0016555 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: If compact is set to true, then the formatter will attempt to use as little space as possible name: compact rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The width of a page. Used for formatting text name: width rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Pretty-prints an XML document. This destroys whitespace in text nodes and will insert carriage returns and indentations. - !ruby/struct:SM::Flow::P body: "TODO: Add an option to print attributes on new lines" constants: [] full_name: REXML::Formatters::Pretty includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: indent_text - !ruby/object:RI::MethodSummary name: wrap - !ruby/object:RI::MethodSummary name: write_cdata - !ruby/object:RI::MethodSummary name: write_comment - !ruby/object:RI::MethodSummary name: write_document - !ruby/object:RI::MethodSummary name: write_element - !ruby/object:RI::MethodSummary name: write_text name: Pretty superclass: Default ri/1.8/system/REXML/Formatters/Default/write_text-i.yaml 0000644 00000000323 15217654522 0016730 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Formatters::Default#write_text is_singleton: false name: write_text params: ( node, output ) visibility: protected ri/1.8/system/REXML/Formatters/Default/new-c.yaml 0000644 00000001041 15217654522 0015313 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Prints out the XML document with no formatting -- except if id_hack is set. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "ie_hack:" body: If set to true, then inserts whitespace before the close of an empty tag, so that IE's bad XML parser doesn't choke. type: :NOTE full_name: REXML::Formatters::Default::new is_singleton: true name: new params: ( ie_hack=false ) visibility: public ri/1.8/system/REXML/Formatters/Default/write_cdata-i.yaml 0000644 00000000325 15217654522 0017022 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Formatters::Default#write_cdata is_singleton: false name: write_cdata params: ( node, output ) visibility: protected ri/1.8/system/REXML/Formatters/Default/write_element-i.yaml 0000644 00000000331 15217654522 0017374 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Formatters::Default#write_element is_singleton: false name: write_element params: ( node, output ) visibility: protected ri/1.8/system/REXML/Formatters/Default/write-i.yaml 0000644 00000001070 15217654522 0015664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Writes the node to some output. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "node:" body: The node to write - !ruby/struct:SM::Flow::LI label: "output:" body: A class implementing <<. Pass in an Output object to change the output encoding. type: :NOTE full_name: REXML::Formatters::Default#write is_singleton: false name: write params: ( node, output ) visibility: public ri/1.8/system/REXML/Formatters/Default/write_comment-i.yaml 0000644 00000000331 15217654522 0017405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Formatters::Default#write_comment is_singleton: false name: write_comment params: ( node, output ) visibility: protected ri/1.8/system/REXML/Formatters/Default/write_document-i.yaml 0000644 00000000333 15217654522 0017563 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Formatters::Default#write_document is_singleton: false name: write_document params: ( node, output ) visibility: protected ri/1.8/system/REXML/Formatters/Default/cdesc-Default.yaml 0000644 00000001166 15217654522 0016755 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::Formatters::Default includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: write - !ruby/object:RI::MethodSummary name: write_cdata - !ruby/object:RI::MethodSummary name: write_comment - !ruby/object:RI::MethodSummary name: write_document - !ruby/object:RI::MethodSummary name: write_element - !ruby/object:RI::MethodSummary name: write_instruction - !ruby/object:RI::MethodSummary name: write_text name: Default superclass: Object ri/1.8/system/REXML/Formatters/Default/write_instruction-i.yaml 0000644 00000000341 15217654522 0020325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Formatters::Default#write_instruction is_singleton: false name: write_instruction params: ( node, output ) visibility: protected ri/1.8/system/REXML/Formatters/Transitive/write_text-i.yaml 0000644 00000000326 15217654522 0017477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Formatters::Transitive#write_text is_singleton: false name: write_text params: ( node, output ) visibility: protected ri/1.8/system/REXML/Formatters/Transitive/new-c.yaml 0000644 00000000306 15217654522 0016062 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Formatters::Transitive::new is_singleton: true name: new params: ( indentation=2 ) visibility: public ri/1.8/system/REXML/Formatters/Transitive/write_element-i.yaml 0000644 00000000334 15217654522 0020143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Formatters::Transitive#write_element is_singleton: false name: write_element params: ( node, output ) visibility: protected ri/1.8/system/REXML/Formatters/Transitive/cdesc-Transitive.yaml 0000644 00000001703 15217654522 0020262 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: The Transitive formatter writes an XML document that parses to an identical document as the source document. This means that no extra whitespace nodes are inserted, and whitespace within text nodes is preserved. Within these constraints, the document is pretty-printed, with whitespace inserted into the metadata to introduce formatting. - !ruby/struct:SM::Flow::P body: Note that this is only useful if the original XML is not already formatted. Since this formatter does not alter whitespace nodes, the results of formatting already formatted XML will be odd. constants: [] full_name: REXML::Formatters::Transitive includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: write_element - !ruby/object:RI::MethodSummary name: write_text name: Transitive superclass: Default ri/1.8/system/REXML/Formatters/cdesc-Formatters.yaml 0000644 00000000302 15217654522 0016122 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: REXML::Formatters includes: [] instance_methods: [] name: Formatters superclass: ri/1.8/system/REXML/ExternalEntity/new-c.yaml 0000644 00000000264 15217654522 0014566 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::ExternalEntity::new is_singleton: true name: new params: ( src ) visibility: public ri/1.8/system/REXML/ExternalEntity/to_s-i.yaml 0000644 00000000261 15217654522 0014744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::ExternalEntity#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/REXML/ExternalEntity/cdesc-ExternalEntity.yaml 0000644 00000000526 15217654522 0017614 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::ExternalEntity includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: write name: ExternalEntity superclass: Child ri/1.8/system/REXML/ExternalEntity/write-i.yaml 0000644 00000000303 15217654522 0015127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::ExternalEntity#write is_singleton: false name: write params: ( output, indent ) visibility: public ri/1.8/system/REXML/SourceFactory/cdesc-SourceFactory.yaml 0000644 00000000511 15217654522 0017230 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: create_from comment: - !ruby/struct:SM::Flow::P body: Generates Source-s. USE THIS CLASS. constants: [] full_name: REXML::SourceFactory includes: [] instance_methods: [] name: SourceFactory superclass: Object ri/1.8/system/REXML/SourceFactory/create_from-c.yaml 0000644 00000000531 15217654522 0016071 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generates a Source object @param arg Either a String, or an IO @return a Source, or nil if a bad argument was given full_name: REXML::SourceFactory::create_from is_singleton: true name: create_from params: (arg) visibility: public ri/1.8/system/REXML/Node/to_s-i.yaml 0000644 00000000655 15217654522 0012661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "indent:" body: DEPRECATED This parameter is now ignored. See the formatters in the REXML::Formatters package for changing the output style. type: :NOTE full_name: REXML::Node#to_s is_singleton: false name: to_s params: (indent=nil) visibility: public ri/1.8/system/REXML/Node/next_sibling_node-i.yaml 0000644 00000000417 15217654522 0015403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "@return the next sibling (nil if unset)" full_name: REXML::Node#next_sibling_node is_singleton: false name: next_sibling_node params: () visibility: public ri/1.8/system/REXML/Node/index_in_parent-i.yaml 0000644 00000000466 15217654522 0015063 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the position that self holds in its parent's array, indexed from 1. full_name: REXML::Node#index_in_parent is_singleton: false name: index_in_parent params: () visibility: public ri/1.8/system/REXML/Node/each_recursive-i.yaml 0000644 00000000440 15217654522 0014674 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: node comment: - !ruby/struct:SM::Flow::P body: Visit all subnodes of self recursively full_name: REXML::Node#each_recursive is_singleton: false name: each_recursive params: () {|node| ...} visibility: public ri/1.8/system/REXML/Node/previous_sibling_node-i.yaml 0000644 00000000433 15217654522 0016277 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "@return the previous sibling (nil if unset)" full_name: REXML::Node#previous_sibling_node is_singleton: false name: previous_sibling_node params: () visibility: public ri/1.8/system/REXML/Node/find_first_recursive-i.yaml 0000644 00000000571 15217654522 0016130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: node comment: - !ruby/struct:SM::Flow::P body: Find (and return) first subnode (recursively) for which the block evaluates to true. Returns nil if none was found. full_name: REXML::Node#find_first_recursive is_singleton: false name: find_first_recursive params: () {|node| ...} visibility: public ri/1.8/system/REXML/Node/parent%3f-i.yaml 0000644 00000000255 15217654522 0013500 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Node#parent? is_singleton: false name: parent? params: () visibility: public ri/1.8/system/REXML/Node/indent-i.yaml 0000644 00000000262 15217654522 0013170 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Node#indent is_singleton: false name: indent params: (to, ind) visibility: public ri/1.8/system/REXML/Node/cdesc-Node.yaml 0000644 00000001420 15217654522 0013422 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Represents a node in the tree. Nodes are never encountered except as superclasses of other objects. Nodes have siblings. constants: [] full_name: REXML::Node includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: each_recursive - !ruby/object:RI::MethodSummary name: find_first_recursive - !ruby/object:RI::MethodSummary name: indent - !ruby/object:RI::MethodSummary name: index_in_parent - !ruby/object:RI::MethodSummary name: next_sibling_node - !ruby/object:RI::MethodSummary name: parent? - !ruby/object:RI::MethodSummary name: previous_sibling_node - !ruby/object:RI::MethodSummary name: to_s name: Node superclass: ri/1.8/system/REXML/Document/xml_decl-i.yaml 0000644 00000000500 15217654522 0014362 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "@return the XMLDecl of this document; if no XMLDecl has been set, the default declaration is returned." full_name: REXML::Document#xml_decl is_singleton: false name: xml_decl params: () visibility: public ri/1.8/system/REXML/Document/stand_alone%3f-i.yaml 0000644 00000000535 15217654522 0015370 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "@return the XMLDecl standalone value of this document as a String. If no XMLDecl has been set, returns the default setting." full_name: REXML::Document#stand_alone? is_singleton: false name: stand_alone? params: () visibility: public ri/1.8/system/REXML/Document/new-c.yaml 0000644 00000001057 15217654522 0013366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Constructor @param source if supplied, must be a Document, String, or IO. Documents have their context and Element attributes cloned. Strings are expected to be valid XML documents. IOs are expected to be sources of valid XML documents. @param context if supplied, contains the context of the document; this should be a Hash. full_name: REXML::Document::new is_singleton: true name: new params: ( source = nil, context = {} ) visibility: public ri/1.8/system/REXML/Document/%3c%3c-i.yaml 0000644 00000000345 15217654522 0013447 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add" full_name: REXML::Document#<< is_singleton: false name: "<<" params: ( child ) visibility: public ri/1.8/system/REXML/Document/cdesc-Document.yaml 0000644 00000004122 15217654522 0015206 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: entity_expansion_count rw: R class_methods: - !ruby/object:RI::MethodSummary name: entity_expansion_limit - !ruby/object:RI::MethodSummary name: entity_expansion_limit= - !ruby/object:RI::MethodSummary name: entity_expansion_text_limit - !ruby/object:RI::MethodSummary name: entity_expansion_text_limit= - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: parse_stream comment: - !ruby/struct:SM::Flow::P body: Represents a full XML document, including PIs, a doctype, etc. A Document has a single child that can be accessed by root(). Note that if you want to have an XML declaration written for a document you create, you must add one; REXML documents do not write a default declaration for you. See |DECLARATION| and |write|. constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: "A convenient default XML declaration. If you want an XML declaration, the easiest way to add one is mydoc << Document::DECLARATION DEPRECATED Use: mydoc << XMLDecl.default" name: DECLARATION value: XMLDecl.default full_name: REXML::Document includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: add_element - !ruby/object:RI::MethodSummary name: build - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: doctype - !ruby/object:RI::MethodSummary name: encoding - !ruby/object:RI::MethodSummary name: expanded_name - !ruby/object:RI::MethodSummary name: name - !ruby/object:RI::MethodSummary name: node_type - !ruby/object:RI::MethodSummary name: record_entity_expansion - !ruby/object:RI::MethodSummary name: root - !ruby/object:RI::MethodSummary name: stand_alone? - !ruby/object:RI::MethodSummary name: version - !ruby/object:RI::MethodSummary name: write - !ruby/object:RI::MethodSummary name: xml_decl name: Document superclass: Element ri/1.8/system/REXML/Document/add_element-i.yaml 0000644 00000000312 15217654522 0015035 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Document#add_element is_singleton: false name: add_element params: (arg=nil, arg2=nil) visibility: public ri/1.8/system/REXML/Document/expanded_name-i.yaml 0000644 00000000505 15217654522 0015370 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: name block_params: comment: - !ruby/struct:SM::Flow::P body: According to the XML spec, a root node has no expanded name full_name: REXML::Document#expanded_name is_singleton: false name: expanded_name params: () visibility: public ri/1.8/system/REXML/Document/name-i.yaml 0000644 00000000352 15217654522 0013520 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #expanded_name" full_name: REXML::Document#name is_singleton: false name: name params: () visibility: public ri/1.8/system/REXML/Document/parse_stream-c.yaml 0000644 00000000315 15217654522 0015256 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Document::parse_stream is_singleton: true name: parse_stream params: ( source, listener ) visibility: public ri/1.8/system/REXML/Document/build-i.yaml 0000644 00000000266 15217654522 0013703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Document#build is_singleton: false name: build params: ( source ) visibility: private ri/1.8/system/REXML/Document/entity_expansion_text_limit%3d-c.yaml 0000644 00000000652 15217654522 0020733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the entity expansion limit. By default the limit is set to 10240. - !ruby/struct:SM::Flow::P body: Deprecated. Use REXML.entity_expansion_text_limit= instead. full_name: REXML::Document::entity_expansion_text_limit= is_singleton: true name: entity_expansion_text_limit= params: ( val ) visibility: public ri/1.8/system/REXML/Document/entity_expansion_limit%3d-c.yaml 0000644 00000000500 15217654522 0017657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the entity expansion limit. By default the limit is set to 10000. full_name: REXML::Document::entity_expansion_limit= is_singleton: true name: entity_expansion_limit= params: ( val ) visibility: public ri/1.8/system/REXML/Document/write-i.yaml 0000644 00000005053 15217654522 0013735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Write the XML tree out, optionally with indent. This writes out the entire XML document, including XML declarations, doctype declarations, and processing instructions (if any are given). - !ruby/struct:SM::Flow::P body: A controversial point is whether Document should always write the XML declaration (<?xml version='1.0'?>) whether or not one is given by the user (or source document). REXML does not write one if one was not specified, because it adds unnecessary bandwidth to applications such as XML-RPC. - !ruby/struct:SM::Flow::P body: See also the classes in the rexml/formatters package for the proper way to change the default formatting of XML output - !ruby/struct:SM::Flow::P body: Examples - !ruby/struct:SM::Flow::VERB body: " Document.new("<a><b/></a>").serialize\n\n output_string = ""\n tr = Transitive.new( output_string )\n Document.new("<a><b/></a>").serialize( tr )\n" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "output:" body: output an object which supports '<< string'; this is where the type: :NOTE - !ruby/struct:SM::Flow::VERB body: " document will be written.\n" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "indent:" body: An integer. If -1, no indenting will be used; otherwise, the indentation will be twice this number of spaces, and children will be indented an additional amount. For a value of 3, every item will be indented 3 more levels, or 6 more spaces (2 * 3). Defaults to -1 - !ruby/struct:SM::Flow::LI label: "trans:" body: If transitive is true and indent is >= 0, then the output will be pretty-printed in such a way that the added whitespace does not affect the absolute value of the document -- that is, it leaves the value and number of Text nodes in the document unchanged. - !ruby/struct:SM::Flow::LI label: "ie_hack:" body: Internet Explorer is the worst piece of crap to have ever been written, with the possible exception of Windows itself. Since IE is unable to parse proper XML, we have to provide a hack to generate XML that IE's limited abilities can handle. This hack inserts a space before the /> on empty tags. Defaults to false type: :NOTE full_name: REXML::Document#write is_singleton: false name: write params: ( output=$stdout, indent=-1, trans=false, ie_hack=false ) visibility: public ri/1.8/system/REXML/Document/root-i.yaml 0000644 00000000444 15217654522 0013565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "@return the root Element of the document, or nil if this document has no children." full_name: REXML::Document#root is_singleton: false name: root params: () visibility: public ri/1.8/system/REXML/Document/node_type-i.yaml 0000644 00000000265 15217654522 0014571 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Document#node_type is_singleton: false name: node_type params: () visibility: public ri/1.8/system/REXML/Document/entity_expansion_limit-c.yaml 0000644 00000000471 15217654522 0017372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the entity expansion limit. By default the limit is set to 10000. full_name: REXML::Document::entity_expansion_limit is_singleton: true name: entity_expansion_limit params: () visibility: public ri/1.8/system/REXML/Document/entity_expansion_text_limit-c.yaml 0000644 00000000642 15217654522 0020436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the entity expansion limit. By default the limit is set to 10000. - !ruby/struct:SM::Flow::P body: Deprecated. Use REXML.entity_expansion_text_limit instead. full_name: REXML::Document::entity_expansion_text_limit is_singleton: true name: entity_expansion_text_limit params: () visibility: public ri/1.8/system/REXML/Document/version-i.yaml 0000644 00000000512 15217654522 0014263 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "@return the XMLDecl version of this document as a String. If no XMLDecl has been set, returns the default version." full_name: REXML::Document#version is_singleton: false name: version params: () visibility: public ri/1.8/system/REXML/Document/clone-i.yaml 0000644 00000000343 15217654522 0013700 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Should be obvious full_name: REXML::Document#clone is_singleton: false name: clone params: () visibility: public ri/1.8/system/REXML/Document/record_entity_expansion-i.yaml 0000644 00000000321 15217654522 0017532 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Document#record_entity_expansion is_singleton: false name: record_entity_expansion params: () visibility: public ri/1.8/system/REXML/Document/encoding-i.yaml 0000644 00000000516 15217654522 0014370 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "@return the XMLDecl encoding of this document as a String. If no XMLDecl has been set, returns the default encoding." full_name: REXML::Document#encoding is_singleton: false name: encoding params: () visibility: public ri/1.8/system/REXML/Document/doctype-i.yaml 0000644 00000000444 15217654522 0014251 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "@return the DocType child of the document, if one exists, and nil otherwise." full_name: REXML::Document#doctype is_singleton: false name: doctype params: () visibility: public ri/1.8/system/REXML/Document/add-i.yaml 0000644 00000000521 15217654522 0013326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: "<<" block_params: comment: - !ruby/struct:SM::Flow::P body: We override this, because XMLDecls and DocTypes must go at the start of the document full_name: REXML::Document#add is_singleton: false name: add params: ( child ) visibility: public ri/1.8/system/REXML/XMLTokens/cdesc-XMLTokens.yaml 0000644 00000001734 15217654522 0015330 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Defines a number of tokens used for parsing XML. Not for general consumption. constants: - !ruby/object:RI::Constant comment: name: NCNAME_STR value: "'[\\w:][\\-\\w\\d.]*'" - !ruby/object:RI::Constant comment: name: NAME_STR value: "\"(?:#{NCNAME_STR}:)?#{NCNAME_STR}\"" - !ruby/object:RI::Constant comment: name: NAMECHAR value: "'[\\-\\w\\d\\.:]'" - !ruby/object:RI::Constant comment: name: NAME value: "\"([\\\\w:]#{NAMECHAR}*)\"" - !ruby/object:RI::Constant comment: name: NMTOKEN value: "\"(?:#{NAMECHAR})+\"" - !ruby/object:RI::Constant comment: name: NMTOKENS value: "\"#{NMTOKEN}(\\\\s+#{NMTOKEN})*\"" - !ruby/object:RI::Constant comment: name: REFERENCE value: "\"(?:{NAME};|\\\\d+;|[0-9a-fA-F]+;)\"" full_name: REXML::XMLTokens includes: [] instance_methods: [] name: XMLTokens superclass: ri/1.8/system/REXML/ParseException/new-c.yaml 0000644 00000000337 15217654522 0014541 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::ParseException::new is_singleton: true name: new params: ( message, source=nil, parser=nil, exception=nil ) visibility: public ri/1.8/system/REXML/ParseException/to_s-i.yaml 0000644 00000000261 15217654522 0014716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::ParseException#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/REXML/ParseException/position-i.yaml 0000644 00000000271 15217654522 0015617 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::ParseException#position is_singleton: false name: position params: () visibility: public ri/1.8/system/REXML/ParseException/context-i.yaml 0000644 00000000267 15217654522 0015444 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::ParseException#context is_singleton: false name: context params: () visibility: public ri/1.8/system/REXML/ParseException/cdesc-ParseException.yaml 0000644 00000001221 15217654522 0017531 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: continued_exception rw: RW - !ruby/object:RI::Attribute comment: name: parser rw: RW - !ruby/object:RI::Attribute comment: name: source rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::ParseException includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: context - !ruby/object:RI::MethodSummary name: line - !ruby/object:RI::MethodSummary name: position - !ruby/object:RI::MethodSummary name: to_s name: ParseException superclass: RuntimeError ri/1.8/system/REXML/ParseException/line-i.yaml 0000644 00000000261 15217654522 0014701 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::ParseException#line is_singleton: false name: line params: () visibility: public ri/1.8/system/REXML/Instruction/new-c.yaml 0000644 00000001317 15217654522 0014130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Constructs a new Instruction @param target can be one of a number of things. If String, then the target of this instruction is set to this. If an Instruction, then the Instruction is shallowly cloned (target and content are copied). If a Source, then the source is scanned and parsed for an Instruction declaration. @param content Must be either a String, or a Parent. Can only be a Parent if the target argument is a Source. Otherwise, this String is set as the content of this instruction. full_name: REXML::Instruction::new is_singleton: true name: new params: (target, content=nil) visibility: public ri/1.8/system/REXML/Instruction/write-i.yaml 0000644 00000000541 15217654522 0014475 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: DEPRECATED - !ruby/struct:SM::Flow::P body: See the rexml/formatters package full_name: REXML::Instruction#write is_singleton: false name: write params: (writer, indent=-1, transitive=false, ie_hack=false) visibility: public ri/1.8/system/REXML/Instruction/inspect-i.yaml 0000644 00000000264 15217654522 0015012 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Instruction#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/REXML/Instruction/node_type-i.yaml 0000644 00000000270 15217654522 0015330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Instruction#node_type is_singleton: false name: node_type params: () visibility: public ri/1.8/system/REXML/Instruction/clone-i.yaml 0000644 00000000260 15217654522 0014441 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Instruction#clone is_singleton: false name: clone params: () visibility: public ri/1.8/system/REXML/Instruction/cdesc-Instruction.yaml 0000644 00000002303 15217654522 0016513 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: target is the "name" of the Instruction; IE, the "tag" in <?tag ...?> content is everything else. name: content rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: target is the "name" of the Instruction; IE, the "tag" in <?tag ...?> content is everything else. name: target rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "Represents an XML Instruction; IE, <? ... ?> TODO: Add parent arg (3rd arg) to constructor" constants: - !ruby/object:RI::Constant comment: name: START value: "'<\\?'" - !ruby/object:RI::Constant comment: name: STOP value: "'\\?>'" full_name: REXML::Instruction includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: node_type - !ruby/object:RI::MethodSummary name: write name: Instruction superclass: Child ri/1.8/system/REXML/Instruction/%3d%3d-i.yaml 0000644 00000000527 15217654522 0014216 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "@return true if other is an Instruction, and the content and target of the other matches the target and content of this object." full_name: REXML::Instruction#== is_singleton: false name: == params: ( other ) visibility: public ri/1.8/system/REXML/Validation/ZeroOrMore/expected-i.yaml 0000644 00000000301 15217654522 0016752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::ZeroOrMore#expected is_singleton: false name: expected params: () visibility: public ri/1.8/system/REXML/Validation/ZeroOrMore/cdesc-ZeroOrMore.yaml 0000644 00000000465 15217654522 0020060 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: REXML::Validation::ZeroOrMore includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: expected - !ruby/object:RI::MethodSummary name: next name: ZeroOrMore superclass: Optional ri/1.8/system/REXML/Validation/ZeroOrMore/next-i.yaml 0000644 00000000300 15217654522 0016126 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::ZeroOrMore#next is_singleton: false name: next params: ( event ) visibility: public ri/1.8/system/REXML/Validation/Optional/cdesc-Optional.yaml 0000644 00000000541 15217654522 0017317 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: REXML::Validation::Optional includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: expected - !ruby/object:RI::MethodSummary name: matches? - !ruby/object:RI::MethodSummary name: next name: Optional superclass: State ri/1.8/system/REXML/Validation/Optional/matches%3f-i.yaml 0000644 00000000304 15217654522 0016620 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Optional#matches? is_singleton: false name: matches? params: (event) visibility: public ri/1.8/system/REXML/Validation/Optional/expected-i.yaml 0000644 00000000277 15217654522 0016510 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Optional#expected is_singleton: false name: expected params: () visibility: public ri/1.8/system/REXML/Validation/Optional/next-i.yaml 0000644 00000000276 15217654522 0015664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Optional#next is_singleton: false name: next params: ( event ) visibility: public ri/1.8/system/REXML/Validation/ValidationException/new-c.yaml 0000644 00000000303 15217654522 0017644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::ValidationException::new is_singleton: true name: new params: (msg) visibility: public ri/1.8/system/REXML/Validation/ValidationException/cdesc-ValidationException.yaml 0000644 00000000427 15217654522 0023672 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::Validation::ValidationException includes: [] instance_methods: [] name: ValidationException superclass: RuntimeError ri/1.8/system/REXML/Validation/cdesc-Validation.yaml 0000644 00000000302 15217654522 0016032 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: REXML::Validation includes: [] instance_methods: [] name: Validation superclass: ri/1.8/system/REXML/Validation/Choice/new-c.yaml 0000644 00000000272 15217654522 0015072 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Choice::new is_singleton: true name: new params: (context) visibility: public ri/1.8/system/REXML/Validation/Choice/%3c%3c-i.yaml 0000644 00000000272 15217654522 0015154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Choice#<< is_singleton: false name: "<<" params: ( event ) visibility: public ri/1.8/system/REXML/Validation/Choice/add_event_to_arry-i.yaml 0000644 00000000335 15217654522 0017777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Choice#add_event_to_arry is_singleton: false name: add_event_to_arry params: ( arry, evt ) visibility: protected ri/1.8/system/REXML/Validation/Choice/matches%3f-i.yaml 0000644 00000000304 15217654522 0016225 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Choice#matches? is_singleton: false name: matches? params: ( event ) visibility: public ri/1.8/system/REXML/Validation/Choice/reset-i.yaml 0000644 00000000267 15217654522 0015435 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Choice#reset is_singleton: false name: reset params: () visibility: public ri/1.8/system/REXML/Validation/Choice/inspect-i.yaml 0000644 00000000273 15217654522 0015755 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Choice#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/REXML/Validation/Choice/expected-i.yaml 0000644 00000000275 15217654522 0016113 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Choice#expected is_singleton: false name: expected params: () visibility: public ri/1.8/system/REXML/Validation/Choice/next-i.yaml 0000644 00000000274 15217654522 0015267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Choice#next is_singleton: false name: next params: ( event ) visibility: public ri/1.8/system/REXML/Validation/Choice/cdesc-Choice.yaml 0000644 00000001125 15217654522 0016330 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::Validation::Choice includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: add_event_to_arry - !ruby/object:RI::MethodSummary name: expected - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: matches? - !ruby/object:RI::MethodSummary name: next - !ruby/object:RI::MethodSummary name: reset name: Choice superclass: State ri/1.8/system/REXML/Validation/Ref/new-c.yaml 0000644 00000000265 15217654522 0014416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Ref::new is_singleton: true name: new params: (value) visibility: public ri/1.8/system/REXML/Validation/Ref/to_s-i.yaml 0000644 00000000262 15217654522 0014574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Ref#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/REXML/Validation/Ref/inspect-i.yaml 0000644 00000000270 15217654522 0015274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Ref#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/REXML/Validation/Ref/cdesc-Ref.yaml 0000644 00000000517 15217654522 0015200 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::Validation::Ref includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: to_s name: Ref superclass: Object ri/1.8/system/REXML/Validation/OneOrMore/new-c.yaml 0000644 00000000275 15217654522 0015550 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::OneOrMore::new is_singleton: true name: new params: (context) visibility: public ri/1.8/system/REXML/Validation/OneOrMore/matches%3f-i.yaml 0000644 00000000307 15217654522 0016703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::OneOrMore#matches? is_singleton: false name: matches? params: ( event ) visibility: public ri/1.8/system/REXML/Validation/OneOrMore/reset-i.yaml 0000644 00000000272 15217654522 0016104 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::OneOrMore#reset is_singleton: false name: reset params: () visibility: public ri/1.8/system/REXML/Validation/OneOrMore/expected-i.yaml 0000644 00000000300 15217654522 0016553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::OneOrMore#expected is_singleton: false name: expected params: () visibility: public ri/1.8/system/REXML/Validation/OneOrMore/next-i.yaml 0000644 00000000277 15217654522 0015745 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::OneOrMore#next is_singleton: false name: next params: ( event ) visibility: public ri/1.8/system/REXML/Validation/OneOrMore/cdesc-OneOrMore.yaml 0000644 00000000676 15217654522 0017470 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::Validation::OneOrMore includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: expected - !ruby/object:RI::MethodSummary name: matches? - !ruby/object:RI::MethodSummary name: next - !ruby/object:RI::MethodSummary name: reset name: OneOrMore superclass: State ri/1.8/system/REXML/Validation/Event/new-c.yaml 0000644 00000000314 15217654522 0014756 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Event::new is_singleton: true name: new params: (event_type, event_arg=nil ) visibility: public ri/1.8/system/REXML/Validation/Event/to_s-i.yaml 0000644 00000000264 15217654522 0015143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Event#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/REXML/Validation/Event/cdesc-Event.yaml 0000644 00000001234 15217654522 0016107 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: event_arg rw: RW - !ruby/object:RI::Attribute comment: name: event_type rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::Validation::Event includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: done? - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: matches? - !ruby/object:RI::MethodSummary name: single? - !ruby/object:RI::MethodSummary name: to_s name: Event superclass: Object ri/1.8/system/REXML/Validation/Event/single%3f-i.yaml 0000644 00000000272 15217654522 0015755 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Event#single? is_singleton: false name: single? params: () visibility: public ri/1.8/system/REXML/Validation/Event/matches%3f-i.yaml 0000644 00000000303 15217654522 0016113 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Event#matches? is_singleton: false name: matches? params: ( event ) visibility: public ri/1.8/system/REXML/Validation/Event/inspect-i.yaml 0000644 00000000272 15217654522 0015643 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Event#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/REXML/Validation/Event/%3d%3d-i.yaml 0000644 00000000267 15217654522 0015051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Event#== is_singleton: false name: == params: ( other ) visibility: public ri/1.8/system/REXML/Validation/Event/done%3f-i.yaml 0000644 00000000266 15217654522 0015424 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Event#done? is_singleton: false name: done? params: () visibility: public ri/1.8/system/REXML/Validation/Sequence/matches%3f-i.yaml 0000644 00000000304 15217654522 0016603 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Sequence#matches? is_singleton: false name: matches? params: (event) visibility: public ri/1.8/system/REXML/Validation/Sequence/cdesc-Sequence.yaml 0000644 00000000377 15217654522 0017274 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: REXML::Validation::Sequence includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: matches? name: Sequence superclass: State ri/1.8/system/REXML/Validation/RelaxNG/new-c.yaml 0000644 00000000362 15217654522 0015200 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "FIXME: Namespaces" full_name: REXML::Validation::RelaxNG::new is_singleton: true name: new params: (source) visibility: public ri/1.8/system/REXML/Validation/RelaxNG/cdesc-RelaxNG.yaml 0000644 00000005056 15217654522 0016553 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: count rw: RW - !ruby/object:RI::Attribute comment: name: current rw: RW - !ruby/object:RI::Attribute comment: name: references rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "Implemented:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: empty - !ruby/struct:SM::Flow::LI label: "*" body: element - !ruby/struct:SM::Flow::LI label: "*" body: attribute - !ruby/struct:SM::Flow::LI label: "*" body: text - !ruby/struct:SM::Flow::LI label: "*" body: optional - !ruby/struct:SM::Flow::LI label: "*" body: choice - !ruby/struct:SM::Flow::LI label: "*" body: oneOrMore - !ruby/struct:SM::Flow::LI label: "*" body: zeroOrMore - !ruby/struct:SM::Flow::LI label: "*" body: group - !ruby/struct:SM::Flow::LI label: "*" body: value - !ruby/struct:SM::Flow::LI label: "*" body: interleave - !ruby/struct:SM::Flow::LI label: "*" body: mixed - !ruby/struct:SM::Flow::LI label: "*" body: ref - !ruby/struct:SM::Flow::LI label: "*" body: grammar - !ruby/struct:SM::Flow::LI label: "*" body: start - !ruby/struct:SM::Flow::LI label: "*" body: define type: :BULLET - !ruby/struct:SM::Flow::P body: "Not implemented:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: data - !ruby/struct:SM::Flow::LI label: "*" body: param - !ruby/struct:SM::Flow::LI label: "*" body: include - !ruby/struct:SM::Flow::LI label: "*" body: externalRef - !ruby/struct:SM::Flow::LI label: "*" body: notAllowed - !ruby/struct:SM::Flow::LI label: "*" body: anyName - !ruby/struct:SM::Flow::LI label: "*" body: nsName - !ruby/struct:SM::Flow::LI label: "*" body: except - !ruby/struct:SM::Flow::LI label: "*" body: name type: :BULLET constants: - !ruby/object:RI::Constant comment: name: INFINITY value: 1.0 / 0.0 - !ruby/object:RI::Constant comment: name: EMPTY value: Event.new( nil ) - !ruby/object:RI::Constant comment: name: TEXT value: "[:start_element, \"text\"]" full_name: REXML::Validation::RelaxNG includes: - !ruby/object:RI::IncludedModule name: Validator instance_methods: - !ruby/object:RI::MethodSummary name: receive name: RelaxNG superclass: Object ri/1.8/system/REXML/Validation/RelaxNG/receive-i.yaml 0000644 00000000301 15217654522 0016030 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::RelaxNG#receive is_singleton: false name: receive params: (event) visibility: public ri/1.8/system/REXML/Validation/State/new-c.yaml 0000644 00000000273 15217654522 0014761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::State::new is_singleton: true name: new params: ( context ) visibility: public ri/1.8/system/REXML/Validation/State/to_s-i.yaml 0000644 00000000264 15217654522 0015142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::State#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/REXML/Validation/State/%3c%3c-i.yaml 0000644 00000000271 15217654522 0015041 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::State#<< is_singleton: false name: "<<" params: ( event ) visibility: public ri/1.8/system/REXML/Validation/State/add_event_to_arry-i.yaml 0000644 00000000334 15217654522 0017664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::State#add_event_to_arry is_singleton: false name: add_event_to_arry params: ( arry, evt ) visibility: protected ri/1.8/system/REXML/Validation/State/reset-i.yaml 0000644 00000000266 15217654522 0015322 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::State#reset is_singleton: false name: reset params: () visibility: public ri/1.8/system/REXML/Validation/State/generate_event-i.yaml 0000644 00000000322 15217654522 0017164 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::State#generate_event is_singleton: false name: generate_event params: ( event ) visibility: protected ri/1.8/system/REXML/Validation/State/previous%3d-i.yaml 0000644 00000000310 15217654522 0016336 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::State#previous= is_singleton: false name: previous= params: ( previous ) visibility: public ri/1.8/system/REXML/Validation/State/inspect-i.yaml 0000644 00000000272 15217654522 0015642 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::State#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/REXML/Validation/State/expected-i.yaml 0000644 00000000274 15217654522 0016000 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::State#expected is_singleton: false name: expected params: () visibility: public ri/1.8/system/REXML/Validation/State/next-i.yaml 0000644 00000000273 15217654522 0015154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::State#next is_singleton: false name: next params: ( event ) visibility: public ri/1.8/system/REXML/Validation/State/cdesc-State.yaml 0000644 00000001365 15217654522 0016112 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::Validation::State includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: add_event_to_arry - !ruby/object:RI::MethodSummary name: expand_ref_in - !ruby/object:RI::MethodSummary name: expected - !ruby/object:RI::MethodSummary name: generate_event - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: next - !ruby/object:RI::MethodSummary name: previous= - !ruby/object:RI::MethodSummary name: reset - !ruby/object:RI::MethodSummary name: to_s name: State superclass: Object ri/1.8/system/REXML/Validation/State/expand_ref_in-i.yaml 0000644 00000000324 15217654522 0016774 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::State#expand_ref_in is_singleton: false name: expand_ref_in params: ( arry, ind ) visibility: protected ri/1.8/system/REXML/Validation/Interleave/new-c.yaml 0000644 00000000276 15217654522 0016002 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Interleave::new is_singleton: true name: new params: (context) visibility: public ri/1.8/system/REXML/Validation/Interleave/cdesc-Interleave.yaml 0000644 00000001052 15217654522 0020137 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::Validation::Interleave includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: expected - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: matches? - !ruby/object:RI::MethodSummary name: next - !ruby/object:RI::MethodSummary name: next_current - !ruby/object:RI::MethodSummary name: reset name: Interleave superclass: Choice ri/1.8/system/REXML/Validation/Interleave/next_current-i.yaml 0000644 00000000320 15217654522 0017725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Interleave#next_current is_singleton: false name: next_current params: ( event ) visibility: public ri/1.8/system/REXML/Validation/Interleave/matches%3f-i.yaml 0000644 00000000310 15217654522 0017126 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Interleave#matches? is_singleton: false name: matches? params: ( event ) visibility: public ri/1.8/system/REXML/Validation/Interleave/reset-i.yaml 0000644 00000000273 15217654522 0016336 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Interleave#reset is_singleton: false name: reset params: () visibility: public ri/1.8/system/REXML/Validation/Interleave/inspect-i.yaml 0000644 00000000277 15217654522 0016665 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Interleave#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/REXML/Validation/Interleave/expected-i.yaml 0000644 00000000301 15217654522 0017005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Interleave#expected is_singleton: false name: expected params: () visibility: public ri/1.8/system/REXML/Validation/Interleave/next-i.yaml 0000644 00000000300 15217654522 0016161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Interleave#next is_singleton: false name: next params: ( event ) visibility: public ri/1.8/system/REXML/Validation/Validator/validate-i.yaml 0000644 00000000307 15217654522 0016632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Validator#validate is_singleton: false name: validate params: ( event ) visibility: public ri/1.8/system/REXML/Validation/Validator/reset-i.yaml 0000644 00000000272 15217654522 0016164 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Validator#reset is_singleton: false name: reset params: () visibility: public ri/1.8/system/REXML/Validation/Validator/dump-i.yaml 0000644 00000000270 15217654522 0016005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Validation::Validator#dump is_singleton: false name: dump params: () visibility: public ri/1.8/system/REXML/Validation/Validator/cdesc-Validator.yaml 0000644 00000000645 15217654522 0017624 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: NILEVENT value: "[ nil ]" full_name: REXML::Validation::Validator includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: dump - !ruby/object:RI::MethodSummary name: reset - !ruby/object:RI::MethodSummary name: validate name: Validator superclass: ri/1.8/system/REXML/StreamListener/tag_start-i.yaml 0000644 00000001100 15217654522 0015743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Called when a tag is encountered. @p name the tag name @p attrs an array of arrays of attribute/value pairs, suitable for use with assoc or rassoc. IE, <tag attr1="value1" attr2="value2"> will result in tag_start( "tag", # [["attr1","value1"],["attr2","value2"]])" full_name: REXML::StreamListener#tag_start is_singleton: false name: tag_start params: (name, attrs) visibility: public ri/1.8/system/REXML/StreamListener/doctype_end-i.yaml 0000644 00000000403 15217654522 0016255 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Called when the doctype is done full_name: REXML::StreamListener#doctype_end is_singleton: false name: doctype_end params: () visibility: public ri/1.8/system/REXML/StreamListener/cdata-i.yaml 0000644 00000000473 15217654522 0015043 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Called when <![CDATA[ ... ]]> is encountered in a document. @p content "..." full_name: REXML::StreamListener#cdata is_singleton: false name: cdata params: (content) visibility: public ri/1.8/system/REXML/StreamListener/comment-i.yaml 0000644 00000000456 15217654522 0015432 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Called when a comment is encountered. @p comment The content of the comment full_name: REXML::StreamListener#comment is_singleton: false name: comment params: (comment) visibility: public ri/1.8/system/REXML/StreamListener/entity-i.yaml 0000644 00000000466 15217654522 0015305 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Called when %foo; is encountered in a doctype declaration. @p content "foo" full_name: REXML::StreamListener#entity is_singleton: false name: entity params: (content) visibility: public ri/1.8/system/REXML/StreamListener/entitydecl-i.yaml 0000644 00000003206 15217654522 0016130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "<!ENTITY ...> The argument passed to this method is an array of the entity declaration. It can be in a number of formats, but in general it returns (example, result):" - !ruby/struct:SM::Flow::VERB body: " <!ENTITY % YN '"Yes"'>\n ["%", "YN", "'\\"Yes\\"'", "\\""]\n <!ENTITY % YN 'Yes'>\n ["%", "YN", "'Yes'", "s"]\n <!ENTITY WhatHeSaid "He said %YN;">\n ["WhatHeSaid", "\\"He said %YN;\\"", "YN"]\n <!ENTITY open-hatch SYSTEM "http://www.textuality.com/boilerplate/OpenHatch.xml">\n ["open-hatch", "SYSTEM", "\\"http://www.textuality.com/boilerplate/OpenHatch.xml\\""]\n <!ENTITY open-hatch PUBLIC "-//Textuality//TEXT Standard open-hatch boilerplate//EN" "http://www.textuality.com/boilerplate/OpenHatch.xml">\n ["open-hatch", "PUBLIC", "\\"-//Textuality//TEXT Standard open-hatch boilerplate//EN\\"", "\\"http://www.textuality.com/boilerplate/OpenHatch.xml\\""]\n <!ENTITY hatch-pic SYSTEM "../grafix/OpenHatch.gif" NDATA gif>\n ["hatch-pic", "SYSTEM", "\\"../grafix/OpenHatch.gif\\"", "\\n\\t\\t\\t\\t\\t\\t\\tNDATA gif", "gif"]\n" full_name: REXML::StreamListener#entitydecl is_singleton: false name: entitydecl params: (content) visibility: public ri/1.8/system/REXML/StreamListener/cdesc-StreamListener.yaml 0000644 00000002225 15217654522 0017556 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: A template for stream parser listeners. Note that the declarations (attlistdecl, elementdecl, etc) are trivially processed; REXML doesn't yet handle doctype entity declarations, so you have to parse them out yourself. constants: [] full_name: REXML::StreamListener includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: attlistdecl - !ruby/object:RI::MethodSummary name: cdata - !ruby/object:RI::MethodSummary name: comment - !ruby/object:RI::MethodSummary name: doctype - !ruby/object:RI::MethodSummary name: doctype_end - !ruby/object:RI::MethodSummary name: elementdecl - !ruby/object:RI::MethodSummary name: entity - !ruby/object:RI::MethodSummary name: entitydecl - !ruby/object:RI::MethodSummary name: instruction - !ruby/object:RI::MethodSummary name: notationdecl - !ruby/object:RI::MethodSummary name: tag_end - !ruby/object:RI::MethodSummary name: tag_start - !ruby/object:RI::MethodSummary name: text - !ruby/object:RI::MethodSummary name: xmldecl name: StreamListener superclass: ri/1.8/system/REXML/StreamListener/attlistdecl-i.yaml 0000644 00000001057 15217654522 0016302 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "If a doctype includes an ATTLIST declaration, it will cause this method to be called. The content is the declaration itself, unparsed. EG, <!ATTLIST el attr CDATA #REQUIRED> will come to this method as "el attr CDATA #REQUIRED". This is the same for all of the .*decl methods." full_name: REXML::StreamListener#attlistdecl is_singleton: false name: attlistdecl params: (element_name, attributes, raw_content) visibility: public ri/1.8/system/REXML/StreamListener/tag_end-i.yaml 0000644 00000000552 15217654522 0015366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Called when the end tag is reached. In the case of <tag/>, tag_end will be called immidiately after tag_start @p the name of the tag full_name: REXML::StreamListener#tag_end is_singleton: false name: tag_end params: (name) visibility: public ri/1.8/system/REXML/StreamListener/instruction-i.yaml 0000644 00000000721 15217654522 0016344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Called when an instruction is encountered. EG: <?xsl sheet='foo'?> @p name the instruction name; in the example, "xsl" @p instruction the rest of the instruction. In the example, "sheet='foo'"" full_name: REXML::StreamListener#instruction is_singleton: false name: instruction params: (name, instruction) visibility: public ri/1.8/system/REXML/StreamListener/notationdecl-i.yaml 0000644 00000000404 15217654522 0016444 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "<!NOTATION ...>" full_name: REXML::StreamListener#notationdecl is_singleton: false name: notationdecl params: (content) visibility: public ri/1.8/system/REXML/StreamListener/text-i.yaml 0000644 00000000443 15217654522 0014750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Called when text is encountered in the document @p text the text content. full_name: REXML::StreamListener#text is_singleton: false name: text params: (text) visibility: public ri/1.8/system/REXML/StreamListener/xmldecl-i.yaml 0000644 00000001063 15217654522 0015413 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Called when an XML PI is encountered in the document. EG: <?xml version="1.0" encoding="utf"?> @p version the version attribute value. EG, "1.0" @p encoding the encoding attribute value, or nil. EG, "utf" @p standalone the standalone attribute value, or nil. EG, nil" full_name: REXML::StreamListener#xmldecl is_singleton: false name: xmldecl params: (version, encoding, standalone) visibility: public ri/1.8/system/REXML/StreamListener/doctype-i.yaml 0000644 00000001236 15217654522 0015434 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Handles a doctype declaration. Any attributes of the doctype which are not supplied will be nil. # EG, <!DOCTYPE me PUBLIC "foo" "bar"> @p name the name of the doctype; EG, "me" @p pub_sys "PUBLIC", "SYSTEM", or nil. EG, "PUBLIC" @p long_name the supplied long name, or nil. EG, "foo" @p uri the uri of the doctype, or nil. EG, "bar"" full_name: REXML::StreamListener#doctype is_singleton: false name: doctype params: (name, pub_sys, long_name, uri) visibility: public ri/1.8/system/REXML/StreamListener/elementdecl-i.yaml 0000644 00000000401 15217654522 0016237 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "<!ELEMENT ...>" full_name: REXML::StreamListener#elementdecl is_singleton: false name: elementdecl params: (content) visibility: public ri/1.8/system/REXML/Comment/new-c.yaml 0000644 00000001125 15217654522 0013206 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Constructor. The first argument can be one of three types: @param first If String, the contents of this comment are set to the argument. If Comment, the argument is duplicated. If Source, the argument is scanned for a comment. @param second If the first argument is a Source, this argument should be nil, not supplied, or a Parent to be set as the parent of this object" full_name: REXML::Comment::new is_singleton: true name: new params: ( first, second = nil ) visibility: public ri/1.8/system/REXML/Comment/cdesc-Comment.yaml 0000644 00000001574 15217654522 0014666 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The content text name: string rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Represents an XML comment; that is, text between <!-- ... --> constants: - !ruby/object:RI::Constant comment: name: START value: "\"\"" full_name: REXML::Comment includes: - !ruby/object:RI::IncludedModule name: Comparable instance_methods: - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: node_type - !ruby/object:RI::MethodSummary name: write name: Comment superclass: Child ri/1.8/system/REXML/Comment/%3c%3d%3e-i.yaml 0000644 00000000453 15217654522 0013571 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compares this Comment to another; the contents of the comment are used in the comparison. full_name: REXML::Comment#<=> is_singleton: false name: <=> params: (other) visibility: public ri/1.8/system/REXML/Comment/write-i.yaml 0000644 00000001711 15217654522 0013556 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: DEPRECATED - !ruby/struct:SM::Flow::P body: See REXML::Formatters - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "output:" body: Where to write the string - !ruby/struct:SM::Flow::LI label: "indent:" body: An integer. If -1, no indenting will be used; otherwise, the indentation will be this number of spaces, and children will be indented an additional amount. - !ruby/struct:SM::Flow::LI label: "transitive:" body: Ignored by this class. The contents of comments are never modified. - !ruby/struct:SM::Flow::LI label: "ie_hack:" body: Needed for conformity to the child API, but not used by this class. type: :NOTE full_name: REXML::Comment#write is_singleton: false name: write params: ( output, indent=-1, transitive=false, ie_hack=false ) visibility: public ri/1.8/system/REXML/Comment/node_type-i.yaml 0000644 00000000264 15217654522 0014414 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Comment#node_type is_singleton: false name: node_type params: () visibility: public ri/1.8/system/REXML/Comment/clone-i.yaml 0000644 00000000254 15217654522 0013525 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Comment#clone is_singleton: false name: clone params: () visibility: public ri/1.8/system/REXML/Comment/%3d%3d-i.yaml 0000644 00000000453 15217654522 0013275 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compares this Comment to another; the contents of the comment are used in the comparison. full_name: REXML::Comment#== is_singleton: false name: == params: ( other ) visibility: public ri/1.8/system/REXML/Elements/new-c.yaml 0000644 00000000552 15217654522 0013363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Constructor - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "parent:" body: the parent Element type: :NOTE full_name: REXML::Elements::new is_singleton: true name: new params: (parent) visibility: public ri/1.8/system/REXML/Elements/delete-i.yaml 0000644 00000001746 15217654522 0014050 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes a child Element - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "element:" body: Either an Element, which is removed directly; an xpath, where the first matching child is removed; or an Integer, where the n'th Element is removed. - !ruby/struct:SM::Flow::LI label: "Returns:" body: the removed child type: :NOTE - !ruby/struct:SM::Flow::VERB body: " doc = Document.new '<a><b/><c/><c id="1"/></a>'\n b = doc.root.elements[1]\n doc.root.elements.delete b #-> <a><c/><c id="1"/></a>\n doc.elements.delete("a/c[@id='1']") #-> <a><c/></a>\n doc.root.elements.delete 1 #-> <a/>\n" full_name: REXML::Elements#delete is_singleton: false name: delete params: (element) visibility: public ri/1.8/system/REXML/Elements/%3c%3c-i.yaml 0000644 00000000351 15217654522 0013442 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add" full_name: REXML::Elements#<< is_singleton: false name: "<<" params: (element=nil) visibility: public ri/1.8/system/REXML/Elements/index-i.yaml 0000644 00000000710 15217654522 0013703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the index of the supplied child (starting at 1), or -1 if the element is not a child - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "element:" body: an Element child type: :NOTE full_name: REXML::Elements#index is_singleton: false name: index params: (element) visibility: public ri/1.8/system/REXML/Elements/delete_all-i.yaml 0000644 00000001456 15217654522 0014676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes multiple elements. Filters for Element children, regardless of XPath matching. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "xpath:" body: all elements matching this String path are removed. - !ruby/struct:SM::Flow::LI label: "Returns:" body: an Array of Elements that have been removed type: :NOTE - !ruby/struct:SM::Flow::VERB body: " doc = Document.new '<a><c/><c/><c/><c/></a>'\n deleted = doc.elements.delete_all 'a/c' #-> [<c/>, <c/>, <c/>, <c/>]\n" full_name: REXML::Elements#delete_all is_singleton: false name: delete_all params: ( xpath ) visibility: public ri/1.8/system/REXML/Elements/%5b%5d%3d-i.yaml 0000644 00000002154 15217654522 0013745 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets an element, replacing any previous matching element. If no existing element is found ,the element is added. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "index:" body: Used to find a matching element to replace. See [](). - !ruby/struct:SM::Flow::LI label: "element:" body: The element to replace the existing element with the previous element - !ruby/struct:SM::Flow::LI label: "Returns:" body: nil if no previous element was found. type: :NOTE - !ruby/struct:SM::Flow::VERB body: " doc = Document.new '<a/>'\n doc.root.elements[10] = Element.new('b') #-> <a><b/></a>\n doc.root.elements[1] #-> <b/>\n doc.root.elements[1] = Element.new('c') #-> <a><c/></a>\n doc.root.elements['c'] = Element.new('d') #-> <a><d/></a>\n" full_name: REXML::Elements#[]= is_singleton: false name: "[]=" params: ( index, element ) visibility: public ri/1.8/system/REXML/Elements/%5b%5d-i.yaml 0000644 00000003252 15217654522 0013451 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Fetches a child element. Filters only Element children, regardless of the XPath match. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "index:" body: the search parameter. This is either an Integer, which will be used to find the index'th child Element, or an XPath, which will be used to search for the Element. Because of the nature of XPath searches, any element in the connected XML document can be fetched through any other element. The Integer index is 1-based, not 0-based. This means that the first child element is at index 1, not 0, and the +n+th element is at index n, not n-1. This is because XPath indexes element children starting from 1, not 0, and the indexes should be the same. - !ruby/struct:SM::Flow::LI label: "name:" body: optional, and only used in the first argument is an Integer. In that case, the index'th child Element that has the supplied name will be returned. Note again that the indexes start at 1. - !ruby/struct:SM::Flow::LI label: "Returns:" body: the first matching Element, or nil if no child matched type: :NOTE - !ruby/struct:SM::Flow::VERB body: " doc = Document.new '<a><b/><c id="1"/><c id="2"/><d/></a>'\n doc.root.elements[1] #-> <b/>\n doc.root.elements['c'] #-> <c id="1"/>\n doc.root.elements[2,'c'] #-> <c id="2"/>\n" full_name: REXML::Elements#[] is_singleton: false name: "[]" params: ( index, name=nil) visibility: public ri/1.8/system/REXML/Elements/collect-i.yaml 0000644 00000000321 15217654522 0014217 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (e) comment: full_name: REXML::Elements#collect is_singleton: false name: collect params: ( xpath=nil, &block ) {|e| ...} visibility: public ri/1.8/system/REXML/Elements/size-i.yaml 0000644 00000000776 15217654522 0013562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of Element children of the parent object. - !ruby/struct:SM::Flow::VERB body: " doc = Document.new '<a>sean<b/>elliott<b/>russell<b/></a>'\n doc.root.size #-> 6, 3 element and 3 text nodes\n doc.root.elements.size #-> 3\n" full_name: REXML::Elements#size is_singleton: false name: size params: () visibility: public ri/1.8/system/REXML/Elements/each-i.yaml 0000644 00000002372 15217654522 0013502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: e if e.kind_of? Element comment: - !ruby/struct:SM::Flow::P body: Iterates through all of the child Elements, optionally filtering them by a given XPath - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "xpath:" body: optional. If supplied, this is a String XPath, and is used to filter the children, so that only matching children are yielded. Note that XPaths are automatically filtered for Elements, so that non-Element children will not be yielded type: :NOTE - !ruby/struct:SM::Flow::VERB body: " doc = Document.new '<a><b/><c/><d/>sean<b/><c/><d/></a>'\n doc.root.each {|e|p e} #-> Yields b, c, d, b, c, d elements\n doc.root.each('b') {|e|p e} #-> Yields b, b elements\n doc.root.each('child::node()') {|e|p e}\n #-> Yields <b/>, <c/>, <d/>, <b/>, <c/>, <d/>\n XPath.each(doc.root, 'child::node()', &block)\n #-> Yields <b/>, <c/>, <d/>, sean, <b/>, <c/>, <d/>\n" full_name: REXML::Elements#each is_singleton: false name: each params: ( xpath=nil, &block) {|e if e.kind_of? Element| ...} visibility: public ri/1.8/system/REXML/Elements/to_a-i.yaml 0000644 00000001411 15217654522 0013515 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an Array of Element children. An XPath may be supplied to filter the children. Only Element children are returned, even if the supplied XPath matches non-Element children. - !ruby/struct:SM::Flow::VERB body: " doc = Document.new '<a>sean<b/>elliott<c/></a>'\n doc.root.elements.to_a #-> [ <b/>, <c/> ]\n doc.root.elements.to_a("child::node()") #-> [ <b/>, <c/> ]\n XPath.match(doc.root, "child::node()") #-> [ sean, <b/>, elliott, <c/> ]\n" full_name: REXML::Elements#to_a is_singleton: false name: to_a params: ( xpath=nil ) visibility: public ri/1.8/system/REXML/Elements/literalize-i.yaml 0000644 00000000431 15217654522 0014740 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Private helper class. Removes quotes from quoted strings full_name: REXML::Elements#literalize is_singleton: false name: literalize params: (name) visibility: private ri/1.8/system/REXML/Elements/cdesc-Elements.yaml 0000644 00000002336 15217654522 0015207 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A class which provides filtering of children for Elements, and XPath search support. You are expected to only encounter this class as the element.elements object. Therefore, you are not expected to instantiate this yourself. constants: [] full_name: REXML::Elements includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: collect - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: delete_all - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: index - !ruby/object:RI::MethodSummary name: inject - !ruby/object:RI::MethodSummary name: literalize - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: to_a name: Elements superclass: Object ri/1.8/system/REXML/Elements/empty%3f-i.yaml 0000644 00000000455 15217654522 0014236 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if there are no Element children, false otherwise full_name: REXML::Elements#empty? is_singleton: false name: empty? params: () visibility: public ri/1.8/system/REXML/Elements/inject-i.yaml 0000644 00000000360 15217654522 0014051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: ( initial, e ) comment: full_name: REXML::Elements#inject is_singleton: false name: inject params: ( xpath=nil, initial=nil, &block ) {|initial, e| ...} visibility: public ri/1.8/system/REXML/Elements/add-i.yaml 0000644 00000001511 15217654522 0013324 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: "<<" block_params: comment: - !ruby/struct:SM::Flow::P body: Adds an element - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "element:" body: if supplied, is either an Element, String, or Source (see Element.initialize). If not supplied or nil, a new, default Element will be constructed - !ruby/struct:SM::Flow::LI label: "Returns:" body: the added Element type: :NOTE - !ruby/struct:SM::Flow::VERB body: " a = Element.new('a')\n a.elements.add(Element.new('b')) #-> <a><b/></a>\n a.elements.add('c') #-> <a><b/><c/></a>\n" full_name: REXML::Elements#add is_singleton: false name: add params: (element=nil) visibility: public ri/1.8/system/REXML/Declaration/new-c.yaml 0000644 00000000257 15217654522 0014036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Declaration::new is_singleton: true name: new params: (src) visibility: public ri/1.8/system/REXML/Declaration/to_s-i.yaml 0000644 00000000256 15217654522 0014216 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Declaration#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/REXML/Declaration/cdesc-Declaration.yaml 0000644 00000000747 15217654522 0016335 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: This is an abstract class. You never use this directly; it serves as a parent class for the specific declarations. constants: [] full_name: REXML::Declaration includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: write name: Declaration superclass: Child ri/1.8/system/REXML/Declaration/write-i.yaml 0000644 00000000464 15217654522 0014405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: DEPRECATED - !ruby/struct:SM::Flow::P body: See REXML::Formatters full_name: REXML::Declaration#write is_singleton: false name: write params: ( output, indent ) visibility: public ri/1.8/system/REXML/Attributes/namespaces-i.yaml 0000644 00000000271 15217654522 0015267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Attributes#namespaces is_singleton: false name: namespaces params: () visibility: public ri/1.8/system/REXML/Attributes/new-c.yaml 0000644 00000000605 15217654522 0013734 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Constructor - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "element:" body: the Element of which this is an Attribute type: :NOTE full_name: REXML::Attributes::new is_singleton: true name: new params: (element) visibility: public ri/1.8/system/REXML/Attributes/delete-i.yaml 0000644 00000001745 15217654522 0014421 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes an attribute - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "attribute:" body: either a String, which is the name of the attribute to remove -- namespaces are significant here -- or the attribute to remove. - !ruby/struct:SM::Flow::LI label: "Returns:" body: the owning element type: :NOTE - !ruby/struct:SM::Flow::VERB body: " doc = Document.new "<a y:foo='0' x:foo='1' foo='3' z:foo='4'/>"\n doc.root.attributes.delete 'foo' #-> <a y:foo='0' x:foo='1' z:foo='4'/>"\n doc.root.attributes.delete 'x:foo' #-> <a y:foo='0' z:foo='4'/>"\n attr = doc.root.attributes.get_attribute('y:foo')\n doc.root.attributes.delete attr #-> <a z:foo='4'/>"\n" full_name: REXML::Attributes#delete is_singleton: false name: delete params: ( attribute ) visibility: public ri/1.8/system/REXML/Attributes/%3c%3c-i.yaml 0000644 00000000353 15217654522 0014016 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add" full_name: REXML::Attributes#<< is_singleton: false name: "<<" params: ( attribute ) visibility: public ri/1.8/system/REXML/Attributes/get_attribute_ns-i.yaml 0000644 00000000776 15217654522 0016524 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The get_attribute_ns method retrieves a method by its namespace and name. Thus it is possible to reliably identify an attribute even if an XML processor has changed the prefix. - !ruby/struct:SM::Flow::P body: Method contributed by Henrik Martensson full_name: REXML::Attributes#get_attribute_ns is_singleton: false name: get_attribute_ns params: (namespace, name) visibility: public ri/1.8/system/REXML/Attributes/prefixes-i.yaml 0000644 00000001162 15217654522 0014775 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns an array of Strings containing all of the prefixes declared by this set of # attributes. The array does not include the default namespace declaration, if one exists." - !ruby/struct:SM::Flow::VERB body: " doc = Document.new("<a xmlns='foo' xmlns:x='bar' xmlns:y='twee' "+\n "z='glorp' p:k='gru'/>")\n prefixes = doc.root.attributes.prefixes #-> ['x', 'y']\n" full_name: REXML::Attributes#prefixes is_singleton: false name: prefixes params: () visibility: public ri/1.8/system/REXML/Attributes/get_attribute-i.yaml 0000644 00000001736 15217654522 0016021 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Fetches an attribute - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "name:" body: the name by which to search for the attribute. Can be a prefix:name namespace name. - !ruby/struct:SM::Flow::LI label: "Returns:" body: The first matching attribute, or nil if there was none. This type: :NOTE - !ruby/struct:SM::Flow::P body: value is an Attribute node, not the String value of the attribute. - !ruby/struct:SM::Flow::VERB body: " doc = Document.new '<a x:foo="1" foo="2" bar="3"/>'\n doc.root.attributes.get_attribute("foo").value #-> "2"\n doc.root.attributes.get_attribute("x:foo").value #-> "1"\n" full_name: REXML::Attributes#get_attribute is_singleton: false name: get_attribute params: ( name ) visibility: public ri/1.8/system/REXML/Attributes/cdesc-Attributes.yaml 0000644 00000002173 15217654522 0016132 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A class that defines the set of Attributes of an Element and provides operations for accessing elements in that set. constants: [] full_name: REXML::Attributes includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: delete_all - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: each_attribute - !ruby/object:RI::MethodSummary name: get_attribute - !ruby/object:RI::MethodSummary name: get_attribute_ns - !ruby/object:RI::MethodSummary name: length - !ruby/object:RI::MethodSummary name: namespaces - !ruby/object:RI::MethodSummary name: prefixes - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: to_a name: Attributes superclass: Hash ri/1.8/system/REXML/Attributes/delete_all-i.yaml 0000644 00000001107 15217654522 0015241 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes all attributes matching a name. Namespaces are significant. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "name:" body: A String; all attributes that match this path will be removed - !ruby/struct:SM::Flow::LI label: "Returns:" body: an Array of the Attributes that were removed type: :NOTE full_name: REXML::Attributes#delete_all is_singleton: false name: delete_all params: ( name ) visibility: public ri/1.8/system/REXML/Attributes/%5b%5d%3d-i.yaml 0000644 00000001636 15217654522 0014323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets an attribute, overwriting any existing attribute value by the same name. Namespace is significant. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "name:" body: the name of the attribute - !ruby/struct:SM::Flow::LI label: "value:" body: (optional) If supplied, the value of the attribute. If nil, any existing matching attribute is deleted. - !ruby/struct:SM::Flow::LI label: "Returns:" body: Owning element type: :NOTE - !ruby/struct:SM::Flow::VERB body: " doc = Document.new "<a x:foo='1' foo='3'/>"\n doc.root.attributes['y:foo'] = '2'\n doc.root.attributes['foo'] = '4'\n doc.root.attributes['x:foo'] = nil\n" full_name: REXML::Attributes#[]= is_singleton: false name: "[]=" params: ( name, value ) visibility: public ri/1.8/system/REXML/Attributes/%5b%5d-i.yaml 0000644 00000001621 15217654522 0014021 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Fetches an attribute value. If you want to get the Attribute itself, use get_attribute() - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "name:" body: an XPath attribute name. Namespaces are relevant here. - !ruby/struct:SM::Flow::LI label: "Returns:" body: the String value of the matching attribute, or nil if no matching attribute was found. This is the unnormalized value (with entities expanded). type: :NOTE - !ruby/struct:SM::Flow::VERB body: " doc = Document.new "<a foo:att='1' bar:att='2' att='<'/>"\n doc.root.attributes['att'] #-> '<'\n doc.root.attributes['bar:att'] #-> '2'\n" full_name: REXML::Attributes#[] is_singleton: false name: "[]" params: (name) visibility: public ri/1.8/system/REXML/Attributes/each_attribute-i.yaml 0000644 00000001062 15217654522 0016132 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: attribute comment: - !ruby/struct:SM::Flow::P body: Iterates over the attributes of an Element. Yields actual Attribute nodes, not String values. - !ruby/struct:SM::Flow::VERB body: " doc = Document.new '<a x="1" y="2"/>'\n doc.root.attributes.each_attribute {|attr|\n p attr.expanded_name+" => "+attr.value\n }\n" full_name: REXML::Attributes#each_attribute is_singleton: false name: each_attribute params: ( {|attribute| ...} visibility: public ri/1.8/system/REXML/Attributes/size-i.yaml 0000644 00000000345 15217654522 0014124 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #length" full_name: REXML::Attributes#size is_singleton: false name: size params: () visibility: public ri/1.8/system/REXML/Attributes/each-i.yaml 0000644 00000001066 15217654522 0014053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: attr.expanded_name, attr.value comment: - !ruby/struct:SM::Flow::P body: Iterates over each attribute of an Element, yielding the expanded name and value as a pair of Strings. - !ruby/struct:SM::Flow::VERB body: " doc = Document.new '<a x="1" y="2"/>'\n doc.root.attributes.each {|name, value| p name+" => "+value }\n" full_name: REXML::Attributes#each is_singleton: false name: each params: () {|attr.expanded_name, attr.value| ...} visibility: public ri/1.8/system/REXML/Attributes/to_a-i.yaml 0000644 00000000255 15217654522 0014074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Attributes#to_a is_singleton: false name: to_a params: () visibility: public ri/1.8/system/REXML/Attributes/length-i.yaml 0000644 00000000720 15217654522 0014430 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: size block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of attributes the owning Element contains. - !ruby/struct:SM::Flow::VERB body: " doc = Document "<a x='1' y='2' foo:x='3'/>"\n doc.root.attributes.length #-> 3\n" full_name: REXML::Attributes#length is_singleton: false name: length params: () visibility: public ri/1.8/system/REXML/Attributes/add-i.yaml 0000644 00000000755 15217654522 0013707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: "<<" block_params: comment: - !ruby/struct:SM::Flow::P body: Adds an attribute, overriding any existing attribute by the same name. Namespaces are significant. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "attribute:" body: An Attribute type: :NOTE full_name: REXML::Attributes#add is_singleton: false name: add params: ( attribute ) visibility: public ri/1.8/system/REXML/DocType/new-c.yaml 0000644 00000001363 15217654522 0013157 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Constructor - !ruby/struct:SM::Flow::VERB body: " dt = DocType.new( 'foo', '-//I/Hate/External/IDs' )\n # <!DOCTYPE foo '-//I/Hate/External/IDs'>\n dt = DocType.new( doctype_to_clone )\n # Incomplete. Shallow clone of doctype\n" - !ruby/struct:SM::Flow::P body: "Note that the constructor:" - !ruby/struct:SM::Flow::VERB body: " Doctype.new( Source.new( "<!DOCTYPE foo 'bar'>" ) )\n" - !ruby/struct:SM::Flow::P body: is deprecated. Do not use it. It will probably disappear. full_name: REXML::DocType::new is_singleton: true name: new params: ( first, parent=nil ) visibility: public ri/1.8/system/REXML/DocType/attribute_of-i.yaml 0000644 00000000314 15217654522 0015056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::DocType#attribute_of is_singleton: false name: attribute_of params: (element, attribute) visibility: public ri/1.8/system/REXML/DocType/strip_quotes-i.yaml 0000644 00000000424 15217654522 0015132 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Method contributed by Henrik Martensson full_name: REXML::DocType#strip_quotes is_singleton: false name: strip_quotes params: (quoted_string) visibility: private ri/1.8/system/REXML/DocType/notations-i.yaml 0000644 00000000676 15217654522 0014420 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This method returns a list of notations that have been declared in the internal DTD subset. Notations in the external DTD subset are not listed. - !ruby/struct:SM::Flow::P body: Method contributed by Henrik Martensson full_name: REXML::DocType#notations is_singleton: false name: notations params: () visibility: public ri/1.8/system/REXML/DocType/entity-i.yaml 0000644 00000000264 15217654522 0013707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::DocType#entity is_singleton: false name: entity params: ( name ) visibility: public ri/1.8/system/REXML/DocType/system-i.yaml 0000644 00000000551 15217654522 0013716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This method retrieves the system identifier identifying the document's DTD - !ruby/struct:SM::Flow::P body: Method contributed by Henrik Martensson full_name: REXML::DocType#system is_singleton: false name: system params: () visibility: public ri/1.8/system/REXML/DocType/cdesc-DocType.yaml 0000644 00000004574 15217654522 0014603 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: name is the name of the doctype external_id is the referenced DTD, if given name: entities rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: name is the name of the doctype external_id is the referenced DTD, if given name: external_id rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: name is the name of the doctype external_id is the referenced DTD, if given name: name rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: name is the name of the doctype external_id is the referenced DTD, if given name: namespaces rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Represents an XML DOCTYPE declaration; that is, the contents of <!DOCTYPE ... >. DOCTYPES can be used to declare the DTD of a document, as well as being used to declare entities used in the document. constants: - !ruby/object:RI::Constant comment: name: START value: "\"\"" - !ruby/object:RI::Constant comment: name: SYSTEM value: "\"SYSTEM\"" - !ruby/object:RI::Constant comment: name: PUBLIC value: "\"PUBLIC\"" - !ruby/object:RI::Constant comment: name: DEFAULT_ENTITIES value: "{ 'gt'=>EntityConst::GT, 'lt'=>EntityConst::LT, 'quot'=>EntityConst::QUOT, \"apos\"=>EntityConst::APOS" full_name: REXML::DocType includes: - !ruby/object:RI::IncludedModule name: XMLTokens instance_methods: - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: attribute_of - !ruby/object:RI::MethodSummary name: attributes_of - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: context - !ruby/object:RI::MethodSummary name: entity - !ruby/object:RI::MethodSummary name: node_type - !ruby/object:RI::MethodSummary name: notation - !ruby/object:RI::MethodSummary name: notations - !ruby/object:RI::MethodSummary name: public - !ruby/object:RI::MethodSummary name: strip_quotes - !ruby/object:RI::MethodSummary name: system - !ruby/object:RI::MethodSummary name: write name: DocType superclass: Parent ri/1.8/system/REXML/DocType/context-i.yaml 0000644 00000000260 15217654522 0014053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::DocType#context is_singleton: false name: context params: () visibility: public ri/1.8/system/REXML/DocType/write-i.yaml 0000644 00000001336 15217654522 0013526 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "output:" body: Where to write the string - !ruby/struct:SM::Flow::LI label: "indent:" body: An integer. If -1, no indentation will be used; otherwise, the indentation will be this number of spaces, and children will be indented an additional amount. - !ruby/struct:SM::Flow::LI label: "transitive:" body: Ignored - !ruby/struct:SM::Flow::LI label: "ie_hack:" body: Ignored type: :NOTE full_name: REXML::DocType#write is_singleton: false name: write params: ( output, indent=0, transitive=false, ie_hack=false ) visibility: public ri/1.8/system/REXML/DocType/public-i.yaml 0000644 00000000552 15217654522 0013651 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This method retrieves the public identifier identifying the document's DTD. - !ruby/struct:SM::Flow::P body: Method contributed by Henrik Martensson full_name: REXML::DocType#public is_singleton: false name: public params: () visibility: public ri/1.8/system/REXML/DocType/node_type-i.yaml 0000644 00000000264 15217654522 0014361 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::DocType#node_type is_singleton: false name: node_type params: () visibility: public ri/1.8/system/REXML/DocType/attributes_of-i.yaml 0000644 00000000303 15217654522 0015237 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::DocType#attributes_of is_singleton: false name: attributes_of params: (element) visibility: public ri/1.8/system/REXML/DocType/clone-i.yaml 0000644 00000000254 15217654522 0013472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::DocType#clone is_singleton: false name: clone params: () visibility: public ri/1.8/system/REXML/DocType/notation-i.yaml 0000644 00000000607 15217654522 0014227 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Retrieves a named notation. Only notations declared in the internal DTD subset can be retrieved. - !ruby/struct:SM::Flow::P body: Method contributed by Henrik Martensson full_name: REXML::DocType#notation is_singleton: false name: notation params: (name) visibility: public ri/1.8/system/REXML/DocType/add-i.yaml 0000644 00000000255 15217654522 0013123 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::DocType#add is_singleton: false name: add params: (child) visibility: public ri/1.8/system/REXML/XMLDecl/new-c.yaml 0000644 00000000335 15217654522 0013036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XMLDecl::new is_singleton: true name: new params: (version=DEFAULT_VERSION, encoding=nil, standalone=nil) visibility: public ri/1.8/system/REXML/XMLDecl/default-c.yaml 0000644 00000000755 15217654522 0013677 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Only use this if you do not want the XML declaration to be written; this object is ignored by the XML writer. Otherwise, instantiate your own XMLDecl and add it to the document. - !ruby/struct:SM::Flow::P body: Note that XML 1.1 documents must include an XML declaration full_name: REXML::XMLDecl::default is_singleton: true name: default params: () visibility: public ri/1.8/system/REXML/XMLDecl/nowrite-i.yaml 0000644 00000000260 15217654522 0013737 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XMLDecl#nowrite is_singleton: false name: nowrite params: () visibility: public ri/1.8/system/REXML/XMLDecl/encoding%3d-i.yaml 0000644 00000000271 15217654522 0014334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XMLDecl#encoding= is_singleton: false name: encoding= params: ( enc ) visibility: public ri/1.8/system/REXML/XMLDecl/write-i.yaml 0000644 00000001046 15217654522 0013405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "indent:" body: Ignored. There must be no whitespace before an XML declaration - !ruby/struct:SM::Flow::LI label: "transitive:" body: Ignored - !ruby/struct:SM::Flow::LI label: "ie_hack:" body: Ignored type: :NOTE full_name: REXML::XMLDecl#write is_singleton: false name: write params: (writer, indent=-1, transitive=false, ie_hack=false) visibility: public ri/1.8/system/REXML/XMLDecl/inspect-i.yaml 0000644 00000000260 15217654522 0013715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XMLDecl#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/REXML/XMLDecl/cdesc-XMLDecl.yaml 0000644 00000003034 15217654522 0014333 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: standalone rw: RW - !ruby/object:RI::Attribute comment: name: version rw: RW - !ruby/object:RI::Attribute comment: name: writeencoding rw: R - !ruby/object:RI::Attribute comment: name: writethis rw: R class_methods: - !ruby/object:RI::MethodSummary name: default - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: NEEDS DOCUMENTATION constants: - !ruby/object:RI::Constant comment: name: DEFAULT_VERSION value: "\"1.0\";" - !ruby/object:RI::Constant comment: name: DEFAULT_ENCODING value: "\"UTF-8\";" - !ruby/object:RI::Constant comment: name: DEFAULT_STANDALONE value: "\"no\";" - !ruby/object:RI::Constant comment: name: START value: "'<\\?xml';" - !ruby/object:RI::Constant comment: name: STOP value: "'\\?>';" full_name: REXML::XMLDecl includes: - !ruby/object:RI::IncludedModule name: Encoding instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: content - !ruby/object:RI::MethodSummary name: dowrite - !ruby/object:RI::MethodSummary name: encoding= - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: node_type - !ruby/object:RI::MethodSummary name: nowrite - !ruby/object:RI::MethodSummary name: write - !ruby/object:RI::MethodSummary name: xmldecl name: XMLDecl superclass: Child ri/1.8/system/REXML/XMLDecl/node_type-i.yaml 0000644 00000000264 15217654522 0014242 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XMLDecl#node_type is_singleton: false name: node_type params: () visibility: public ri/1.8/system/REXML/XMLDecl/xmldecl-i.yaml 0000644 00000000315 15217654522 0013701 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XMLDecl#xmldecl is_singleton: false name: xmldecl params: (version, encoding, standalone) visibility: public ri/1.8/system/REXML/XMLDecl/clone-i.yaml 0000644 00000000254 15217654522 0013353 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XMLDecl#clone is_singleton: false name: clone params: () visibility: public ri/1.8/system/REXML/XMLDecl/%3d%3d-i.yaml 0000644 00000000255 15217654522 0013123 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XMLDecl#== is_singleton: false name: == params: ( other ) visibility: public ri/1.8/system/REXML/XMLDecl/dowrite-i.yaml 0000644 00000000260 15217654522 0013725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XMLDecl#dowrite is_singleton: false name: dowrite params: () visibility: public ri/1.8/system/REXML/XMLDecl/content-i.yaml 0000644 00000000264 15217654522 0013726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::XMLDecl#content is_singleton: false name: content params: (enc) visibility: private ri/1.8/system/REXML/Text/new-c.yaml 0000644 00000005244 15217654522 0012536 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Constructor arg if a String, the content is set to the String. If a Text, the object is shallowly cloned. - !ruby/struct:SM::Flow::P body: respect_whitespace (boolean, false) if true, whitespace is respected - !ruby/struct:SM::Flow::P body: parent (nil) if this is a Parent object, the parent will be set to this. - !ruby/struct:SM::Flow::P body: raw (nil) This argument can be given three values. If true, then the value of used to construct this object is expected to contain no unescaped XML markup, and REXML will not change the text. If this value is false, the string may contain any characters, and REXML will escape any and all defined entities whose values are contained in the text. If this value is nil (the default), then the raw value of the parent will be used as the raw value for this node. If there is no raw value for the parent, and no value is supplied, the default is false. Use this field if you have entities defined for some text, and you don't want REXML to escape that text in output. - !ruby/struct:SM::Flow::VERB body: " Text.new( "<&", false, nil, false ) #-> "<&"\n Text.new( "<&", false, nil, false ) #-> "&lt;&amp;"\n Text.new( "<&", false, nil, true ) #-> Parse exception\n Text.new( "<&", false, nil, true ) #-> "<&"\n # Assume that the entity "s" is defined to be "sean"\n # and that the entity "r" is defined to be "russell"\n Text.new( "sean russell" ) #-> "&s; &r;"\n Text.new( "sean russell", false, nil, true ) #-> "sean russell"\n" - !ruby/struct:SM::Flow::P body: entity_filter (nil) This can be an array of entities to match in the supplied text. This argument is only useful if raw is set to false. - !ruby/struct:SM::Flow::VERB body: " Text.new( "sean russell", false, nil, false, ["s"] ) #-> "&s; russell"\n Text.new( "sean russell", false, nil, true, ["s"] ) #-> "sean russell"\n" - !ruby/struct:SM::Flow::P body: In the last example, the entity_filter argument is ignored. - !ruby/struct:SM::Flow::P body: pattern INTERNAL USE ONLY full_name: REXML::Text::new is_singleton: true name: new params: (arg, respect_whitespace=false, parent=nil, raw=nil, entity_filter=nil, illegal=ILLEGAL ) visibility: public ri/1.8/system/REXML/Text/to_s-i.yaml 0000644 00000002017 15217654522 0012712 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the string value of this text node. This string is always escaped, meaning that it is a valid XML text node string, and all entities that can be escaped, have been inserted. This method respects the entity filter set in the constructor. - !ruby/struct:SM::Flow::VERB body: " # Assume that the entity "s" is defined to be "sean", and that the\n # entity "r" is defined to be "russell"\n t = Text.new( "< & sean russell", false, nil, false, ['s'] )\n t.to_s #-> "< & &s; russell"\n t = Text.new( "< & &s; russell", false, nil, false )\n t.to_s #-> "< & &s; russell"\n u = Text.new( "sean russell", false, nil, true )\n u.to_s #-> "sean russell"\n" full_name: REXML::Text#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/REXML/Text/indent_text-i.yaml 0000644 00000000346 15217654522 0014276 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Text#indent_text is_singleton: false name: indent_text params: (string, level=1, style="\t", indentfirstline=true) visibility: public ri/1.8/system/REXML/Text/%3c%3c-i.yaml 0000644 00000000465 15217654522 0012620 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Appends text to this text node. The text is appended in the raw mode of this text node. full_name: REXML::Text#<< is_singleton: false name: "<<" params: ( to_append ) visibility: public ri/1.8/system/REXML/Text/write_with_substitution-i.yaml 0000644 00000001277 15217654522 0016776 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Writes out text, substituting special characters beforehand. out A String, IO, or any other object supporting <<( String ) input the text to substitute and the write out - !ruby/struct:SM::Flow::VERB body: " z=utf8.unpack("U*")\n ascOut=""\n z.each{|r|\n if r < 0x100\n ascOut.concat(r.chr)\n else\n ascOut.concat(sprintf("&#x%x;", r))\n end\n }\n puts ascOut\n" full_name: REXML::Text#write_with_substitution is_singleton: false name: write_with_substitution params: (out, input) visibility: public ri/1.8/system/REXML/Text/unnormalize-c.yaml 0000644 00000000447 15217654522 0014310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Unescapes all possible entities full_name: REXML::Text::unnormalize is_singleton: true name: unnormalize params: ( string, doctype=nil, filter=nil, illegal=nil ) visibility: public ri/1.8/system/REXML/Text/xpath-i.yaml 0000644 00000000365 15217654522 0013076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: FIXME This probably won't work properly full_name: REXML::Text#xpath is_singleton: false name: xpath params: () visibility: public ri/1.8/system/REXML/Text/%3c%3d%3e-i.yaml 0000644 00000000453 15217654522 0013113 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: other a String or a Text returns the result of (to_s <=> arg.to_s) full_name: REXML::Text#<=> is_singleton: false name: <=> params: ( other ) visibility: public ri/1.8/system/REXML/Text/value%3d-i.yaml 0000644 00000001112 15217654522 0013351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the contents of this text node. This expects the text to be unnormalized. It returns self. - !ruby/struct:SM::Flow::VERB body: " e = Element.new( "a" )\n e.add_text( "foo" ) # <a>foo</a>\n e[0].value = "bar" # <a>bar</a>\n e[0].value = "<a>" # <a><a></a>\n" full_name: REXML::Text#value= is_singleton: false name: value= params: ( val ) visibility: public ri/1.8/system/REXML/Text/write-i.yaml 0000644 00000000521 15217654522 0013076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: DEPRECATED - !ruby/struct:SM::Flow::P body: See REXML::Formatters full_name: REXML::Text#write is_singleton: false name: write params: ( writer, indent=-1, transitive=false, ie_hack=false ) visibility: public ri/1.8/system/REXML/Text/cdesc-Text.yaml 0000644 00000004710 15217654522 0013525 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: If raw is true, then REXML leaves the value alone name: raw rw: RW class_methods: - !ruby/object:RI::MethodSummary name: expand - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: normalize - !ruby/object:RI::MethodSummary name: read_with_substitution - !ruby/object:RI::MethodSummary name: unnormalize comment: - !ruby/struct:SM::Flow::P body: Represents text nodes in an XML document constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: The order in which the substitutions occur name: SPECIALS value: "[ /&(?!#?[\\w-]+;)/u, //u, /\"/u, /'/u, /\\r/u ]" - !ruby/object:RI::Constant comment: name: SUBSTITUTES value: "['&', '<', '>', '"', ''', ' ']" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Characters which are substituted in written strings name: SLAICEPS value: "[ '<', '>', '\"', \"'\", '&' ]" - !ruby/object:RI::Constant comment: name: SETUTITSBUS value: "[ /</u, />/u, /"/u, /'/u, /&/u ]" - !ruby/object:RI::Constant comment: name: ILLEGAL value: /(<|&(?!(#{Entity::NAME})|(#0*((?:\d+)|(?:x[a-fA-F0-9]+)));))/um - !ruby/object:RI::Constant comment: name: NUMERICENTITY value: /*((?:\d+)|(?:x[a-fA-F0-9]+));/ - !ruby/object:RI::Constant comment: name: REFERENCE value: /#{Entity::REFERENCE}/ - !ruby/object:RI::Constant comment: name: EREFERENCE value: /&(?!#{Entity::NAME};)/ full_name: REXML::Text includes: - !ruby/object:RI::IncludedModule name: Comparable instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: indent_text - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: node_type - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: value - !ruby/object:RI::MethodSummary name: value= - !ruby/object:RI::MethodSummary name: wrap - !ruby/object:RI::MethodSummary name: write - !ruby/object:RI::MethodSummary name: write_with_substitution - !ruby/object:RI::MethodSummary name: xpath name: Text superclass: Child ri/1.8/system/REXML/Text/expand-c.yaml 0000644 00000000277 15217654522 0013225 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Text::expand is_singleton: true name: expand params: (ref, doctype, filter) visibility: public ri/1.8/system/REXML/Text/inspect-i.yaml 0000644 00000000255 15217654522 0013415 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Text#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/REXML/Text/normalize-c.yaml 0000644 00000000432 15217654522 0013737 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Escapes all possible entities full_name: REXML::Text::normalize is_singleton: true name: normalize params: ( input, doctype=nil, entity_filter=nil ) visibility: public ri/1.8/system/REXML/Text/node_type-i.yaml 0000644 00000000261 15217654522 0013733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Text#node_type is_singleton: false name: node_type params: () visibility: public ri/1.8/system/REXML/Text/wrap-i.yaml 0000644 00000000306 15217654522 0012716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Text#wrap is_singleton: false name: wrap params: (string, width, addnewline=false) visibility: public ri/1.8/system/REXML/Text/clone-i.yaml 0000644 00000000251 15217654522 0013044 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Text#clone is_singleton: false name: clone params: () visibility: public ri/1.8/system/REXML/Text/empty%3f-i.yaml 0000644 00000000253 15217654522 0013402 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Text#empty? is_singleton: false name: empty? params: () visibility: public ri/1.8/system/REXML/Text/read_with_substitution-c.yaml 0000644 00000000445 15217654522 0016545 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads text, substituting entities full_name: REXML::Text::read_with_substitution is_singleton: true name: read_with_substitution params: ( input, illegal=nil ) visibility: public ri/1.8/system/REXML/Text/value-i.yaml 0000644 00000001725 15217654522 0013067 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the string value of this text. This is the text without entities, as it might be used programmatically, or printed to the console. This ignores the 'raw' attribute setting, and any entity_filter. - !ruby/struct:SM::Flow::VERB body: " # Assume that the entity "s" is defined to be "sean", and that the\n # entity "r" is defined to be "russell"\n t = Text.new( "< & sean russell", false, nil, false, ['s'] )\n t.value #-> "< & sean russell"\n t = Text.new( "< & &s; russell", false, nil, false )\n t.value #-> "< & sean russell"\n u = Text.new( "sean russell", false, nil, true )\n u.value #-> "sean russell"\n" full_name: REXML::Text#value is_singleton: false name: value params: () visibility: public ri/1.8/system/REXML/Element/namespaces-i.yaml 0000644 00000000266 15217654522 0014536 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Element#namespaces is_singleton: false name: namespaces params: () visibility: public ri/1.8/system/REXML/Element/new-c.yaml 0000644 00000003723 15217654522 0013203 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Constructor - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "arg:" body: if not supplied, will be set to the default value. If a String, the name of this object will be set to the argument. If an Element, the object will be shallowly cloned; name, attributes, and namespaces will be copied. Children will not be copied. - !ruby/struct:SM::Flow::LI label: "parent:" body: if supplied, must be a Parent, and will be used as the parent of this object. - !ruby/struct:SM::Flow::LI label: "context:" body: "If supplied, must be a hash containing context items. Context items include:" type: :NOTE - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: :respect_whitespace the value of this is :all or an array of strings being the names of the elements to respect whitespace for. Defaults to :all. - !ruby/struct:SM::Flow::LI label: "*" body: :compress_whitespace the value can be :all or an array of strings being the names of the elements to ignore whitespace on. Overrides :respect_whitespace. - !ruby/struct:SM::Flow::LI label: "*" body: :ignore_whitespace_nodes the value can be :all or an array of strings being the names of the elements in which to ignore whitespace-only nodes. If this is set, Text nodes which contain only whitespace will not be added to the document tree. - !ruby/struct:SM::Flow::LI label: "*" body: :raw can be :all, or an array of strings being the names of the elements to process in raw mode. In raw mode, special characters in text is not converted to or from entities. type: :BULLET full_name: REXML::Element::new is_singleton: true name: new params: ( arg = UNDEFINED, parent=nil, context=nil ) visibility: public ri/1.8/system/REXML/Element/add_namespace-i.yaml 0000644 00000001727 15217654522 0015166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Adds a namespace to this element. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "prefix:" body: the prefix string, or the namespace URI if uri is not supplied - !ruby/struct:SM::Flow::LI label: "uri:" body: the namespace URI. May be nil, in which prefix is used as the URI type: :NOTE - !ruby/struct:SM::Flow::P body: "Evaluates to: this Element" - !ruby/struct:SM::Flow::VERB body: " a = Element.new("a")\n a.add_namespace("xmlns:foo", "bar" )\n a.add_namespace("foo", "bar") # shorthand for previous line\n a.add_namespace("twiddle")\n puts a #-> <a xmlns:foo='bar' xmlns='twiddle'/>\n" full_name: REXML::Element#add_namespace is_singleton: false name: add_namespace params: ( prefix, uri=nil ) visibility: public ri/1.8/system/REXML/Element/whitespace-i.yaml 0000644 00000001631 15217654522 0014550 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Evaluates to true if whitespace is respected for this element. This is the case if:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "1." body: Neither :respect_whitespace nor :compress_whitespace has any value - !ruby/struct:SM::Flow::LI label: "2." body: The context has :respect_whitespace set to :all or an array containing the name of this element, and :compress_whitespace isn't set to :all or an array containing the name of this element. type: :NUMBER - !ruby/struct:SM::Flow::P body: The evaluation is tested against expanded_name, and so is namespace sensitive. full_name: REXML::Element#whitespace is_singleton: false name: whitespace params: () visibility: public ri/1.8/system/REXML/Element/add_element-i.yaml 0000644 00000002014 15217654522 0014651 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Adds a child to this element, optionally setting attributes in the element. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "element:" body: optional. If Element, the element is added. Otherwise, a new Element is constructed with the argument (see Element.initialize). - !ruby/struct:SM::Flow::LI label: "attrs:" body: If supplied, must be a Hash containing String name,value pairs, which will be used to set the attributes of the new Element. - !ruby/struct:SM::Flow::LI label: "Returns:" body: the Element that was added type: :NOTE - !ruby/struct:SM::Flow::VERB body: " el = doc.add_element 'my-tag'\n el = doc.add_element 'my-tag', {'attr1'=>'val1', 'attr2'=>'val2'}\n el = Element.new 'my-tag'\n doc.add_element el\n" full_name: REXML::Element#add_element is_singleton: false name: add_element params: (element, attrs=nil) visibility: public ri/1.8/system/REXML/Element/delete_element-i.yaml 0000644 00000001647 15217654522 0015376 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes a child element. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "element:" body: Must be an Element, String, or Integer. If Element, the element is removed. If String, the element is found (via XPath) and removed. <em>This means that any parent can remove any descendant.<em> If Integer, the Element indexed by that number will be removed. - !ruby/struct:SM::Flow::LI label: "Returns:" body: the element that was removed. type: :NOTE - !ruby/struct:SM::Flow::VERB body: " doc.delete_element "/a/b/c[@id='4']"\n doc.delete_element doc.elements["//k"]\n doc.delete_element 1\n" full_name: REXML::Element#delete_element is_singleton: false name: delete_element params: (element) visibility: public ri/1.8/system/REXML/Element/prefixes-i.yaml 0000644 00000001017 15217654522 0014237 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evaluates to an Array containing the prefixes (names) of all defined namespaces at this context node. - !ruby/struct:SM::Flow::VERB body: " doc = Document.new("<a xmlns:x='1' xmlns:y='2'><b/><c xmlns:z='3'/></a>")\n doc.elements['//b'].prefixes # -> ['x', 'y']\n" full_name: REXML::Element#prefixes is_singleton: false name: prefixes params: () visibility: public ri/1.8/system/REXML/Element/ignore_whitespace_nodes-i.yaml 0000644 00000000320 15217654522 0017275 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Element#ignore_whitespace_nodes is_singleton: false name: ignore_whitespace_nodes params: () visibility: public ri/1.8/system/REXML/Element/raw-i.yaml 0000644 00000001000 15217654522 0013173 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evaluates to true if raw mode is set for this element. This is the case if the context has :raw set to :all or an array containing the name of this element. - !ruby/struct:SM::Flow::P body: The evaluation is tested against expanded_name, and so is namespace sensitive. full_name: REXML::Element#raw is_singleton: false name: raw params: () visibility: public ri/1.8/system/REXML/Element/texts-i.yaml 0000644 00000000375 15217654522 0013567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get an array of all Text children. IMMUTABLE full_name: REXML::Element#texts is_singleton: false name: texts params: () visibility: public ri/1.8/system/REXML/Element/comments-i.yaml 0000644 00000000406 15217654522 0014240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get an array of all Comment children. IMMUTABLE full_name: REXML::Element#comments is_singleton: false name: comments params: () visibility: public ri/1.8/system/REXML/Element/instructions-i.yaml 0000644 00000000422 15217654522 0015155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get an array of all Instruction children. IMMUTABLE full_name: REXML::Element#instructions is_singleton: false name: instructions params: () visibility: public ri/1.8/system/REXML/Element/delete_attribute-i.yaml 0000644 00000002104 15217654522 0015735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes an attribute - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "key:" body: either an Attribute or a String. In either case, the attribute is found by matching the attribute name to the argument, and then removed. If no attribute is found, no action is taken. - !ruby/struct:SM::Flow::LI label: "Returns:" body: the attribute removed, or nil if this Element did not contain a matching attribute type: :NOTE - !ruby/struct:SM::Flow::VERB body: " e = Element.new('E')\n e.add_attribute( 'name', 'Sean' ) #-> <E name='Sean'/>\n r = e.add_attribute( 'sur:name', 'Russell' ) #-> <E name='Sean' sur:name='Russell'/>\n e.delete_attribute( 'name' ) #-> <E sur:name='Russell'/>\n e.delete_attribute( r ) #-> <E/>\n" full_name: REXML::Element#delete_attribute is_singleton: false name: delete_attribute params: (key) visibility: public ri/1.8/system/REXML/Element/xpath-i.yaml 0000644 00000000254 15217654522 0013540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Element#xpath is_singleton: false name: xpath params: () visibility: public ri/1.8/system/REXML/Element/cdatas-i.yaml 0000644 00000000400 15217654522 0013644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get an array of all CData children. IMMUTABLE full_name: REXML::Element#cdatas is_singleton: false name: cdatas params: () visibility: public ri/1.8/system/REXML/Element/get_elements-i.yaml 0000644 00000001131 15217654522 0015062 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Synonym for Element.to_a This is a little slower than calling elements.each directly. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "xpath:" body: any XPath by which to search for elements in the tree - !ruby/struct:SM::Flow::LI label: "Returns:" body: an array of Elements that match the supplied path type: :NOTE full_name: REXML::Element#get_elements is_singleton: false name: get_elements params: ( xpath ) visibility: public ri/1.8/system/REXML/Element/each_element-i.yaml 0000644 00000000442 15217654522 0015024 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: Element comment: - !ruby/struct:SM::Flow::P body: Synonym for Element.elements.each full_name: REXML::Element#each_element is_singleton: false name: each_element params: ( xpath=nil ) {|Element| ...} visibility: public ri/1.8/system/REXML/Element/root_node-i.yaml 0000644 00000002367 15217654522 0014413 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evaluates to the root node of the document that this element belongs to. If this element doesn't belong to a document, but does belong to another Element, the parent's root will be returned, until the earliest ancestor is found. - !ruby/struct:SM::Flow::P body: "Note that this is not the same as the document element. In the following example, <a> is the document element, and the root node is the parent node of the document element. You may ask yourself why the root node is useful: consider the doctype and XML declaration, and any processing instructions before the document element... they are children of the root node, or siblings of the document element. The only time this isn't true is when an Element is created that is not part of any Document. In this case, the ancestor that has no parent acts as the root node." - !ruby/struct:SM::Flow::VERB body: " d = Document.new '<a><c/></a>'\n a = d[1] ; c = a[1][1]\n d.root_node == d # TRUE\n a.root_node # namely, d\n c.root_node # again, d\n" full_name: REXML::Element#root_node is_singleton: false name: root_node params: () visibility: public ri/1.8/system/REXML/Element/__to_xpath_helper-i.yaml 0000644 00000000311 15217654522 0016071 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Element#__to_xpath_helper is_singleton: false name: __to_xpath_helper params: (node) visibility: private ri/1.8/system/REXML/Element/add_attribute-i.yaml 0000644 00000002463 15217654522 0015233 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Adds an attribute to this element, overwriting any existing attribute by the same name. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "key:" body: can be either an Attribute or a String. If an Attribute, the attribute is added to the list of Element attributes. If String, the argument is used as the name of the new attribute, and the value parameter must be supplied. - !ruby/struct:SM::Flow::LI label: "value:" body: Required if key is a String, and ignored if the first argument is an Attribute. This is a String, and is used as the value of the new Attribute. This should be the unnormalized value of the attribute (without entities). - !ruby/struct:SM::Flow::LI label: "Returns:" body: the Attribute added type: :NOTE - !ruby/struct:SM::Flow::VERB body: " e = Element.new 'e'\n e.add_attribute( 'a', 'b' ) #-> <e a='b'/>\n e.add_attribute( 'x:a', 'c' ) #-> <e a='b' x:a='c'/>\n e.add_attribute Attribute.new('b', 'd') #-> <e a='b' x:a='c' b='d'/>\n" full_name: REXML::Element#add_attribute is_singleton: false name: add_attribute params: ( key, value=nil ) visibility: public ri/1.8/system/REXML/Element/has_text%3f-i.yaml 0000644 00000000437 15217654522 0014534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evaluates to true if this element has at least one Text child full_name: REXML::Element#has_text? is_singleton: false name: has_text? params: () visibility: public ri/1.8/system/REXML/Element/has_attributes%3f-i.yaml 0000644 00000000470 15217654522 0015733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evaluates to true if this element has any attributes set, false otherwise. full_name: REXML::Element#has_attributes? is_singleton: false name: has_attributes? params: () visibility: public ri/1.8/system/REXML/Element/write-i.yaml 0000644 00000003365 15217654522 0013554 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: DEPRECATED - !ruby/struct:SM::Flow::P body: See REXML::Formatters - !ruby/struct:SM::Flow::P body: Writes out this element, and recursively, all children. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "output:" body: output an object which supports '<< string'; this is where the type: :NOTE - !ruby/struct:SM::Flow::VERB body: " document will be written.\n" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "indent:" body: An integer. If -1, no indenting will be used; otherwise, the indentation will be this number of spaces, and children will be indented an additional amount. Defaults to -1 - !ruby/struct:SM::Flow::LI label: "transitive:" body: If transitive is true and indent is >= 0, then the output will be pretty-printed in such a way that the added whitespace does not affect the parse tree of the document - !ruby/struct:SM::Flow::LI label: "ie_hack:" body: Internet Explorer is the worst piece of crap to have ever been written, with the possible exception of Windows itself. Since IE is unable to parse proper XML, we have to provide a hack to generate XML that IE's limited abilities can handle. This hack inserts a space before the /> on empty tags. Defaults to false type: :NOTE - !ruby/struct:SM::Flow::VERB body: " out = ''\n doc.write( out ) #-> doc is written to the string 'out'\n doc.write( $stdout ) #-> doc written to the console\n" full_name: REXML::Element#write is_singleton: false name: write params: (writer=$stdout, indent=-1, transitive=false, ie_hack=false) visibility: public ri/1.8/system/REXML/Element/each_with_something-i.yaml 0000644 00000000561 15217654522 0016425 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: child if test.call(child) and num += 1 comment: - !ruby/struct:SM::Flow::P body: A private helper method full_name: REXML::Element#each_with_something is_singleton: false name: each_with_something params: ( test, max=0, name=nil ) {|child if test.call(child) and num += 1| ...} visibility: private ri/1.8/system/REXML/Element/root-i.yaml 0000644 00000000252 15217654522 0013375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Element#root is_singleton: false name: root params: () visibility: public ri/1.8/system/REXML/Element/cdesc-Element.yaml 0000644 00000006354 15217654522 0014645 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Mechanisms for accessing attributes and child elements of this element. name: attributes rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The context holds information about the processing environment, such as whitespace handling. name: context rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Mechanisms for accessing attributes and child elements of this element. name: elements rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Represents a tagged XML element. Elements are characterized by having children, attributes, and names, and can themselves be children. constants: - !ruby/object:RI::Constant comment: name: UNDEFINED value: "\"UNDEFINED\";" full_name: REXML::Element includes: - !ruby/object:RI::IncludedModule name: Namespace instance_methods: - !ruby/object:RI::MethodSummary name: __to_xpath_helper - !ruby/object:RI::MethodSummary name: add_attribute - !ruby/object:RI::MethodSummary name: add_attributes - !ruby/object:RI::MethodSummary name: add_element - !ruby/object:RI::MethodSummary name: add_namespace - !ruby/object:RI::MethodSummary name: add_text - !ruby/object:RI::MethodSummary name: attribute - !ruby/object:RI::MethodSummary name: cdatas - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: comments - !ruby/object:RI::MethodSummary name: delete_attribute - !ruby/object:RI::MethodSummary name: delete_element - !ruby/object:RI::MethodSummary name: delete_namespace - !ruby/object:RI::MethodSummary name: document - !ruby/object:RI::MethodSummary name: each_element - !ruby/object:RI::MethodSummary name: each_element_with_attribute - !ruby/object:RI::MethodSummary name: each_element_with_text - !ruby/object:RI::MethodSummary name: each_with_something - !ruby/object:RI::MethodSummary name: get_elements - !ruby/object:RI::MethodSummary name: get_text - !ruby/object:RI::MethodSummary name: has_attributes? - !ruby/object:RI::MethodSummary name: has_elements? - !ruby/object:RI::MethodSummary name: has_text? - !ruby/object:RI::MethodSummary name: ignore_whitespace_nodes - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: instructions - !ruby/object:RI::MethodSummary name: namespace - !ruby/object:RI::MethodSummary name: namespaces - !ruby/object:RI::MethodSummary name: next_element - !ruby/object:RI::MethodSummary name: node_type - !ruby/object:RI::MethodSummary name: prefixes - !ruby/object:RI::MethodSummary name: previous_element - !ruby/object:RI::MethodSummary name: raw - !ruby/object:RI::MethodSummary name: root - !ruby/object:RI::MethodSummary name: root_node - !ruby/object:RI::MethodSummary name: text - !ruby/object:RI::MethodSummary name: text= - !ruby/object:RI::MethodSummary name: texts - !ruby/object:RI::MethodSummary name: whitespace - !ruby/object:RI::MethodSummary name: write - !ruby/object:RI::MethodSummary name: xpath name: Element superclass: Parent ri/1.8/system/REXML/Element/delete_namespace-i.yaml 0000644 00000001341 15217654522 0015670 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes a namespace from this node. This only works if the namespace is actually declared in this node. If no argument is passed, deletes the default namespace. - !ruby/struct:SM::Flow::P body: "Evaluates to: this element" - !ruby/struct:SM::Flow::VERB body: " doc = Document.new "<a xmlns:foo='bar' xmlns='twiddle'/>"\n doc.root.delete_namespace\n puts doc # -> <a xmlns:foo='bar'/>\n doc.root.delete_namespace 'foo'\n puts doc # -> <a/>\n" full_name: REXML::Element#delete_namespace is_singleton: false name: delete_namespace params: (namespace="xmlns") visibility: public ri/1.8/system/REXML/Element/add_attributes-i.yaml 0000644 00000001256 15217654522 0015415 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Add multiple attributes to this element. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "hash:" body: is either a hash, or array of arrays type: :NOTE - !ruby/struct:SM::Flow::VERB body: " el.add_attributes( {"name1"=>"value1", "name2"=>"value2"} )\n el.add_attributes( [ ["name1","value1"], ["name2"=>"value2"] ] )\n" full_name: REXML::Element#add_attributes is_singleton: false name: add_attributes params: (hash) visibility: public ri/1.8/system/REXML/Element/inspect-i.yaml 0000644 00000000260 15217654522 0014056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Element#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/REXML/Element/node_type-i.yaml 0000644 00000000264 15217654522 0014403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Element#node_type is_singleton: false name: node_type params: () visibility: public ri/1.8/system/REXML/Element/each_element_with_attribute-i.yaml 0000644 00000002607 15217654522 0020147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: Element comment: - !ruby/struct:SM::Flow::P body: Iterates through the child elements, yielding for each Element that has a particular attribute set. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "key:" body: the name of the attribute to search for - !ruby/struct:SM::Flow::LI label: "value:" body: the value of the attribute - !ruby/struct:SM::Flow::LI label: "max:" body: (optional) causes this method to return after yielding for this number of matching children - !ruby/struct:SM::Flow::LI label: "name:" body: (optional) if supplied, this is an XPath that filters the children to check. type: :NOTE - !ruby/struct:SM::Flow::VERB body: " doc = Document.new "<a><b @id='1'/><c @id='2'/><d @id='1'/><e/></a>"\n # Yields b, c, d\n doc.root.each_element_with_attribute( 'id' ) {|e| p e}\n # Yields b, d\n doc.root.each_element_with_attribute( 'id', '1' ) {|e| p e}\n # Yields b\n doc.root.each_element_with_attribute( 'id', '1', 1 ) {|e| p e}\n # Yields d\n doc.root.each_element_with_attribute( 'id', '1', 0, 'd' ) {|e| p e}\n" full_name: REXML::Element#each_element_with_attribute is_singleton: false name: each_element_with_attribute params: ( key, value=nil, max=0, name=nil ) {|Element| ...} visibility: public ri/1.8/system/REXML/Element/has_elements%3f-i.yaml 0000644 00000001131 15217654522 0015354 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evaluates to true if this element has at least one child Element - !ruby/struct:SM::Flow::VERB body: " doc = Document.new "<a><b/><c>Text</c></a>"\n doc.root.has_elements # -> true\n doc.elements["/a/b"].has_elements # -> false\n doc.elements["/a/c"].has_elements # -> false\n" full_name: REXML::Element#has_elements? is_singleton: false name: has_elements? params: () visibility: public ri/1.8/system/REXML/Element/text-i.yaml 0000644 00000002036 15217654522 0013400 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: A convenience method which returns the String value of the first child text element, if one exists, and nil otherwise. - !ruby/struct:SM::Flow::P body: Note that an element may have multiple Text elements, perhaps separated by other children. Be aware that this method only returns the first Text node. - !ruby/struct:SM::Flow::P body: This method returns the value of the first text child node, which ignores the raw setting, so always returns normalized text. See the Text::value documentation. - !ruby/struct:SM::Flow::VERB body: " doc = Document.new "<p>some text this is bold! more text</p>"\n # The element 'p' has two text elements, "some text " and " more text".\n doc.root.text #-> "some text "\n" full_name: REXML::Element#text is_singleton: false name: text params: ( path = nil ) visibility: public ri/1.8/system/REXML/Element/text%3d-i.yaml 0000644 00000002741 15217654522 0013677 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the first Text child of this object. See text() for a discussion about Text children. - !ruby/struct:SM::Flow::P body: If a Text child already exists, the child is replaced by this content. This means that Text content can be deleted by calling this method with a nil argument. In this case, the next Text child becomes the first Text child. In no case is the order of any siblings disturbed. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "text:" body: If a String, a new Text child is created and added to this Element as the first Text child. If Text, the text is set as the first Child element. If nil, then any existing first Text child is removed. - !ruby/struct:SM::Flow::LI label: "Returns:" body: this Element. type: :NOTE - !ruby/struct:SM::Flow::VERB body: " doc = Document.new '<a><b/></a>'\n doc.root.text = 'Sean' #-> '<a><b/>Sean</a>'\n doc.root.text = 'Elliott' #-> '<a><b/>Elliott</a>'\n doc.root.add_element 'c' #-> '<a><b/>Elliott<c/></a>'\n doc.root.text = 'Russell' #-> '<a><b/>Russell<c/></a>'\n doc.root.text = nil #-> '<a><b/><c/></a>'\n" full_name: REXML::Element#text= is_singleton: false name: text= params: ( text ) visibility: public ri/1.8/system/REXML/Element/previous_element-i.yaml 0000644 00000001077 15217654522 0016005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the previous sibling that is an element, or nil if there is no Element sibling prior to this one - !ruby/struct:SM::Flow::VERB body: " doc = Document.new '<a><b/>text<c/></a>'\n doc.root.elements['c'].previous_element #-> <b/>\n doc.root.elements['b'].previous_element #-> nil\n" full_name: REXML::Element#previous_element is_singleton: false name: previous_element params: () visibility: public ri/1.8/system/REXML/Element/next_element-i.yaml 0000644 00000001050 15217654522 0015076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the next sibling that is an element, or nil if there is no Element sibling after this one - !ruby/struct:SM::Flow::VERB body: " doc = Document.new '<a><b/>text<c/></a>'\n doc.root.elements['b'].next_element #-> <c/>\n doc.root.elements['c'].next_element #-> nil\n" full_name: REXML::Element#next_element is_singleton: false name: next_element params: () visibility: public ri/1.8/system/REXML/Element/add_text-i.yaml 0000644 00000002003 15217654522 0014202 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: A helper method to add a Text child. Actual Text instances can be added with regular Parent methods, such as add() and <<() - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "text:" body: if a String, a new Text instance is created and added to the parent. If Text, the object is added directly. - !ruby/struct:SM::Flow::LI label: "Returns:" body: this Element type: :NOTE - !ruby/struct:SM::Flow::VERB body: " e = Element.new('a') #-> <e/>\n e.add_text 'foo' #-> <e>foo</e>\n e.add_text Text.new(' bar') #-> <e>foo bar</e>\n" - !ruby/struct:SM::Flow::P body: Note that at the end of this example, the branch has 3 nodes; the 'e' element and 2 Text node children. full_name: REXML::Element#add_text is_singleton: false name: add_text params: ( text ) visibility: public ri/1.8/system/REXML/Element/each_element_with_text-i.yaml 0000644 00000002435 15217654522 0017127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: Element comment: - !ruby/struct:SM::Flow::P body: Iterates through the children, yielding for each Element that has a particular text set. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "text:" body: the text to search for. If nil, or not supplied, will iterate over all Element children that contain at least one Text node. - !ruby/struct:SM::Flow::LI label: "max:" body: (optional) causes this method to return after yielding for this number of matching children - !ruby/struct:SM::Flow::LI label: "name:" body: (optional) if supplied, this is an XPath that filters the children to check. type: :NOTE - !ruby/struct:SM::Flow::VERB body: " doc = Document.new '<a>b<c>b</c><d>d</d><e/></a>'\n # Yields b, c, d\n doc.each_element_with_text {|e|p e}\n # Yields b, c\n doc.each_element_with_text('b'){|e|p e}\n # Yields b\n doc.each_element_with_text('b', 1){|e|p e}\n # Yields d\n doc.each_element_with_text(nil, 0, 'd'){|e|p e}\n" full_name: REXML::Element#each_element_with_text is_singleton: false name: each_element_with_text params: ( text=nil, max=0, name=nil ) {|Element| ...} visibility: public ri/1.8/system/REXML/Element/clone-i.yaml 0000644 00000000705 15217654522 0013515 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a shallow copy of self. - !ruby/struct:SM::Flow::VERB body: " d = Document.new "<a><b/><b/><c><d/></c></a>"\n new_a = d.root.clone\n puts new_a # => "<a/>"\n" full_name: REXML::Element#clone is_singleton: false name: clone params: () visibility: public ri/1.8/system/REXML/Element/attribute-i.yaml 0000644 00000000374 15217654522 0014422 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Attributes #" full_name: REXML::Element#attribute is_singleton: false name: attribute params: ( name, namespace=nil ) visibility: public ri/1.8/system/REXML/Element/get_text-i.yaml 0000644 00000001241 15217654522 0014234 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the first child Text node, if any, or nil otherwise. This method returns the actual Text node, rather than the String content. - !ruby/struct:SM::Flow::VERB body: " doc = Document.new "<p>some text this is bold! more text</p>"\n # The element 'p' has two text elements, "some text " and " more text".\n doc.root.get_text.value #-> "some text "\n" full_name: REXML::Element#get_text is_singleton: false name: get_text params: (path = nil) visibility: public ri/1.8/system/REXML/Element/document-i.yaml 0000644 00000000504 15217654522 0014230 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evaluates to the document to which this element belongs, or nil if this element doesn't belong to a document. full_name: REXML::Element#document is_singleton: false name: document params: () visibility: public ri/1.8/system/REXML/Element/namespace-i.yaml 0000644 00000002052 15217654522 0014346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evalutas to the URI for a prefix, or the empty string if no such namespace is declared for this element. Evaluates recursively for ancestors. Returns the default namespace, if there is one. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "prefix:" body: the prefix to search for. If not supplied, returns the default namespace if one exists - !ruby/struct:SM::Flow::LI label: "Returns:" body: the namespace URI as a String, or nil if no such namespace exists. If the namespace is undefined, returns an empty string type: :NOTE - !ruby/struct:SM::Flow::VERB body: " doc = Document.new("<a xmlns='1' xmlns:y='2'><b/><c xmlns:z='3'/></a>")\n b = doc.elements['//b']\n b.namespace # -> '1'\n b.namespace("y") # -> '2'\n" full_name: REXML::Element#namespace is_singleton: false name: namespace params: (prefix=nil) visibility: public ri/1.8/system/REXML/XPath/match-c.yaml 0000644 00000000457 15217654522 0013142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array of nodes matching a given XPath. full_name: REXML::XPath::match is_singleton: true name: match params: (element, path=nil, namespaces=nil, variables={}) visibility: public ri/1.8/system/REXML/XPath/each-c.yaml 0000644 00000001607 15217654522 0012744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates over nodes that match the given path, calling the supplied block with the match. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "element:" body: The context element - !ruby/struct:SM::Flow::LI label: "path:" body: The xpath to search for. If not supplied or nil, defaults to '*' - !ruby/struct:SM::Flow::LI label: "namespaces:" body: If supplied, a Hash which defines a namespace mapping type: :NOTE - !ruby/struct:SM::Flow::VERB body: " XPath.each( node ) { |el| ... }\n XPath.each( node, '/*[@attr='v']' ) { |el| ... }\n XPath.each( node, 'ancestor::x' ) { |el| ... }\n" full_name: REXML::XPath::each is_singleton: true name: each params: (element, path=nil, namespaces=nil, variables={}) visibility: public ri/1.8/system/REXML/XPath/cdesc-XPath.yaml 0000644 00000001044 15217654522 0013722 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: first - !ruby/object:RI::MethodSummary name: match comment: - !ruby/struct:SM::Flow::P body: Wrapper class. Use this class to access the XPath functions. constants: - !ruby/object:RI::Constant comment: name: EMPTY_HASH value: "{}" full_name: REXML::XPath includes: - !ruby/object:RI::IncludedModule name: Functions instance_methods: [] name: XPath superclass: Object ri/1.8/system/REXML/XPath/first-c.yaml 0000644 00000001630 15217654522 0013167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Finds and returns the first node that matches the supplied xpath. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "element:" body: The context element - !ruby/struct:SM::Flow::LI label: "path:" body: The xpath to search for. If not supplied or nil, returns the first node matching '*'. - !ruby/struct:SM::Flow::LI label: "namespaces:" body: If supplied, a Hash which defines a namespace mapping. type: :NOTE - !ruby/struct:SM::Flow::VERB body: " XPath.first( node )\n XPath.first( doc, "//b"} )\n XPath.first( node, "a/x:b", { "x"=>"http://doofus" } )\n" full_name: REXML::XPath::first is_singleton: true name: first params: (element, path=nil, namespaces=nil, variables={}) visibility: public ri/1.8/system/REXML/entity_expansion_text_limit-c.yaml 0000644 00000000471 15217654522 0016660 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the entity expansion limit. By default the limit is set to 10240. full_name: REXML::entity_expansion_text_limit is_singleton: true name: entity_expansion_text_limit params: () visibility: public ri/1.8/system/REXML/Parent/new-c.yaml 0000644 00000000445 15217654522 0013041 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Constructor @param parent if supplied, will be set as the parent of this object full_name: REXML::Parent::new is_singleton: true name: new params: (parent=nil) visibility: public ri/1.8/system/REXML/Parent/deep_clone-i.yaml 0000644 00000000501 15217654522 0014344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deeply clones this object. This creates a complete duplicate of this Parent, including all descendants. full_name: REXML::Parent#deep_clone is_singleton: false name: deep_clone params: () visibility: public ri/1.8/system/REXML/Parent/unshift-i.yaml 0000644 00000000267 15217654522 0013740 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parent#unshift is_singleton: false name: unshift params: ( object ) visibility: public ri/1.8/system/REXML/Parent/insert_before-i.yaml 0000644 00000001054 15217654522 0015101 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Inserts an child before another child @param child1 this is either an xpath or an Element. If an Element, child2 will be inserted before child1 in the child list of the parent. If an xpath, child2 will be inserted before the first child to match the xpath. @param child2 the child to insert @return the parent (self) full_name: REXML::Parent#insert_before is_singleton: false name: insert_before params: ( child1, child2 ) visibility: public ri/1.8/system/REXML/Parent/each_child-i.yaml 0000644 00000000361 15217654522 0014316 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #each" full_name: REXML::Parent#each_child is_singleton: false name: each_child params: (&block) visibility: public ri/1.8/system/REXML/Parent/delete-i.yaml 0000644 00000000265 15217654522 0013520 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parent#delete is_singleton: false name: delete params: ( object ) visibility: public ri/1.8/system/REXML/Parent/%3c%3c-i.yaml 0000644 00000000345 15217654522 0013122 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #push" full_name: REXML::Parent#<< is_singleton: false name: "<<" params: ( object ) visibility: public ri/1.8/system/REXML/Parent/index-i.yaml 0000644 00000000570 15217654522 0013364 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Fetches the index of a given child @param child the child to get the index of @return the index of the child, or nil if the object is not a child of this parent. full_name: REXML::Parent#index is_singleton: false name: index params: ( child ) visibility: public ri/1.8/system/REXML/Parent/%5b%5d%3d-i.yaml 0000644 00000000663 15217654522 0013425 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set an index entry. See Array.[]= @param index the index of the element to set @param opt either the object to set, or an Integer length @param child if opt is an Integer, this is the child to set @return the parent (self) full_name: REXML::Parent#[]= is_singleton: false name: "[]=" params: ( *args ) visibility: public ri/1.8/system/REXML/Parent/push-i.yaml 0000644 00000000416 15217654522 0013233 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: "<<" block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add" full_name: REXML::Parent#push is_singleton: false name: push params: ( object ) visibility: public ri/1.8/system/REXML/Parent/%5b%5d-i.yaml 0000644 00000000450 15217654522 0013123 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Fetches a child at a given index @param index the Integer index of the child to fetch full_name: REXML::Parent#[] is_singleton: false name: "[]" params: ( index ) visibility: public ri/1.8/system/REXML/Parent/insert_after-i.yaml 0000644 00000001047 15217654522 0014742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Inserts an child after another child @param child1 this is either an xpath or an Element. If an Element, child2 will be inserted after child1 in the child list of the parent. If an xpath, child2 will be inserted after the first child to match the xpath. @param child2 the child to insert @return the parent (self) full_name: REXML::Parent#insert_after is_singleton: false name: insert_after params: ( child1, child2 ) visibility: public ri/1.8/system/REXML/Parent/replace_child-i.yaml 0000644 00000000701 15217654522 0015027 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Replaces one child with another, making sure the nodelist is correct @param to_replace the child to replace (must be a Child) @param replacement the child to insert into the nodelist (must be a Child) full_name: REXML::Parent#replace_child is_singleton: false name: replace_child params: ( to_replace, replacement ) visibility: public ri/1.8/system/REXML/Parent/size-i.yaml 0000644 00000000447 15217654522 0013232 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: length block_params: comment: - !ruby/struct:SM::Flow::P body: "@return the number of children of this parent" full_name: REXML::Parent#size is_singleton: false name: size params: () visibility: public ri/1.8/system/REXML/Parent/each-i.yaml 0000644 00000000335 15217654522 0013154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: each_child block_params: comment: full_name: REXML::Parent#each is_singleton: false name: each params: (&block) visibility: public ri/1.8/system/REXML/Parent/to_a-i.yaml 0000644 00000000325 15217654522 0013175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: children block_params: comment: full_name: REXML::Parent#to_a is_singleton: false name: to_a params: () visibility: public ri/1.8/system/REXML/Parent/parent%3f-i.yaml 0000644 00000000257 15217654522 0014046 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parent#parent? is_singleton: false name: parent? params: () visibility: public ri/1.8/system/REXML/Parent/cdesc-Parent.yaml 0000644 00000003036 15217654522 0014337 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A parent has children, and has methods for accessing them. The Parent class is never encountered except as the superclass for some other object. constants: [] full_name: REXML::Parent includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: children - !ruby/object:RI::MethodSummary name: deep_clone - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: delete_at - !ruby/object:RI::MethodSummary name: delete_if - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: each_child - !ruby/object:RI::MethodSummary name: each_index - !ruby/object:RI::MethodSummary name: index - !ruby/object:RI::MethodSummary name: insert_after - !ruby/object:RI::MethodSummary name: insert_before - !ruby/object:RI::MethodSummary name: length - !ruby/object:RI::MethodSummary name: parent? - !ruby/object:RI::MethodSummary name: push - !ruby/object:RI::MethodSummary name: replace_child - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: unshift name: Parent superclass: Child ri/1.8/system/REXML/Parent/children-i.yaml 0000644 00000000347 15217654522 0014047 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #to_a" full_name: REXML::Parent#children is_singleton: false name: children params: () visibility: public ri/1.8/system/REXML/Parent/each_index-i.yaml 0000644 00000000275 15217654522 0014346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parent#each_index is_singleton: false name: each_index params: ( &block ) visibility: public ri/1.8/system/REXML/Parent/delete_at-i.yaml 0000644 00000000272 15217654522 0014202 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parent#delete_at is_singleton: false name: delete_at params: ( index ) visibility: public ri/1.8/system/REXML/Parent/length-i.yaml 0000644 00000000343 15217654522 0013534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #size" full_name: REXML::Parent#length is_singleton: false name: length params: () visibility: public ri/1.8/system/REXML/Parent/delete_if-i.yaml 0000644 00000000273 15217654522 0014175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Parent#delete_if is_singleton: false name: delete_if params: ( &block ) visibility: public ri/1.8/system/REXML/Parent/add-i.yaml 0000644 00000000327 15217654522 0013005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: push block_params: comment: full_name: REXML::Parent#add is_singleton: false name: add params: ( object ) visibility: public ri/1.8/system/REXML/NotationDecl/new-c.yaml 0000644 00000000303 15217654522 0014164 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::NotationDecl::new is_singleton: true name: new params: (name, middle, pub, sys) visibility: public ri/1.8/system/REXML/NotationDecl/to_s-i.yaml 0000644 00000000257 15217654522 0014355 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::NotationDecl#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/REXML/NotationDecl/name-i.yaml 0000644 00000000517 15217654522 0014330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This method retrieves the name of the notation. - !ruby/struct:SM::Flow::P body: Method contributed by Henrik Martensson full_name: REXML::NotationDecl#name is_singleton: false name: name params: () visibility: public ri/1.8/system/REXML/NotationDecl/cdesc-NotationDecl.yaml 0000644 00000001002 15217654522 0016612 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: public rw: RW - !ruby/object:RI::Attribute comment: name: system rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::NotationDecl includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: name - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: write name: NotationDecl superclass: Child ri/1.8/system/REXML/NotationDecl/write-i.yaml 0000644 00000000304 15217654522 0014534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::NotationDecl#write is_singleton: false name: write params: ( output, indent=-1 ) visibility: public ri/1.8/system/REXML/Namespace/fully_expanded_name-i.yaml 0000644 00000000475 15217654522 0016727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Fully expand the name, even if the prefix wasn't specified in the source file. full_name: REXML::Namespace#fully_expanded_name is_singleton: false name: fully_expanded_name params: () visibility: public ri/1.8/system/REXML/Namespace/cdesc-Namespace.yaml 0000644 00000002001 15217654522 0015434 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The name of the object, valid if set name: expanded_name rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The name of the object, valid if set name: name rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The expanded name of the object, valid if name is set name: prefix rw: RW class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Adds named attributes to an object. constants: - !ruby/object:RI::Constant comment: name: NAMESPLIT value: /^(?:(#{NCNAME_STR}):)?(#{NCNAME_STR})/u full_name: REXML::Namespace includes: - !ruby/object:RI::IncludedModule name: XMLTokens instance_methods: - !ruby/object:RI::MethodSummary name: fully_expanded_name - !ruby/object:RI::MethodSummary name: has_name? - !ruby/object:RI::MethodSummary name: name= name: Namespace superclass: ri/1.8/system/REXML/Namespace/has_name%3f-i.yaml 0000644 00000000423 15217654522 0014766 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compares names optionally WITH namespaces full_name: REXML::Namespace#has_name? is_singleton: false name: has_name? params: ( other, ns=nil ) visibility: public ri/1.8/system/REXML/Namespace/name%3d-i.yaml 0000644 00000000374 15217654522 0014136 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the name and the expanded name full_name: REXML::Namespace#name= is_singleton: false name: name= params: ( name ) visibility: public ri/1.8/system/REXML/IOSource/new-c.yaml 0000644 00000000415 15217654522 0013275 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: block_size has been deprecated full_name: REXML::IOSource::new is_singleton: true name: new params: (arg, block_size=500, encoding=nil) visibility: public ri/1.8/system/REXML/IOSource/scan-i.yaml 0000644 00000000276 15217654522 0013443 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::IOSource#scan is_singleton: false name: scan params: (pattern, cons=false) visibility: public ri/1.8/system/REXML/IOSource/current_line-i.yaml 0000644 00000000410 15217654522 0015176 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "@return the current line in the source" full_name: REXML::IOSource#current_line is_singleton: false name: current_line params: () visibility: public ri/1.8/system/REXML/IOSource/consume-i.yaml 0000644 00000000272 15217654522 0014164 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::IOSource#consume is_singleton: false name: consume params: ( pattern ) visibility: public ri/1.8/system/REXML/IOSource/read-i.yaml 0000644 00000000253 15217654522 0013425 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::IOSource#read is_singleton: false name: read params: () visibility: public ri/1.8/system/REXML/IOSource/cdesc-IOSource.yaml 0000644 00000001264 15217654522 0015036 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A Source that wraps an IO. See the Source class for method documentation constants: [] full_name: REXML::IOSource includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: consume - !ruby/object:RI::MethodSummary name: current_line - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: match - !ruby/object:RI::MethodSummary name: position - !ruby/object:RI::MethodSummary name: read - !ruby/object:RI::MethodSummary name: scan name: IOSource superclass: Source ri/1.8/system/REXML/IOSource/position-i.yaml 0000644 00000000263 15217654522 0014357 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::IOSource#position is_singleton: false name: position params: () visibility: public ri/1.8/system/REXML/IOSource/empty%3f-i.yaml 0000644 00000000257 15217654522 0014152 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::IOSource#empty? is_singleton: false name: empty? params: () visibility: public ri/1.8/system/REXML/IOSource/match-i.yaml 0000644 00000000302 15217654522 0013601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::IOSource#match is_singleton: false name: match params: ( pattern, cons=false ) visibility: public ri/1.8/system/REXML/EntityConst/cdesc-EntityConst.yaml 0000644 00000002046 15217654522 0016423 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: This is a set of entity constants -- the ones defined in the XML specification. These are gt, lt, amp, quot and apos. constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: +>+ name: GT value: Entity.new( 'gt', '>' ) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: +<+ name: LT value: Entity.new( 'lt', '<' ) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: +&+ name: AMP value: Entity.new( 'amp', '&' ) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: +"+ name: QUOT value: Entity.new( 'quot', '"' ) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: +'+ name: APOS value: Entity.new( 'apos', "'" ) full_name: REXML::EntityConst includes: [] instance_methods: [] name: EntityConst superclass: ri/1.8/system/REXML/Light/cdesc-Light.yaml 0000644 00000000270 15217654522 0013770 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: REXML::Light includes: [] instance_methods: [] name: Light superclass: ri/1.8/system/REXML/Light/Node/new-c.yaml 0000644 00000000356 15217654522 0013545 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new element. full_name: REXML::Light::Node::new is_singleton: true name: new params: (node=nil) visibility: public ri/1.8/system/REXML/Light/Node/to_s-i.yaml 0000644 00000000256 15217654522 0013725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/REXML/Light/Node/%3c%3c-i.yaml 0000644 00000000743 15217654522 0013627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Append a child to this element, optionally under a provided namespace. The namespace argument is ignored if the element argument is an Element object. Otherwise, the element argument is a string, the namespace (if provided) is the namespace the element is created in. full_name: REXML::Light::Node#<< is_singleton: false name: "<<" params: (element) visibility: public ri/1.8/system/REXML/Light/Node/namespace%3d-i.yaml 0000644 00000000305 15217654522 0015204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#namespace= is_singleton: false name: namespace= params: ( namespace ) visibility: public ri/1.8/system/REXML/Light/Node/has_name%3f-i.yaml 0000644 00000000316 15217654522 0015027 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#has_name? is_singleton: false name: has_name? params: ( name, namespace = '' ) visibility: public ri/1.8/system/REXML/Light/Node/name%3d-i.yaml 0000644 00000000302 15217654522 0014165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#name= is_singleton: false name: name= params: ( name_str, ns=nil ) visibility: public ri/1.8/system/REXML/Light/Node/namespace_of-i.yaml 0000644 00000000321 15217654522 0015372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#namespace_of is_singleton: false name: namespace_of params: ( node, prefix=nil ) visibility: private ri/1.8/system/REXML/Light/Node/name-i.yaml 0000644 00000000256 15217654522 0013701 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#name is_singleton: false name: name params: () visibility: public ri/1.8/system/REXML/Light/Node/%5b%5d%3d-i.yaml 0000644 00000000412 15217654522 0014120 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Doesn't handle namespaces yet full_name: REXML::Light::Node#[]= is_singleton: false name: "[]=" params: ( reference, ns, value=nil ) visibility: public ri/1.8/system/REXML/Light/Node/namesplit-i.yaml 0000644 00000000271 15217654522 0014752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#namesplit is_singleton: false name: namesplit params: () visibility: private ri/1.8/system/REXML/Light/Node/%5b%5d-i.yaml 0000644 00000000277 15217654522 0013635 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#[] is_singleton: false name: "[]" params: ( reference, ns=nil ) visibility: public ri/1.8/system/REXML/Light/Node/prefix-i.yaml 0000644 00000000301 15217654522 0014245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#prefix is_singleton: false name: prefix params: ( namespace=nil ) visibility: public ri/1.8/system/REXML/Light/Node/root-i.yaml 0000644 00000000256 15217654522 0013744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#root is_singleton: false name: root params: () visibility: public ri/1.8/system/REXML/Light/Node/size-i.yaml 0000644 00000000256 15217654522 0013733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#size is_singleton: false name: size params: () visibility: public ri/1.8/system/REXML/Light/Node/each-i.yaml 0000644 00000000322 15217654522 0013653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: ( at(x+4) ) comment: full_name: REXML::Light::Node#each is_singleton: false name: each params: ( &block ) {|at(x+4 )| ...} visibility: public ri/1.8/system/REXML/Light/Node/node_type-i.yaml 0000644 00000000270 15217654522 0014743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#node_type is_singleton: false name: node_type params: () visibility: public ri/1.8/system/REXML/Light/Node/children-i.yaml 0000644 00000000266 15217654522 0014552 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#children is_singleton: false name: children params: () visibility: public ri/1.8/system/REXML/Light/Node/parent-i.yaml 0000644 00000000262 15217654522 0014247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#parent is_singleton: false name: parent params: () visibility: public ri/1.8/system/REXML/Light/Node/text%3d-i.yaml 0000644 00000000265 15217654522 0014241 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#text= is_singleton: false name: text= params: ( foo ) visibility: public ri/1.8/system/REXML/Light/Node/local_name%3d-i.yaml 0000644 00000000306 15217654522 0015343 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#local_name= is_singleton: false name: local_name= params: ( name_str ) visibility: public ri/1.8/system/REXML/Light/Node/local_name-i.yaml 0000644 00000000272 15217654522 0015051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#local_name is_singleton: false name: local_name params: () visibility: public ri/1.8/system/REXML/Light/Node/parent%3d-i.yaml 0000644 00000000272 15217654522 0014544 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#parent= is_singleton: false name: parent= params: ( node ) visibility: public ri/1.8/system/REXML/Light/Node/cdesc-Node.yaml 0000644 00000003444 15217654522 0014501 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Represents a tagged XML element. Elements are characterized by having children, attributes, and names, and can themselves be children. constants: - !ruby/object:RI::Constant comment: name: NAMESPLIT value: /^(?:(#{XMLTokens::NCNAME_STR}):)?(#{XMLTokens::NCNAME_STR})/u - !ruby/object:RI::Constant comment: name: PARENTS value: "[ :element, :document, :doctype ]" full_name: REXML::Light::Node includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: =~ - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: children - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: has_name? - !ruby/object:RI::MethodSummary name: local_name - !ruby/object:RI::MethodSummary name: local_name= - !ruby/object:RI::MethodSummary name: name - !ruby/object:RI::MethodSummary name: name= - !ruby/object:RI::MethodSummary name: namespace - !ruby/object:RI::MethodSummary name: namespace= - !ruby/object:RI::MethodSummary name: namespace_of - !ruby/object:RI::MethodSummary name: namesplit - !ruby/object:RI::MethodSummary name: node_type - !ruby/object:RI::MethodSummary name: parent - !ruby/object:RI::MethodSummary name: parent= - !ruby/object:RI::MethodSummary name: prefix - !ruby/object:RI::MethodSummary name: prefix_of - !ruby/object:RI::MethodSummary name: root - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: text= - !ruby/object:RI::MethodSummary name: to_s name: Node superclass: Object ri/1.8/system/REXML/Light/Node/prefix_of-i.yaml 0000644 00000000316 15217654522 0014737 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#prefix_of is_singleton: false name: prefix_of params: ( node, namespace=nil ) visibility: private ri/1.8/system/REXML/Light/Node/namespace-i.yaml 0000644 00000000311 15217654522 0014705 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#namespace is_singleton: false name: namespace params: ( prefix=prefix() ) visibility: public ri/1.8/system/REXML/Light/Node/%3d%7e-i.yaml 0000644 00000000260 15217654522 0013630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: REXML::Light::Node#=~ is_singleton: false name: =~ params: ( path ) visibility: public ri/1.8/system/REXML/SyncEnumerator/new-c.yaml 0000644 00000000451 15217654522 0014563 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new SyncEnumerator which enumerates rows of given Enumerable objects. full_name: REXML::SyncEnumerator::new is_singleton: true name: new params: (*enums) visibility: public ri/1.8/system/REXML/SyncEnumerator/cdesc-SyncEnumerator.yaml 0000644 00000000672 15217654522 0017614 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: REXML::SyncEnumerator includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: length - !ruby/object:RI::MethodSummary name: size name: SyncEnumerator superclass: Object ri/1.8/system/REXML/SyncEnumerator/size-i.yaml 0000644 00000000445 15217654522 0014755 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of enumerated Enumerable objects, i.e. the size of each row. full_name: REXML::SyncEnumerator#size is_singleton: false name: size params: () visibility: public ri/1.8/system/REXML/SyncEnumerator/each-i.yaml 0000644 00000000435 15217654522 0014702 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (*a[1..-1]) comment: - !ruby/struct:SM::Flow::P body: Enumerates rows of the Enumerable objects. full_name: REXML::SyncEnumerator#each is_singleton: false name: each params: () {|*a[1..-1]| ...} visibility: public ri/1.8/system/REXML/SyncEnumerator/length-i.yaml 0000644 00000000451 15217654522 0015261 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of enumerated Enumerable objects, i.e. the size of each row. full_name: REXML::SyncEnumerator#length is_singleton: false name: length params: () visibility: public ri/1.8/system/RiDisplay/new-c.yaml 0000644 00000000250 15217654522 0012613 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RiDisplay::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RiDisplay/cdesc-RiDisplay.yaml 0000644 00000001620 15217654522 0014563 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: This is a kind of 'flag' module. If you want to write your own 'ri' display module (perhaps because you'r writing an IDE or somesuch beast), you simply write a class which implements the various 'display' methods in 'DefaultDisplay', and include the 'RiDisplay' module in that class. - !ruby/struct:SM::Flow::P body: To access your class from the command line, you can do - !ruby/struct:SM::Flow::VERB body: " ruby -r <your source file> ../ri ....\n" - !ruby/struct:SM::Flow::P body: If folks really want to do this from the command line, I'll build an option in constants: [] full_name: RiDisplay includes: [] instance_methods: [] name: RiDisplay superclass: ri/1.8/system/RiDisplay/append_features-c.yaml 0000644 00000000310 15217654522 0015164 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RiDisplay::append_features is_singleton: true name: append_features params: (display_class) visibility: public ri/1.8/system/FileUtils/collect_method-c.yaml 0000644 00000000712 15217654522 0015012 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an Array of method names which have the option opt. - !ruby/struct:SM::Flow::VERB body: " p FileUtils.collect_method(:preserve) #=> ["cp", "cp_r", "copy", "install"]\n" full_name: FileUtils::collect_method is_singleton: true name: collect_method params: (opt) visibility: private ri/1.8/system/FileUtils/identical%3f-i.yaml 0000644 00000000363 15217654522 0014267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #compare_file" full_name: FileUtils#identical? is_singleton: false name: identical? params: (a, b) visibility: public ri/1.8/system/FileUtils/mv-i.yaml 0000644 00000001423 15217654522 0012455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: move block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: force noop verbose" - !ruby/struct:SM::Flow::P body: Moves file(s) src to dest. If file and dest exist on the different disk partition, the file is copied instead. - !ruby/struct:SM::Flow::VERB body: " FileUtils.mv 'badname.rb', 'goodname.rb'\n FileUtils.mv 'stuff.rb', '/notexist/lib/ruby', :force => true # no error\n\n FileUtils.mv %w(junk.txt dust.txt), '/home/aamine/.trash/'\n FileUtils.mv Dir.glob('test*.rb'), 'test', :noop => true, :verbose => true\n" full_name: FileUtils#mv is_singleton: false name: mv params: (src, dest, options = {}) visibility: public ri/1.8/system/FileUtils/pwd-i.yaml 0000644 00000000521 15217654522 0012623 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: getwd block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: (none)" - !ruby/struct:SM::Flow::P body: Returns the name of the current directory. full_name: FileUtils#pwd is_singleton: false name: pwd params: () visibility: public ri/1.8/system/FileUtils/cp_r-i.yaml 0000644 00000002446 15217654522 0012764 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: preserve noop verbose dereference_root remove_destination" - !ruby/struct:SM::Flow::P body: Copies src to dest. If src is a directory, this method copies all its contents recursively. If dest is a directory, copies src to +dest/src+. - !ruby/struct:SM::Flow::P body: src can be a list of files. - !ruby/struct:SM::Flow::VERB body: " # Installing ruby library "mylib" under the site_ruby\n FileUtils.rm_r site_ruby + '/mylib', :force\n FileUtils.cp_r 'lib/', site_ruby + '/mylib'\n\n # Examples of copying several files to target directory.\n FileUtils.cp_r %w(mail.rb field.rb debug/), site_ruby + '/tmail'\n FileUtils.cp_r Dir.glob('*.rb'), '/home/aamine/lib/ruby', :noop => true, :verbose => true\n\n # If you want to copy all contents of a directory instead of the\n # directory itself, c.f. src/x -> dest/x, src/y -> dest/y,\n # use following code.\n FileUtils.cp_r 'src/.', 'dest' # cp_r('src', 'dest') makes src/dest,\n # but this doesn't.\n" full_name: FileUtils#cp_r is_singleton: false name: cp_r params: (src, dest, options = {}) visibility: public ri/1.8/system/FileUtils/remove_entry-i.yaml 0000644 00000000742 15217654522 0014554 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This method removes a file system entry path. path might be a regular file, a directory, or something. If path is a directory, remove it recursively. - !ruby/struct:SM::Flow::P body: "See also #remove_entry_secure." full_name: FileUtils#remove_entry is_singleton: false name: remove_entry params: (path, force = false) visibility: public ri/1.8/system/FileUtils/cd-i.yaml 0000644 00000001200 15217654522 0012412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: chdir block_params: dir comment: - !ruby/struct:SM::Flow::P body: "Options: verbose" - !ruby/struct:SM::Flow::P body: Changes the current directory to the directory dir. - !ruby/struct:SM::Flow::P body: If this method is called with block, resumes to the old working directory after the block execution finished. - !ruby/struct:SM::Flow::VERB body: " FileUtils.cd('/', :verbose => true) # chdir and report it\n" full_name: FileUtils#cd is_singleton: false name: cd params: (dir, options = {}) {|dir| ...} visibility: public ri/1.8/system/FileUtils/have_option%3f-c.yaml 0000644 00000000772 15217654522 0014644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the method mid have an option opt. - !ruby/struct:SM::Flow::VERB body: " p FileUtils.have_option?(:cp, :noop) #=> true\n p FileUtils.have_option?(:rm, :force) #=> true\n p FileUtils.have_option?(:rm, :perserve) #=> false\n" full_name: FileUtils::have_option? is_singleton: true name: have_option? params: (mid, opt) visibility: private ri/1.8/system/FileUtils/commands-c.yaml 0000644 00000000645 15217654522 0013633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an Array of method names which have any options. - !ruby/struct:SM::Flow::VERB body: " p FileUtils.commands #=> ["chmod", "cp", "cp_r", "install", ...]\n" full_name: FileUtils::commands is_singleton: true name: commands params: () visibility: private ri/1.8/system/FileUtils/DryRun/cdesc-DryRun.yaml 0000644 00000000756 15217654522 0015342 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: This module has all methods of FileUtils module, but never changes files/directories, with printing message before acting. This equates to passing the :noop and :verbose flag to methods in FileUtils. constants: [] full_name: FileUtils::DryRun includes: - !ruby/object:RI::IncludedModule name: FileUtils instance_methods: [] name: DryRun superclass: ri/1.8/system/FileUtils/makedirs-i.yaml 0000644 00000000370 15217654522 0013632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #mkdir_p" full_name: FileUtils#makedirs is_singleton: false name: makedirs params: (list, options = {}) visibility: public ri/1.8/system/FileUtils/rm_r-i.yaml 0000644 00000002272 15217654522 0012775 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: force noop verbose secure" - !ruby/struct:SM::Flow::P body: remove files list[0] list[1]... If list[n] is a directory, removes its all contents recursively. This method ignores StandardError when :force option is set. - !ruby/struct:SM::Flow::VERB body: " FileUtils.rm_r Dir.glob('/tmp/*')\n FileUtils.rm_r '/', :force => true # :-)\n" - !ruby/struct:SM::Flow::P body: "WARNING: This method causes local vulnerability if one of parent directories or removing directory tree are world writable (including /tmp, whose permission is 1777), and the current process has strong privilege such as Unix super user (root), and the system has symbolic link. For secure removing, read the documentation of #remove_entry_secure carefully, and set :secure option to true. Default is :secure=>false." - !ruby/struct:SM::Flow::P body: "NOTE: This method calls #remove_entry_secure if :secure option is set. See also #remove_entry_secure." full_name: FileUtils#rm_r is_singleton: false name: rm_r params: (list, options = {}) visibility: public ri/1.8/system/FileUtils/copy_file-i.yaml 0000644 00000000565 15217654522 0014012 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Copies file contents of src to dest. Both of src and dest must be a path name. full_name: FileUtils#copy_file is_singleton: false name: copy_file params: (src, dest, preserve = false, dereference = true) visibility: public ri/1.8/system/FileUtils/install-i.yaml 0000644 00000001353 15217654522 0013503 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: mode preserve noop verbose" - !ruby/struct:SM::Flow::P body: If src is not same as dest, copies it and changes the permission mode to mode. If dest is a directory, destination is dest/src. This method removes destination before copy. - !ruby/struct:SM::Flow::VERB body: " FileUtils.install 'ruby', '/usr/local/bin/ruby', :mode => 0755, :verbose => true\n FileUtils.install 'lib.rb', '/usr/local/lib/ruby/site_ruby', :verbose => true\n" full_name: FileUtils#install is_singleton: false name: install params: (src, dest, options = {}) visibility: public ri/1.8/system/FileUtils/remove-i.yaml 0000644 00000000357 15217654522 0013335 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #rm" full_name: FileUtils#remove is_singleton: false name: remove params: (list, options = {}) visibility: public ri/1.8/system/FileUtils/copy_entry-i.yaml 0000644 00000002052 15217654522 0014225 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Copies a file system entry src to dest. If src is a directory, this method copies its contents recursively. This method preserves file types, c.f. symlink, directory... (FIFO, device files and etc. are not supported yet) - !ruby/struct:SM::Flow::P body: Both of src and dest must be a path name. src must exist, dest must not exist. - !ruby/struct:SM::Flow::P body: If preserve is true, this method preserves owner, group, permissions and modified time. - !ruby/struct:SM::Flow::P body: If dereference_root is true, this method dereference tree root. - !ruby/struct:SM::Flow::P body: If remove_destination is true, this method removes each destination file before copy. full_name: FileUtils#copy_entry is_singleton: false name: copy_entry params: (src, dest, preserve = false, dereference_root = false, remove_destination = false) visibility: public ri/1.8/system/FileUtils/copy_stream-i.yaml 0000644 00000000544 15217654522 0014363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Copies stream src to dest. src must respond to #read(n) and dest must respond to #write(str)." full_name: FileUtils#copy_stream is_singleton: false name: copy_stream params: (src, dest) visibility: public ri/1.8/system/FileUtils/cp-i.yaml 0000644 00000001564 15217654522 0012443 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: copy block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: preserve noop verbose" - !ruby/struct:SM::Flow::P body: Copies a file content src to dest. If dest is a directory, copies src to +dest/src+. - !ruby/struct:SM::Flow::P body: If src is a list of files, then dest must be a directory. - !ruby/struct:SM::Flow::VERB body: " FileUtils.cp 'eval.c', 'eval.c.org'\n FileUtils.cp %w(cgi.rb complex.rb date.rb), '/usr/lib/ruby/1.6'\n FileUtils.cp %w(cgi.rb complex.rb date.rb), '/usr/lib/ruby/1.6', :verbose => true\n FileUtils.cp 'symlink', 'dest' # copy content, "dest" is not a symlink\n" full_name: FileUtils#cp is_singleton: false name: cp params: (src, dest, options = {}) visibility: public ri/1.8/system/FileUtils/getwd-i.yaml 0000644 00000000334 15217654522 0013145 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #pwd" full_name: FileUtils#getwd is_singleton: false name: getwd params: () visibility: public ri/1.8/system/FileUtils/rmtree-i.yaml 0000644 00000000362 15217654522 0013332 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #rm_rf" full_name: FileUtils#rmtree is_singleton: false name: rmtree params: (list, options = {}) visibility: public ri/1.8/system/FileUtils/cdesc-FileUtils.yaml 0000644 00000014100 15217654522 0014560 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: collect_method - !ruby/object:RI::MethodSummary name: commands - !ruby/object:RI::MethodSummary name: have_option? - !ruby/object:RI::MethodSummary name: options - !ruby/object:RI::MethodSummary name: options_of comment: - !ruby/struct:SM::Flow::H level: 1 text: fileutils.rb - !ruby/struct:SM::Flow::P body: Copyright (c) 2000-2006 Minero Aoki - !ruby/struct:SM::Flow::P body: This program is free software. You can distribute/modify this program under the same terms of ruby. - !ruby/struct:SM::Flow::H level: 2 text: module FileUtils - !ruby/struct:SM::Flow::P body: Namespace for several file utility methods for copying, moving, removing, etc. - !ruby/struct:SM::Flow::H level: 3 text: Module Functions - !ruby/struct:SM::Flow::VERB body: " cd(dir, options)\n cd(dir, options) {|dir| .... }\n pwd()\n mkdir(dir, options)\n mkdir(list, options)\n mkdir_p(dir, options)\n mkdir_p(list, options)\n rmdir(dir, options)\n rmdir(list, options)\n ln(old, new, options)\n ln(list, destdir, options)\n ln_s(old, new, options)\n ln_s(list, destdir, options)\n ln_sf(src, dest, options)\n cp(src, dest, options)\n cp(list, dir, options)\n cp_r(src, dest, options)\n cp_r(list, dir, options)\n mv(src, dest, options)\n mv(list, dir, options)\n rm(list, options)\n rm_r(list, options)\n rm_rf(list, options)\n install(src, dest, mode = <src's>, options)\n chmod(mode, list, options)\n chmod_R(mode, list, options)\n chown(user, group, list, options)\n chown_R(user, group, list, options)\n touch(list, options)\n" - !ruby/struct:SM::Flow::P body: The options parameter is a hash of options, taken from the list :force, :noop, :preserve, and :verbose. :noop means that no changes are made. The other two are obvious. Each method documents the options that it honours. - !ruby/struct:SM::Flow::P body: All methods that have the concept of a "source" file or directory can take either one file or a list of files in that argument. See the method documentation for examples. - !ruby/struct:SM::Flow::P body: "There are some `low level' methods, which do not accept any option:" - !ruby/struct:SM::Flow::VERB body: " copy_entry(src, dest, preserve = false, dereference = false)\n copy_file(src, dest, preserve = false, dereference = true)\n copy_stream(srcstream, deststream)\n remove_entry(path, force = false)\n remove_entry_secure(path, force = false)\n remove_file(path, force = false)\n compare_file(path_a, path_b)\n compare_stream(stream_a, stream_b)\n uptodate?(file, cmp_list)\n" - !ruby/struct:SM::Flow::H level: 2 text: module FileUtils::Verbose - !ruby/struct:SM::Flow::P body: This module has all methods of FileUtils module, but it outputs messages before acting. This equates to passing the :verbose flag to methods in FileUtils. - !ruby/struct:SM::Flow::H level: 2 text: module FileUtils::NoWrite - !ruby/struct:SM::Flow::P body: This module has all methods of FileUtils module, but never changes files/directories. This equates to passing the :noop flag to methods in FileUtils. - !ruby/struct:SM::Flow::H level: 2 text: module FileUtils::DryRun - !ruby/struct:SM::Flow::P body: This module has all methods of FileUtils module, but never changes files/directories. This equates to passing the :noop and :verbose flags to methods in FileUtils. constants: - !ruby/object:RI::Constant comment: name: METHODS value: singleton_methods() - %w( private_module_function commands options have_option? options_of collect_method ) full_name: FileUtils includes: - !ruby/object:RI::IncludedModule name: StreamUtils_ instance_methods: - !ruby/object:RI::MethodSummary name: cd - !ruby/object:RI::MethodSummary name: chdir - !ruby/object:RI::MethodSummary name: chmod - !ruby/object:RI::MethodSummary name: chmod_R - !ruby/object:RI::MethodSummary name: chown - !ruby/object:RI::MethodSummary name: chown_R - !ruby/object:RI::MethodSummary name: cmp - !ruby/object:RI::MethodSummary name: compare_file - !ruby/object:RI::MethodSummary name: compare_stream - !ruby/object:RI::MethodSummary name: copy - !ruby/object:RI::MethodSummary name: copy_entry - !ruby/object:RI::MethodSummary name: copy_file - !ruby/object:RI::MethodSummary name: copy_stream - !ruby/object:RI::MethodSummary name: cp - !ruby/object:RI::MethodSummary name: cp_r - !ruby/object:RI::MethodSummary name: fu_have_symlink? - !ruby/object:RI::MethodSummary name: fu_world_writable? - !ruby/object:RI::MethodSummary name: getwd - !ruby/object:RI::MethodSummary name: identical? - !ruby/object:RI::MethodSummary name: install - !ruby/object:RI::MethodSummary name: link - !ruby/object:RI::MethodSummary name: ln - !ruby/object:RI::MethodSummary name: ln_s - !ruby/object:RI::MethodSummary name: ln_sf - !ruby/object:RI::MethodSummary name: makedirs - !ruby/object:RI::MethodSummary name: mkdir - !ruby/object:RI::MethodSummary name: mkdir_p - !ruby/object:RI::MethodSummary name: mkpath - !ruby/object:RI::MethodSummary name: move - !ruby/object:RI::MethodSummary name: mv - !ruby/object:RI::MethodSummary name: pwd - !ruby/object:RI::MethodSummary name: remove - !ruby/object:RI::MethodSummary name: remove_dir - !ruby/object:RI::MethodSummary name: remove_entry - !ruby/object:RI::MethodSummary name: remove_entry_secure - !ruby/object:RI::MethodSummary name: remove_file - !ruby/object:RI::MethodSummary name: rm - !ruby/object:RI::MethodSummary name: rm_f - !ruby/object:RI::MethodSummary name: rm_r - !ruby/object:RI::MethodSummary name: rm_rf - !ruby/object:RI::MethodSummary name: rmdir - !ruby/object:RI::MethodSummary name: rmtree - !ruby/object:RI::MethodSummary name: safe_unlink - !ruby/object:RI::MethodSummary name: symlink - !ruby/object:RI::MethodSummary name: touch - !ruby/object:RI::MethodSummary name: uptodate? name: FileUtils superclass: ri/1.8/system/FileUtils/cmp-i.yaml 0000644 00000000345 15217654522 0012614 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #compare_file" full_name: FileUtils#cmp is_singleton: false name: cmp params: (a, b) visibility: public ri/1.8/system/FileUtils/rm-i.yaml 0000644 00000001223 15217654522 0012447 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: remove block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: force noop verbose" - !ruby/struct:SM::Flow::P body: Remove file(s) specified in list. This method cannot remove directories. All StandardErrors are ignored when the :force option is set. - !ruby/struct:SM::Flow::VERB body: " FileUtils.rm %w( junk.txt dust.txt )\n FileUtils.rm Dir.glob('*.so')\n FileUtils.rm 'NotExistFile', :force => true # never raises exception\n" full_name: FileUtils#rm is_singleton: false name: rm params: (list, options = {}) visibility: public ri/1.8/system/FileUtils/chown_R-i.yaml 0000644 00000001375 15217654522 0013440 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: noop verbose force" - !ruby/struct:SM::Flow::P body: Changes owner and group on the named files (in list) to the user user and the group group recursively. user and group may be an ID (Integer/String) or a name (String). If user or group is nil, this method does not change the attribute. - !ruby/struct:SM::Flow::VERB body: " FileUtils.chown_R 'www', 'www', '/var/www/htdocs'\n FileUtils.chown_R 'cvs', 'cvs', '/var/cvs', :verbose => true\n" full_name: FileUtils#chown_R is_singleton: false name: chown_R params: (user, group, list, options = {}) visibility: public ri/1.8/system/FileUtils/StreamUtils_/fu_blksize-i.yaml 0000644 00000000302 15217654522 0016576 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: FileUtils::StreamUtils_#fu_blksize is_singleton: false name: fu_blksize params: (st) visibility: private ri/1.8/system/FileUtils/StreamUtils_/cdesc-StreamUtils_.yaml 0000644 00000000653 15217654522 0017716 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: FileUtils::StreamUtils_ includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: fu_blksize - !ruby/object:RI::MethodSummary name: fu_default_blksize - !ruby/object:RI::MethodSummary name: fu_stream_blksize - !ruby/object:RI::MethodSummary name: fu_windows? name: StreamUtils_ superclass: ri/1.8/system/FileUtils/StreamUtils_/fu_default_blksize-i.yaml 0000644 00000000320 15217654522 0020302 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: FileUtils::StreamUtils_#fu_default_blksize is_singleton: false name: fu_default_blksize params: () visibility: private ri/1.8/system/FileUtils/StreamUtils_/fu_windows%3f-i.yaml 0000644 00000000302 15217654522 0017123 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: FileUtils::StreamUtils_#fu_windows? is_singleton: false name: fu_windows? params: () visibility: private ri/1.8/system/FileUtils/StreamUtils_/fu_stream_blksize-i.yaml 0000644 00000000326 15217654522 0020157 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: FileUtils::StreamUtils_#fu_stream_blksize is_singleton: false name: fu_stream_blksize params: (*streams) visibility: private ri/1.8/system/FileUtils/mkdir-i.yaml 0000644 00000001033 15217654522 0013136 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: mode noop verbose" - !ruby/struct:SM::Flow::P body: Creates one or more directories. - !ruby/struct:SM::Flow::VERB body: " FileUtils.mkdir 'test'\n FileUtils.mkdir %w( tmp data )\n FileUtils.mkdir 'notexist', :noop => true # Does not really create.\n FileUtils.mkdir 'tmp', :mode => 0700\n" full_name: FileUtils#mkdir is_singleton: false name: mkdir params: (list, options = {}) visibility: public ri/1.8/system/FileUtils/rm_f-i.yaml 0000644 00000000636 15217654522 0012763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: safe_unlink block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: noop verbose" - !ruby/struct:SM::Flow::P body: Equivalent to - !ruby/struct:SM::Flow::VERB body: " #rm(list, :force => true)\n" full_name: FileUtils#rm_f is_singleton: false name: rm_f params: (list, options = {}) visibility: public ri/1.8/system/FileUtils/remove_file-i.yaml 0000644 00000000505 15217654522 0014327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes a file path. This method ignores StandardError if force is true. full_name: FileUtils#remove_file is_singleton: false name: remove_file params: (path, force = false) visibility: public ri/1.8/system/FileUtils/ln-i.yaml 0000644 00000002356 15217654522 0012452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: link block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: force noop verbose" - !ruby/struct:SM::Flow::P body: ln(old, new, options = {}) - !ruby/struct:SM::Flow::P body: Creates a hard link new which points to old. If new already exists and it is a directory, creates a link +new/old+. If new already exists and it is not a directory, raises Errno::EEXIST. But if :force option is set, overwrite new. - !ruby/struct:SM::Flow::VERB body: " FileUtils.ln 'gcc', 'cc', :verbose => true\n FileUtils.ln '/usr/bin/emacs21', '/usr/bin/emacs'\n" - !ruby/struct:SM::Flow::P body: ln(list, destdir, options = {}) - !ruby/struct:SM::Flow::P body: Creates several hard links in a directory, with each one pointing to the item in list. If destdir is not a directory, raises Errno::ENOTDIR. - !ruby/struct:SM::Flow::VERB body: " include FileUtils\n cd '/sbin'\n FileUtils.ln %w(cp mv mkdir), '/bin' # Now /sbin/cp and /bin/cp are linked.\n" full_name: FileUtils#ln is_singleton: false name: ln params: (src, dest, options = {}) visibility: public ri/1.8/system/FileUtils/copy-i.yaml 0000644 00000000360 15217654522 0013004 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #cp" full_name: FileUtils#copy is_singleton: false name: copy params: (src, dest, options = {}) visibility: public ri/1.8/system/FileUtils/symlink-i.yaml 0000644 00000000370 15217654522 0013521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #ln_s" full_name: FileUtils#symlink is_singleton: false name: symlink params: (src, dest, options = {}) visibility: public ri/1.8/system/FileUtils/options-c.yaml 0000644 00000000636 15217654522 0013525 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an Array of option names. - !ruby/struct:SM::Flow::VERB body: " p FileUtils.options #=> ["noop", "force", "verbose", "preserve", "mode"]\n" full_name: FileUtils::options is_singleton: true name: options params: () visibility: private ri/1.8/system/FileUtils/chmod_R-i.yaml 0000644 00000000770 15217654522 0013412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: noop verbose force" - !ruby/struct:SM::Flow::P body: Changes permission bits on the named files (in list) to the bit pattern represented by mode. - !ruby/struct:SM::Flow::VERB body: " FileUtils.chmod_R 0700, "/tmp/app.#{$$}"\n" full_name: FileUtils#chmod_R is_singleton: false name: chmod_R params: (mode, list, options = {}) visibility: public ri/1.8/system/FileUtils/chdir-i.yaml 0000644 00000000354 15217654522 0013126 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #cd" full_name: FileUtils#chdir is_singleton: false name: chdir params: (dir, options = {}) visibility: public ri/1.8/system/FileUtils/link-i.yaml 0000644 00000000360 15217654522 0012767 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #ln" full_name: FileUtils#link is_singleton: false name: link params: (src, dest, options = {}) visibility: public ri/1.8/system/FileUtils/ln_sf-i.yaml 0000644 00000000554 15217654522 0013140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: noop verbose" - !ruby/struct:SM::Flow::P body: Same as - !ruby/struct:SM::Flow::VERB body: " #ln_s(src, dest, :force)\n" full_name: FileUtils#ln_sf is_singleton: false name: ln_sf params: (src, dest, options = {}) visibility: public ri/1.8/system/FileUtils/safe_unlink-i.yaml 0000644 00000000373 15217654522 0014334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #rm_f" full_name: FileUtils#safe_unlink is_singleton: false name: safe_unlink params: (list, options = {}) visibility: public ri/1.8/system/FileUtils/remove_entry_secure-i.yaml 0000644 00000003606 15217654522 0016124 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "This method removes a file system entry path. path shall be a regular file, a directory, or something. If path is a directory, remove it recursively. This method is required to avoid TOCTTOU (time-of-check-to-time-of-use) local security vulnerability of #rm_r. #rm_r causes security hole when:" - !ruby/struct:SM::Flow::VERB body: " * Parent directory is world writable (including /tmp).\n * Removing directory tree includes world writable directory.\n * The system has symbolic link.\n" - !ruby/struct:SM::Flow::P body: To avoid this security hole, this method applies special preprocess. If path is a directory, this method chown(2) and chmod(2) all removing directories. This requires the current process is the owner of the removing whole directory tree, or is the super user (root). - !ruby/struct:SM::Flow::P body: "WARNING: You must ensure that ALL parent directories cannot be moved by other untrusted users. For example, parent directories should not be owned by untrusted users, and should not be world writable except when the sticky bit set." - !ruby/struct:SM::Flow::P body: "WARNING: Only the owner of the removing directory tree, or Unix super user (root) should invoke this method. Otherwise this method does not work." - !ruby/struct:SM::Flow::P body: "For details of this security vulnerability, see Perl's case:" - !ruby/struct:SM::Flow::VERB body: " http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0448\n http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0452\n" - !ruby/struct:SM::Flow::P body: For fileutils.rb, this vulnerability is reported in [ruby-dev:26100]. full_name: FileUtils#remove_entry_secure is_singleton: false name: remove_entry_secure params: (path, force = false) visibility: public ri/1.8/system/FileUtils/mkdir_p-i.yaml 0000644 00000001504 15217654522 0013460 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: mkpath - !ruby/object:RI::AliasName name: makedirs block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: mode noop verbose" - !ruby/struct:SM::Flow::P body: Creates a directory and all its parent directories. For example, - !ruby/struct:SM::Flow::VERB body: " FileUtils.mkdir_p '/usr/local/lib/ruby'\n" - !ruby/struct:SM::Flow::P body: causes to make following directories, if it does not exist. - !ruby/struct:SM::Flow::VERB body: " * /usr\n * /usr/local\n * /usr/local/lib\n * /usr/local/lib/ruby\n" - !ruby/struct:SM::Flow::P body: You can pass several directories at a time in a list. full_name: FileUtils#mkdir_p is_singleton: false name: mkdir_p params: (list, options = {}) visibility: public ri/1.8/system/FileUtils/remove_dir-i.yaml 0000644 00000000544 15217654522 0014171 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes a directory dir and its contents recursively. This method ignores StandardError if force is true. full_name: FileUtils#remove_dir is_singleton: false name: remove_dir params: (path, force = false) visibility: public ri/1.8/system/FileUtils/mkpath-i.yaml 0000644 00000000364 15217654522 0013322 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #mkdir_p" full_name: FileUtils#mkpath is_singleton: false name: mkpath params: (list, options = {}) visibility: public ri/1.8/system/FileUtils/NoWrite/cdesc-NoWrite.yaml 0000644 00000000665 15217654522 0015651 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: This module has all methods of FileUtils module, but never changes files/directories. This equates to passing the :noop flag to methods in FileUtils. constants: [] full_name: FileUtils::NoWrite includes: - !ruby/object:RI::IncludedModule name: FileUtils instance_methods: [] name: NoWrite superclass: ri/1.8/system/FileUtils/fu_world_writable%3f-i.yaml 0000644 00000000303 15217654522 0016037 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: FileUtils#fu_world_writable? is_singleton: false name: fu_world_writable? params: (st) visibility: public ri/1.8/system/FileUtils/chmod-i.yaml 0000644 00000001126 15217654522 0013125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: noop verbose" - !ruby/struct:SM::Flow::P body: Changes permission bits on the named files (in list) to the bit pattern represented by mode. - !ruby/struct:SM::Flow::VERB body: " FileUtils.chmod 0755, 'somecommand'\n FileUtils.chmod 0644, %w(my.rb your.rb his.rb her.rb)\n FileUtils.chmod 0755, '/usr/bin/ruby', :verbose => true\n" full_name: FileUtils#chmod is_singleton: false name: chmod params: (mode, list, options = {}) visibility: public ri/1.8/system/FileUtils/uptodate%3f-i.yaml 0000644 00000001032 15217654522 0014152 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: (none)" - !ruby/struct:SM::Flow::P body: Returns true if newer is newer than all old_list. Non-existent files are older than any file. - !ruby/struct:SM::Flow::VERB body: " FileUtils.uptodate?('hello.o', %w(hello.c hello.h)) or # system 'make hello.o'\n" full_name: FileUtils#uptodate? is_singleton: false name: uptodate? params: (new, old_list, options = nil) visibility: public ri/1.8/system/FileUtils/rmdir-i.yaml 0000644 00000001055 15217654522 0013151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: noop, verbose" - !ruby/struct:SM::Flow::P body: Removes one or more directories. - !ruby/struct:SM::Flow::VERB body: " FileUtils.rmdir 'somedir'\n FileUtils.rmdir %w(somedir anydir otherdir)\n # Does not really remove directory; outputs message.\n FileUtils.rmdir 'somedir', :verbose => true, :noop => true\n" full_name: FileUtils#rmdir is_singleton: false name: rmdir params: (list, options = {}) visibility: public ri/1.8/system/FileUtils/chown-i.yaml 0000644 00000001364 15217654522 0013155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: noop verbose" - !ruby/struct:SM::Flow::P body: Changes owner and group on the named files (in list) to the user user and the group group. user and group may be an ID (Integer/String) or a name (String). If user or group is nil, this method does not change the attribute. - !ruby/struct:SM::Flow::VERB body: " FileUtils.chown 'root', 'staff', '/usr/local/bin/ruby'\n FileUtils.chown nil, 'bin', Dir.glob('/usr/bin/*'), :verbose => true\n" full_name: FileUtils#chown is_singleton: false name: chown params: (user, group, list, options = {}) visibility: public ri/1.8/system/FileUtils/fu_have_symlink%3f-i.yaml 0000644 00000000274 15217654522 0015517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: FileUtils#fu_have_symlink? is_singleton: false name: fu_have_symlink? params: ( visibility: public ri/1.8/system/FileUtils/options_of-c.yaml 0000644 00000000637 15217654522 0014212 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an Array of option names of the method mid. - !ruby/struct:SM::Flow::VERB body: " p FileUtils.options(:rm) #=> ["noop", "verbose", "force"]\n" full_name: FileUtils::options_of is_singleton: true name: options_of params: (mid) visibility: private ri/1.8/system/FileUtils/move-i.yaml 0000644 00000000360 15217654522 0013000 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #mv" full_name: FileUtils#move is_singleton: false name: move params: (src, dest, options = {}) visibility: public ri/1.8/system/FileUtils/touch-i.yaml 0000644 00000001023 15217654522 0013151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: noop verbose" - !ruby/struct:SM::Flow::P body: Updates modification time (mtime) and access time (atime) of file(s) in list. Files are created if they don't exist. - !ruby/struct:SM::Flow::VERB body: " FileUtils.touch 'timestamp'\n FileUtils.touch Dir.glob('*.c'); system 'make'\n" full_name: FileUtils#touch is_singleton: false name: touch params: (list, options = {}) visibility: public ri/1.8/system/FileUtils/compare_file-i.yaml 0000644 00000001051 15217654522 0014455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: identical? - !ruby/object:RI::AliasName name: cmp block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the contents of a file A and a file B are identical. - !ruby/struct:SM::Flow::VERB body: " FileUtils.compare_file('somefile', 'somefile') #=> true\n FileUtils.compare_file('/bin/cp', '/bin/mv') #=> maybe false\n" full_name: FileUtils#compare_file is_singleton: false name: compare_file params: (a, b) visibility: public ri/1.8/system/FileUtils/Entry_/cdesc-Entry_.yaml 0000644 00000000304 15217654522 0015361 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: FileUtils::Entry_ includes: [] instance_methods: [] name: Entry_ superclass: Object ri/1.8/system/FileUtils/ln_s-i.yaml 0000644 00000002514 15217654522 0012770 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: symlink block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: force noop verbose" - !ruby/struct:SM::Flow::P body: ln_s(old, new, options = {}) - !ruby/struct:SM::Flow::P body: Creates a symbolic link new which points to old. If new already exists and it is a directory, creates a symbolic link +new/old+. If new already exists and it is not a directory, raises Errno::EEXIST. But if :force option is set, overwrite new. - !ruby/struct:SM::Flow::VERB body: " FileUtils.ln_s '/usr/bin/ruby', '/usr/local/bin/ruby'\n FileUtils.ln_s 'verylongsourcefilename.c', 'c', :force => true\n" - !ruby/struct:SM::Flow::P body: ln_s(list, destdir, options = {}) - !ruby/struct:SM::Flow::P body: Creates several symbolic links in a directory, with each one pointing to the item in list. If destdir is not a directory, raises Errno::ENOTDIR. - !ruby/struct:SM::Flow::P body: If destdir is not a directory, raises Errno::ENOTDIR. - !ruby/struct:SM::Flow::VERB body: " FileUtils.ln_s Dir.glob('bin/*.rb'), '/home/aamine/bin'\n" full_name: FileUtils#ln_s is_singleton: false name: ln_s params: (src, dest, options = {}) visibility: public ri/1.8/system/FileUtils/Verbose/cdesc-Verbose.yaml 0000644 00000000672 15217654522 0015703 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: This module has all methods of FileUtils module, but it outputs messages before acting. This equates to passing the :verbose flag to methods in FileUtils. constants: [] full_name: FileUtils::Verbose includes: - !ruby/object:RI::IncludedModule name: FileUtils instance_methods: [] name: Verbose superclass: ri/1.8/system/FileUtils/compare_stream-i.yaml 0000644 00000000463 15217654522 0015037 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the contents of a stream a and b are identical. full_name: FileUtils#compare_stream is_singleton: false name: compare_stream params: (a, b) visibility: public ri/1.8/system/FileUtils/rm_rf-i.yaml 0000644 00000001042 15217654522 0013135 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: rmtree block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: noop verbose secure" - !ruby/struct:SM::Flow::P body: Equivalent to - !ruby/struct:SM::Flow::VERB body: " #rm_r(list, :force => true)\n" - !ruby/struct:SM::Flow::P body: "WARNING: This method causes local vulnerability. Read the documentation of #rm_r first." full_name: FileUtils#rm_rf is_singleton: false name: rm_rf params: (list, options = {}) visibility: public ri/1.8/system/Float/ceil-i.yaml 0000644 00000000703 15217654522 0012114 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the smallest Integer greater than or equal to flt. - !ruby/struct:SM::Flow::VERB body: " 1.2.ceil #=> 2\n 2.0.ceil #=> 2\n (-1.2).ceil #=> -1\n (-2.0).ceil #=> -2\n" full_name: Float#ceil is_singleton: false name: ceil params: | flt.ceil => integer visibility: public ri/1.8/system/Float/to_s-i.yaml 0000644 00000000642 15217654522 0012146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a string containing a representation of self. As well as a fixed or exponential form of the number, the call may return ``NaN'', ``Infinity'', and ``-Infinity''. full_name: Float#to_s is_singleton: false name: to_s params: | flt.to_s => string visibility: public ri/1.8/system/Float/truncate-i.yaml 0000644 00000000530 15217654522 0013023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns flt truncated to an Integer. full_name: Float#truncate is_singleton: false name: truncate params: | flt.to_i => integer flt.to_int => integer flt.truncate => integer visibility: public ri/1.8/system/Float/%2b-i.yaml 0000644 00000000445 15217654522 0011553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new float which is the sum of float and other. full_name: Float#+ is_singleton: false name: + params: | float + other => float visibility: public ri/1.8/system/Float/floor-i.yaml 0000644 00000000674 15217654522 0012330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the largest integer less than or equal to flt. - !ruby/struct:SM::Flow::VERB body: " 1.2.floor #=> 1\n 2.0.floor #=> 2\n (-1.2).floor #=> -2\n (-2.0).floor #=> -2\n" full_name: Float#floor is_singleton: false name: floor params: | flt.floor => integer visibility: public ri/1.8/system/Float/%3c-i.yaml 0000644 00000000435 15217654522 0011554 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: true if flt is less than other. full_name: Float#< is_singleton: false name: < params: | flt < other => true or false visibility: public ri/1.8/system/Float/%3e-i.yaml 0000644 00000000442 15217654522 0011554 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: true if flt is greater than other. full_name: Float#> is_singleton: false name: ">" params: | flt > other => true or false visibility: public ri/1.8/system/Float/zero%3f-i.yaml 0000644 00000000422 15217654522 0012453 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if flt is 0.0. full_name: Float#zero? is_singleton: false name: zero? params: | flt.zero? -> true or false visibility: public ri/1.8/system/Float/%25-i.yaml 0000644 00000000715 15217654522 0011476 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the modulo after division of flt by other. - !ruby/struct:SM::Flow::VERB body: " 6543.21.modulo(137) #=> 104.21\n 6543.21.modulo(137.24) #=> 92.9299999999996\n" full_name: Float#% is_singleton: false name: "%" params: | flt % other => float flt.modulo(other) => float visibility: public ri/1.8/system/Float/hash-i.yaml 0000644 00000000401 15217654522 0012116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a hash code for this float. full_name: Float#hash is_singleton: false name: hash params: | flt.hash => integer visibility: public ri/1.8/system/Float/to_i-i.yaml 0000644 00000000520 15217654522 0012127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns flt truncated to an Integer. full_name: Float#to_i is_singleton: false name: to_i params: | flt.to_i => integer flt.to_int => integer flt.truncate => integer visibility: public ri/1.8/system/Float/%3c%3d%3e-i.yaml 0000644 00000000615 15217654522 0012345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns -1, 0, or +1 depending on whether flt is less than, equal to, or greater than numeric. This is the basis for the tests in Comparable. full_name: Float#<=> is_singleton: false name: <=> params: | flt <=> numeric => -1, 0, +1 visibility: public ri/1.8/system/Float/nan%3f-i.yaml 0000644 00000000723 15217654522 0012254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if flt is an invalid IEEE floating point number. - !ruby/struct:SM::Flow::VERB body: " a = -1.0 #=> -1.0\n a.nan? #=> false\n a = 0.0/0.0 #=> NaN\n a.nan? #=> true\n" full_name: Float#nan? is_singleton: false name: nan? params: | flt.nan? -> true or false visibility: public ri/1.8/system/Float/%2d-i.yaml 0000644 00000000456 15217654522 0011557 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new float which is the difference of float and other. full_name: Float#- is_singleton: false name: "-" params: | float + other => float visibility: public ri/1.8/system/Float/abs-i.yaml 0000644 00000000557 15217654522 0011754 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the absolute value of flt. - !ruby/struct:SM::Flow::VERB body: " (-34.56).abs #=> 34.56\n -34.56.abs #=> 34.56\n" full_name: Float#abs is_singleton: false name: abs params: | flt.abs => float visibility: public ri/1.8/system/Float/induced_from-c.yaml 0000644 00000000435 15217654522 0013632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert obj to a float. full_name: Float::induced_from is_singleton: true name: induced_from params: | Float.induced_from(obj) => float visibility: public ri/1.8/system/Float/to_int-i.yaml 0000644 00000000524 15217654522 0012475 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns flt truncated to an Integer. full_name: Float#to_int is_singleton: false name: to_int params: | flt.to_i => integer flt.to_int => integer flt.truncate => integer visibility: public ri/1.8/system/Float/infinite%3f-i.yaml 0000644 00000000755 15217654522 0013312 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns nil, -1, or +1 depending on whether flt is finite, -infinity, or +infinity. - !ruby/struct:SM::Flow::VERB body: " (0.0).infinite? #=> nil\n (-1.0/0.0).infinite? #=> -1\n (+1.0/0.0).infinite? #=> 1\n" full_name: Float#infinite? is_singleton: false name: infinite? params: | flt.infinite? -> nil, -1, +1 visibility: public ri/1.8/system/Float/dclone-i.yaml 0000644 00000000245 15217654522 0012445 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Float#dclone is_singleton: false name: dclone params: () visibility: public ri/1.8/system/Float/%2d%40-i.yaml 0000644 00000000355 15217654522 0011766 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns float, negated. full_name: Float#-@ is_singleton: false name: -@ params: | -float => float visibility: public ri/1.8/system/Float/cdesc-Float.yaml 0000644 00000005614 15217654522 0013104 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: induced_from comment: - !ruby/struct:SM::Flow::P body: Float objects represent real numbers using the native architecture's double-precision floating point representation. constants: - !ruby/object:RI::Constant comment: name: ROUNDS value: INT2FIX(FLT_ROUNDS) - !ruby/object:RI::Constant comment: name: RADIX value: INT2FIX(FLT_RADIX) - !ruby/object:RI::Constant comment: name: MANT_DIG value: INT2FIX(DBL_MANT_DIG) - !ruby/object:RI::Constant comment: name: DIG value: INT2FIX(DBL_DIG) - !ruby/object:RI::Constant comment: name: MIN_EXP value: INT2FIX(DBL_MIN_EXP) - !ruby/object:RI::Constant comment: name: MAX_EXP value: INT2FIX(DBL_MAX_EXP) - !ruby/object:RI::Constant comment: name: MIN_10_EXP value: INT2FIX(DBL_MIN_10_EXP) - !ruby/object:RI::Constant comment: name: MAX_10_EXP value: INT2FIX(DBL_MAX_10_EXP) - !ruby/object:RI::Constant comment: name: MIN value: rb_float_new(DBL_MIN) - !ruby/object:RI::Constant comment: name: MAX value: rb_float_new(DBL_MAX) - !ruby/object:RI::Constant comment: name: EPSILON value: rb_float_new(DBL_EPSILON) full_name: Float includes: - !ruby/object:RI::IncludedModule name: Precision instance_methods: - !ruby/object:RI::MethodSummary name: "%" - !ruby/object:RI::MethodSummary name: "*" - !ruby/object:RI::MethodSummary name: "**" - !ruby/object:RI::MethodSummary name: + - !ruby/object:RI::MethodSummary name: "-" - !ruby/object:RI::MethodSummary name: -@ - !ruby/object:RI::MethodSummary name: / - !ruby/object:RI::MethodSummary name: < - !ruby/object:RI::MethodSummary name: <= - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: ">" - !ruby/object:RI::MethodSummary name: ">=" - !ruby/object:RI::MethodSummary name: abs - !ruby/object:RI::MethodSummary name: ceil - !ruby/object:RI::MethodSummary name: coerce - !ruby/object:RI::MethodSummary name: dclone - !ruby/object:RI::MethodSummary name: divmod - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: finite? - !ruby/object:RI::MethodSummary name: floor - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: infinite? - !ruby/object:RI::MethodSummary name: modulo - !ruby/object:RI::MethodSummary name: nan? - !ruby/object:RI::MethodSummary name: round - !ruby/object:RI::MethodSummary name: to_f - !ruby/object:RI::MethodSummary name: to_i - !ruby/object:RI::MethodSummary name: to_int - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: truncate - !ruby/object:RI::MethodSummary name: zero? name: Float superclass: Numeric ri/1.8/system/Float/%2a-i.yaml 0000644 00000000453 15217654522 0011551 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new float which is the product of float and other. full_name: Float#* is_singleton: false name: "*" params: | float * other => float visibility: public ri/1.8/system/Float/%3c%3d-i.yaml 0000644 00000000454 15217654522 0012051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: true if flt is less than or equal to other. full_name: Float#<= is_singleton: false name: <= params: | flt <= other => true or false visibility: public ri/1.8/system/Float/round-i.yaml 0000644 00000001005 15217654522 0012323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Rounds flt to the nearest integer. Equivalent to:" - !ruby/struct:SM::Flow::VERB body: " def round\n return (self+0.5).floor if self > 0.0\n return (self-0.5).ceil if self < 0.0\n return 0\n end\n\n 1.5.round #=> 2\n (-1.5).round #=> -2\n" full_name: Float#round is_singleton: false name: round params: | flt.round => integer visibility: public ri/1.8/system/Float/modulo-i.yaml 0000644 00000000725 15217654522 0012503 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the modulo after division of flt by other. - !ruby/struct:SM::Flow::VERB body: " 6543.21.modulo(137) #=> 104.21\n 6543.21.modulo(137.24) #=> 92.9299999999996\n" full_name: Float#modulo is_singleton: false name: modulo params: | flt % other => float flt.modulo(other) => float visibility: public ri/1.8/system/Float/to_f-i.yaml 0000644 00000000424 15217654522 0012127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: As flt is already a float, returns self. full_name: Float#to_f is_singleton: false name: to_f params: | flt.to_f => flt visibility: public ri/1.8/system/Float/%2f-i.yaml 0000644 00000000460 15217654522 0011554 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new float which is the result of dividing float by other. full_name: Float#/ is_singleton: false name: / params: | float / other => float visibility: public ri/1.8/system/Float/%3d%3d-i.yaml 0000644 00000000721 15217654522 0012047 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true only if obj has the same value as flt. Contrast this with Float#eql?, which requires obj to be a Float. - !ruby/struct:SM::Flow::VERB body: " 1.0 == 1 #=> true\n" full_name: Float#== is_singleton: false name: == params: | flt == obj => true or false visibility: public ri/1.8/system/Float/divmod-i.yaml 0000644 00000000410 15217654522 0012455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Numeric#divmod. full_name: Float#divmod is_singleton: false name: divmod params: | flt.divmod(numeric) => array visibility: public ri/1.8/system/Float/%3e%3d-i.yaml 0000644 00000000461 15217654522 0012051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: true if flt is greater than or equal to other. full_name: Float#>= is_singleton: false name: ">=" params: | flt >= other => true or false visibility: public ri/1.8/system/Float/finite%3f-i.yaml 0000644 00000000561 15217654522 0012756 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if flt is a valid IEEE floating point number (it is not infinite, and nan? is false). full_name: Float#finite? is_singleton: false name: finite? params: | flt.finite? -> true or false visibility: public ri/1.8/system/Float/to_yaml-i.yaml 0000644 00000000262 15217654522 0012644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Float#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/Float/eql%3f-i.yaml 0000644 00000000734 15217654522 0012263 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true only if obj is a Float with the same value as flt. Contrast this with Float#==, which performs type conversions. - !ruby/struct:SM::Flow::VERB body: " 1.0.eql?(1) #=> false\n" full_name: Float#eql? is_singleton: false name: eql? params: | flt.eql?(obj) => true or false visibility: public ri/1.8/system/Float/coerce-i.yaml 0000644 00000000344 15217654522 0012441 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "MISSING: documentation" full_name: Float#coerce is_singleton: false name: coerce params: (p1) visibility: public ri/1.8/system/Float/%2a%2a-i.yaml 0000644 00000000475 15217654522 0012045 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::VERB body: " flt ** other => float\n" - !ruby/struct:SM::Flow::P body: Raises float the other power. full_name: Float#** is_singleton: false name: "**" params: | visibility: public ri/1.8/system/XSD/FloatConstants/cdesc-FloatConstants.yaml 0000644 00000001271 15217654522 0017327 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: NaN value: 0.0/0.0 - !ruby/object:RI::Constant comment: name: POSITIVE_INF value: +1.0/0.0 - !ruby/object:RI::Constant comment: name: NEGATIVE_INF value: -1.0/0.0 - !ruby/object:RI::Constant comment: name: POSITIVE_ZERO value: +1.0/POSITIVE_INF - !ruby/object:RI::Constant comment: name: NEGATIVE_ZERO value: -1.0/POSITIVE_INF - !ruby/object:RI::Constant comment: name: MIN_POSITIVE_SINGLE value: 2.0 ** -149 full_name: XSD::FloatConstants includes: [] instance_methods: [] name: FloatConstants superclass: ri/1.8/system/XSD/XMLParser/XMLParser/cdesc-XMLParser.yaml 0000644 00000000417 15217654522 0016673 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XSD::XMLParser::XMLParser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: do_parse name: XMLParser superclass: XSD::XMLParser::Parser ri/1.8/system/XSD/XMLParser/XMLParser/do_parse-i.yaml 0000644 00000000317 15217654522 0016020 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::XMLParser#do_parse is_singleton: false name: do_parse params: (string_or_readable) visibility: public ri/1.8/system/XSD/XMLParser/XMLParser/Listener/cdesc-Listener.yaml 0000644 00000000426 15217654522 0020430 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XSD::XMLParser::XMLParser::Listener includes: - !ruby/object:RI::IncludedModule name: XML::Encoding_ja instance_methods: [] name: Listener superclass: XML::Parser ri/1.8/system/XSD/XMLParser/XMLScanner/on_charref_hex-i.yaml 0000644 00000000316 15217654522 0017332 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::XMLScanner#on_charref_hex is_singleton: false name: on_charref_hex params: (code) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/on_attr_entityref-i.yaml 0000644 00000000323 15217654522 0020115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::XMLScanner#on_attr_entityref is_singleton: false name: on_attr_entityref params: (ref) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/on_attribute-i.yaml 0000644 00000000312 15217654522 0017053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::XMLScanner#on_attribute is_singleton: false name: on_attribute params: (name) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/on_etag-i.yaml 0000644 00000000373 15217654522 0015777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: def on_cdata(str); end full_name: XSD::XMLParser::XMLScanner#on_etag is_singleton: false name: on_etag params: (name) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/on_charref-i.yaml 0000644 00000000306 15217654522 0016465 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::XMLScanner#on_charref is_singleton: false name: on_charref params: (code) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/valid_error-i.yaml 0000644 00000000307 15217654522 0016670 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::XMLScanner#valid_error is_singleton: false name: valid_error params: (msg) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/parse_error-i.yaml 0000644 00000000307 15217654522 0016703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::XMLScanner#parse_error is_singleton: false name: parse_error params: (msg) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/on_stag_end_empty-i.yaml 0000644 00000000430 15217654522 0020053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: def on_attribute_end(name); end full_name: XSD::XMLParser::XMLScanner#on_stag_end_empty is_singleton: false name: on_stag_end_empty params: (name) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/on_attr_charref-i.yaml 0000644 00000000320 15217654522 0017513 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::XMLScanner#on_attr_charref is_singleton: false name: on_attr_charref params: (code) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/on_chardata-i.yaml 0000644 00000000406 15217654522 0016623 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: def on_pi(target, pi); end full_name: XSD::XMLParser::XMLScanner#on_chardata is_singleton: false name: on_chardata params: (str) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/wellformed_error-i.yaml 0000644 00000000321 15217654522 0017725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::XMLScanner#wellformed_error is_singleton: false name: wellformed_error params: (msg) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/on_attr_charref_hex-i.yaml 0000644 00000000330 15217654522 0020360 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::XMLScanner#on_attr_charref_hex is_singleton: false name: on_attr_charref_hex params: (code) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/on_stag-i.yaml 0000644 00000000375 15217654522 0016017 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: def on_end_document; end full_name: XSD::XMLParser::XMLScanner#on_stag is_singleton: false name: on_stag params: (name) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/on_xmldecl_encoding-i.yaml 0000644 00000000327 15217654522 0020354 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::XMLScanner#on_xmldecl_encoding is_singleton: false name: on_xmldecl_encoding params: (str) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/on_xmldecl_version-i.yaml 0000644 00000000415 15217654522 0020251 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: def on_xmldecl; end full_name: XSD::XMLParser::XMLScanner#on_xmldecl_version is_singleton: false name: on_xmldecl_version params: (str) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/cdesc-XMLScanner.yaml 0000644 00000003121 15217654522 0017160 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: ENTITY_REF_MAP value: "{ 'lt' => '<', 'gt' => '>', 'amp' => '&', 'quot' => '\"', 'apos' => '\\''" full_name: XSD::XMLParser::XMLScanner includes: - !ruby/object:RI::IncludedModule name: XMLScan::Visitor instance_methods: - !ruby/object:RI::MethodSummary name: do_parse - !ruby/object:RI::MethodSummary name: on_attr_charref - !ruby/object:RI::MethodSummary name: on_attr_charref_hex - !ruby/object:RI::MethodSummary name: on_attr_entityref - !ruby/object:RI::MethodSummary name: on_attr_value - !ruby/object:RI::MethodSummary name: on_attribute - !ruby/object:RI::MethodSummary name: on_chardata - !ruby/object:RI::MethodSummary name: on_charref - !ruby/object:RI::MethodSummary name: on_charref_hex - !ruby/object:RI::MethodSummary name: on_entityref - !ruby/object:RI::MethodSummary name: on_etag - !ruby/object:RI::MethodSummary name: on_stag - !ruby/object:RI::MethodSummary name: on_stag_end - !ruby/object:RI::MethodSummary name: on_stag_end_empty - !ruby/object:RI::MethodSummary name: on_xmldecl_encoding - !ruby/object:RI::MethodSummary name: on_xmldecl_version - !ruby/object:RI::MethodSummary name: parse_error - !ruby/object:RI::MethodSummary name: scanner_kcode= - !ruby/object:RI::MethodSummary name: valid_error - !ruby/object:RI::MethodSummary name: warning - !ruby/object:RI::MethodSummary name: wellformed_error name: XMLScanner superclass: XSD::XMLParser::Parser ri/1.8/system/XSD/XMLParser/XMLScanner/on_entityref-i.yaml 0000644 00000000311 15217654522 0017060 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::XMLScanner#on_entityref is_singleton: false name: on_entityref params: (ref) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/do_parse-i.yaml 0000644 00000000320 15217654522 0016147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::XMLScanner#do_parse is_singleton: false name: do_parse params: (string_or_readable) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/on_stag_end-i.yaml 0000644 00000000310 15217654522 0016632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::XMLScanner#on_stag_end is_singleton: false name: on_stag_end params: (name) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/warning-i.yaml 0000644 00000000277 15217654522 0016033 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::XMLScanner#warning is_singleton: false name: warning params: (msg) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/on_attr_value-i.yaml 0000644 00000000313 15217654522 0017217 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::XMLScanner#on_attr_value is_singleton: false name: on_attr_value params: (str) visibility: public ri/1.8/system/XSD/XMLParser/XMLScanner/scanner_kcode%3d-i.yaml 0000644 00000000321 15217654522 0017446 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::XMLScanner#scanner_kcode= is_singleton: false name: scanner_kcode= params: (charset) visibility: public ri/1.8/system/XSD/XMLParser/cdesc-XMLParser.yaml 0000644 00000000701 15217654522 0015052 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: $1 is necessary. name: NSParseRegexp value: Regexp.new('^xmlns:?(.*)$') full_name: XSD::XMLParser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: create_parser - !ruby/object:RI::MethodSummary name: filter_ns name: XMLParser superclass: ri/1.8/system/XSD/XMLParser/Parser/start_element-i.yaml 0000644 00000000320 15217654522 0016503 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::Parser#start_element is_singleton: false name: start_element params: (name, attrs) visibility: private ri/1.8/system/XSD/XMLParser/Parser/new-c.yaml 0000644 00000000276 15217654522 0014432 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::Parser::new is_singleton: true name: new params: (host, opt = {}) visibility: public ri/1.8/system/XSD/XMLParser/Parser/UnknownAttributeError/cdesc-UnknownAttributeError.yaml 0000644 00000000372 15217654522 0025367 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XSD::XMLParser::Parser::UnknownAttributeError includes: [] instance_methods: [] name: UnknownAttributeError superclass: FormatDecodeError ri/1.8/system/XSD/XMLParser/Parser/UnknownElementError/cdesc-UnknownElementError.yaml 0000644 00000000366 15217654522 0024446 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XSD::XMLParser::Parser::UnknownElementError includes: [] instance_methods: [] name: UnknownElementError superclass: FormatDecodeError ri/1.8/system/XSD/XMLParser/Parser/epilogue-i.yaml 0000644 00000000273 15217654522 0015455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::Parser#epilogue is_singleton: false name: epilogue params: () visibility: private ri/1.8/system/XSD/XMLParser/Parser/ElementConstraintError/cdesc-ElementConstraintError.yaml 0000644 00000000374 15217654522 0025617 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XSD::XMLParser::Parser::ElementConstraintError includes: [] instance_methods: [] name: ElementConstraintError superclass: FormatDecodeError ri/1.8/system/XSD/XMLParser/Parser/xmldecl_encoding%3d-i.yaml 0000644 00000000324 15217654522 0017433 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::Parser#xmldecl_encoding= is_singleton: false name: xmldecl_encoding= params: (charset) visibility: private ri/1.8/system/XSD/XMLParser/Parser/cdesc-Parser.yaml 0000644 00000001571 15217654522 0015733 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: charset rw: RW class_methods: - !ruby/object:RI::MethodSummary name: add_factory - !ruby/object:RI::MethodSummary name: create_parser - !ruby/object:RI::MethodSummary name: factory - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: XSD::XMLParser::Parser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: characters - !ruby/object:RI::MethodSummary name: do_parse - !ruby/object:RI::MethodSummary name: end_element - !ruby/object:RI::MethodSummary name: epilogue - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: prologue - !ruby/object:RI::MethodSummary name: start_element - !ruby/object:RI::MethodSummary name: xmldecl_encoding= name: Parser superclass: Object ri/1.8/system/XSD/XMLParser/Parser/end_element-i.yaml 0000644 00000000305 15217654522 0016117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::Parser#end_element is_singleton: false name: end_element params: (name) visibility: private ri/1.8/system/XSD/XMLParser/Parser/characters-i.yaml 0000644 00000000303 15217654522 0015755 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::Parser#characters is_singleton: false name: characters params: (text) visibility: private ri/1.8/system/XSD/XMLParser/Parser/ParseError/cdesc-ParseError.yaml 0000644 00000000330 15217654522 0020637 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XSD::XMLParser::Parser::ParseError includes: [] instance_methods: [] name: ParseError superclass: Error ri/1.8/system/XSD/XMLParser/Parser/parse-i.yaml 0000644 00000000306 15217654522 0014753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::Parser#parse is_singleton: false name: parse params: (string_or_readable) visibility: public ri/1.8/system/XSD/XMLParser/Parser/UnexpectedElementError/cdesc-UnexpectedElementError.yaml 0000644 00000000374 15217654522 0025557 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XSD::XMLParser::Parser::UnexpectedElementError includes: [] instance_methods: [] name: UnexpectedElementError superclass: FormatDecodeError ri/1.8/system/XSD/XMLParser/Parser/add_factory-c.yaml 0000644 00000000307 15217654522 0016113 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::Parser::add_factory is_singleton: true name: add_factory params: (factory) visibility: public ri/1.8/system/XSD/XMLParser/Parser/do_parse-i.yaml 0000644 00000000315 15217654522 0015435 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::Parser#do_parse is_singleton: false name: do_parse params: (string_or_readable) visibility: private ri/1.8/system/XSD/XMLParser/Parser/create_parser-c.yaml 0000644 00000000322 15217654522 0016450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::Parser::create_parser is_singleton: true name: create_parser params: (host, opt = {}) visibility: public ri/1.8/system/XSD/XMLParser/Parser/FormatDecodeError/cdesc-FormatDecodeError.yaml 0000644 00000000353 15217654522 0023410 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XSD::XMLParser::Parser::FormatDecodeError includes: [] instance_methods: [] name: FormatDecodeError superclass: ParseError ri/1.8/system/XSD/XMLParser/Parser/factory-c.yaml 0000644 00000000270 15217654522 0015302 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::Parser::factory is_singleton: true name: factory params: () visibility: public ri/1.8/system/XSD/XMLParser/Parser/prologue-i.yaml 0000644 00000000273 15217654522 0015500 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::Parser#prologue is_singleton: false name: prologue params: () visibility: private ri/1.8/system/XSD/XMLParser/create_parser-i.yaml 0000644 00000000305 15217654522 0015223 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser#create_parser is_singleton: false name: create_parser params: (host, opt) visibility: public ri/1.8/system/XSD/XMLParser/REXMLParser/tag_start-i.yaml 0000644 00000000314 15217654522 0016440 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::REXMLParser#tag_start is_singleton: false name: tag_start params: (name, attrs) visibility: public ri/1.8/system/XSD/XMLParser/REXMLParser/epilogue-i.yaml 0000644 00000000277 15217654522 0016271 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::REXMLParser#epilogue is_singleton: false name: epilogue params: () visibility: public ri/1.8/system/XSD/XMLParser/REXMLParser/cdesc-REXMLParser.yaml 0000644 00000001113 15217654522 0017343 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XSD::XMLParser::REXMLParser includes: - !ruby/object:RI::IncludedModule name: REXML::StreamListener instance_methods: - !ruby/object:RI::MethodSummary name: do_parse - !ruby/object:RI::MethodSummary name: epilogue - !ruby/object:RI::MethodSummary name: tag_end - !ruby/object:RI::MethodSummary name: tag_start - !ruby/object:RI::MethodSummary name: text - !ruby/object:RI::MethodSummary name: xmldecl name: REXMLParser superclass: XSD::XMLParser::Parser ri/1.8/system/XSD/XMLParser/REXMLParser/tag_end-i.yaml 0000644 00000000301 15217654522 0016045 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::REXMLParser#tag_end is_singleton: false name: tag_end params: (name) visibility: public ri/1.8/system/XSD/XMLParser/REXMLParser/text-i.yaml 0000644 00000000273 15217654522 0015440 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::REXMLParser#text is_singleton: false name: text params: (text) visibility: public ri/1.8/system/XSD/XMLParser/REXMLParser/do_parse-i.yaml 0000644 00000000321 15217654522 0016242 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::REXMLParser#do_parse is_singleton: false name: do_parse params: (string_or_readable) visibility: public ri/1.8/system/XSD/XMLParser/REXMLParser/xmldecl-i.yaml 0000644 00000000332 15217654522 0016100 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser::REXMLParser#xmldecl is_singleton: false name: xmldecl params: (version, encoding, standalone) visibility: public ri/1.8/system/XSD/XMLParser/filter_ns-i.yaml 0000644 00000000275 15217654522 0014377 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XMLParser#filter_ns is_singleton: false name: filter_ns params: (ns, attrs) visibility: public ri/1.8/system/XSD/XSDInteger/new-c.yaml 0000644 00000000264 15217654522 0013332 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDInteger::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDInteger/positive-i.yaml 0000644 00000000265 15217654522 0014412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDInteger#positive is_singleton: false name: positive params: (v) visibility: private ri/1.8/system/XSD/XSDInteger/mininclusive-i.yaml 0000644 00000000274 15217654522 0015255 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDInteger#mininclusive is_singleton: false name: mininclusive params: () visibility: private ri/1.8/system/XSD/XSDInteger/screen_data_str-i.yaml 0000644 00000000305 15217654522 0015703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDInteger#screen_data_str is_singleton: false name: screen_data_str params: (str) visibility: private ri/1.8/system/XSD/XSDInteger/validate-i.yaml 0000644 00000000265 15217654522 0014341 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDInteger#validate is_singleton: false name: validate params: (v) visibility: private ri/1.8/system/XSD/XSDInteger/_set-i.yaml 0000644 00000000261 15217654522 0013476 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDInteger#_set is_singleton: false name: _set params: (value) visibility: private ri/1.8/system/XSD/XSDInteger/cdesc-XSDInteger.yaml 0000644 00000001423 15217654522 0015352 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, IntegerLiteral) - !ruby/object:RI::Constant comment: name: PositiveMinInclusive value: "1" full_name: XSD::XSDInteger includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _set - !ruby/object:RI::MethodSummary name: _to_s - !ruby/object:RI::MethodSummary name: maxinclusive - !ruby/object:RI::MethodSummary name: mininclusive - !ruby/object:RI::MethodSummary name: positive - !ruby/object:RI::MethodSummary name: screen_data_str - !ruby/object:RI::MethodSummary name: validate name: XSDInteger superclass: XSDDecimal ri/1.8/system/XSD/XSDInteger/_to_s-i.yaml 0000644 00000000256 15217654522 0013653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDInteger#_to_s is_singleton: false name: _to_s params: () visibility: private ri/1.8/system/XSD/XSDInteger/maxinclusive-i.yaml 0000644 00000000274 15217654522 0015257 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDInteger#maxinclusive is_singleton: false name: maxinclusive params: () visibility: private ri/1.8/system/XSD/XSDUnsignedByte/new-c.yaml 0000644 00000000271 15217654522 0014333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDUnsignedByte::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDUnsignedByte/mininclusive-i.yaml 0000644 00000000301 15217654522 0016247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDUnsignedByte#mininclusive is_singleton: false name: mininclusive params: () visibility: private ri/1.8/system/XSD/XSDUnsignedByte/maxinclusive-i.yaml 0000644 00000000301 15217654522 0016251 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDUnsignedByte#maxinclusive is_singleton: false name: maxinclusive params: () visibility: private ri/1.8/system/XSD/XSDUnsignedByte/cdesc-XSDUnsignedByte.yaml 0000644 00000000726 15217654522 0017365 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, UnsignedByteLiteral) full_name: XSD::XSDUnsignedByte includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: maxinclusive - !ruby/object:RI::MethodSummary name: mininclusive name: XSDUnsignedByte superclass: XSDUnsignedShort ri/1.8/system/XSD/ValueSpaceError/cdesc-ValueSpaceError.yaml 0000644 00000000317 15217654522 0017527 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XSD::ValueSpaceError includes: [] instance_methods: [] name: ValueSpaceError superclass: Error ri/1.8/system/XSD/XSDGMonthDay/new-c.yaml 0000644 00000000266 15217654522 0013571 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDGMonthDay::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDGMonthDay/screen_data_str-i.yaml 0000644 00000000305 15217654522 0016140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDGMonthDay#screen_data_str is_singleton: false name: screen_data_str params: (t) visibility: private ri/1.8/system/XSD/XSDGMonthDay/cdesc-XSDGMonthDay.yaml 0000644 00000001001 15217654522 0016034 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, GMonthDayLiteral) full_name: XSD::XSDGMonthDay includes: - !ruby/object:RI::IncludedModule name: XSDDateTimeImpl instance_methods: - !ruby/object:RI::MethodSummary name: _to_s - !ruby/object:RI::MethodSummary name: screen_data_str name: XSDGMonthDay superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDGMonthDay/_to_s-i.yaml 0000644 00000000260 15217654522 0014103 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDGMonthDay#_to_s is_singleton: false name: _to_s params: () visibility: private ri/1.8/system/XSD/XSDGMonth/new-c.yaml 0000644 00000000263 15217654522 0013130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDGMonth::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDGMonth/screen_data_str-i.yaml 0000644 00000000302 15217654522 0015477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDGMonth#screen_data_str is_singleton: false name: screen_data_str params: (t) visibility: private ri/1.8/system/XSD/XSDGMonth/cdesc-XSDGMonth.yaml 0000644 00000000770 15217654522 0014754 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, GMonthLiteral) full_name: XSD::XSDGMonth includes: - !ruby/object:RI::IncludedModule name: XSDDateTimeImpl instance_methods: - !ruby/object:RI::MethodSummary name: _to_s - !ruby/object:RI::MethodSummary name: screen_data_str name: XSDGMonth superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDGMonth/_to_s-i.yaml 0000644 00000000255 15217654522 0013451 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDGMonth#_to_s is_singleton: false name: _to_s params: () visibility: private ri/1.8/system/XSD/IconvCharset/safe_iconv-c.yaml 0000644 00000000306 15217654522 0015266 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::IconvCharset::safe_iconv is_singleton: true name: safe_iconv params: (to, from, str) visibility: public ri/1.8/system/XSD/IconvCharset/cdesc-IconvCharset.yaml 0000644 00000000374 15217654522 0016406 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: safe_iconv comment: constants: [] full_name: XSD::IconvCharset includes: [] instance_methods: [] name: IconvCharset superclass: Object ri/1.8/system/XSD/QName/new-c.yaml 0000644 00000000277 15217654522 0012363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::QName::new is_singleton: true name: new params: (namespace = nil, name = nil) visibility: public ri/1.8/system/XSD/QName/to_s-i.yaml 0000644 00000000246 15217654522 0012540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::QName#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/XSD/QName/cdesc-QName.yaml 0000644 00000002065 15217654522 0013427 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: RW - !ruby/object:RI::Attribute comment: name: namespace rw: RW - !ruby/object:RI::Attribute comment: name: source rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: NormalizedNameRegexp value: /^\{([^}]*)\}(.*)$/ - !ruby/object:RI::Constant comment: name: EMPTY value: QName.new.freeze full_name: XSD::QName includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: === - !ruby/object:RI::MethodSummary name: dump - !ruby/object:RI::MethodSummary name: dup_name - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: match - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: to_s name: QName superclass: Object ri/1.8/system/XSD/QName/hash-i.yaml 0000644 00000000246 15217654522 0012517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::QName#hash is_singleton: false name: hash params: () visibility: public ri/1.8/system/XSD/QName/dup_name-i.yaml 0000644 00000000262 15217654522 0013362 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::QName#dup_name is_singleton: false name: dup_name params: (name) visibility: public ri/1.8/system/XSD/QName/%3d%3d%3d-i.yaml 0000644 00000000247 15217654522 0012740 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::QName#=== is_singleton: false name: === params: (rhs) visibility: public ri/1.8/system/XSD/QName/inspect-i.yaml 0000644 00000000254 15217654522 0013240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::QName#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/XSD/QName/parse-i.yaml 0000644 00000000253 15217654522 0012704 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::QName#parse is_singleton: false name: parse params: (str) visibility: public ri/1.8/system/XSD/QName/%3d%3d-i.yaml 0000644 00000000245 15217654522 0012442 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::QName#== is_singleton: false name: == params: (rhs) visibility: public ri/1.8/system/XSD/QName/match-i.yaml 0000644 00000000253 15217654522 0012666 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::QName#match is_singleton: false name: match params: (rhs) visibility: public ri/1.8/system/XSD/QName/eql%3f-i.yaml 0000644 00000000251 15217654522 0012647 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::QName#eql? is_singleton: false name: eql? params: (rhs) visibility: public ri/1.8/system/XSD/QName/dump-i.yaml 0000644 00000000246 15217654522 0012541 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::QName#dump is_singleton: false name: dump params: () visibility: public ri/1.8/system/XSD/XSDNonPositiveInteger/new-c.yaml 0000644 00000000277 15217654522 0015534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDNonPositiveInteger::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDNonPositiveInteger/mininclusive-i.yaml 0000644 00000000307 15217654522 0017450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDNonPositiveInteger#mininclusive is_singleton: false name: mininclusive params: () visibility: private ri/1.8/system/XSD/XSDNonPositiveInteger/cdesc-XSDNonPositiveInteger.yaml 0000644 00000000742 15217654522 0021751 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, NonPositiveIntegerLiteral) full_name: XSD::XSDNonPositiveInteger includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: maxinclusive - !ruby/object:RI::MethodSummary name: mininclusive name: XSDNonPositiveInteger superclass: XSDInteger ri/1.8/system/XSD/XSDNonPositiveInteger/maxinclusive-i.yaml 0000644 00000000307 15217654522 0017452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDNonPositiveInteger#maxinclusive is_singleton: false name: maxinclusive params: () visibility: private ri/1.8/system/XSD/NSDBase/new-c.yaml 0000644 00000000246 15217654522 0012575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NSDBase::new is_singleton: true name: new params: () visibility: public ri/1.8/system/XSD/NSDBase/init-i.yaml 0000644 00000000254 15217654522 0012754 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NSDBase#init is_singleton: false name: init params: (type) visibility: public ri/1.8/system/XSD/NSDBase/inherited-c.yaml 0000644 00000000267 15217654522 0013762 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NSDBase::inherited is_singleton: true name: inherited params: (klass) visibility: public ri/1.8/system/XSD/NSDBase/cdesc-NSDBase.yaml 0000644 00000001014 15217654522 0014054 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: type rw: RW class_methods: - !ruby/object:RI::MethodSummary name: inherited - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: types comment: - !ruby/struct:SM::Flow::P body: The base class of all datatypes with Namespace. constants: [] full_name: XSD::NSDBase includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: init name: NSDBase superclass: Object ri/1.8/system/XSD/NSDBase/types-c.yaml 0000644 00000000252 15217654522 0013145 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NSDBase::types is_singleton: true name: types params: () visibility: public ri/1.8/system/XSD/XSDHexBinary/new-c.yaml 0000644 00000000374 15217654522 0013630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: String in Ruby could be a binary. full_name: XSD::XSDHexBinary::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDHexBinary/string-i.yaml 0000644 00000000261 15217654522 0014346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDHexBinary#string is_singleton: false name: string params: () visibility: public ri/1.8/system/XSD/XSDHexBinary/set_encoded-i.yaml 0000644 00000000300 15217654522 0015306 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDHexBinary#set_encoded is_singleton: false name: set_encoded params: (value) visibility: public ri/1.8/system/XSD/XSDHexBinary/screen_data-i.yaml 0000644 00000000301 15217654522 0015303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDHexBinary#screen_data is_singleton: false name: screen_data params: (value) visibility: private ri/1.8/system/XSD/XSDHexBinary/cdesc-XSDHexBinary.yaml 0000644 00000000774 15217654522 0016152 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, HexBinaryLiteral) full_name: XSD::XSDHexBinary includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: screen_data - !ruby/object:RI::MethodSummary name: set_encoded - !ruby/object:RI::MethodSummary name: string name: XSDHexBinary superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDShort/new-c.yaml 0000644 00000000262 15217654522 0013032 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDShort::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDShort/mininclusive-i.yaml 0000644 00000000272 15217654522 0014755 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDShort#mininclusive is_singleton: false name: mininclusive params: () visibility: private ri/1.8/system/XSD/XSDShort/cdesc-XSDShort.yaml 0000644 00000000667 15217654522 0014567 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, ShortLiteral) full_name: XSD::XSDShort includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: maxinclusive - !ruby/object:RI::MethodSummary name: mininclusive name: XSDShort superclass: XSDInt ri/1.8/system/XSD/XSDShort/maxinclusive-i.yaml 0000644 00000000272 15217654522 0014757 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDShort#maxinclusive is_singleton: false name: maxinclusive params: () visibility: private ri/1.8/system/XSD/XSDUnsignedLong/new-c.yaml 0000644 00000000271 15217654522 0014327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDUnsignedLong::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDUnsignedLong/mininclusive-i.yaml 0000644 00000000301 15217654522 0016243 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDUnsignedLong#mininclusive is_singleton: false name: mininclusive params: () visibility: private ri/1.8/system/XSD/XSDUnsignedLong/cdesc-XSDUnsignedLong.yaml 0000644 00000000733 15217654522 0017353 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, UnsignedLongLiteral) full_name: XSD::XSDUnsignedLong includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: maxinclusive - !ruby/object:RI::MethodSummary name: mininclusive name: XSDUnsignedLong superclass: XSDNonNegativeInteger ri/1.8/system/XSD/XSDUnsignedLong/maxinclusive-i.yaml 0000644 00000000301 15217654522 0016245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDUnsignedLong#maxinclusive is_singleton: false name: maxinclusive params: () visibility: private ri/1.8/system/XSD/XSDDate/new-c.yaml 0000644 00000000261 15217654522 0012607 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDate::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDDate/screen_data_str-i.yaml 0000644 00000000300 15217654522 0015156 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDate#screen_data_str is_singleton: false name: screen_data_str params: (t) visibility: private ri/1.8/system/XSD/XSDDate/cdesc-XSDDate.yaml 0000644 00000000762 15217654522 0014117 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, DateLiteral) full_name: XSD::XSDDate includes: - !ruby/object:RI::IncludedModule name: XSDDateTimeImpl instance_methods: - !ruby/object:RI::MethodSummary name: _to_s - !ruby/object:RI::MethodSummary name: screen_data_str name: XSDDate superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDDate/_to_s-i.yaml 0000644 00000000253 15217654522 0013130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDate#_to_s is_singleton: false name: _to_s params: () visibility: private ri/1.8/system/XSD/cdesc-XSD.yaml 0000644 00000010630 15217654522 0012060 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: This program is copyrighted free software by NAKAMURA, Hiroshi. You can redistribute it and/or modify it under the same terms of Ruby's license; either the dual license version in 2003, or any later version. constants: - !ruby/object:RI::Constant comment: name: Namespace value: "'http://www.w3.org/2001/XMLSchema'" - !ruby/object:RI::Constant comment: name: InstanceNamespace value: "'http://www.w3.org/2001/XMLSchema-instance'" - !ruby/object:RI::Constant comment: name: AttrType value: "'type'" - !ruby/object:RI::Constant comment: name: NilValue value: "'true'" - !ruby/object:RI::Constant comment: name: AnyTypeLiteral value: "'anyType'" - !ruby/object:RI::Constant comment: name: AnySimpleTypeLiteral value: "'anySimpleType'" - !ruby/object:RI::Constant comment: name: NilLiteral value: "'nil'" - !ruby/object:RI::Constant comment: name: StringLiteral value: "'string'" - !ruby/object:RI::Constant comment: name: BooleanLiteral value: "'boolean'" - !ruby/object:RI::Constant comment: name: DecimalLiteral value: "'decimal'" - !ruby/object:RI::Constant comment: name: FloatLiteral value: "'float'" - !ruby/object:RI::Constant comment: name: DoubleLiteral value: "'double'" - !ruby/object:RI::Constant comment: name: DurationLiteral value: "'duration'" - !ruby/object:RI::Constant comment: name: DateTimeLiteral value: "'dateTime'" - !ruby/object:RI::Constant comment: name: TimeLiteral value: "'time'" - !ruby/object:RI::Constant comment: name: DateLiteral value: "'date'" - !ruby/object:RI::Constant comment: name: GYearMonthLiteral value: "'gYearMonth'" - !ruby/object:RI::Constant comment: name: GYearLiteral value: "'gYear'" - !ruby/object:RI::Constant comment: name: GMonthDayLiteral value: "'gMonthDay'" - !ruby/object:RI::Constant comment: name: GDayLiteral value: "'gDay'" - !ruby/object:RI::Constant comment: name: GMonthLiteral value: "'gMonth'" - !ruby/object:RI::Constant comment: name: HexBinaryLiteral value: "'hexBinary'" - !ruby/object:RI::Constant comment: name: Base64BinaryLiteral value: "'base64Binary'" - !ruby/object:RI::Constant comment: name: AnyURILiteral value: "'anyURI'" - !ruby/object:RI::Constant comment: name: QNameLiteral value: "'QName'" - !ruby/object:RI::Constant comment: name: NormalizedStringLiteral value: "'normalizedString'" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: 3.3.2 token 3.3.3 language 3.3.4 NMTOKEN 3.3.5 NMTOKENS 3.3.6 Name 3.3.7 NCName 3.3.8 ID 3.3.9 IDREF 3.3.10 IDREFS 3.3.11 ENTITY 3.3.12 ENTITIES name: IntegerLiteral value: "'integer'" - !ruby/object:RI::Constant comment: name: NonPositiveIntegerLiteral value: "'nonPositiveInteger'" - !ruby/object:RI::Constant comment: name: NegativeIntegerLiteral value: "'negativeInteger'" - !ruby/object:RI::Constant comment: name: LongLiteral value: "'long'" - !ruby/object:RI::Constant comment: name: IntLiteral value: "'int'" - !ruby/object:RI::Constant comment: name: ShortLiteral value: "'short'" - !ruby/object:RI::Constant comment: name: ByteLiteral value: "'byte'" - !ruby/object:RI::Constant comment: name: NonNegativeIntegerLiteral value: "'nonNegativeInteger'" - !ruby/object:RI::Constant comment: name: UnsignedLongLiteral value: "'unsignedLong'" - !ruby/object:RI::Constant comment: name: UnsignedIntLiteral value: "'unsignedInt'" - !ruby/object:RI::Constant comment: name: UnsignedShortLiteral value: "'unsignedShort'" - !ruby/object:RI::Constant comment: name: UnsignedByteLiteral value: "'unsignedByte'" - !ruby/object:RI::Constant comment: name: PositiveIntegerLiteral value: "'positiveInteger'" - !ruby/object:RI::Constant comment: name: AttrTypeName value: QName.new(InstanceNamespace, AttrType) - !ruby/object:RI::Constant comment: name: AttrNilName value: QName.new(InstanceNamespace, NilLiteral) - !ruby/object:RI::Constant comment: name: AnyTypeName value: QName.new(Namespace, AnyTypeLiteral) - !ruby/object:RI::Constant comment: name: AnySimpleTypeName value: QName.new(Namespace, AnySimpleTypeLiteral) full_name: XSD includes: [] instance_methods: [] name: XSD superclass: ri/1.8/system/XSD/XSDUnsignedShort/new-c.yaml 0000644 00000000272 15217654522 0014530 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDUnsignedShort::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDUnsignedShort/mininclusive-i.yaml 0000644 00000000302 15217654522 0016444 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDUnsignedShort#mininclusive is_singleton: false name: mininclusive params: () visibility: private ri/1.8/system/XSD/XSDUnsignedShort/cdesc-XSDUnsignedShort.yaml 0000644 00000000727 15217654522 0017756 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, UnsignedShortLiteral) full_name: XSD::XSDUnsignedShort includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: maxinclusive - !ruby/object:RI::MethodSummary name: mininclusive name: XSDUnsignedShort superclass: XSDUnsignedInt ri/1.8/system/XSD/XSDUnsignedShort/maxinclusive-i.yaml 0000644 00000000302 15217654522 0016446 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDUnsignedShort#maxinclusive is_singleton: false name: maxinclusive params: () visibility: private ri/1.8/system/XSD/XSDAnyURI/new-c.yaml 0000644 00000000263 15217654522 0013043 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDAnyURI::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDAnyURI/screen_data-i.yaml 0000644 00000000276 15217654522 0014534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDAnyURI#screen_data is_singleton: false name: screen_data params: (value) visibility: private ri/1.8/system/XSD/XSDAnyURI/cdesc-XSDAnyURI.yaml 0000644 00000000614 15217654522 0014577 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, AnyURILiteral) full_name: XSD::XSDAnyURI includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: screen_data name: XSDAnyURI superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDNormalizedString/new-c.yaml 0000644 00000000275 15217654522 0015232 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDNormalizedString::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDNormalizedString/cdesc-XSDNormalizedString.yaml 0000644 00000000725 15217654522 0021152 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Derived types constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, NormalizedStringLiteral) full_name: XSD::XSDNormalizedString includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: screen_data name: XSDNormalizedString superclass: XSDString ri/1.8/system/XSD/XSDNormalizedString/screen_data-i.yaml 0000644 00000000310 15217654522 0016705 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDNormalizedString#screen_data is_singleton: false name: screen_data params: (value) visibility: private ri/1.8/system/XSD/XSDGYearMonth/new-c.yaml 0000644 00000000267 15217654522 0013755 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDGYearMonth::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDGYearMonth/screen_data_str-i.yaml 0000644 00000000306 15217654522 0016324 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDGYearMonth#screen_data_str is_singleton: false name: screen_data_str params: (t) visibility: private ri/1.8/system/XSD/XSDGYearMonth/cdesc-XSDGYearMonth.yaml 0000644 00000001004 15217654522 0016405 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, GYearMonthLiteral) full_name: XSD::XSDGYearMonth includes: - !ruby/object:RI::IncludedModule name: XSDDateTimeImpl instance_methods: - !ruby/object:RI::MethodSummary name: _to_s - !ruby/object:RI::MethodSummary name: screen_data_str name: XSDGYearMonth superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDGYearMonth/_to_s-i.yaml 0000644 00000000261 15217654522 0014267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDGYearMonth#_to_s is_singleton: false name: _to_s params: () visibility: private ri/1.8/system/XSD/XSDInt/new-c.yaml 0000644 00000000260 15217654522 0012463 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDInt::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDInt/cdesc-XSDInt.yaml 0000644 00000000662 15217654522 0013650 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, IntLiteral) full_name: XSD::XSDInt includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: maxinclusive - !ruby/object:RI::MethodSummary name: mininclusive name: XSDInt superclass: XSDLong ri/1.8/system/XSD/XSDInt/mininclusive-i.yaml 0000644 00000000270 15217654522 0014406 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDInt#mininclusive is_singleton: false name: mininclusive params: () visibility: private ri/1.8/system/XSD/XSDInt/maxinclusive-i.yaml 0000644 00000000270 15217654522 0014410 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDInt#maxinclusive is_singleton: false name: maxinclusive params: () visibility: private ri/1.8/system/XSD/NamedElements/new-c.yaml 0000644 00000000254 15217654522 0014076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NamedElements::new is_singleton: true name: new params: () visibility: public ri/1.8/system/XSD/NamedElements/concat-i.yaml 0000644 00000000265 15217654522 0014564 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NamedElements#concat is_singleton: false name: concat params: (rhs) visibility: public ri/1.8/system/XSD/NamedElements/%2b-i.yaml 0000644 00000000253 15217654522 0013662 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NamedElements#+ is_singleton: false name: + params: (rhs) visibility: public ri/1.8/system/XSD/NamedElements/elements%3d-i.yaml 0000644 00000000276 15217654522 0015427 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NamedElements#elements= is_singleton: false name: elements= params: (rhs) visibility: protected ri/1.8/system/XSD/NamedElements/delete-i.yaml 0000644 00000000265 15217654522 0014557 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NamedElements#delete is_singleton: false name: delete params: (rhs) visibility: public ri/1.8/system/XSD/NamedElements/%3c%3c-i.yaml 0000644 00000000257 15217654522 0014163 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NamedElements#<< is_singleton: false name: "<<" params: (rhs) visibility: public ri/1.8/system/XSD/NamedElements/freeze-i.yaml 0000644 00000000262 15217654522 0014572 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NamedElements#freeze is_singleton: false name: freeze params: () visibility: public ri/1.8/system/XSD/NamedElements/%5b%5d-i.yaml 0000644 00000000257 15217654522 0014167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NamedElements#[] is_singleton: false name: "[]" params: (idx) visibility: public ri/1.8/system/XSD/NamedElements/size-i.yaml 0000644 00000000256 15217654522 0014267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NamedElements#size is_singleton: false name: size params: () visibility: public ri/1.8/system/XSD/NamedElements/dup-i.yaml 0000644 00000000254 15217654522 0014103 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NamedElements#dup is_singleton: false name: dup params: () visibility: public ri/1.8/system/XSD/NamedElements/each-i.yaml 0000644 00000000307 15217654522 0014212 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (element) comment: full_name: XSD::NamedElements#each is_singleton: false name: each params: () {|element| ...} visibility: public ri/1.8/system/XSD/NamedElements/find_name-i.yaml 0000644 00000000274 15217654522 0015235 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NamedElements#find_name is_singleton: false name: find_name params: (name) visibility: public ri/1.8/system/XSD/NamedElements/keys-i.yaml 0000644 00000000256 15217654522 0014270 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NamedElements#keys is_singleton: false name: keys params: () visibility: public ri/1.8/system/XSD/NamedElements/empty%3f-i.yaml 0000644 00000000262 15217654522 0014746 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NamedElements#empty? is_singleton: false name: empty? params: () visibility: public ri/1.8/system/XSD/NamedElements/elements-i.yaml 0000644 00000000271 15217654522 0015126 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NamedElements#elements is_singleton: false name: elements params: () visibility: protected ri/1.8/system/XSD/NamedElements/cdesc-NamedElements.yaml 0000644 00000002041 15217654522 0016661 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Empty value: NamedElements.new.freeze full_name: XSD::NamedElements includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: + - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: concat - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: dup - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: elements - !ruby/object:RI::MethodSummary name: elements= - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: find_name - !ruby/object:RI::MethodSummary name: freeze - !ruby/object:RI::MethodSummary name: keys - !ruby/object:RI::MethodSummary name: size name: NamedElements superclass: Object ri/1.8/system/XSD/Mapping/obj2xml-c.yaml 0000644 00000000312 15217654522 0013527 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::Mapping::obj2xml is_singleton: true name: obj2xml params: (obj, elename = nil, io = nil) visibility: public ri/1.8/system/XSD/Mapping/xml2obj-c.yaml 0000644 00000000264 15217654522 0013535 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::Mapping::xml2obj is_singleton: true name: xml2obj params: (stream) visibility: public ri/1.8/system/XSD/Mapping/cdesc-Mapping.yaml 0000644 00000001003 15217654522 0014402 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: obj2xml - !ruby/object:RI::MethodSummary name: xml2obj comment: constants: - !ruby/object:RI::Constant comment: name: MappingRegistry value: SOAP::Mapping::WSDLLiteralRegistry.new - !ruby/object:RI::Constant comment: name: MappingOpt value: "{:default_encodingstyle => SOAP::LiteralNamespace}" full_name: XSD::Mapping includes: [] instance_methods: [] name: Mapping superclass: ri/1.8/system/XSD/XSDDateTimeImpl/cdesc-XSDDateTimeImpl.yaml 0000644 00000001241 15217654522 0017212 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: SecInDay value: "86400" full_name: XSD::XSDDateTimeImpl includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_tz - !ruby/object:RI::MethodSummary name: of2tz - !ruby/object:RI::MethodSummary name: screen_data - !ruby/object:RI::MethodSummary name: to_date - !ruby/object:RI::MethodSummary name: to_datetime - !ruby/object:RI::MethodSummary name: to_obj - !ruby/object:RI::MethodSummary name: to_time - !ruby/object:RI::MethodSummary name: tz2of name: XSDDateTimeImpl superclass: ri/1.8/system/XSD/XSDDateTimeImpl/screen_data-i.yaml 0000644 00000000277 15217654522 0015744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDateTimeImpl#screen_data is_singleton: false name: screen_data params: (t) visibility: public ri/1.8/system/XSD/XSDDateTimeImpl/tz2of-i.yaml 0000644 00000000265 15217654522 0014535 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDateTimeImpl#tz2of is_singleton: false name: tz2of params: (str) visibility: public ri/1.8/system/XSD/XSDDateTimeImpl/of2tz-i.yaml 0000644 00000000270 15217654522 0014531 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDateTimeImpl#of2tz is_singleton: false name: of2tz params: (offset) visibility: public ri/1.8/system/XSD/XSDDateTimeImpl/to_datetime-i.yaml 0000644 00000000276 15217654522 0015771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDateTimeImpl#to_datetime is_singleton: false name: to_datetime params: () visibility: public ri/1.8/system/XSD/XSDDateTimeImpl/to_date-i.yaml 0000644 00000000266 15217654522 0015111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDateTimeImpl#to_date is_singleton: false name: to_date params: () visibility: public ri/1.8/system/XSD/XSDDateTimeImpl/to_obj-i.yaml 0000644 00000000271 15217654522 0014742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDateTimeImpl#to_obj is_singleton: false name: to_obj params: (klass) visibility: public ri/1.8/system/XSD/XSDDateTimeImpl/to_time-i.yaml 0000644 00000000266 15217654522 0015132 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDateTimeImpl#to_time is_singleton: false name: to_time params: () visibility: public ri/1.8/system/XSD/XSDDateTimeImpl/add_tz-i.yaml 0000644 00000000265 15217654522 0014736 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDateTimeImpl#add_tz is_singleton: false name: add_tz params: (s) visibility: public ri/1.8/system/XSD/XSDBase64Binary/new-c.yaml 0000644 00000000377 15217654522 0014133 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: String in Ruby could be a binary. full_name: XSD::XSDBase64Binary::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDBase64Binary/string-i.yaml 0000644 00000000264 15217654522 0014651 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDBase64Binary#string is_singleton: false name: string params: () visibility: public ri/1.8/system/XSD/XSDBase64Binary/cdesc-XSDBase64Binary.yaml 0000644 00000001005 15217654522 0016736 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, Base64BinaryLiteral) full_name: XSD::XSDBase64Binary includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: screen_data - !ruby/object:RI::MethodSummary name: set_encoded - !ruby/object:RI::MethodSummary name: string name: XSDBase64Binary superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDBase64Binary/set_encoded-i.yaml 0000644 00000000303 15217654522 0015611 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDBase64Binary#set_encoded is_singleton: false name: set_encoded params: (value) visibility: public ri/1.8/system/XSD/XSDBase64Binary/screen_data-i.yaml 0000644 00000000304 15217654522 0015606 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDBase64Binary#screen_data is_singleton: false name: screen_data params: (value) visibility: private ri/1.8/system/XSD/Error/cdesc-Error.yaml 0000644 00000000303 15217654522 0013600 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XSD::Error includes: [] instance_methods: [] name: Error superclass: StandardError ri/1.8/system/XSD/XSDTime/new-c.yaml 0000644 00000000261 15217654522 0012630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDTime::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDTime/screen_data_str-i.yaml 0000644 00000000300 15217654522 0015177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDTime#screen_data_str is_singleton: false name: screen_data_str params: (t) visibility: private ri/1.8/system/XSD/XSDTime/_set-i.yaml 0000644 00000000255 15217654522 0013002 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDTime#_set is_singleton: false name: _set params: (data) visibility: private ri/1.8/system/XSD/XSDTime/cdesc-XSDTime.yaml 0000644 00000001041 15217654522 0014150 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, TimeLiteral) full_name: XSD::XSDTime includes: - !ruby/object:RI::IncludedModule name: XSDDateTimeImpl instance_methods: - !ruby/object:RI::MethodSummary name: _set - !ruby/object:RI::MethodSummary name: _to_s - !ruby/object:RI::MethodSummary name: screen_data_str name: XSDTime superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDTime/_to_s-i.yaml 0000644 00000000253 15217654522 0013151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDTime#_to_s is_singleton: false name: _to_s params: () visibility: private ri/1.8/system/XSD/XSDDateTime/new-c.yaml 0000644 00000000265 15217654522 0013432 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDateTime::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDDateTime/screen_data_str-i.yaml 0000644 00000000304 15217654522 0016001 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDateTime#screen_data_str is_singleton: false name: screen_data_str params: (t) visibility: private ri/1.8/system/XSD/XSDDateTime/_set-i.yaml 0000644 00000000261 15217654522 0013575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDateTime#_set is_singleton: false name: _set params: (data) visibility: private ri/1.8/system/XSD/XSDDateTime/cdesc-XSDDateTime.yaml 0000644 00000001055 15217654522 0015551 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, DateTimeLiteral) full_name: XSD::XSDDateTime includes: - !ruby/object:RI::IncludedModule name: XSDDateTimeImpl instance_methods: - !ruby/object:RI::MethodSummary name: _set - !ruby/object:RI::MethodSummary name: _to_s - !ruby/object:RI::MethodSummary name: screen_data_str name: XSDDateTime superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDDateTime/_to_s-i.yaml 0000644 00000000257 15217654522 0013753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDateTime#_to_s is_singleton: false name: _to_s params: () visibility: private ri/1.8/system/XSD/XSDDecimal/new-c.yaml 0000644 00000000264 15217654522 0013273 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDecimal::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDDecimal/screen_data_str-i.yaml 0000644 00000000305 15217654522 0015644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDecimal#screen_data_str is_singleton: false name: screen_data_str params: (str) visibility: private ri/1.8/system/XSD/XSDDecimal/screen_data-i.yaml 0000644 00000000273 15217654522 0014760 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDecimal#screen_data is_singleton: false name: screen_data params: (d) visibility: private ri/1.8/system/XSD/XSDDecimal/_set-i.yaml 0000644 00000000260 15217654522 0013436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDecimal#_set is_singleton: false name: _set params: (data) visibility: private ri/1.8/system/XSD/XSDDecimal/cdesc-XSDDecimal.yaml 0000644 00000001133 15217654522 0015252 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, DecimalLiteral) full_name: XSD::XSDDecimal includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _set - !ruby/object:RI::MethodSummary name: _to_s - !ruby/object:RI::MethodSummary name: nonzero? - !ruby/object:RI::MethodSummary name: screen_data - !ruby/object:RI::MethodSummary name: screen_data_str name: XSDDecimal superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDDecimal/nonzero%3f-i.yaml 0000644 00000000263 15217654522 0014477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDecimal#nonzero? is_singleton: false name: nonzero? params: () visibility: public ri/1.8/system/XSD/XSDDecimal/_to_s-i.yaml 0000644 00000000346 15217654522 0013614 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: 0.0 -> 0; right? full_name: XSD::XSDDecimal#_to_s is_singleton: false name: _to_s params: () visibility: private ri/1.8/system/XSD/XSDBoolean/new-c.yaml 0000644 00000000264 15217654522 0013314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDBoolean::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDBoolean/cdesc-XSDBoolean.yaml 0000644 00000000617 15217654522 0015322 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, BooleanLiteral) full_name: XSD::XSDBoolean includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: screen_data name: XSDBoolean superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDBoolean/screen_data-i.yaml 0000644 00000000277 15217654522 0015005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDBoolean#screen_data is_singleton: false name: screen_data params: (value) visibility: private ri/1.8/system/XSD/XSDString/new-c.yaml 0000644 00000000263 15217654522 0013202 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDString::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDString/cdesc-XSDString.yaml 0000644 00000000705 15217654522 0015076 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Primitive datatypes. constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, StringLiteral) full_name: XSD::XSDString includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: screen_data name: XSDString superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDString/screen_data-i.yaml 0000644 00000000276 15217654522 0014673 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDString#screen_data is_singleton: false name: screen_data params: (value) visibility: private ri/1.8/system/XSD/XSDAnySimpleType/new-c.yaml 0000644 00000000272 15217654522 0014477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDAnySimpleType::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDAnySimpleType/to_s-i.yaml 0000644 00000000450 15217654522 0014656 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "to_s creates a string which follows lexical space (ex. String: "123")." full_name: XSD::XSDAnySimpleType#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/XSD/XSDAnySimpleType/cdesc-XSDAnySimpleType.yaml 0000644 00000002146 15217654522 0017671 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: "@data represents canonical space (ex. Integer: 123)." name: data rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: "@is_nil represents this data is nil or not." name: is_nil rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: The base class of XSD datatypes. constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, AnySimpleTypeLiteral) full_name: XSD::XSDAnySimpleType includes: - !ruby/object:RI::IncludedModule name: XSD instance_methods: - !ruby/object:RI::MethodSummary name: _set - !ruby/object:RI::MethodSummary name: _to_s - !ruby/object:RI::MethodSummary name: check_lexical_format - !ruby/object:RI::MethodSummary name: init - !ruby/object:RI::MethodSummary name: screen_data - !ruby/object:RI::MethodSummary name: set - !ruby/object:RI::MethodSummary name: to_s name: XSDAnySimpleType superclass: NSDBase ri/1.8/system/XSD/XSDAnySimpleType/screen_data-i.yaml 0000644 00000000420 15217654522 0016157 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: raises ValueSpaceError if check failed full_name: XSD::XSDAnySimpleType#screen_data is_singleton: false name: screen_data params: (value) visibility: private ri/1.8/system/XSD/XSDAnySimpleType/_set-i.yaml 0000644 00000000267 15217654522 0014652 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDAnySimpleType#_set is_singleton: false name: _set params: (value) visibility: private ri/1.8/system/XSD/XSDAnySimpleType/init-i.yaml 0000644 00000000275 15217654522 0014662 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDAnySimpleType#init is_singleton: false name: init params: (type, value) visibility: private ri/1.8/system/XSD/XSDAnySimpleType/check_lexical_format-i.yaml 0000644 00000000410 15217654522 0020034 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: true or raise full_name: XSD::XSDAnySimpleType#check_lexical_format is_singleton: false name: check_lexical_format params: (value) visibility: public ri/1.8/system/XSD/XSDAnySimpleType/_to_s-i.yaml 0000644 00000000264 15217654522 0015020 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDAnySimpleType#_to_s is_singleton: false name: _to_s params: () visibility: private ri/1.8/system/XSD/XSDAnySimpleType/set-i.yaml 0000644 00000000552 15217654522 0014510 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "set accepts a string which follows lexical space (ex. String: "+123"), or an object which follows canonical space (ex. Integer: 123)." full_name: XSD::XSDAnySimpleType#set is_singleton: false name: set params: (value) visibility: public ri/1.8/system/XSD/Charset/encoding_from_xml-c.yaml 0000644 00000000316 15217654522 0015645 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::Charset::encoding_from_xml is_singleton: true name: encoding_from_xml params: (str, charset) visibility: public ri/1.8/system/XSD/Charset/encoding_to_xml-c.yaml 0000644 00000000312 15217654522 0015320 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::Charset::encoding_to_xml is_singleton: true name: encoding_to_xml params: (str, charset) visibility: public ri/1.8/system/XSD/Charset/CharsetError/cdesc-CharsetError.yaml 0000644 00000000325 15217654522 0020021 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XSD::Charset::CharsetError includes: [] instance_methods: [] name: CharsetError superclass: XSDError ri/1.8/system/XSD/Charset/CharsetConversionError/cdesc-CharsetConversionError.yaml 0000644 00000000355 15217654522 0024140 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XSD::Charset::CharsetConversionError includes: [] instance_methods: [] name: CharsetConversionError superclass: CharsetError ri/1.8/system/XSD/Charset/cdesc-Charset.yaml 0000644 00000003351 15217654522 0014406 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: charset_label - !ruby/object:RI::MethodSummary name: charset_str - !ruby/object:RI::MethodSummary name: encoding - !ruby/object:RI::MethodSummary name: encoding= - !ruby/object:RI::MethodSummary name: encoding_conv - !ruby/object:RI::MethodSummary name: encoding_from_xml - !ruby/object:RI::MethodSummary name: encoding_to_xml - !ruby/object:RI::MethodSummary name: init - !ruby/object:RI::MethodSummary name: is_ces - !ruby/object:RI::MethodSummary name: is_euc - !ruby/object:RI::MethodSummary name: is_sjis - !ruby/object:RI::MethodSummary name: is_us_ascii - !ruby/object:RI::MethodSummary name: is_utf8 - !ruby/object:RI::MethodSummary name: xml_encoding_label comment: constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Maps name: EncodingConvertMap value: "{}" - !ruby/object:RI::Constant comment: name: CharsetMap value: "{ 'NONE' => 'us-ascii', 'EUC' => 'euc-jp', 'SJIS' => 'shift_jis', 'UTF8' => 'utf-8', 'X_ISO_8859_1' => 'iso-8859-1', 'X_UNKNOWN' => nil, }" - !ruby/object:RI::Constant comment: name: USASCIIRegexp value: Regexp.new("\\A#{us_ascii}*\\z", nil, "NONE") - !ruby/object:RI::Constant comment: name: EUCRegexp value: Regexp.new("\\A#{character_euc}*\\z", nil, "NONE") - !ruby/object:RI::Constant comment: name: SJISRegexp value: Regexp.new("\\A#{character_sjis}*\\z", nil, "NONE") - !ruby/object:RI::Constant comment: name: UTF8Regexp value: Regexp.new("\\A#{character_utf8}*\\z", nil, "NONE") full_name: XSD::Charset includes: [] instance_methods: [] name: Charset superclass: ri/1.8/system/XSD/Charset/xml_encoding_label-c.yaml 0000644 00000000304 15217654522 0015756 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::Charset::xml_encoding_label is_singleton: true name: xml_encoding_label params: () visibility: public ri/1.8/system/XSD/Charset/init-c.yaml 0000644 00000000250 15217654522 0013114 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::Charset::init is_singleton: true name: init params: () visibility: public ri/1.8/system/XSD/Charset/encoding-c.yaml 0000644 00000000335 15217654522 0013743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: handlers full_name: XSD::Charset::encoding is_singleton: true name: encoding params: () visibility: public ri/1.8/system/XSD/Charset/encoding_conv-c.yaml 0000644 00000000317 15217654522 0014770 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::Charset::encoding_conv is_singleton: true name: encoding_conv params: (str, enc_from, enc_to) visibility: public ri/1.8/system/XSD/Charset/is_utf8-c.yaml 0000644 00000000261 15217654522 0013534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::Charset::is_utf8 is_singleton: true name: is_utf8 params: (str) visibility: public ri/1.8/system/XSD/Charset/charset_str-c.yaml 0000644 00000000273 15217654522 0014477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::Charset::charset_str is_singleton: true name: charset_str params: (label) visibility: public ri/1.8/system/XSD/Charset/UnknownCharsetError/cdesc-UnknownCharsetError.yaml 0000644 00000000347 15217654522 0022765 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XSD::Charset::UnknownCharsetError includes: [] instance_methods: [] name: UnknownCharsetError superclass: CharsetError ri/1.8/system/XSD/Charset/XSDError/cdesc-XSDError.yaml 0000644 00000000322 15217654522 0016130 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XSD::Charset::XSDError includes: [] instance_methods: [] name: XSDError superclass: StandardError ri/1.8/system/XSD/Charset/is_ces-c.yaml 0000644 00000000276 15217654522 0013426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::Charset::is_ces is_singleton: true name: is_ces params: (str, code = $KCODE) visibility: public ri/1.8/system/XSD/Charset/is_sjis-c.yaml 0000644 00000000261 15217654522 0013616 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::Charset::is_sjis is_singleton: true name: is_sjis params: (str) visibility: public ri/1.8/system/XSD/Charset/is_us_ascii-c.yaml 0000644 00000000271 15217654522 0014446 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::Charset::is_us_ascii is_singleton: true name: is_us_ascii params: (str) visibility: public ri/1.8/system/XSD/Charset/is_euc-c.yaml 0000644 00000000257 15217654522 0013427 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::Charset::is_euc is_singleton: true name: is_euc params: (str) visibility: public ri/1.8/system/XSD/Charset/encoding%3d-c.yaml 0000644 00000000272 15217654522 0014237 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::Charset::encoding= is_singleton: true name: encoding= params: (encoding) visibility: public ri/1.8/system/XSD/Charset/charset_label-c.yaml 0000644 00000000302 15217654522 0014737 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::Charset::charset_label is_singleton: true name: charset_label params: (encoding) visibility: public ri/1.8/system/XSD/XSDLong/new-c.yaml 0000644 00000000261 15217654522 0012631 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDLong::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDLong/mininclusive-i.yaml 0000644 00000000271 15217654522 0014554 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDLong#mininclusive is_singleton: false name: mininclusive params: () visibility: private ri/1.8/system/XSD/XSDLong/cdesc-XSDLong.yaml 0000644 00000000670 15217654522 0014161 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, LongLiteral) full_name: XSD::XSDLong includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: maxinclusive - !ruby/object:RI::MethodSummary name: mininclusive name: XSDLong superclass: XSDInteger ri/1.8/system/XSD/XSDLong/maxinclusive-i.yaml 0000644 00000000271 15217654522 0014556 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDLong#maxinclusive is_singleton: false name: maxinclusive params: () visibility: private ri/1.8/system/XSD/XSDGYear/new-c.yaml 0000644 00000000262 15217654522 0012742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDGYear::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDGYear/screen_data_str-i.yaml 0000644 00000000301 15217654522 0015311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDGYear#screen_data_str is_singleton: false name: screen_data_str params: (t) visibility: private ri/1.8/system/XSD/XSDGYear/cdesc-XSDGYear.yaml 0000644 00000000765 15217654522 0014406 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, GYearLiteral) full_name: XSD::XSDGYear includes: - !ruby/object:RI::IncludedModule name: XSDDateTimeImpl instance_methods: - !ruby/object:RI::MethodSummary name: _to_s - !ruby/object:RI::MethodSummary name: screen_data_str name: XSDGYear superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDGYear/_to_s-i.yaml 0000644 00000000254 15217654522 0013263 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDGYear#_to_s is_singleton: false name: _to_s params: () visibility: private ri/1.8/system/XSD/CodeGen/ClassDef/new-c.yaml 0000644 00000000305 15217654522 0014342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ClassDef::new is_singleton: true name: new params: (name, baseclass = nil) visibility: public ri/1.8/system/XSD/CodeGen/ClassDef/dump_class_def-i.yaml 0000644 00000000307 15217654522 0016531 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ClassDef#dump_class_def is_singleton: false name: dump_class_def params: () visibility: private ri/1.8/system/XSD/CodeGen/ClassDef/dump_classvar-i.yaml 0000644 00000000305 15217654522 0016422 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ClassDef#dump_classvar is_singleton: false name: dump_classvar params: () visibility: private ri/1.8/system/XSD/CodeGen/ClassDef/cdesc-ClassDef.yaml 0000644 00000001433 15217654522 0016077 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: XSD::CodeGen::ClassDef includes: - !ruby/object:RI::IncludedModule name: GenSupport instance_methods: - !ruby/object:RI::MethodSummary name: def_attr - !ruby/object:RI::MethodSummary name: def_classvar - !ruby/object:RI::MethodSummary name: dump - !ruby/object:RI::MethodSummary name: dump_accessor - !ruby/object:RI::MethodSummary name: dump_attribute - !ruby/object:RI::MethodSummary name: dump_attributes - !ruby/object:RI::MethodSummary name: dump_class_def - !ruby/object:RI::MethodSummary name: dump_class_def_end - !ruby/object:RI::MethodSummary name: dump_classvar name: ClassDef superclass: ModuleDef ri/1.8/system/XSD/CodeGen/ClassDef/def_attr-i.yaml 0000644 00000000342 15217654522 0015350 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ClassDef#def_attr is_singleton: false name: def_attr params: (attrname, writable = true, varname = nil) visibility: public ri/1.8/system/XSD/CodeGen/ClassDef/dump_attributes-i.yaml 0000644 00000000311 15217654522 0016767 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ClassDef#dump_attributes is_singleton: false name: dump_attributes params: () visibility: private ri/1.8/system/XSD/CodeGen/ClassDef/dump_class_def_end-i.yaml 0000644 00000000317 15217654522 0017360 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ClassDef#dump_class_def_end is_singleton: false name: dump_class_def_end params: () visibility: private ri/1.8/system/XSD/CodeGen/ClassDef/def_classvar-i.yaml 0000644 00000000314 15217654522 0016213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ClassDef#def_classvar is_singleton: false name: def_classvar params: (var, value) visibility: public ri/1.8/system/XSD/CodeGen/ClassDef/dump_accessor-i.yaml 0000644 00000000327 15217654522 0016412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ClassDef#dump_accessor is_singleton: false name: dump_accessor params: (attrname, writable) visibility: private ri/1.8/system/XSD/CodeGen/ClassDef/dump_attribute-i.yaml 0000644 00000000342 15217654522 0016610 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ClassDef#dump_attribute is_singleton: false name: dump_attribute params: (attrname, writable, varname) visibility: private ri/1.8/system/XSD/CodeGen/ClassDef/dump-i.yaml 0000644 00000000262 15217654522 0014526 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ClassDef#dump is_singleton: false name: dump params: () visibility: public ri/1.8/system/XSD/CodeGen/CommentDef/dump_comment-i.yaml 0000644 00000000305 15217654522 0016603 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::CommentDef#dump_comment is_singleton: false name: dump_comment params: () visibility: private ri/1.8/system/XSD/CodeGen/CommentDef/cdesc-CommentDef.yaml 0000644 00000000560 15217654522 0016771 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: comment rw: RW class_methods: [] comment: constants: [] full_name: XSD::CodeGen::CommentDef includes: - !ruby/object:RI::IncludedModule name: GenSupport instance_methods: - !ruby/object:RI::MethodSummary name: dump_comment name: CommentDef superclass: ri/1.8/system/XSD/CodeGen/ModuleDef/def_privatemethod-i.yaml 0000644 00000000401 15217654522 0017425 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: if block_given? comment: full_name: XSD::CodeGen::ModuleDef#def_privatemethod is_singleton: false name: def_privatemethod params: (name, *params) {|if block_given?| ...} visibility: public ri/1.8/system/XSD/CodeGen/ModuleDef/new-c.yaml 0000644 00000000265 15217654522 0014527 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ModuleDef::new is_singleton: true name: new params: (name) visibility: public ri/1.8/system/XSD/CodeGen/ModuleDef/def_protectedmethod-i.yaml 0000644 00000000405 15217654522 0017750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: if block_given? comment: full_name: XSD::CodeGen::ModuleDef#def_protectedmethod is_singleton: false name: def_protectedmethod params: (name, *params) {|if block_given?| ...} visibility: public ri/1.8/system/XSD/CodeGen/ModuleDef/dump_methods-i.yaml 0000644 00000000304 15217654522 0016426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ModuleDef#dump_methods is_singleton: false name: dump_methods params: () visibility: private ri/1.8/system/XSD/CodeGen/ModuleDef/dump_module_def_end-i.yaml 0000644 00000000322 15217654522 0017714 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ModuleDef#dump_module_def_end is_singleton: false name: dump_module_def_end params: () visibility: private ri/1.8/system/XSD/CodeGen/ModuleDef/dump_value-i.yaml 0000644 00000000305 15217654522 0016100 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ModuleDef#dump_value is_singleton: false name: dump_value params: (value) visibility: private ri/1.8/system/XSD/CodeGen/ModuleDef/def_method-i.yaml 0000644 00000000447 15217654522 0016044 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: def_publicmethod block_params: if block_given? comment: full_name: XSD::CodeGen::ModuleDef#def_method is_singleton: false name: def_method params: (name, *params) {|if block_given?| ...} visibility: public ri/1.8/system/XSD/CodeGen/ModuleDef/cdesc-ModuleDef.yaml 0000644 00000002601 15217654522 0016435 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: XSD::CodeGen::ModuleDef includes: - !ruby/object:RI::IncludedModule name: GenSupport - !ruby/object:RI::IncludedModule name: CommentDef instance_methods: - !ruby/object:RI::MethodSummary name: add_method - !ruby/object:RI::MethodSummary name: def_code - !ruby/object:RI::MethodSummary name: def_const - !ruby/object:RI::MethodSummary name: def_method - !ruby/object:RI::MethodSummary name: def_privatemethod - !ruby/object:RI::MethodSummary name: def_protectedmethod - !ruby/object:RI::MethodSummary name: def_publicmethod - !ruby/object:RI::MethodSummary name: def_require - !ruby/object:RI::MethodSummary name: dump - !ruby/object:RI::MethodSummary name: dump_code - !ruby/object:RI::MethodSummary name: dump_const - !ruby/object:RI::MethodSummary name: dump_methods - !ruby/object:RI::MethodSummary name: dump_module_def - !ruby/object:RI::MethodSummary name: dump_module_def_end - !ruby/object:RI::MethodSummary name: dump_package_def - !ruby/object:RI::MethodSummary name: dump_package_def_end - !ruby/object:RI::MethodSummary name: dump_requirepath - !ruby/object:RI::MethodSummary name: dump_static - !ruby/object:RI::MethodSummary name: dump_value name: ModuleDef superclass: Object ri/1.8/system/XSD/CodeGen/ModuleDef/dump_static-i.yaml 0000644 00000000305 15217654522 0016253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ModuleDef#dump_static is_singleton: false name: dump_static params: (str) visibility: private ri/1.8/system/XSD/CodeGen/ModuleDef/def_require-i.yaml 0000644 00000000305 15217654522 0016231 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ModuleDef#def_require is_singleton: false name: def_require params: (path) visibility: public ri/1.8/system/XSD/CodeGen/ModuleDef/dump_package_def_end-i.yaml 0000644 00000000333 15217654522 0020024 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ModuleDef#dump_package_def_end is_singleton: false name: dump_package_def_end params: (package) visibility: private ri/1.8/system/XSD/CodeGen/ModuleDef/dump_requirepath-i.yaml 0000644 00000000314 15217654522 0017315 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ModuleDef#dump_requirepath is_singleton: false name: dump_requirepath params: () visibility: private ri/1.8/system/XSD/CodeGen/ModuleDef/dump_module_def-i.yaml 0000644 00000000312 15217654522 0017065 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ModuleDef#dump_module_def is_singleton: false name: dump_module_def params: () visibility: private ri/1.8/system/XSD/CodeGen/ModuleDef/dump_const-i.yaml 0000644 00000000300 15217654522 0016105 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ModuleDef#dump_const is_singleton: false name: dump_const params: () visibility: private ri/1.8/system/XSD/CodeGen/ModuleDef/add_method-i.yaml 0000644 00000000326 15217654522 0016032 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ModuleDef#add_method is_singleton: false name: add_method params: (m, visibility = :public) visibility: public ri/1.8/system/XSD/CodeGen/ModuleDef/def_code-i.yaml 0000644 00000000277 15217654522 0015477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ModuleDef#def_code is_singleton: false name: def_code params: (code) visibility: public ri/1.8/system/XSD/CodeGen/ModuleDef/dump_package_def-i.yaml 0000644 00000000323 15217654522 0017175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ModuleDef#dump_package_def is_singleton: false name: dump_package_def params: (package) visibility: private ri/1.8/system/XSD/CodeGen/ModuleDef/def_publicmethod-i.yaml 0000644 00000000424 15217654522 0017236 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #def_method" full_name: XSD::CodeGen::ModuleDef#def_publicmethod is_singleton: false name: def_publicmethod params: (name, *params) visibility: public ri/1.8/system/XSD/CodeGen/ModuleDef/dump_code-i.yaml 0000644 00000000276 15217654522 0015705 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ModuleDef#dump_code is_singleton: false name: dump_code params: () visibility: private ri/1.8/system/XSD/CodeGen/ModuleDef/def_const-i.yaml 0000644 00000000311 15217654522 0015700 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ModuleDef#def_const is_singleton: false name: def_const params: (const, value) visibility: public ri/1.8/system/XSD/CodeGen/ModuleDef/dump-i.yaml 0000644 00000000263 15217654522 0014707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::ModuleDef#dump is_singleton: false name: dump params: () visibility: public ri/1.8/system/XSD/CodeGen/MethodDef/new-c.yaml 0000644 00000000345 15217654522 0014521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: if block_given? comment: full_name: XSD::CodeGen::MethodDef::new is_singleton: true name: new params: (name, *params) {|if block_given?| ...} visibility: public ri/1.8/system/XSD/CodeGen/MethodDef/dump_definition-i.yaml 0000644 00000000312 15217654522 0017105 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::MethodDef#dump_definition is_singleton: false name: dump_definition params: () visibility: private ri/1.8/system/XSD/CodeGen/MethodDef/cdesc-MethodDef.yaml 0000644 00000001202 15217654522 0016417 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: definition rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: XSD::CodeGen::MethodDef includes: - !ruby/object:RI::IncludedModule name: GenSupport - !ruby/object:RI::IncludedModule name: CommentDef instance_methods: - !ruby/object:RI::MethodSummary name: dump - !ruby/object:RI::MethodSummary name: dump_definition - !ruby/object:RI::MethodSummary name: dump_method_def - !ruby/object:RI::MethodSummary name: dump_method_def_end name: MethodDef superclass: Object ri/1.8/system/XSD/CodeGen/MethodDef/dump_method_def-i.yaml 0000644 00000000312 15217654522 0017053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::MethodDef#dump_method_def is_singleton: false name: dump_method_def params: () visibility: private ri/1.8/system/XSD/CodeGen/MethodDef/dump_method_def_end-i.yaml 0000644 00000000322 15217654522 0017702 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::MethodDef#dump_method_def_end is_singleton: false name: dump_method_def_end params: () visibility: private ri/1.8/system/XSD/CodeGen/MethodDef/dump-i.yaml 0000644 00000000263 15217654522 0014702 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::MethodDef#dump is_singleton: false name: dump params: () visibility: public ri/1.8/system/XSD/CodeGen/cdesc-CodeGen.yaml 0000644 00000000507 15217654522 0014234 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: from the file 'keywords' in 1.9. name: KEYWORD value: "{}" full_name: XSD::CodeGen includes: [] instance_methods: [] name: CodeGen superclass: ri/1.8/system/XSD/CodeGen/GenSupport/safemethodname-i.yaml 0000644 00000000314 15217654522 0017161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::GenSupport#safemethodname is_singleton: false name: safemethodname params: (name) visibility: public ri/1.8/system/XSD/CodeGen/GenSupport/keyword%3f-i.yaml 0000644 00000000300 15217654522 0016156 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::GenSupport#keyword? is_singleton: false name: keyword? params: (word) visibility: public ri/1.8/system/XSD/CodeGen/GenSupport/safeconstname%3f-i.yaml 0000644 00000000314 15217654522 0017325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::GenSupport#safeconstname? is_singleton: false name: safeconstname? params: (name) visibility: public ri/1.8/system/XSD/CodeGen/GenSupport/uncapitalize-i.yaml 0000644 00000000312 15217654522 0016667 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::GenSupport#uncapitalize is_singleton: false name: uncapitalize params: (target) visibility: public ri/1.8/system/XSD/CodeGen/GenSupport/cdesc-GenSupport.yaml 0000644 00000001671 15217654522 0017147 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XSD::CodeGen::GenSupport includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: capitalize - !ruby/object:RI::MethodSummary name: dump_emptyline - !ruby/object:RI::MethodSummary name: format - !ruby/object:RI::MethodSummary name: keyword? - !ruby/object:RI::MethodSummary name: safeconstname - !ruby/object:RI::MethodSummary name: safeconstname? - !ruby/object:RI::MethodSummary name: safemethodname - !ruby/object:RI::MethodSummary name: safemethodname? - !ruby/object:RI::MethodSummary name: safevarname - !ruby/object:RI::MethodSummary name: safevarname? - !ruby/object:RI::MethodSummary name: trim_eol - !ruby/object:RI::MethodSummary name: trim_indent - !ruby/object:RI::MethodSummary name: uncapitalize - !ruby/object:RI::MethodSummary name: untab name: GenSupport superclass: ri/1.8/system/XSD/CodeGen/GenSupport/capitalize-i.yaml 0000644 00000000306 15217654522 0016327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::GenSupport#capitalize is_singleton: false name: capitalize params: (target) visibility: public ri/1.8/system/XSD/CodeGen/GenSupport/untab-i.yaml 0000644 00000000303 15217654522 0015310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::GenSupport#untab is_singleton: false name: untab params: (line, ts = 8) visibility: private ri/1.8/system/XSD/CodeGen/GenSupport/trim_indent-i.yaml 0000644 00000000306 15217654522 0016516 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::GenSupport#trim_indent is_singleton: false name: trim_indent params: (str) visibility: private ri/1.8/system/XSD/CodeGen/GenSupport/safevarname-i.yaml 0000644 00000000306 15217654522 0016472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::GenSupport#safevarname is_singleton: false name: safevarname params: (name) visibility: public ri/1.8/system/XSD/CodeGen/GenSupport/safevarname%3f-i.yaml 0000644 00000000310 15217654522 0016763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::GenSupport#safevarname? is_singleton: false name: safevarname? params: (name) visibility: public ri/1.8/system/XSD/CodeGen/GenSupport/safemethodname%3f-i.yaml 0000644 00000000316 15217654522 0017461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::GenSupport#safemethodname? is_singleton: false name: safemethodname? params: (name) visibility: public ri/1.8/system/XSD/CodeGen/GenSupport/format-i.yaml 0000644 00000000311 15217654522 0015466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::GenSupport#format is_singleton: false name: format params: (str, indent = nil) visibility: public ri/1.8/system/XSD/CodeGen/GenSupport/safeconstname-i.yaml 0000644 00000000312 15217654522 0017025 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::GenSupport#safeconstname is_singleton: false name: safeconstname params: (name) visibility: public ri/1.8/system/XSD/CodeGen/GenSupport/trim_eol-i.yaml 0000644 00000000300 15217654522 0016006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::GenSupport#trim_eol is_singleton: false name: trim_eol params: (str) visibility: private ri/1.8/system/XSD/CodeGen/GenSupport/dump_emptyline-i.yaml 0000644 00000000311 15217654522 0017231 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::CodeGen::GenSupport#dump_emptyline is_singleton: false name: dump_emptyline params: () visibility: private ri/1.8/system/XSD/XSDDuration/new-c.yaml 0000644 00000000265 15217654522 0013523 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDuration::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDDuration/screen_data-i.yaml 0000644 00000000300 15217654522 0015176 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDuration#screen_data is_singleton: false name: screen_data params: (value) visibility: private ri/1.8/system/XSD/XSDDuration/_set-i.yaml 0000644 00000000261 15217654522 0013666 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDuration#_set is_singleton: false name: _set params: (data) visibility: private ri/1.8/system/XSD/XSDDuration/cdesc-XSDDuration.yaml 0000644 00000001654 15217654522 0015740 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: day rw: RW - !ruby/object:RI::Attribute comment: name: hour rw: RW - !ruby/object:RI::Attribute comment: name: min rw: RW - !ruby/object:RI::Attribute comment: name: month rw: RW - !ruby/object:RI::Attribute comment: name: sec rw: RW - !ruby/object:RI::Attribute comment: name: sign rw: RW - !ruby/object:RI::Attribute comment: name: year rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, DurationLiteral) full_name: XSD::XSDDuration includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _set - !ruby/object:RI::MethodSummary name: _to_s - !ruby/object:RI::MethodSummary name: screen_data name: XSDDuration superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDDuration/_to_s-i.yaml 0000644 00000000257 15217654522 0014044 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDuration#_to_s is_singleton: false name: _to_s params: () visibility: private ri/1.8/system/XSD/XSDDouble/new-c.yaml 0000644 00000000263 15217654522 0013146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDouble::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDDouble/screen_data-i.yaml 0000644 00000000276 15217654522 0014637 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDouble#screen_data is_singleton: false name: screen_data params: (value) visibility: private ri/1.8/system/XSD/XSDDouble/cdesc-XSDDouble.yaml 0000644 00000001125 15217654522 0015003 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Ruby's Float is double-precision 64-bit floating point value. constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, DoubleLiteral) full_name: XSD::XSDDouble includes: - !ruby/object:RI::IncludedModule name: FloatConstants instance_methods: - !ruby/object:RI::MethodSummary name: _to_s - !ruby/object:RI::MethodSummary name: screen_data name: XSDDouble superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDDouble/_to_s-i.yaml 0000644 00000000255 15217654522 0013467 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDDouble#_to_s is_singleton: false name: _to_s params: () visibility: private ri/1.8/system/XSD/XSDGDay/new-c.yaml 0000644 00000000261 15217654522 0012556 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDGDay::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDGDay/cdesc-XSDGDay.yaml 0000644 00000000762 15217654522 0014035 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, GDayLiteral) full_name: XSD::XSDGDay includes: - !ruby/object:RI::IncludedModule name: XSDDateTimeImpl instance_methods: - !ruby/object:RI::MethodSummary name: _to_s - !ruby/object:RI::MethodSummary name: screen_data_str name: XSDGDay superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDGDay/screen_data_str-i.yaml 0000644 00000000300 15217654522 0015125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDGDay#screen_data_str is_singleton: false name: screen_data_str params: (t) visibility: private ri/1.8/system/XSD/XSDGDay/_to_s-i.yaml 0000644 00000000253 15217654522 0013077 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDGDay#_to_s is_singleton: false name: _to_s params: () visibility: private ri/1.8/system/XSD/XSDByte/new-c.yaml 0000644 00000000261 15217654522 0012635 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDByte::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDByte/mininclusive-i.yaml 0000644 00000000271 15217654522 0014560 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDByte#mininclusive is_singleton: false name: mininclusive params: () visibility: private ri/1.8/system/XSD/XSDByte/cdesc-XSDByte.yaml 0000644 00000000666 15217654522 0014176 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, ByteLiteral) full_name: XSD::XSDByte includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: maxinclusive - !ruby/object:RI::MethodSummary name: mininclusive name: XSDByte superclass: XSDShort ri/1.8/system/XSD/XSDByte/maxinclusive-i.yaml 0000644 00000000271 15217654522 0014562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDByte#maxinclusive is_singleton: false name: maxinclusive params: () visibility: private ri/1.8/system/XSD/XSDPositiveInteger/new-c.yaml 0000644 00000000274 15217654522 0015056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDPositiveInteger::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDPositiveInteger/mininclusive-i.yaml 0000644 00000000304 15217654522 0016772 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDPositiveInteger#mininclusive is_singleton: false name: mininclusive params: () visibility: private ri/1.8/system/XSD/XSDPositiveInteger/cdesc-XSDPositiveInteger.yaml 0000644 00000000744 15217654522 0020625 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, PositiveIntegerLiteral) full_name: XSD::XSDPositiveInteger includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: maxinclusive - !ruby/object:RI::MethodSummary name: mininclusive name: XSDPositiveInteger superclass: XSDNonNegativeInteger ri/1.8/system/XSD/XSDPositiveInteger/maxinclusive-i.yaml 0000644 00000000304 15217654522 0016774 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDPositiveInteger#maxinclusive is_singleton: false name: maxinclusive params: () visibility: private ri/1.8/system/XSD/XSDUnsignedInt/new-c.yaml 0000644 00000000270 15217654522 0014161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDUnsignedInt::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDUnsignedInt/mininclusive-i.yaml 0000644 00000000300 15217654522 0016075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDUnsignedInt#mininclusive is_singleton: false name: mininclusive params: () visibility: private ri/1.8/system/XSD/XSDUnsignedInt/cdesc-XSDUnsignedInt.yaml 0000644 00000000722 15217654522 0017037 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, UnsignedIntLiteral) full_name: XSD::XSDUnsignedInt includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: maxinclusive - !ruby/object:RI::MethodSummary name: mininclusive name: XSDUnsignedInt superclass: XSDUnsignedLong ri/1.8/system/XSD/XSDUnsignedInt/maxinclusive-i.yaml 0000644 00000000300 15217654522 0016077 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDUnsignedInt#maxinclusive is_singleton: false name: maxinclusive params: () visibility: private ri/1.8/system/XSD/XSDNegativeInteger/new-c.yaml 0000644 00000000274 15217654522 0015016 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDNegativeInteger::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDNegativeInteger/mininclusive-i.yaml 0000644 00000000304 15217654522 0016732 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDNegativeInteger#mininclusive is_singleton: false name: mininclusive params: () visibility: private ri/1.8/system/XSD/XSDNegativeInteger/cdesc-XSDNegativeInteger.yaml 0000644 00000000744 15217654522 0020525 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, NegativeIntegerLiteral) full_name: XSD::XSDNegativeInteger includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: maxinclusive - !ruby/object:RI::MethodSummary name: mininclusive name: XSDNegativeInteger superclass: XSDNonPositiveInteger ri/1.8/system/XSD/XSDNegativeInteger/maxinclusive-i.yaml 0000644 00000000304 15217654522 0016734 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDNegativeInteger#maxinclusive is_singleton: false name: maxinclusive params: () visibility: private ri/1.8/system/XSD/NS/new-c.yaml 0000644 00000000254 15217654522 0011675 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NS::new is_singleton: true name: new params: (tag2ns = {}) visibility: public ri/1.8/system/XSD/NS/assign-i.yaml 0000644 00000000264 15217654522 0012377 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NS#assign is_singleton: false name: assign params: (ns, tag = nil) visibility: public ri/1.8/system/XSD/NS/Assigner/new-c.yaml 0000644 00000000253 15217654522 0013447 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NS::Assigner::new is_singleton: true name: new params: () visibility: public ri/1.8/system/XSD/NS/Assigner/assign-i.yaml 0000644 00000000263 15217654522 0014151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NS::Assigner#assign is_singleton: false name: assign params: (ns) visibility: public ri/1.8/system/XSD/NS/Assigner/cdesc-Assigner.yaml 0000644 00000000437 15217654522 0015274 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: XSD::NS::Assigner includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: assign name: Assigner superclass: Object ri/1.8/system/XSD/NS/each_ns-i.yaml 0000644 00000000302 15217654522 0012504 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (ns, tag) comment: full_name: XSD::NS#each_ns is_singleton: false name: each_ns params: () {|ns, tag| ...} visibility: public ri/1.8/system/XSD/NS/cdesc-NS.yaml 0000644 00000001712 15217654522 0012263 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: default_namespace rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: $1 and $2 are necessary. name: ParseRegexp value: Regexp.new('^([^:]+)(?::(.+))?$') full_name: XSD::NS includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: assign - !ruby/object:RI::MethodSummary name: assigned? - !ruby/object:RI::MethodSummary name: assigned_tag? - !ruby/object:RI::MethodSummary name: assigner= - !ruby/object:RI::MethodSummary name: clone_ns - !ruby/object:RI::MethodSummary name: compare - !ruby/object:RI::MethodSummary name: each_ns - !ruby/object:RI::MethodSummary name: name - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: parse_local name: NS superclass: Object ri/1.8/system/XSD/NS/name-i.yaml 0000644 00000000247 15217654522 0012034 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NS#name is_singleton: false name: name params: (name) visibility: public ri/1.8/system/XSD/NS/assigned%3f-i.yaml 0000644 00000000257 15217654522 0013210 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NS#assigned? is_singleton: false name: assigned? params: (ns) visibility: public ri/1.8/system/XSD/NS/assigned_tag%3f-i.yaml 0000644 00000000270 15217654522 0014036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NS#assigned_tag? is_singleton: false name: assigned_tag? params: (tag) visibility: public ri/1.8/system/XSD/NS/parse_local-i.yaml 0000644 00000000656 15217654522 0013404 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: For local attribute key parsing - !ruby/struct:SM::Flow::VERB body: " <foo xmlns="urn:a" xmlns:n1="urn:a" bar="1" n1:baz="2" />\n =>\n {}bar, {urn:a}baz\n" full_name: XSD::NS#parse_local is_singleton: false name: parse_local params: (elem) visibility: public ri/1.8/system/XSD/NS/FormatError/cdesc-FormatError.yaml 0000644 00000000313 15217654522 0016443 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XSD::NS::FormatError includes: [] instance_methods: [] name: FormatError superclass: Error ri/1.8/system/XSD/NS/clone_ns-i.yaml 0000644 00000000253 15217654522 0012711 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NS#clone_ns is_singleton: false name: clone_ns params: () visibility: public ri/1.8/system/XSD/NS/assigner%3d-i.yaml 0000644 00000000270 15217654522 0013217 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NS#assigner= is_singleton: false name: assigner= params: (assigner) visibility: protected ri/1.8/system/XSD/NS/parse-i.yaml 0000644 00000000267 15217654522 0012230 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NS#parse is_singleton: false name: parse params: (str, local = false) visibility: public ri/1.8/system/XSD/NS/compare-i.yaml 0000644 00000000266 15217654522 0012543 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::NS#compare is_singleton: false name: compare params: (ns, name, rhs) visibility: public ri/1.8/system/XSD/XSDQName/new-c.yaml 0000644 00000000262 15217654522 0012734 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDQName::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDQName/cdesc-XSDQName.yaml 0000644 00000000750 15217654522 0014364 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, QNameLiteral) full_name: XSD::XSDQName includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _set - !ruby/object:RI::MethodSummary name: _to_s - !ruby/object:RI::MethodSummary name: screen_data name: XSDQName superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDQName/screen_data-i.yaml 0000644 00000000275 15217654522 0014425 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDQName#screen_data is_singleton: false name: screen_data params: (value) visibility: private ri/1.8/system/XSD/XSDQName/_set-i.yaml 0000644 00000000256 15217654522 0013106 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDQName#_set is_singleton: false name: _set params: (data) visibility: private ri/1.8/system/XSD/XSDQName/_to_s-i.yaml 0000644 00000000254 15217654522 0013255 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDQName#_to_s is_singleton: false name: _to_s params: () visibility: private ri/1.8/system/XSD/XSDNil/new-c.yaml 0000644 00000000260 15217654522 0012453 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDNil::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDNil/cdesc-XSDNil.yaml 0000644 00000000631 15217654522 0013624 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, NilLiteral) - !ruby/object:RI::Constant comment: name: Value value: "'true'" full_name: XSD::XSDNil includes: [] instance_methods: [] name: XSDNil superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDNonNegativeInteger/new-c.yaml 0000644 00000000277 15217654522 0015474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDNonNegativeInteger::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDNonNegativeInteger/mininclusive-i.yaml 0000644 00000000307 15217654522 0017410 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDNonNegativeInteger#mininclusive is_singleton: false name: mininclusive params: () visibility: private ri/1.8/system/XSD/XSDNonNegativeInteger/maxinclusive-i.yaml 0000644 00000000307 15217654522 0017412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDNonNegativeInteger#maxinclusive is_singleton: false name: maxinclusive params: () visibility: private ri/1.8/system/XSD/XSDNonNegativeInteger/cdesc-XSDNonNegativeInteger.yaml 0000644 00000000742 15217654522 0021651 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, NonNegativeIntegerLiteral) full_name: XSD::XSDNonNegativeInteger includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: maxinclusive - !ruby/object:RI::MethodSummary name: mininclusive name: XSDNonNegativeInteger superclass: XSDInteger ri/1.8/system/XSD/XSDFloat/new-c.yaml 0000644 00000000262 15217654522 0013000 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDFloat::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/XSD/XSDFloat/narrow32bit-i.yaml 0000644 00000000426 15217654522 0014373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert to single-precision 32-bit floating point value. full_name: XSD::XSDFloat#narrow32bit is_singleton: false name: narrow32bit params: (f) visibility: private ri/1.8/system/XSD/XSDFloat/screen_data-i.yaml 0000644 00000000275 15217654522 0014471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDFloat#screen_data is_singleton: false name: screen_data params: (value) visibility: private ri/1.8/system/XSD/XSDFloat/positive%3f-c.yaml 0000644 00000000271 15217654522 0014347 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDFloat::positive? is_singleton: true name: positive? params: (value) visibility: private ri/1.8/system/XSD/XSDFloat/cdesc-XSDFloat.yaml 0000644 00000001132 15217654522 0014467 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: positive? comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(Namespace, FloatLiteral) full_name: XSD::XSDFloat includes: - !ruby/object:RI::IncludedModule name: FloatConstants instance_methods: - !ruby/object:RI::MethodSummary name: _to_s - !ruby/object:RI::MethodSummary name: narrow32bit - !ruby/object:RI::MethodSummary name: screen_data name: XSDFloat superclass: XSDAnySimpleType ri/1.8/system/XSD/XSDFloat/_to_s-i.yaml 0000644 00000000254 15217654522 0013321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XSD::XSDFloat#_to_s is_singleton: false name: _to_s params: () visibility: private ri/1.8/system/RubyLex/new-c.yaml 0000644 00000000250 15217654522 0012305 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex::new is_singleton: true name: new params: (content) visibility: public ri/1.8/system/RubyLex/identify_string-i.yaml 0000644 00000000316 15217654522 0014726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#identify_string is_singleton: false name: identify_string params: (ltype, quoted = ltype) visibility: public ri/1.8/system/RubyLex/read_escape-i.yaml 0000644 00000000261 15217654522 0013757 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#read_escape is_singleton: false name: read_escape params: () visibility: public ri/1.8/system/RubyLex/lex_init-i.yaml 0000644 00000000253 15217654522 0013340 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#lex_init is_singleton: false name: lex_init params: () visibility: public ri/1.8/system/RubyLex/get_read-i.yaml 0000644 00000000253 15217654522 0013277 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#get_read is_singleton: false name: get_read params: () visibility: public ri/1.8/system/RubyLex/identify_quotation-i.yaml 0000644 00000000277 15217654522 0015451 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#identify_quotation is_singleton: false name: identify_quotation params: () visibility: public ri/1.8/system/RubyLex/each_top_level_statement-i.yaml 0000644 00000000374 15217654522 0016566 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "@line, @exp_line_no" comment: full_name: RubyLex#each_top_level_statement is_singleton: false name: each_top_level_statement params: () {|@line, @exp_line_no| ...} visibility: public ri/1.8/system/RubyLex/initialize_input-i.yaml 0000644 00000000273 15217654522 0015107 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#initialize_input is_singleton: false name: initialize_input params: () visibility: public ri/1.8/system/RubyLex/buf_input-i.yaml 0000644 00000000256 15217654522 0013523 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#buf_input is_singleton: false name: buf_input params: () visibility: private ri/1.8/system/RubyLex/cdesc-RubyLex.yaml 0000644 00000014127 15217654522 0013755 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: char_no rw: R - !ruby/object:RI::Attribute comment: name: continue rw: R - !ruby/object:RI::Attribute comment: name: debug_level rw: RW - !ruby/object:RI::Attribute comment: name: exception_on_syntax_error rw: RW - !ruby/object:RI::Attribute comment: name: exception_on_syntax_error rw: RW - !ruby/object:RI::Attribute comment: name: indent rw: R - !ruby/object:RI::Attribute comment: name: indent rw: R - !ruby/object:RI::Attribute comment: name: lex_state rw: R - !ruby/object:RI::Attribute comment: name: line_no rw: R - !ruby/object:RI::Attribute comment: name: read_auto_clean_up rw: RW - !ruby/object:RI::Attribute comment: name: readed_auto_clean_up rw: RW - !ruby/object:RI::Attribute comment: name: seek rw: R - !ruby/object:RI::Attribute comment: name: skip_space rw: RW - !ruby/object:RI::Attribute comment: name: skip_space rw: RW class_methods: - !ruby/object:RI::MethodSummary name: debug? - !ruby/object:RI::MethodSummary name: debug? - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Lexical analyzer for Ruby source constants: - !ruby/object:RI::Constant comment: name: ENINDENT_CLAUSE value: "[ \"case\", \"class\", \"def\", \"do\", \"for\", \"if\", \"module\", \"unless\", \"until\", \"while\", \"begin\"" - !ruby/object:RI::Constant comment: name: DEINDENT_CLAUSE value: "[\"end\"" - !ruby/object:RI::Constant comment: name: PERCENT_LTYPE value: "{ \"q\" => \"\\'\", \"Q\" => \"\\\"\", \"x\" => \"\\`\", \"r\" => \"/\", \"w\" => \"]\", \"W\" => \"]\", \"s\" => \":\"" - !ruby/object:RI::Constant comment: name: PERCENT_PAREN value: "{ \"{\" => \"}\", \"[\" => \"]\", \"<\" => \">\", \"(\" => \")\"" - !ruby/object:RI::Constant comment: name: Ltype2Token value: "{ \"\\'\" => TkSTRING, \"\\\"\" => TkSTRING, \"\\`\" => TkXSTRING, \"/\" => TkREGEXP, \"]\" => TkDSTRING, \":\" => TkSYMBOL" - !ruby/object:RI::Constant comment: name: DLtype2Token value: "{ \"\\\"\" => TkDSTRING, \"\\`\" => TkDXSTRING, \"/\" => TkDREGEXP, }" - !ruby/object:RI::Constant comment: name: ENINDENT_CLAUSE value: "[ \"case\", \"class\", \"def\", \"do\", \"for\", \"if\", \"module\", \"unless\", \"until\", \"while\", \"begin\"" - !ruby/object:RI::Constant comment: name: DEINDENT_CLAUSE value: "[\"end\"" - !ruby/object:RI::Constant comment: name: PERCENT_LTYPE value: "{ \"q\" => \"\\'\", \"Q\" => \"\\\"\", \"x\" => \"\\`\", \"r\" => \"/\", \"w\" => \"]\"" - !ruby/object:RI::Constant comment: name: PERCENT_PAREN value: "{ \"{\" => \"}\", \"[\" => \"]\", \"<\" => \">\", \"(\" => \")\"" - !ruby/object:RI::Constant comment: name: Ltype2Token value: "{ \"\\'\" => TkSTRING, \"\\\"\" => TkSTRING, \"\\`\" => TkXSTRING, \"/\" => TkREGEXP, \"]\" => TkDSTRING" - !ruby/object:RI::Constant comment: name: DLtype2Token value: "{ \"\\\"\" => TkDSTRING, \"\\`\" => TkDXSTRING, \"/\" => TkDREGEXP, }" full_name: RubyLex includes: - !ruby/object:RI::IncludedModule name: RubyToken - !ruby/object:RI::IncludedModule name: RubyToken - !ruby/object:RI::IncludedModule name: IRB instance_methods: - !ruby/object:RI::MethodSummary name: buf_input - !ruby/object:RI::MethodSummary name: char_no - !ruby/object:RI::MethodSummary name: each_top_level_statement - !ruby/object:RI::MethodSummary name: eof? - !ruby/object:RI::MethodSummary name: get_read - !ruby/object:RI::MethodSummary name: get_readed - !ruby/object:RI::MethodSummary name: getc - !ruby/object:RI::MethodSummary name: getc - !ruby/object:RI::MethodSummary name: getc_of_rests - !ruby/object:RI::MethodSummary name: getc_of_rests - !ruby/object:RI::MethodSummary name: gets - !ruby/object:RI::MethodSummary name: gets - !ruby/object:RI::MethodSummary name: identify_comment - !ruby/object:RI::MethodSummary name: identify_comment - !ruby/object:RI::MethodSummary name: identify_gvar - !ruby/object:RI::MethodSummary name: identify_gvar - !ruby/object:RI::MethodSummary name: identify_here_document - !ruby/object:RI::MethodSummary name: identify_here_document - !ruby/object:RI::MethodSummary name: identify_identifier - !ruby/object:RI::MethodSummary name: identify_identifier - !ruby/object:RI::MethodSummary name: identify_number - !ruby/object:RI::MethodSummary name: identify_number - !ruby/object:RI::MethodSummary name: identify_quotation - !ruby/object:RI::MethodSummary name: identify_quotation - !ruby/object:RI::MethodSummary name: identify_string - !ruby/object:RI::MethodSummary name: identify_string - !ruby/object:RI::MethodSummary name: initialize_input - !ruby/object:RI::MethodSummary name: lex - !ruby/object:RI::MethodSummary name: lex - !ruby/object:RI::MethodSummary name: lex_init - !ruby/object:RI::MethodSummary name: lex_init - !ruby/object:RI::MethodSummary name: lex_int2 - !ruby/object:RI::MethodSummary name: lex_int2 - !ruby/object:RI::MethodSummary name: line_no - !ruby/object:RI::MethodSummary name: peek - !ruby/object:RI::MethodSummary name: peek - !ruby/object:RI::MethodSummary name: peek_equal? - !ruby/object:RI::MethodSummary name: peek_equal? - !ruby/object:RI::MethodSummary name: peek_match? - !ruby/object:RI::MethodSummary name: prompt - !ruby/object:RI::MethodSummary name: read_escape - !ruby/object:RI::MethodSummary name: read_escape - !ruby/object:RI::MethodSummary name: set_input - !ruby/object:RI::MethodSummary name: set_prompt - !ruby/object:RI::MethodSummary name: skip_inner_expression - !ruby/object:RI::MethodSummary name: token - !ruby/object:RI::MethodSummary name: token - !ruby/object:RI::MethodSummary name: ungetc - !ruby/object:RI::MethodSummary name: ungetc name: RubyLex superclass: Object ri/1.8/system/RubyLex/identify_number-i.yaml 0000644 00000000276 15217654522 0014715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#identify_number is_singleton: false name: identify_number params: (start) visibility: public ri/1.8/system/RubyLex/lex_int2-i.yaml 0000644 00000000253 15217654522 0013251 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#lex_int2 is_singleton: false name: lex_int2 params: () visibility: public ri/1.8/system/RubyLex/get_readed-i.yaml 0000644 00000000257 15217654522 0013614 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#get_readed is_singleton: false name: get_readed params: () visibility: public ri/1.8/system/RubyLex/peek-i.yaml 0000644 00000000250 15217654522 0012446 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#peek is_singleton: false name: peek params: (i = 0) visibility: public ri/1.8/system/RubyLex/getc-i.yaml 0000644 00000000243 15217654522 0012446 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#getc is_singleton: false name: getc params: () visibility: public ri/1.8/system/RubyLex/token-i.yaml 0000644 00000000245 15217654522 0012646 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#token is_singleton: false name: token params: () visibility: public ri/1.8/system/RubyLex/peek_match%3f-i.yaml 0000644 00000000267 15217654522 0014130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#peek_match? is_singleton: false name: peek_match? params: (regexp) visibility: public ri/1.8/system/RubyLex/char_no-i.yaml 0000644 00000000251 15217654522 0013134 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#char_no is_singleton: false name: char_no params: () visibility: public ri/1.8/system/RubyLex/set_input-i.yaml 0000644 00000000361 15217654522 0013537 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: io functions full_name: RubyLex#set_input is_singleton: false name: set_input params: (io, p = nil, &block) visibility: public ri/1.8/system/RubyLex/eof%3f-i.yaml 0000644 00000000243 15217654522 0012573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#eof? is_singleton: false name: eof? params: () visibility: public ri/1.8/system/RubyLex/set_prompt-i.yaml 0000644 00000000276 15217654522 0013726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#set_prompt is_singleton: false name: set_prompt params: (p = nil, &block) visibility: public ri/1.8/system/RubyLex/line_no-i.yaml 0000644 00000000332 15217654522 0013146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: io functions full_name: RubyLex#line_no is_singleton: false name: line_no params: () visibility: public ri/1.8/system/RubyLex/skip_inner_expression-i.yaml 0000644 00000000305 15217654522 0016143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#skip_inner_expression is_singleton: false name: skip_inner_expression params: () visibility: public ri/1.8/system/RubyLex/peek_equal%3f-i.yaml 0000644 00000000264 15217654522 0014140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#peek_equal? is_singleton: false name: peek_equal? params: (str) visibility: public ri/1.8/system/RubyLex/gets-i.yaml 0000644 00000000243 15217654522 0012466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#gets is_singleton: false name: gets params: () visibility: public ri/1.8/system/RubyLex/prompt-i.yaml 0000644 00000000247 15217654522 0013051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#prompt is_singleton: false name: prompt params: () visibility: public ri/1.8/system/RubyLex/debug%3f-c.yaml 0000644 00000000247 15217654522 0013106 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex::debug? is_singleton: true name: debug? params: () visibility: public ri/1.8/system/RubyLex/identify_here_document-i.yaml 0000644 00000000307 15217654522 0016241 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#identify_here_document is_singleton: false name: identify_here_document params: () visibility: public ri/1.8/system/RubyLex/ungetc-i.yaml 0000644 00000000256 15217654522 0013015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#ungetc is_singleton: false name: ungetc params: (c = nil) visibility: public ri/1.8/system/RubyLex/identify_identifier-i.yaml 0000644 00000000301 15217654522 0015534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#identify_identifier is_singleton: false name: identify_identifier params: () visibility: public ri/1.8/system/RubyLex/lex-i.yaml 0000644 00000000241 15217654522 0012312 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#lex is_singleton: false name: lex params: () visibility: public ri/1.8/system/RubyLex/getc_of_rests-i.yaml 0000644 00000000265 15217654522 0014356 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#getc_of_rests is_singleton: false name: getc_of_rests params: () visibility: public ri/1.8/system/RubyLex/BufferedReader/new-c.yaml 0000644 00000000270 15217654522 0015154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex::BufferedReader::new is_singleton: true name: new params: (content) visibility: public ri/1.8/system/RubyLex/BufferedReader/get_read-i.yaml 0000644 00000000273 15217654522 0016146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex::BufferedReader#get_read is_singleton: false name: get_read params: () visibility: public ri/1.8/system/RubyLex/BufferedReader/peek-i.yaml 0000644 00000000265 15217654522 0015321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex::BufferedReader#peek is_singleton: false name: peek params: (at) visibility: public ri/1.8/system/RubyLex/BufferedReader/getc-i.yaml 0000644 00000000263 15217654522 0015315 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex::BufferedReader#getc is_singleton: false name: getc params: () visibility: public ri/1.8/system/RubyLex/BufferedReader/getc_already_read-i.yaml 0000644 00000000315 15217654522 0020007 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex::BufferedReader#getc_already_read is_singleton: false name: getc_already_read params: () visibility: public ri/1.8/system/RubyLex/BufferedReader/column-i.yaml 0000644 00000000267 15217654522 0015674 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex::BufferedReader#column is_singleton: false name: column params: () visibility: public ri/1.8/system/RubyLex/BufferedReader/ungetc-i.yaml 0000644 00000000271 15217654522 0015657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex::BufferedReader#ungetc is_singleton: false name: ungetc params: (ch) visibility: public ri/1.8/system/RubyLex/BufferedReader/cdesc-BufferedReader.yaml 0000644 00000003527 15217654522 0020077 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: line_num rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Read an input stream character by character. We allow for unlimited ungetting of characters just read. - !ruby/struct:SM::Flow::P body: We simplify the implementation greatly by reading the entire input into a buffer initially, and then simply traversing it using pointers. - !ruby/struct:SM::Flow::P body: "We also have to allow for the here document diversion. This little gem comes about when the lexer encounters a here document. At this point we effectively need to split the input stream into two parts: one to read the body of the here document, the other to read the rest of the input line where the here document was initially encountered. For example, we might have" - !ruby/struct:SM::Flow::VERB body: " do_something(<<-A, <<-B)\n stuff\n for\n A\n stuff\n for\n B\n" - !ruby/struct:SM::Flow::P body: When the lexer encounters the <<A, it reads until the end of the line, and keeps it around for later. It then reads the body of the here document. Once complete, it needs to read the rest of the original line, but then skip the here document body. constants: [] full_name: RubyLex::BufferedReader includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: column - !ruby/object:RI::MethodSummary name: divert_read_from - !ruby/object:RI::MethodSummary name: get_read - !ruby/object:RI::MethodSummary name: getc - !ruby/object:RI::MethodSummary name: getc_already_read - !ruby/object:RI::MethodSummary name: peek - !ruby/object:RI::MethodSummary name: peek_equal - !ruby/object:RI::MethodSummary name: ungetc name: BufferedReader superclass: Object ri/1.8/system/RubyLex/BufferedReader/peek_equal-i.yaml 0000644 00000000302 15217654522 0016500 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex::BufferedReader#peek_equal is_singleton: false name: peek_equal params: (str) visibility: public ri/1.8/system/RubyLex/BufferedReader/divert_read_from-i.yaml 0000644 00000000322 15217654522 0017702 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex::BufferedReader#divert_read_from is_singleton: false name: divert_read_from params: (reserve) visibility: public ri/1.8/system/RubyLex/identify_comment-i.yaml 0000644 00000000273 15217654522 0015064 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#identify_comment is_singleton: false name: identify_comment params: () visibility: public ri/1.8/system/RubyLex/identify_gvar-i.yaml 0000644 00000000265 15217654522 0014362 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyLex#identify_gvar is_singleton: false name: identify_gvar params: () visibility: public ri/1.8/system/TrueClass/to_s-i.yaml 0000644 00000000442 15217654522 0013004 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The string representation of true is "true". full_name: TrueClass#to_s is_singleton: false name: to_s params: | true.to_s => "true" visibility: public ri/1.8/system/TrueClass/%26-i.yaml 0000644 00000000517 15217654522 0012337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: And---Returns false if obj is nil or false, true otherwise. full_name: TrueClass#& is_singleton: false name: "&" params: | true & obj => true or false visibility: public ri/1.8/system/TrueClass/cdesc-TrueClass.yaml 0000644 00000001256 15217654522 0014602 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The global value true is the only instance of class TrueClass and represents a logically true value in boolean expressions. The class provides operators allowing true to be used in logical expressions. constants: [] full_name: TrueClass includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "&" - !ruby/object:RI::MethodSummary name: ^ - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: "|" name: TrueClass superclass: Object ri/1.8/system/TrueClass/%7c-i.yaml 0000644 00000001125 15217654522 0012415 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Or---Returns true. As anObject is an argument to a method call, it is always evaluated; there is no short-circuit evaluation in this case. - !ruby/struct:SM::Flow::VERB body: " true | puts("or")\n true || puts("logical or")\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " or\n" full_name: TrueClass#| is_singleton: false name: "|" params: | true | obj => true visibility: public ri/1.8/system/TrueClass/%5e-i.yaml 0000644 00000000514 15217654522 0012416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Exclusive Or---Returns true if obj is nil or false, false otherwise. full_name: TrueClass#^ is_singleton: false name: ^ params: | true ^ obj => !obj visibility: public ri/1.8/system/TrueClass/to_yaml-i.yaml 0000644 00000000266 15217654522 0013510 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: TrueClass#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/FalseClass/to_s-i.yaml 0000644 00000000364 15217654522 0013122 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "'nuf said..." full_name: FalseClass#to_s is_singleton: false name: to_s params: | false.to_s => "false" visibility: public ri/1.8/system/FalseClass/%26-i.yaml 0000644 00000000623 15217654522 0012450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: And---Returns false. obj is always evaluated as it is the argument to a method call---there is no short-circuit evaluation in this case. full_name: FalseClass#& is_singleton: false name: "&" params: | false & obj => false nil & obj => false visibility: public ri/1.8/system/FalseClass/cdesc-FalseClass.yaml 0000644 00000001302 15217654522 0015020 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The global value false is the only instance of class FalseClass and represents a logically false value in boolean expressions. The class provides operators allowing false to participate correctly in logical expressions. constants: [] full_name: FalseClass includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "&" - !ruby/object:RI::MethodSummary name: ^ - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: "|" name: FalseClass superclass: Object ri/1.8/system/FalseClass/%7c-i.yaml 0000644 00000000564 15217654522 0012536 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Or---Returns false if obj is nil or false; true otherwise. full_name: FalseClass#| is_singleton: false name: "|" params: | false | obj => true or false nil | obj => true or false visibility: public ri/1.8/system/FalseClass/%5e-i.yaml 0000644 00000000604 15217654522 0012531 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Exclusive Or---If obj is nil or false, returns false; otherwise, returns true. full_name: FalseClass#^ is_singleton: false name: ^ params: | false ^ obj => true or false nil ^ obj => true or false visibility: public ri/1.8/system/FalseClass/to_yaml-i.yaml 0000644 00000000267 15217654522 0013624 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: FalseClass#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/Mail/new-c.yaml 0000644 00000001104 15217654522 0011574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new Mail where f is either a stream which responds to gets(), or a path to a file. If f is a path it will be opened. - !ruby/struct:SM::Flow::P body: "The whole message is read so it can be made available through the #header, #[] and #body methods." - !ruby/struct:SM::Flow::P body: The "From " line is ignored if the mail is in mbox format. full_name: Mail::new is_singleton: true name: new params: (f) visibility: public ri/1.8/system/Mail/%5b%5d-i.yaml 0000644 00000000474 15217654522 0011673 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the header corresponding to field. - !ruby/struct:SM::Flow::P body: Matching is case-insensitive. full_name: Mail#[] is_singleton: false name: "[]" params: (field) visibility: public ri/1.8/system/Mail/cdesc-Mail.yaml 0000644 00000000765 15217654522 0012540 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: The Mail class represents an internet mail message (as per RFC822, RFC2822) with headers and a body. constants: [] full_name: Mail includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: body - !ruby/object:RI::MethodSummary name: header name: Mail superclass: Object ri/1.8/system/Mail/header-i.yaml 0000644 00000000346 15217654522 0012250 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the headers as a Hash. full_name: Mail#header is_singleton: false name: header params: () visibility: public ri/1.8/system/Mail/body-i.yaml 0000644 00000000361 15217654522 0011752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the message body as an Array of lines full_name: Mail#body is_singleton: false name: body params: () visibility: public ri/1.8/system/Observable/changed-i.yaml 0000644 00000000520 15217654522 0013605 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the changed state of this object. Notifications will be sent only if the changed state is true. full_name: Observable#changed is_singleton: false name: changed params: (state=true) visibility: public ri/1.8/system/Observable/delete_observer-i.yaml 0000644 00000000511 15217654522 0015365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Delete observer as an observer on this object. It will no longer receive notifications. full_name: Observable#delete_observer is_singleton: false name: delete_observer params: (observer) visibility: public ri/1.8/system/Observable/delete_observers-i.yaml 0000644 00000000424 15217654522 0015553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Delete all observers associated with this object. full_name: Observable#delete_observers is_singleton: false name: delete_observers params: () visibility: public ri/1.8/system/Observable/notify_observers-i.yaml 0000644 00000000660 15217654522 0015623 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: If this object's changed state is true, invoke the update method in each currently associated observer in turn, passing it the given arguments. The changed state is then set to false. full_name: Observable#notify_observers is_singleton: false name: notify_observers params: (*arg) visibility: public ri/1.8/system/Observable/add_observer-i.yaml 0000644 00000000511 15217654522 0014653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Add observer as an observer on this object. observer will now receive notifications. full_name: Observable#add_observer is_singleton: false name: add_observer params: (observer) visibility: public ri/1.8/system/Observable/changed%3f-i.yaml 0000644 00000000372 15217654522 0014110 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Query the changed state of this object. full_name: Observable#changed? is_singleton: false name: changed? params: () visibility: public ri/1.8/system/Observable/count_observers-i.yaml 0000644 00000000434 15217654522 0015442 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the number of observers associated with this object. full_name: Observable#count_observers is_singleton: false name: count_observers params: () visibility: public ri/1.8/system/Observable/cdesc-Observable.yaml 0000644 00000001375 15217654522 0015142 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Implements the Observable design pattern as a mixin so that other objects can be notified of changes in state. See observer.rb for details and an example. constants: [] full_name: Observable includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_observer - !ruby/object:RI::MethodSummary name: changed - !ruby/object:RI::MethodSummary name: changed? - !ruby/object:RI::MethodSummary name: count_observers - !ruby/object:RI::MethodSummary name: delete_observer - !ruby/object:RI::MethodSummary name: delete_observers - !ruby/object:RI::MethodSummary name: notify_observers name: Observable superclass: ri/1.8/system/SimpleDelegator/new-c.yaml 0000644 00000000425 15217654522 0013777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Pass in the obj you would like to delegate method calls to. full_name: SimpleDelegator::new is_singleton: true name: new params: (obj) visibility: public ri/1.8/system/SimpleDelegator/dup-i.yaml 0000644 00000000410 15217654522 0013776 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Duplication support for the object returned by __getobj__. full_name: SimpleDelegator#dup is_singleton: false name: dup params: () visibility: public ri/1.8/system/SimpleDelegator/clone-i.yaml 0000644 00000000406 15217654522 0014313 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Clone support for the object returned by __getobj__. full_name: SimpleDelegator#clone is_singleton: false name: clone params: () visibility: public ri/1.8/system/SimpleDelegator/__getobj__-i.yaml 0000644 00000000433 15217654522 0015261 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the current object method calls are being delegated to. full_name: SimpleDelegator#__getobj__ is_singleton: false name: __getobj__ params: () visibility: public ri/1.8/system/SimpleDelegator/cdesc-SimpleDelegator.yaml 0000644 00000001314 15217654522 0017123 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A concrete implementation of Delegator, this class provides the means to delegate all supported method calls to the object passed into the constructor and even to change the object being delegated to at a later time with __setobj__ . constants: [] full_name: SimpleDelegator includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: __getobj__ - !ruby/object:RI::MethodSummary name: __setobj__ - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: dup name: SimpleDelegator superclass: Delegator ri/1.8/system/SimpleDelegator/__setobj__-i.yaml 0000644 00000001457 15217654522 0015304 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Changes the delegate object to obj. - !ruby/struct:SM::Flow::P body: It's important to note that this does not cause SimpleDelegator's methods to change. Because of this, you probably only want to change delegation to objects of the same type as the original delegate. - !ruby/struct:SM::Flow::P body: Here's an example of changing the delegation object. - !ruby/struct:SM::Flow::VERB body: " names = SimpleDelegator.new(%w{James Edward Gray II})\n puts names[1] # => Edward\n names.setobj(%w{Gavin Sinclair})\n puts names[1] # => Sinclair\n" full_name: SimpleDelegator#__setobj__ is_singleton: false name: __setobj__ params: (obj) visibility: public ri/1.8/system/Pathname/cleanpath_conservative-i.yaml 0000644 00000000311 15217654522 0016412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Pathname#cleanpath_conservative is_singleton: false name: cleanpath_conservative params: () visibility: private ri/1.8/system/Pathname/cdesc-Pathname.yaml 0000644 00000037014 15217654522 0014263 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: getwd - !ruby/object:RI::MethodSummary name: glob - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::H level: 2 text: Pathname - !ruby/struct:SM::Flow::P body: "Pathname represents a pathname which locates a file in a filesystem. The pathname depends on OS: Unix, Windows, etc. Pathname library works with pathnames of local OS. However non-Unix pathnames are supported experimentally." - !ruby/struct:SM::Flow::P body: It does not represent the file itself. A Pathname can be relative or absolute. It's not until you try to reference the file that it even matters whether the file exists or not. - !ruby/struct:SM::Flow::P body: Pathname is immutable. It has no method for destructive update. - !ruby/struct:SM::Flow::P body: The value of this class is to manipulate file path information in a neater way than standard Ruby provides. The examples below demonstrate the difference. All functionality from File, FileTest, and some from Dir and FileUtils is included, in an unsurprising way. It is essentially a facade for all of these, and more. - !ruby/struct:SM::Flow::H level: 2 text: Examples - !ruby/struct:SM::Flow::H level: 3 text: "Example 1: Using Pathname" - !ruby/struct:SM::Flow::VERB body: " require 'pathname'\n p = Pathname.new("/usr/bin/ruby")\n size = p.size # 27662\n isdir = p.directory? # false\n dir = p.dirname # Pathname:/usr/bin\n base = p.basename # Pathname:ruby\n dir, base = p.split # [Pathname:/usr/bin, Pathname:ruby]\n data = p.read\n p.open { |f| _ }\n p.each_line { |line| _ }\n" - !ruby/struct:SM::Flow::H level: 3 text: "Example 2: Using standard Ruby" - !ruby/struct:SM::Flow::VERB body: " p = "/usr/bin/ruby"\n size = File.size(p) # 27662\n isdir = File.directory?(p) # false\n dir = File.dirname(p) # "/usr/bin"\n base = File.basename(p) # "ruby"\n dir, base = File.split(p) # ["/usr/bin", "ruby"]\n data = File.read(p)\n File.open(p) { |f| _ }\n File.foreach(p) { |line| _ }\n" - !ruby/struct:SM::Flow::H level: 3 text: "Example 3: Special features" - !ruby/struct:SM::Flow::VERB body: " p1 = Pathname.new("/usr/lib") # Pathname:/usr/lib\n p2 = p1 + "ruby/1.8" # Pathname:/usr/lib/ruby/1.8\n p3 = p1.parent # Pathname:/usr\n p4 = p2.relative_path_from(p3) # Pathname:lib/ruby/1.8\n pwd = Pathname.pwd # Pathname:/home/gavin\n pwd.absolute? # true\n p5 = Pathname.new "." # Pathname:.\n p5 = p5 + "music/../articles" # Pathname:music/../articles\n p5.cleanpath # Pathname:articles\n p5.realpath # Pathname:/home/gavin/articles\n p5.children # [Pathname:/home/gavin/articles/linux, ...]\n" - !ruby/struct:SM::Flow::H level: 2 text: Breakdown of functionality - !ruby/struct:SM::Flow::H level: 3 text: Core methods - !ruby/struct:SM::Flow::P body: "These methods are effectively manipulating a String, because that's all a path is. Except for #mountpoint?, #children, and #realpath, they don't access the filesystem." - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: + - !ruby/struct:SM::Flow::LI label: "-" body: "#join" - !ruby/struct:SM::Flow::LI label: "-" body: "#parent" - !ruby/struct:SM::Flow::LI label: "-" body: "#root?" - !ruby/struct:SM::Flow::LI label: "-" body: "#absolute?" - !ruby/struct:SM::Flow::LI label: "-" body: "#relative?" - !ruby/struct:SM::Flow::LI label: "-" body: "#relative_path_from" - !ruby/struct:SM::Flow::LI label: "-" body: "#each_filename" - !ruby/struct:SM::Flow::LI label: "-" body: "#cleanpath" - !ruby/struct:SM::Flow::LI label: "-" body: "#realpath" - !ruby/struct:SM::Flow::LI label: "-" body: "#children" - !ruby/struct:SM::Flow::LI label: "-" body: "#mountpoint?" type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: File status predicate methods - !ruby/struct:SM::Flow::P body: "These methods are a facade for FileTest:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "#blockdev?" - !ruby/struct:SM::Flow::LI label: "-" body: "#chardev?" - !ruby/struct:SM::Flow::LI label: "-" body: "#directory?" - !ruby/struct:SM::Flow::LI label: "-" body: "#executable?" - !ruby/struct:SM::Flow::LI label: "-" body: "#executable_real?" - !ruby/struct:SM::Flow::LI label: "-" body: "#exist?" - !ruby/struct:SM::Flow::LI label: "-" body: "#file?" - !ruby/struct:SM::Flow::LI label: "-" body: "#grpowned?" - !ruby/struct:SM::Flow::LI label: "-" body: "#owned?" - !ruby/struct:SM::Flow::LI label: "-" body: "#pipe?" - !ruby/struct:SM::Flow::LI label: "-" body: "#readable?" - !ruby/struct:SM::Flow::LI label: "-" body: "#world_readable?" - !ruby/struct:SM::Flow::LI label: "-" body: "#readable_real?" - !ruby/struct:SM::Flow::LI label: "-" body: "#setgid?" - !ruby/struct:SM::Flow::LI label: "-" body: "#setuid?" - !ruby/struct:SM::Flow::LI label: "-" body: "#size" - !ruby/struct:SM::Flow::LI label: "-" body: "#size?" - !ruby/struct:SM::Flow::LI label: "-" body: "#socket?" - !ruby/struct:SM::Flow::LI label: "-" body: "#sticky?" - !ruby/struct:SM::Flow::LI label: "-" body: "#symlink?" - !ruby/struct:SM::Flow::LI label: "-" body: "#writable?" - !ruby/struct:SM::Flow::LI label: "-" body: "#world_writable?" - !ruby/struct:SM::Flow::LI label: "-" body: "#writable_real?" - !ruby/struct:SM::Flow::LI label: "-" body: "#zero?" type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: File property and manipulation methods - !ruby/struct:SM::Flow::P body: "These methods are a facade for File:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "#atime" - !ruby/struct:SM::Flow::LI label: "-" body: "#ctime" - !ruby/struct:SM::Flow::LI label: "-" body: "#mtime" - !ruby/struct:SM::Flow::LI label: "-" body: "#chmod(mode)" - !ruby/struct:SM::Flow::LI label: "-" body: "#lchmod(mode)" - !ruby/struct:SM::Flow::LI label: "-" body: "#chown(owner, group)" - !ruby/struct:SM::Flow::LI label: "-" body: "#lchown(owner, group)" - !ruby/struct:SM::Flow::LI label: "-" body: "#fnmatch(pattern, *args)" - !ruby/struct:SM::Flow::LI label: "-" body: "#fnmatch?(pattern, *args)" - !ruby/struct:SM::Flow::LI label: "-" body: "#ftype" - !ruby/struct:SM::Flow::LI label: "-" body: "#make_link(old)" - !ruby/struct:SM::Flow::LI label: "-" body: "#open(*args, &block)" - !ruby/struct:SM::Flow::LI label: "-" body: "#readlink" - !ruby/struct:SM::Flow::LI label: "-" body: "#rename(to)" - !ruby/struct:SM::Flow::LI label: "-" body: "#stat" - !ruby/struct:SM::Flow::LI label: "-" body: "#lstat" - !ruby/struct:SM::Flow::LI label: "-" body: "#make_symlink(old)" - !ruby/struct:SM::Flow::LI label: "-" body: "#truncate(length)" - !ruby/struct:SM::Flow::LI label: "-" body: "#utime(atime, mtime)" - !ruby/struct:SM::Flow::LI label: "-" body: "#basename(*args)" - !ruby/struct:SM::Flow::LI label: "-" body: "#dirname" - !ruby/struct:SM::Flow::LI label: "-" body: "#extname" - !ruby/struct:SM::Flow::LI label: "-" body: "#expand_path(*args)" - !ruby/struct:SM::Flow::LI label: "-" body: "#split" type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Directory methods - !ruby/struct:SM::Flow::P body: "These methods are a facade for Dir:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: Pathname.glob(*args) - !ruby/struct:SM::Flow::LI label: "-" body: Pathname.getwd / Pathname.pwd - !ruby/struct:SM::Flow::LI label: "-" body: "#rmdir" - !ruby/struct:SM::Flow::LI label: "-" body: "#entries" - !ruby/struct:SM::Flow::LI label: "-" body: "#each_entry(&block)" - !ruby/struct:SM::Flow::LI label: "-" body: "#mkdir(*args)" - !ruby/struct:SM::Flow::LI label: "-" body: "#opendir(*args)" type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: IO - !ruby/struct:SM::Flow::P body: "These methods are a facade for IO:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "#each_line(*args, &block)" - !ruby/struct:SM::Flow::LI label: "-" body: "#read(*args)" - !ruby/struct:SM::Flow::LI label: "-" body: "#readlines(*args)" - !ruby/struct:SM::Flow::LI label: "-" body: "#sysopen(*args)" type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Utilities - !ruby/struct:SM::Flow::P body: "These methods are a mixture of Find, FileUtils, and others:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "#find(&block)" - !ruby/struct:SM::Flow::LI label: "-" body: "#mkpath" - !ruby/struct:SM::Flow::LI label: "-" body: "#rmtree" - !ruby/struct:SM::Flow::LI label: "-" body: "#unlink / #delete" type: :BULLET - !ruby/struct:SM::Flow::H level: 2 text: Method documentation - !ruby/struct:SM::Flow::P body: As the above section shows, most of the methods in Pathname are facades. The documentation for these methods generally just says, for instance, "See FileTest.writable?", as you should be familiar with the original method anyway, and its documentation (e.g. through ri) will contain more information. In some cases, a brief description will follow. constants: - !ruby/object:RI::Constant comment: name: SEPARATOR_PAT value: /[#{Regexp.quote File::ALT_SEPARATOR}#{Regexp.quote File::SEPARATOR}]/ - !ruby/object:RI::Constant comment: name: SEPARATOR_PAT value: /#{Regexp.quote File::SEPARATOR}/ full_name: Pathname includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: + - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: === - !ruby/object:RI::MethodSummary name: TO_PATH - !ruby/object:RI::MethodSummary name: absolute? - !ruby/object:RI::MethodSummary name: add_trailing_separator - !ruby/object:RI::MethodSummary name: ascend - !ruby/object:RI::MethodSummary name: atime - !ruby/object:RI::MethodSummary name: basename - !ruby/object:RI::MethodSummary name: blockdev? - !ruby/object:RI::MethodSummary name: chardev? - !ruby/object:RI::MethodSummary name: chdir - !ruby/object:RI::MethodSummary name: children - !ruby/object:RI::MethodSummary name: chmod - !ruby/object:RI::MethodSummary name: chop_basename - !ruby/object:RI::MethodSummary name: chown - !ruby/object:RI::MethodSummary name: chroot - !ruby/object:RI::MethodSummary name: cleanpath - !ruby/object:RI::MethodSummary name: cleanpath_aggressive - !ruby/object:RI::MethodSummary name: cleanpath_conservative - !ruby/object:RI::MethodSummary name: ctime - !ruby/object:RI::MethodSummary name: del_trailing_separator - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: descend - !ruby/object:RI::MethodSummary name: dir_foreach - !ruby/object:RI::MethodSummary name: directory? - !ruby/object:RI::MethodSummary name: dirname - !ruby/object:RI::MethodSummary name: each_entry - !ruby/object:RI::MethodSummary name: each_filename - !ruby/object:RI::MethodSummary name: each_line - !ruby/object:RI::MethodSummary name: entries - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: executable? - !ruby/object:RI::MethodSummary name: executable_real? - !ruby/object:RI::MethodSummary name: exist? - !ruby/object:RI::MethodSummary name: expand_path - !ruby/object:RI::MethodSummary name: extname - !ruby/object:RI::MethodSummary name: file? - !ruby/object:RI::MethodSummary name: find - !ruby/object:RI::MethodSummary name: fnmatch - !ruby/object:RI::MethodSummary name: fnmatch? - !ruby/object:RI::MethodSummary name: foreach - !ruby/object:RI::MethodSummary name: foreachline - !ruby/object:RI::MethodSummary name: freeze - !ruby/object:RI::MethodSummary name: ftype - !ruby/object:RI::MethodSummary name: grpowned? - !ruby/object:RI::MethodSummary name: has_trailing_separator? - !ruby/object:RI::MethodSummary name: join - !ruby/object:RI::MethodSummary name: lchmod - !ruby/object:RI::MethodSummary name: lchown - !ruby/object:RI::MethodSummary name: link - !ruby/object:RI::MethodSummary name: lstat - !ruby/object:RI::MethodSummary name: make_link - !ruby/object:RI::MethodSummary name: make_symlink - !ruby/object:RI::MethodSummary name: mkdir - !ruby/object:RI::MethodSummary name: mkpath - !ruby/object:RI::MethodSummary name: mountpoint? - !ruby/object:RI::MethodSummary name: mtime - !ruby/object:RI::MethodSummary name: open - !ruby/object:RI::MethodSummary name: opendir - !ruby/object:RI::MethodSummary name: owned? - !ruby/object:RI::MethodSummary name: parent - !ruby/object:RI::MethodSummary name: pipe? - !ruby/object:RI::MethodSummary name: plus - !ruby/object:RI::MethodSummary name: prepend_prefix - !ruby/object:RI::MethodSummary name: read - !ruby/object:RI::MethodSummary name: readable? - !ruby/object:RI::MethodSummary name: readable_real? - !ruby/object:RI::MethodSummary name: readlines - !ruby/object:RI::MethodSummary name: readlink - !ruby/object:RI::MethodSummary name: realpath - !ruby/object:RI::MethodSummary name: realpath_rec - !ruby/object:RI::MethodSummary name: relative? - !ruby/object:RI::MethodSummary name: relative_path_from - !ruby/object:RI::MethodSummary name: rename - !ruby/object:RI::MethodSummary name: rmdir - !ruby/object:RI::MethodSummary name: rmtree - !ruby/object:RI::MethodSummary name: root? - !ruby/object:RI::MethodSummary name: setgid? - !ruby/object:RI::MethodSummary name: setuid? - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: size? - !ruby/object:RI::MethodSummary name: socket? - !ruby/object:RI::MethodSummary name: split - !ruby/object:RI::MethodSummary name: split_names - !ruby/object:RI::MethodSummary name: stat - !ruby/object:RI::MethodSummary name: sticky? - !ruby/object:RI::MethodSummary name: sub - !ruby/object:RI::MethodSummary name: symlink - !ruby/object:RI::MethodSummary name: symlink? - !ruby/object:RI::MethodSummary name: sysopen - !ruby/object:RI::MethodSummary name: taint - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: truncate - !ruby/object:RI::MethodSummary name: unlink - !ruby/object:RI::MethodSummary name: untaint - !ruby/object:RI::MethodSummary name: utime - !ruby/object:RI::MethodSummary name: world_readable? - !ruby/object:RI::MethodSummary name: world_writable? - !ruby/object:RI::MethodSummary name: writable? - !ruby/object:RI::MethodSummary name: writable_real? - !ruby/object:RI::MethodSummary name: zero? name: Pathname superclass: Object ri/1.8/system/Pathname/del_trailing_separator-i.yaml 0000644 00000000315 15217654522 0016404 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Pathname#del_trailing_separator is_singleton: false name: del_trailing_separator params: (path) visibility: private ri/1.8/system/Pathname/grpowned%3f-i.yaml 0000644 00000000363 15217654522 0014015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.grpowned?. full_name: Pathname#grpowned? is_singleton: false name: grpowned? params: () visibility: public ri/1.8/system/Pathname/new-c.yaml 0000644 00000000547 15217654522 0012461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a Pathname object from the given String (or String-like object). If path contains a NUL character (\0), an ArgumentError is raised. full_name: Pathname::new is_singleton: true name: new params: (path) visibility: public ri/1.8/system/Pathname/root%3f-i.yaml 0000644 00000000763 15217654522 0013157 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "#root? is a predicate for root directories. I.e. it returns true if the pathname consists of consecutive slashes." - !ruby/struct:SM::Flow::P body: It doesn't access actual filesystem. So it may return false for some pathnames which points to roots such as /usr/... full_name: Pathname#root? is_singleton: false name: root? params: () visibility: public ri/1.8/system/Pathname/blockdev%3f-i.yaml 0000644 00000000363 15217654522 0013761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.blockdev?. full_name: Pathname#blockdev? is_singleton: false name: blockdev? params: () visibility: public ri/1.8/system/Pathname/writable_real%3f-i.yaml 0000644 00000000402 15217654522 0014776 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.writable_real?. full_name: Pathname#writable_real? is_singleton: false name: writable_real? params: () visibility: public ri/1.8/system/Pathname/chardev%3f-i.yaml 0000644 00000000360 15217654522 0013601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.chardev?. full_name: Pathname#chardev? is_singleton: false name: chardev? params: () visibility: public ri/1.8/system/Pathname/to_s-i.yaml 0000644 00000000420 15217654522 0012630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: TO_PATH block_params: comment: - !ruby/struct:SM::Flow::P body: Return the path as a String. full_name: Pathname#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/Pathname/foreachline-i.yaml 0000644 00000000450 15217654522 0014146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Pathname#foreachline is obsoleted at 1.8.1. Use #each_line." full_name: Pathname#foreachline is_singleton: false name: foreachline params: (*args, &block) visibility: public ri/1.8/system/Pathname/truncate-i.yaml 0000644 00000000436 15217654522 0013520 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.truncate. Truncate the file to length bytes. full_name: Pathname#truncate is_singleton: false name: truncate params: (length) visibility: public ri/1.8/system/Pathname/world_writable%3f-i.yaml 0000644 00000000405 15217654522 0015205 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.world_writable?. full_name: Pathname#world_writable? is_singleton: false name: world_writable? params: () visibility: public ri/1.8/system/Pathname/utime-i.yaml 0000644 00000000431 15217654522 0013011 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.utime. Update the access and modification times. full_name: Pathname#utime is_singleton: false name: utime params: (atime, mtime) visibility: public ri/1.8/system/Pathname/size%3f-i.yaml 0000644 00000000347 15217654522 0013144 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.size?. full_name: Pathname#size? is_singleton: false name: size? params: () visibility: public ri/1.8/system/Pathname/%2b-i.yaml 0000644 00000001172 15217654522 0012241 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Pathname#+ appends a pathname fragment to this one to produce a new Pathname object. - !ruby/struct:SM::Flow::VERB body: " p1 = Pathname.new("/usr") # Pathname:/usr\n p2 = p1 + "bin/ruby" # Pathname:/usr/bin/ruby\n p3 = p1 + "/etc/passwd" # Pathname:/etc/passwd\n" - !ruby/struct:SM::Flow::P body: This method doesn't access the file system; it is pure string manipulation. full_name: Pathname#+ is_singleton: false name: + params: (other) visibility: public ri/1.8/system/Pathname/delete-i.yaml 0000644 00000000340 15217654522 0013127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #unlink" full_name: Pathname#delete is_singleton: false name: delete params: () visibility: public ri/1.8/system/Pathname/make_link-i.yaml 0000644 00000000402 15217654522 0013616 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.link. Creates a hard link. full_name: Pathname#make_link is_singleton: false name: make_link params: (old) visibility: public ri/1.8/system/Pathname/cleanpath_aggressive-i.yaml 0000644 00000000546 15217654522 0016053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Clean the path simply by resolving and removing excess "." and ".." entries. Nothing more, nothing less. full_name: Pathname#cleanpath_aggressive is_singleton: false name: cleanpath_aggressive params: () visibility: private ri/1.8/system/Pathname/each_line-i.yaml 0000644 00000000613 15217654522 0013577 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: line comment: - !ruby/struct:SM::Flow::P body: "#each_line iterates over the line in the file. It yields a String object for each line." - !ruby/struct:SM::Flow::P body: This method has existed since 1.8.1. full_name: Pathname#each_line is_singleton: false name: each_line params: (*args) {|line| ...} visibility: public ri/1.8/system/Pathname/pipe%3f-i.yaml 0000644 00000000347 15217654522 0013127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.pipe?. full_name: Pathname#pipe? is_singleton: false name: pipe? params: () visibility: public ri/1.8/system/Pathname/readlines-i.yaml 0000644 00000000427 15217654522 0013641 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO.readlines. Returns all the lines from the file. full_name: Pathname#readlines is_singleton: false name: readlines params: (*args) visibility: public ri/1.8/system/Pathname/ascend-i.yaml 0000644 00000001646 15217654522 0013134 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: self comment: - !ruby/struct:SM::Flow::P body: Iterates over and yields a new Pathname object for each element in the given path in ascending order. - !ruby/struct:SM::Flow::VERB body: " Pathname.new('/path/to/some/file.rb').ascend {|v| p v}\n #<Pathname:/path/to/some/file.rb>\n #<Pathname:/path/to/some>\n #<Pathname:/path/to>\n #<Pathname:/path>\n #<Pathname:/>\n\n Pathname.new('path/to/some/file.rb').ascend {|v| p v}\n #<Pathname:path/to/some/file.rb>\n #<Pathname:path/to/some>\n #<Pathname:path/to>\n #<Pathname:path>\n" - !ruby/struct:SM::Flow::P body: It doesn't access actual filesystem. - !ruby/struct:SM::Flow::P body: This method is available since 1.8.5. full_name: Pathname#ascend is_singleton: false name: ascend params: () {|self| ...} visibility: public ri/1.8/system/Pathname/readlink-i.yaml 0000644 00000000400 15217654522 0013453 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.readlink. Read symbolic link. full_name: Pathname#readlink is_singleton: false name: readlink params: () visibility: public ri/1.8/system/Pathname/writable%3f-i.yaml 0000644 00000000363 15217654522 0014001 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.writable?. full_name: Pathname#writable? is_singleton: false name: writable? params: () visibility: public ri/1.8/system/Pathname/foreach-i.yaml 0000644 00000000446 15217654522 0013303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "This method is obsoleted at 1.8.1. Use #each_line or #each_entry." full_name: Pathname#foreach is_singleton: false name: foreach params: (*args, &block) visibility: public ri/1.8/system/Pathname/make_symlink-i.yaml 0000644 00000000417 15217654522 0014355 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.symlink. Creates a symbolic link. full_name: Pathname#make_symlink is_singleton: false name: make_symlink params: (old) visibility: public ri/1.8/system/Pathname/lchown-i.yaml 0000644 00000000362 15217654522 0013163 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.lchown. full_name: Pathname#lchown is_singleton: false name: lchown params: (owner, group) visibility: public ri/1.8/system/Pathname/zero%3f-i.yaml 0000644 00000000347 15217654522 0013151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.zero?. full_name: Pathname#zero? is_singleton: false name: zero? params: () visibility: public ri/1.8/system/Pathname/each_filename-i.yaml 0000644 00000000727 15217654522 0014436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: filename comment: - !ruby/struct:SM::Flow::P body: Iterates over each component of the path. - !ruby/struct:SM::Flow::VERB body: " Pathname.new("/usr/bin/ruby").each_filename {|filename| ... }\n # yields "usr", "bin", and "ruby".\n" full_name: Pathname#each_filename is_singleton: false name: each_filename params: ( {|filename| ...} visibility: public ri/1.8/system/Pathname/atime-i.yaml 0000644 00000000375 15217654522 0012774 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.atime. Returns last access time. full_name: Pathname#atime is_singleton: false name: atime params: () visibility: public ri/1.8/system/Pathname/world_readable%3f-i.yaml 0000644 00000000405 15217654522 0015133 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.world_readable?. full_name: Pathname#world_readable? is_singleton: false name: world_readable? params: () visibility: public ri/1.8/system/Pathname/taint-i.yaml 0000644 00000000246 15217654522 0013011 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Pathname#taint is_singleton: false name: taint params: () visibility: public ri/1.8/system/Pathname/mtime-i.yaml 0000644 00000000403 15217654522 0013000 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.mtime. Returns last modification time. full_name: Pathname#mtime is_singleton: false name: mtime params: () visibility: public ri/1.8/system/Pathname/realpath-i.yaml 0000644 00000000703 15217654522 0013470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a real (absolute) pathname of self in the actual filesystem. The real pathname doesn't contain symlinks or useless dots. - !ruby/struct:SM::Flow::P body: No arguments should be given; the old behaviour is obsoleted. full_name: Pathname#realpath is_singleton: false name: realpath params: () visibility: public ri/1.8/system/Pathname/ftype-i.yaml 0000644 00000000464 15217654522 0013023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.ftype. Returns "type" of file ("file", "directory", etc). full_name: Pathname#ftype is_singleton: false name: ftype params: () visibility: public ri/1.8/system/Pathname/glob-c.yaml 0000644 00000000423 15217654522 0012604 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: p comment: - !ruby/struct:SM::Flow::P body: See Dir.glob. Returns or yields Pathname objects. full_name: Pathname::glob is_singleton: true name: glob params: (*args) {|p| ...} visibility: public ri/1.8/system/Pathname/plus-i.yaml 0000644 00000000261 15217654522 0012652 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Pathname#plus is_singleton: false name: plus params: (path1, path2) visibility: private ri/1.8/system/Pathname/cleanpath-i.yaml 0000644 00000001230 15217654522 0013623 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns clean pathname of self with consecutive slashes and useless dots removed. The filesystem is not accessed. - !ruby/struct:SM::Flow::P body: "If consider_symlink is true, then a more conservative algorithm is used to avoid breaking symbolic linkages. This may retain more .. entries than absolutely necessary, but without accessing the filesystem, this can't be avoided. See #realpath." full_name: Pathname#cleanpath is_singleton: false name: cleanpath params: (consider_symlink=false) visibility: public ri/1.8/system/Pathname/%3c%3d%3e-i.yaml 0000644 00000000377 15217654522 0013042 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Provides for comparing pathnames, case-sensitively. full_name: Pathname#<=> is_singleton: false name: <=> params: (other) visibility: public ri/1.8/system/Pathname/untaint-i.yaml 0000644 00000000252 15217654522 0013351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Pathname#untaint is_singleton: false name: untaint params: () visibility: public ri/1.8/system/Pathname/freeze-i.yaml 0000644 00000000250 15217654522 0013145 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Pathname#freeze is_singleton: false name: freeze params: () visibility: public ri/1.8/system/Pathname/fnmatch%3f-i.yaml 0000644 00000000417 15217654522 0013610 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "See File.fnmatch? (same as #fnmatch)." full_name: Pathname#fnmatch? is_singleton: false name: fnmatch? params: (pattern, *args) visibility: public ri/1.8/system/Pathname/split_names-i.yaml 0000644 00000000407 15217654522 0014207 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: split_names(path) -> prefix, [name, ...] full_name: Pathname#split_names is_singleton: false name: split_names params: (path) visibility: private ri/1.8/system/Pathname/realpath_rec-i.yaml 0000644 00000000312 15217654522 0014315 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Pathname#realpath_rec is_singleton: false name: realpath_rec params: (prefix, unresolved, h) visibility: private ri/1.8/system/Pathname/rmtree-i.yaml 0000644 00000000421 15217654522 0013163 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileUtils.rm_r. Deletes a directory and all beneath it. full_name: Pathname#rmtree is_singleton: false name: rmtree params: () visibility: public ri/1.8/system/Pathname/readable%3f-i.yaml 0000644 00000000363 15217654522 0013727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.readable?. full_name: Pathname#readable? is_singleton: false name: readable? params: () visibility: public ri/1.8/system/Pathname/chroot-i.yaml 0000644 00000000372 15217654522 0013170 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Pathname#chroot is obsoleted at 1.8.1. full_name: Pathname#chroot is_singleton: false name: chroot params: () visibility: public ri/1.8/system/Pathname/file%3f-i.yaml 0000644 00000000347 15217654522 0013111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.file?. full_name: Pathname#file? is_singleton: false name: file? params: () visibility: public ri/1.8/system/Pathname/opendir-i.yaml 0000644 00000000364 15217654522 0013333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: dir comment: - !ruby/struct:SM::Flow::P body: See Dir.open. full_name: Pathname#opendir is_singleton: false name: opendir params: () {|dir| ...} visibility: public ri/1.8/system/Pathname/unlink-i.yaml 0000644 00000000523 15217654522 0013170 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: delete block_params: comment: - !ruby/struct:SM::Flow::P body: Removes a file or directory, using File.unlink or Dir.unlink as necessary. full_name: Pathname#unlink is_singleton: false name: unlink params: () visibility: public ri/1.8/system/Pathname/expand_path-i.yaml 0000644 00000000372 15217654522 0014165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.expand_path. full_name: Pathname#expand_path is_singleton: false name: expand_path params: (*args) visibility: public ri/1.8/system/Pathname/mkdir-i.yaml 0000644 00000000410 15217654522 0012771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Dir.mkdir. Create the referenced directory. full_name: Pathname#mkdir is_singleton: false name: mkdir params: (*args) visibility: public ri/1.8/system/Pathname/each_entry-i.yaml 0000644 00000000633 15217654522 0014013 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: p comment: - !ruby/struct:SM::Flow::P body: Iterates over the entries (files and subdirectories) in the directory. It yields a Pathname object for each entry. - !ruby/struct:SM::Flow::P body: This method has existed since 1.8.1. full_name: Pathname#each_entry is_singleton: false name: each_entry params: () {|p| ...} visibility: public ri/1.8/system/Pathname/sub-i.yaml 0000644 00000000447 15217654522 0012466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (*args) comment: - !ruby/struct:SM::Flow::P body: Return a pathname which is substituted by String#sub. full_name: Pathname#sub is_singleton: false name: sub params: (pattern, *rest, &block) {|*args| ...} visibility: public ri/1.8/system/Pathname/read-i.yaml 0000644 00000000456 15217654522 0012610 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO.read. Returns all the bytes from the file, or the first N if specified. full_name: Pathname#read is_singleton: false name: read params: (*args) visibility: public ri/1.8/system/Pathname/descend-i.yaml 0000644 00000001645 15217654522 0013303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: v comment: - !ruby/struct:SM::Flow::P body: Iterates over and yields a new Pathname object for each element in the given path in descending order. - !ruby/struct:SM::Flow::VERB body: " Pathname.new('/path/to/some/file.rb').descend {|v| p v}\n #<Pathname:/>\n #<Pathname:/path>\n #<Pathname:/path/to>\n #<Pathname:/path/to/some>\n #<Pathname:/path/to/some/file.rb>\n\n Pathname.new('path/to/some/file.rb').descend {|v| p v}\n #<Pathname:path>\n #<Pathname:path/to>\n #<Pathname:path/to/some>\n #<Pathname:path/to/some/file.rb>\n" - !ruby/struct:SM::Flow::P body: It doesn't access actual filesystem. - !ruby/struct:SM::Flow::P body: This method is available since 1.8.5. full_name: Pathname#descend is_singleton: false name: descend params: () {|v| ...} visibility: public ri/1.8/system/Pathname/%3d%3d%3d-i.yaml 0000644 00000000333 15217654522 0013032 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #==" full_name: Pathname#=== is_singleton: false name: === params: (other) visibility: public ri/1.8/system/Pathname/relative%3f-i.yaml 0000644 00000000357 15217654522 0014006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "The opposite of #absolute?" full_name: Pathname#relative? is_singleton: false name: relative? params: () visibility: public ri/1.8/system/Pathname/has_trailing_separator%3f-i.yaml 0000644 00000000434 15217654522 0016713 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: has_trailing_separator?(path) -> bool full_name: Pathname#has_trailing_separator? is_singleton: false name: has_trailing_separator? params: (path) visibility: private ri/1.8/system/Pathname/symlink-i.yaml 0000644 00000000522 15217654522 0013355 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Pathname#symlink is confusing and obsoleted because the receiver/argument order is inverted to corresponding system call. full_name: Pathname#symlink is_singleton: false name: symlink params: (old) visibility: public ri/1.8/system/Pathname/setgid%3f-i.yaml 0000644 00000000355 15217654522 0013450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.setgid?. full_name: Pathname#setgid? is_singleton: false name: setgid? params: () visibility: public ri/1.8/system/Pathname/sysopen-i.yaml 0000644 00000000354 15217654522 0013372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO.sysopen. full_name: Pathname#sysopen is_singleton: false name: sysopen params: (*args) visibility: public ri/1.8/system/Pathname/chdir-i.yaml 0000644 00000000375 15217654522 0012766 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Pathname#chdir is obsoleted at 1.8.1. full_name: Pathname#chdir is_singleton: false name: chdir params: (&block) visibility: public ri/1.8/system/Pathname/basename-i.yaml 0000644 00000000431 15217654522 0013441 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.basename. Returns the last component of the path. full_name: Pathname#basename is_singleton: false name: basename params: (*args) visibility: public ri/1.8/system/Pathname/link-i.yaml 0000644 00000000511 15217654522 0012622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Pathname#link is confusing and obsoleted because the receiver/argument order is inverted to corresponding system call. full_name: Pathname#link is_singleton: false name: link params: (old) visibility: public ri/1.8/system/Pathname/setuid%3f-i.yaml 0000644 00000000355 15217654522 0013466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.setuid?. full_name: Pathname#setuid? is_singleton: false name: setuid? params: () visibility: public ri/1.8/system/Pathname/size-i.yaml 0000644 00000000344 15217654522 0012643 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.size. full_name: Pathname#size is_singleton: false name: size params: () visibility: public ri/1.8/system/Pathname/symlink%3f-i.yaml 0000644 00000000360 15217654522 0013653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.symlink?. full_name: Pathname#symlink? is_singleton: false name: symlink? params: () visibility: public ri/1.8/system/Pathname/ctime-i.yaml 0000644 00000000431 15217654522 0012767 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.ctime. Returns last (directory entry, not file) change time. full_name: Pathname#ctime is_singleton: false name: ctime params: () visibility: public ri/1.8/system/Pathname/directory%3f-i.yaml 0000644 00000000366 15217654522 0014177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.directory?. full_name: Pathname#directory? is_singleton: false name: directory? params: () visibility: public ri/1.8/system/Pathname/entries-i.yaml 0000644 00000000451 15217654522 0013341 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the entries (files and subdirectories) in the directory, each as a Pathname object. full_name: Pathname#entries is_singleton: false name: entries params: () visibility: public ri/1.8/system/Pathname/exist%3f-i.yaml 0000644 00000000352 15217654522 0013322 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.exist?. full_name: Pathname#exist? is_singleton: false name: exist? params: () visibility: public ri/1.8/system/Pathname/join-i.yaml 0000644 00000000554 15217654522 0012633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Pathname#join joins pathnames. - !ruby/struct:SM::Flow::P body: path0.join(path1, ..., pathN) is the same as path0 + path1 + ... + pathN. full_name: Pathname#join is_singleton: false name: join params: (*args) visibility: public ri/1.8/system/Pathname/TO_PATH-i.yaml 0000644 00000000340 15217654522 0013023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #to_s" full_name: Pathname#TO_PATH is_singleton: false name: TO_PATH params: () visibility: public ri/1.8/system/Pathname/mountpoint%3f-i.yaml 0000644 00000000444 15217654522 0014404 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "#mountpoint? returns true if self points to a mountpoint." full_name: Pathname#mountpoint? is_singleton: false name: mountpoint? params: () visibility: public ri/1.8/system/Pathname/open-i.yaml 0000644 00000000435 15217654522 0012633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: file comment: - !ruby/struct:SM::Flow::P body: See File.open. Opens the file for reading or writing. full_name: Pathname#open is_singleton: false name: open params: (*args) {|file| ...} visibility: public ri/1.8/system/Pathname/mkpath-i.yaml 0000644 00000000475 15217654522 0013162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileUtils.mkpath. Creates a full path, including any intermediate directories that don't yet exist. full_name: Pathname#mkpath is_singleton: false name: mkpath params: () visibility: public ri/1.8/system/Pathname/sticky%3f-i.yaml 0000644 00000000355 15217654522 0013477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.sticky?. full_name: Pathname#sticky? is_singleton: false name: sticky? params: () visibility: public ri/1.8/system/Pathname/dir_foreach-i.yaml 0000644 00000000426 15217654522 0014137 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Pathname#dir_foreach is obsoleted at 1.8.1. full_name: Pathname#dir_foreach is_singleton: false name: dir_foreach params: (*args, &block) visibility: public ri/1.8/system/Pathname/executable%3f-i.yaml 0000644 00000000371 15217654522 0014310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.executable?. full_name: Pathname#executable? is_singleton: false name: executable? params: () visibility: public ri/1.8/system/Pathname/children-i.yaml 0000644 00000002245 15217654522 0013463 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the children of the directory (files and subdirectories, not recursive) as an array of Pathname objects. By default, the returned pathnames will have enough information to access the files. If you set with_directory to false, then the returned pathnames will contain the filename only. - !ruby/struct:SM::Flow::P body: "For example:" - !ruby/struct:SM::Flow::VERB body: " p = Pathname("/usr/lib/ruby/1.8")\n p.children\n # -> [ Pathname:/usr/lib/ruby/1.8/English.rb,\n Pathname:/usr/lib/ruby/1.8/Env.rb,\n Pathname:/usr/lib/ruby/1.8/abbrev.rb, ... ]\n p.children(false)\n # -> [ Pathname:English.rb, Pathname:Env.rb, Pathname:abbrev.rb, ... ]\n" - !ruby/struct:SM::Flow::P body: Note that the result never contain the entries . and .. in the directory because they are not children. - !ruby/struct:SM::Flow::P body: This method has existed since 1.8.1. full_name: Pathname#children is_singleton: false name: children params: (with_directory=true) visibility: public ri/1.8/system/Pathname/split-i.yaml 0000644 00000000431 15217654522 0013021 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "See File.split. Returns the #dirname and the #basename in an Array." full_name: Pathname#split is_singleton: false name: split params: () visibility: public ri/1.8/system/Pathname/getwd-c.yaml 0000644 00000000427 15217654522 0012777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Dir.getwd. Returns the current working directory as a Pathname. full_name: Pathname::getwd is_singleton: true name: getwd params: () visibility: public ri/1.8/system/Pathname/parent-i.yaml 0000644 00000000476 15217654522 0013170 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "#parent returns the parent directory." - !ruby/struct:SM::Flow::P body: This is same as self + '..'. full_name: Pathname#parent is_singleton: false name: parent params: () visibility: public ri/1.8/system/Pathname/chmod-i.yaml 0000644 00000000374 15217654522 0012766 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.chmod. Changes permissions. full_name: Pathname#chmod is_singleton: false name: chmod params: (mode) visibility: public ri/1.8/system/Pathname/lstat-i.yaml 0000644 00000000343 15217654522 0013017 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.lstat. full_name: Pathname#lstat is_singleton: false name: lstat params: () visibility: public ri/1.8/system/Pathname/fnmatch-i.yaml 0000644 00000000467 15217654522 0013317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.fnmatch. Return true if the receiver matches the given pattern. full_name: Pathname#fnmatch is_singleton: false name: fnmatch params: (pattern, *args) visibility: public ri/1.8/system/Pathname/rmdir-i.yaml 0000644 00000000403 15217654522 0013002 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Dir.rmdir. Remove the referenced directory. full_name: Pathname#rmdir is_singleton: false name: rmdir params: () visibility: public ri/1.8/system/Pathname/chown-i.yaml 0000644 00000000417 15217654522 0013010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.chown. Change owner and group of file. full_name: Pathname#chown is_singleton: false name: chown params: (owner, group) visibility: public ri/1.8/system/Pathname/socket%3f-i.yaml 0000644 00000000355 15217654522 0013461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.socket?. full_name: Pathname#socket? is_singleton: false name: socket? params: () visibility: public ri/1.8/system/Pathname/prepend_prefix-i.yaml 0000644 00000000310 15217654522 0014674 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Pathname#prepend_prefix is_singleton: false name: prepend_prefix params: (prefix, relpath) visibility: private ri/1.8/system/Pathname/readable_real%3f-i.yaml 0000644 00000000402 15217654522 0014724 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.readable_real?. full_name: Pathname#readable_real? is_singleton: false name: readable_real? params: () visibility: public ri/1.8/system/Pathname/rename-i.yaml 0000644 00000000371 15217654522 0013140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.rename. Rename the file. full_name: Pathname#rename is_singleton: false name: rename params: (to) visibility: public ri/1.8/system/Pathname/%3d%3d-i.yaml 0000644 00000000716 15217654522 0012543 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: === - !ruby/object:RI::AliasName name: eql? block_params: comment: - !ruby/struct:SM::Flow::P body: Compare this pathname with other. The comparison is string-based. Be aware that two different paths (foo.txt and ./foo.txt) can refer to the same file. full_name: Pathname#== is_singleton: false name: == params: (other) visibility: public ri/1.8/system/Pathname/owned%3f-i.yaml 0000644 00000000352 15217654522 0013302 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.owned?. full_name: Pathname#owned? is_singleton: false name: owned? params: () visibility: public ri/1.8/system/Pathname/extname-i.yaml 0000644 00000000407 15217654522 0013332 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.extname. Returns the file's extension. full_name: Pathname#extname is_singleton: false name: extname params: () visibility: public ri/1.8/system/Pathname/stat-i.yaml 0000644 00000000406 15217654522 0012643 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.stat. Returns a File::Stat object. full_name: Pathname#stat is_singleton: false name: stat params: () visibility: public ri/1.8/system/Pathname/lchmod-i.yaml 0000644 00000000352 15217654522 0013136 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.lchmod. full_name: Pathname#lchmod is_singleton: false name: lchmod params: (mode) visibility: public ri/1.8/system/Pathname/dirname-i.yaml 0000644 00000000431 15217654522 0013305 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See File.dirname. Returns all but the last component of the path. full_name: Pathname#dirname is_singleton: false name: dirname params: () visibility: public ri/1.8/system/Pathname/absolute%3f-i.yaml 0000644 00000000511 15217654522 0014001 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Predicate method for testing whether a path is absolute. It returns true if the pathname begins with a slash. full_name: Pathname#absolute? is_singleton: false name: absolute? params: () visibility: public ri/1.8/system/Pathname/find-i.yaml 0000644 00000001214 15217654522 0012606 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: p comment: - !ruby/struct:SM::Flow::P body: Pathname#find is an iterator to traverse a directory tree in a depth first manner. It yields a Pathname for each file under "this" directory. - !ruby/struct:SM::Flow::P body: Since it is implemented by find.rb, Find.prune can be used to control the traverse. - !ruby/struct:SM::Flow::P body: If self is ., yielded pathnames begin with a filename in the current directory, not ./. full_name: Pathname#find is_singleton: false name: find params: () {|p| ...} visibility: public ri/1.8/system/Pathname/chop_basename-i.yaml 0000644 00000000431 15217654522 0014452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: chop_basename(path) -> [pre-basename, basename] or nil full_name: Pathname#chop_basename is_singleton: false name: chop_basename params: (path) visibility: private ri/1.8/system/Pathname/eql%3f-i.yaml 0000644 00000000335 15217654522 0012750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #==" full_name: Pathname#eql? is_singleton: false name: eql? params: (other) visibility: public ri/1.8/system/Pathname/relative_path_from-i.yaml 0000644 00000001340 15217654522 0015540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "#relative_path_from returns a relative path from the argument to the receiver. If self is absolute, the argument must be absolute too. If self is relative, the argument must be relative too." - !ruby/struct:SM::Flow::P body: "#relative_path_from doesn't access the filesystem. It assumes no symlinks." - !ruby/struct:SM::Flow::P body: ArgumentError is raised when it cannot find a relative path. - !ruby/struct:SM::Flow::P body: This method has existed since 1.8.1. full_name: Pathname#relative_path_from is_singleton: false name: relative_path_from params: (base_directory) visibility: public ri/1.8/system/Pathname/add_trailing_separator-i.yaml 0000644 00000000431 15217654522 0016367 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: add_trailing_separator(path) -> path full_name: Pathname#add_trailing_separator is_singleton: false name: add_trailing_separator params: (path) visibility: private ri/1.8/system/Pathname/executable_real%3f-i.yaml 0000644 00000000410 15217654522 0015305 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See FileTest.executable_real?. full_name: Pathname#executable_real? is_singleton: false name: executable_real? params: () visibility: public ri/1.8/system/AmbiguousOption/cdesc-AmbiguousOption.yaml 0000644 00000000456 15217654522 0017241 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Raises when ambiguously completable string is encountered. constants: [] full_name: AmbiguousOption includes: [] instance_methods: [] name: AmbiguousOption superclass: ParseError ri/1.8/system/Monitor/cdesc-Monitor.yaml 0000644 00000001513 15217654522 0014042 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: "Monitors provide means of mutual exclusion for Thread programming. A critical region is created by means of the synchronize method, which takes a block. The condition variables (created with #new_cond) may be used to control the execution of a monitor with #signal and #wait." - !ruby/struct:SM::Flow::P body: the Monitor class wraps MonitorMixin, and provides aliases - !ruby/struct:SM::Flow::VERB body: " alias try_enter try_mon_enter\n alias enter mon_enter\n alias exit mon_exit\n" - !ruby/struct:SM::Flow::P body: to access its methods more concisely. constants: [] full_name: Monitor includes: - !ruby/object:RI::IncludedModule name: MonitorMixin instance_methods: [] name: Monitor superclass: Object ri/1.8/system/Fixnum/to_s-i.yaml 0000644 00000001222 15217654522 0012342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a string containing the representation of fix radix base (between 2 and 36). - !ruby/struct:SM::Flow::VERB body: " 12345.to_s #=> "12345"\n 12345.to_s(2) #=> "11000000111001"\n 12345.to_s(8) #=> "30071"\n 12345.to_s(10) #=> "12345"\n 12345.to_s(16) #=> "3039"\n 12345.to_s(36) #=> "9ix"\n" full_name: Fixnum#to_s is_singleton: false name: to_s params: | fix.to_s( base=10 ) -> aString visibility: public ri/1.8/system/Fixnum/fdiv-i.yaml 0000644 00000000744 15217654522 0012336 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the floating point result of dividing fix by numeric. - !ruby/struct:SM::Flow::VERB body: " 654321.quo(13731) #=> 47.6528293642124\n 654321.quo(13731.24) #=> 47.6519964693647\n" full_name: Fixnum#fdiv is_singleton: false name: fdiv params: | fix.quo(numeric) => float fix.fdiv(numeric) => float visibility: public ri/1.8/system/Fixnum/div-i.yaml 0000644 00000000630 15217654522 0012162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Performs division: the class of the resulting object depends on the class of numeric and on the magnitude of the result." full_name: Fixnum#div is_singleton: false name: div params: | fix / numeric => numeric_result fix.div(numeric) => numeric_result visibility: public ri/1.8/system/Fixnum/%2b-i.yaml 0000644 00000000551 15217654522 0011752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Performs addition: the class of the resulting object depends on the class of numeric and on the magnitude of the result." full_name: Fixnum#+ is_singleton: false name: + params: | fix + numeric => numeric_result visibility: public ri/1.8/system/Fixnum/cdesc-Fixnum.yaml 0000644 00000005513 15217654522 0013504 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: induced_from comment: - !ruby/struct:SM::Flow::P body: A Fixnum holds Integer values that can be represented in a native machine word (minus 1 bit). If any operation on a Fixnum exceeds this range, the value is automatically converted to a Bignum. - !ruby/struct:SM::Flow::P body: Fixnum objects have immediate value. This means that when they are assigned or passed as parameters, the actual object is passed, rather than a reference to that object. Assignment does not alias Fixnum objects. There is effectively only one Fixnum object instance for any given integer value, so, for example, you cannot add a singleton method to a Fixnum. constants: [] full_name: Fixnum includes: - !ruby/object:RI::IncludedModule name: Precision instance_methods: - !ruby/object:RI::MethodSummary name: "%" - !ruby/object:RI::MethodSummary name: "&" - !ruby/object:RI::MethodSummary name: "*" - !ruby/object:RI::MethodSummary name: "**" - !ruby/object:RI::MethodSummary name: "**" - !ruby/object:RI::MethodSummary name: + - !ruby/object:RI::MethodSummary name: "-" - !ruby/object:RI::MethodSummary name: -@ - !ruby/object:RI::MethodSummary name: / - !ruby/object:RI::MethodSummary name: / - !ruby/object:RI::MethodSummary name: < - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: <= - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: ">" - !ruby/object:RI::MethodSummary name: ">=" - !ruby/object:RI::MethodSummary name: ">>" - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: ^ - !ruby/object:RI::MethodSummary name: abs - !ruby/object:RI::MethodSummary name: dclone - !ruby/object:RI::MethodSummary name: div - !ruby/object:RI::MethodSummary name: divmod - !ruby/object:RI::MethodSummary name: even? - !ruby/object:RI::MethodSummary name: fdiv - !ruby/object:RI::MethodSummary name: id2name - !ruby/object:RI::MethodSummary name: modulo - !ruby/object:RI::MethodSummary name: odd? - !ruby/object:RI::MethodSummary name: power! - !ruby/object:RI::MethodSummary name: quo - !ruby/object:RI::MethodSummary name: quo - !ruby/object:RI::MethodSummary name: rdiv - !ruby/object:RI::MethodSummary name: rpower - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: to_f - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_sym - !ruby/object:RI::MethodSummary name: zero? - !ruby/object:RI::MethodSummary name: "|" - !ruby/object:RI::MethodSummary name: "~" name: Fixnum superclass: Integer ri/1.8/system/Fixnum/%3e%3e-i.yaml 0000644 00000000473 15217654522 0012256 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Shifts fix right count positions (left if count is negative). full_name: Fixnum#>> is_singleton: false name: ">>" params: | fix >> count => integer visibility: public ri/1.8/system/Fixnum/%3c%3c-i.yaml 0000644 00000000473 15217654522 0012252 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Shifts fix left count positions (right if count is negative). full_name: Fixnum#<< is_singleton: false name: "<<" params: | fix << count => integer visibility: public ri/1.8/system/Fixnum/%3c-i.yaml 0000644 00000000473 15217654522 0011757 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the value of fix is less than that of other. full_name: Fixnum#< is_singleton: false name: < params: | fix < other => true or false visibility: public ri/1.8/system/Fixnum/%3e-i.yaml 0000644 00000000500 15217654522 0011750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the value of fix is greater than that of other. full_name: Fixnum#> is_singleton: false name: ">" params: | fix > other => true or false visibility: public ri/1.8/system/Fixnum/zero%3f-i.yaml 0000644 00000000427 15217654522 0012661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if fix is zero. full_name: Fixnum#zero? is_singleton: false name: zero? params: | fix.zero? => true or false visibility: public ri/1.8/system/Fixnum/%26-i.yaml 0000644 00000000354 15217654522 0011677 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Bitwise AND. full_name: Fixnum#& is_singleton: false name: "&" params: | fix & other => integer visibility: public ri/1.8/system/Fixnum/%25-i.yaml 0000644 00000000542 15217654522 0011675 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns fix modulo other. See Numeric.divmod for more information. full_name: Fixnum#% is_singleton: false name: "%" params: | fix % other => Numeric fix.modulo(other) => Numeric visibility: public ri/1.8/system/Fixnum/%3c%3d%3e-i.yaml 0000644 00000000634 15217654522 0012547 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Comparison---Returns -1, 0, or +1 depending on whether fix is less than, equal to, or greater than numeric. This is the basis for the tests in Comparable. full_name: Fixnum#<=> is_singleton: false name: <=> params: | fix <=> numeric => -1, 0, +1 visibility: public ri/1.8/system/Fixnum/odd%3f-i.yaml 0000644 00000000432 15217654522 0012444 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if fix is an odd number. full_name: Fixnum#odd? is_singleton: false name: odd? params: | fix.odd? -> true or false visibility: public ri/1.8/system/Fixnum/quo-i.yaml 0000644 00000001062 15217654522 0012204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: / - !ruby/object:RI::AliasName name: rdiv block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the floating point result of dividing fix by numeric. - !ruby/struct:SM::Flow::VERB body: " 654321.quo(13731) #=> 47.6528293642124\n 654321.quo(13731.24) #=> 47.6519964693647\n" full_name: Fixnum#quo is_singleton: false name: quo params: | fix.quo(numeric) => float fix.fdiv(numeric) => float visibility: public ri/1.8/system/Fixnum/%2d-i.yaml 0000644 00000000556 15217654522 0011761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Performs subtraction: the class of the resulting object depends on the class of numeric and on the magnitude of the result." full_name: Fixnum#- is_singleton: false name: "-" params: | fix - numeric => numeric_result visibility: public ri/1.8/system/Fixnum/to_sym-i.yaml 0000644 00000000707 15217654522 0012717 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the symbol whose integer value is fix. See also Fixnum#id2name. - !ruby/struct:SM::Flow::VERB body: " fred = :fred.to_i\n fred.id2name #=> "fred"\n fred.to_sym #=> :fred\n" full_name: Fixnum#to_sym is_singleton: false name: to_sym params: | fix.to_sym -> aSymbol visibility: public ri/1.8/system/Fixnum/power%21-i.yaml 0000644 00000000334 15217654522 0012745 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #**" full_name: Fixnum#power! is_singleton: false name: power! params: (p1) visibility: public ri/1.8/system/Fixnum/%7c-i.yaml 0000644 00000000353 15217654522 0011760 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Bitwise OR. full_name: Fixnum#| is_singleton: false name: "|" params: | fix | other => integer visibility: public ri/1.8/system/Fixnum/abs-i.yaml 0000644 00000000553 15217654522 0012151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the absolute value of fix. - !ruby/struct:SM::Flow::VERB body: " -12345.abs #=> 12345\n 12345.abs #=> 12345\n" full_name: Fixnum#abs is_singleton: false name: abs params: | fix.abs -> aFixnum visibility: public ri/1.8/system/Fixnum/%5b%5d-i.yaml 0000644 00000001127 15217654522 0012253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Bit Reference---Returns the nth bit in the binary representation of fix, where fix[0] is the least significant bit. - !ruby/struct:SM::Flow::VERB body: " a = 0b11001100101010\n 30.downto(0) do |n| print a[n] end\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " 0000000000000000011001100101010\n" full_name: Fixnum#[] is_singleton: false name: "[]" params: | fix[n] => 0, 1 visibility: public ri/1.8/system/Fixnum/induced_from-c.yaml 0000644 00000000561 15217654522 0014033 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert obj to a Fixnum. Works with numeric parameters. Also works with Symbols, but this is deprecated. full_name: Fixnum::induced_from is_singleton: true name: induced_from params: | Fixnum.induced_from(obj) => fixnum visibility: public ri/1.8/system/Fixnum/even%3f-i.yaml 0000644 00000000436 15217654522 0012637 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if fix is an even number. full_name: Fixnum#even? is_singleton: false name: even? params: | fix.even? -> true or false visibility: public ri/1.8/system/Fixnum/size-i.yaml 0000644 00000000673 15217654522 0012361 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of bytes in the machine representation of a Fixnum. - !ruby/struct:SM::Flow::VERB body: " 1.size #=> 4\n -1.size #=> 4\n 2147483647.size #=> 4\n" full_name: Fixnum#size is_singleton: false name: size params: | fix.size -> fixnum visibility: public ri/1.8/system/Fixnum/dclone-i.yaml 0000644 00000000246 15217654522 0012647 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Fixnum#dclone is_singleton: false name: dclone params: () visibility: public ri/1.8/system/Fixnum/%2d%40-i.yaml 0000644 00000000413 15217654522 0012162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Negates fix (which might return a Bignum). full_name: Fixnum#-@ is_singleton: false name: -@ params: | -fix => integer visibility: public ri/1.8/system/Fixnum/%5e-i.yaml 0000644 00000000363 15217654522 0011761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Bitwise EXCLUSIVE OR. full_name: Fixnum#^ is_singleton: false name: ^ params: | fix ^ other => integer visibility: public ri/1.8/system/Fixnum/%7e-i.yaml 0000644 00000000430 15217654522 0011756 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "One's complement: returns a number where each bit is flipped." full_name: Fixnum#~ is_singleton: false name: "~" params: | ~fix => integer visibility: public ri/1.8/system/Fixnum/rdiv-i.yaml 0000644 00000000331 15217654522 0012342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #quo" full_name: Fixnum#rdiv is_singleton: false name: rdiv params: (p1) visibility: public ri/1.8/system/Fixnum/%2a-i.yaml 0000644 00000000561 15217654522 0011752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Performs multiplication: the class of the resulting object depends on the class of numeric and on the magnitude of the result." full_name: Fixnum#* is_singleton: false name: "*" params: | fix * numeric => numeric_result visibility: public ri/1.8/system/Fixnum/id2name-i.yaml 0000644 00000001315 15217654522 0012720 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the name of the object whose symbol id is fix. If there is no symbol in the symbol table with this value, returns nil. id2name has nothing to do with the Object.id method. See also Fixnum#to_sym, String#intern, and class Symbol. - !ruby/struct:SM::Flow::VERB body: " symbol = :@inst_var #=> :@inst_var\n id = symbol.to_i #=> 9818\n id.id2name #=> "@inst_var"\n" full_name: Fixnum#id2name is_singleton: false name: id2name params: | fix.id2name -> string or nil visibility: public ri/1.8/system/Fixnum/%3c%3d-i.yaml 0000644 00000000511 15217654522 0012244 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the value of fix is less thanor equal to that of other. full_name: Fixnum#<= is_singleton: false name: <= params: | fix <= other => true or false visibility: public ri/1.8/system/Fixnum/modulo-i.yaml 0000644 00000000552 15217654522 0012702 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns fix modulo other. See Numeric.divmod for more information. full_name: Fixnum#modulo is_singleton: false name: modulo params: | fix % other => Numeric fix.modulo(other) => Numeric visibility: public ri/1.8/system/Fixnum/to_f-i.yaml 0000644 00000000405 15217654522 0012327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts fix to a Float. full_name: Fixnum#to_f is_singleton: false name: to_f params: | fix.to_f -> float visibility: public ri/1.8/system/Fixnum/%2f-i.yaml 0000644 00000000323 15217654522 0011753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #quo" full_name: Fixnum#/ is_singleton: false name: / params: (p1) visibility: public ri/1.8/system/Fixnum/%3d%3d-i.yaml 0000644 00000000572 15217654522 0012254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return true if fix equals other numerically. - !ruby/struct:SM::Flow::VERB body: " 1 == 2 #=> false\n 1 == 1.0 #=> true\n" full_name: Fixnum#== is_singleton: false name: == params: | fix == other visibility: public ri/1.8/system/Fixnum/divmod-i.yaml 0000644 00000000411 15217654522 0012657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Numeric#divmod. full_name: Fixnum#divmod is_singleton: false name: divmod params: | fix.divmod(numeric) => array visibility: public ri/1.8/system/Fixnum/%3e%3d-i.yaml 0000644 00000000517 15217654522 0012254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the value of fix is greater than or equal to that of other. full_name: Fixnum#>= is_singleton: false name: ">=" params: | fix >= other => true or false visibility: public ri/1.8/system/Fixnum/rpower-i.yaml 0000644 00000000521 15217654522 0012715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: "**" block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a Rational number if the result is in fact rational (i.e. other < 0). full_name: Fixnum#rpower is_singleton: false name: rpower params: (other) visibility: public ri/1.8/system/Fixnum/%2a%2a-i.yaml 0000644 00000000335 15217654522 0012241 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #rpower" full_name: Fixnum#** is_singleton: false name: "**" params: (other) visibility: public ri/1.8/system/ScriptError/cdesc-ScriptError.yaml 0000644 00000001174 15217654522 0015523 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: ScriptError includes: [] instance_methods: [] name: ScriptError superclass: Exception ri/1.8/system/PStore/roots-i.yaml 0000644 00000000656 15217654523 0012525 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the names of all object hierarchies currently in the store. - !ruby/struct:SM::Flow::P body: "WARNING: This method is only valid in a PStore#transaction. It will raise PStore::Error if called at any other time." full_name: PStore#roots is_singleton: false name: roots params: () visibility: public ri/1.8/system/PStore/new-c.yaml 0000644 00000000461 15217654523 0012134 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: To construct a PStore object, pass in the file path where you would like the data to be stored. full_name: PStore::new is_singleton: true name: new params: (file) visibility: public ri/1.8/system/PStore/root%3f-i.yaml 0000644 00000000671 15217654523 0012635 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the supplied name is currently in the data store. - !ruby/struct:SM::Flow::P body: "WARNING: This method is only valid in a PStore#transaction. It will raise PStore::Error if called at any other time." full_name: PStore#root? is_singleton: false name: root? params: (name) visibility: public ri/1.8/system/PStore/delete-i.yaml 0000644 00000000716 15217654523 0012616 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes an object hierarchy from the data store, by name. - !ruby/struct:SM::Flow::P body: "WARNING: This method is only valid in a PStore#transaction and it cannot be read-only. It will raise PStore::Error if called at any other time." full_name: PStore#delete is_singleton: false name: delete params: (name) visibility: public ri/1.8/system/PStore/transaction-i.yaml 0000644 00000002045 15217654523 0013676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: pstore comment: - !ruby/struct:SM::Flow::P body: Opens a new transaction for the data store. Code executed inside a block passed to this method may read and write data to and from the data store file. - !ruby/struct:SM::Flow::P body: At the end of the block, changes are committed to the data store automatically. You may exit the transaction early with a call to either PStore#commit or PStore#abort. See those methods for details about how changes are handled. Raising an uncaught Exception in the block is equivalent to calling PStore#abort. - !ruby/struct:SM::Flow::P body: If read_only is set to true, you will only be allowed to read from the data store during the transaction and any attempts to change the data will raise a PStore::Error. - !ruby/struct:SM::Flow::P body: Note that PStore does not support nested transactions. full_name: PStore#transaction is_singleton: false name: transaction params: (read_only=false) {|pstore| ...} visibility: public ri/1.8/system/PStore/commit_new-i.yaml 0000644 00000000374 15217654523 0013515 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Commits changes to the data store file. full_name: PStore#commit_new is_singleton: false name: commit_new params: (f) visibility: private ri/1.8/system/PStore/commit-i.yaml 0000644 00000001574 15217654523 0012647 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Ends the current PStore#transaction, committing any changes to the data store immediately. - !ruby/struct:SM::Flow::H level: 2 text: "Example:" - !ruby/struct:SM::Flow::VERB body: " require "pstore"\n\n store = PStore.new("data_file.pstore")\n store.transaction do # begin transaction\n # load some data into the store...\n store[:one] = 1\n store[:two] = 2\n\n store.commit # end transaction here, committing changes\n\n store[:three] = 3 # this change is never reached\n end\n" - !ruby/struct:SM::Flow::P body: "WARNING: This method is only valid in a PStore#transaction. It will raise PStore::Error if called at any other time." full_name: PStore#commit is_singleton: false name: commit params: () visibility: public ri/1.8/system/PStore/path-i.yaml 0000644 00000000357 15217654523 0012311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the path to the data store file. full_name: PStore#path is_singleton: false name: path params: () visibility: public ri/1.8/system/PStore/%5b%5d%3d-i.yaml 0000644 00000002241 15217654523 0012514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Stores an individual Ruby object or a hierarchy of Ruby objects in the data store file under the root name. Assigning to a name already in the data store clobbers the old data. - !ruby/struct:SM::Flow::H level: 2 text: "Example:" - !ruby/struct:SM::Flow::VERB body: " require "pstore"\n\n store = PStore.new("data_file.pstore")\n store.transaction do # begin transaction\n # load some data into the store...\n store[:single_object] = "My data..."\n store[:obj_heirarchy] = { "Kev Jackson" => ["rational.rb", "pstore.rb"],\n "James Gray" => ["erb.rb", "pstore.rb"] }\n end # commit changes to data store file\n" - !ruby/struct:SM::Flow::P body: "WARNING: This method is only valid in a PStore#transaction and it cannot be read-only. It will raise PStore::Error if called at any other time." full_name: PStore#[]= is_singleton: false name: "[]=" params: (name, value) visibility: public ri/1.8/system/PStore/%5b%5d-i.yaml 0000644 00000000776 15217654523 0012233 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Retrieves a value from the PStore file data, by name. The hierarchy of Ruby objects stored under that root name will be returned. - !ruby/struct:SM::Flow::P body: "WARNING: This method is only valid in a PStore#transaction. It will raise PStore::Error if called at any other time." full_name: PStore#[] is_singleton: false name: "[]" params: (name) visibility: public ri/1.8/system/PStore/abort-i.yaml 0000644 00000001646 15217654523 0012466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Ends the current PStore#transaction, discarding any changes to the data store. - !ruby/struct:SM::Flow::H level: 2 text: "Example:" - !ruby/struct:SM::Flow::VERB body: " require "pstore"\n\n store = PStore.new("data_file.pstore")\n store.transaction do # begin transaction\n store[:one] = 1 # this change is not applied, see below...\n store[:two] = 2 # this change is not applied, see below...\n\n store.abort # end transaction here, discard all changes\n\n store[:three] = 3 # this change is never reached\n end\n" - !ruby/struct:SM::Flow::P body: "WARNING: This method is only valid in a PStore#transaction. It will raise PStore::Error if called at any other time." full_name: PStore#abort is_singleton: false name: abort params: () visibility: public ri/1.8/system/PStore/Error/cdesc-Error.yaml 0000644 00000000427 15217654523 0014366 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The error type thrown by all PStore methods. constants: [] full_name: PStore::Error includes: [] instance_methods: [] name: Error superclass: StandardError ri/1.8/system/PStore/in_transaction_wr-i.yaml 0000644 00000000536 15217654523 0015077 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Raises PStore::Error if the calling code is not in a PStore#transaction or if the code is in a read-only PStore#transaction. full_name: PStore#in_transaction_wr is_singleton: false name: in_transaction_wr params: () visibility: private ri/1.8/system/PStore/fetch-i.yaml 0000644 00000001304 15217654523 0012437 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This method is just like PStore#[], save that you may also provide a default value for the object. In the event the specified name is not found in the data store, your default will be returned instead. If you do not specify a default, PStore::Error will be raised if the object is not found. - !ruby/struct:SM::Flow::P body: "WARNING: This method is only valid in a PStore#transaction. It will raise PStore::Error if called at any other time." full_name: PStore#fetch is_singleton: false name: fetch params: (name, default=PStore::Error) visibility: public ri/1.8/system/PStore/cdesc-PStore.yaml 0000644 00000007042 15217654523 0013420 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: PStore implements a file based persistence mechanism based on a Hash. User code can store hierarchies of Ruby objects (values) into the data store file by name (keys). An object hierarchy may be just a single object. User code may later read values back from the data store or even update data, as needed. - !ruby/struct:SM::Flow::P body: The transactional behavior ensures that any changes succeed or fail together. This can be used to ensure that the data store is not left in a transitory state, where some values were updated but others were not. - !ruby/struct:SM::Flow::P body: Behind the scenes, Ruby objects are stored to the data store file with Marshal. That carries the usual limitations. Proc objects cannot be marshalled, for example. - !ruby/struct:SM::Flow::H level: 2 text: "Usage example:" - !ruby/struct:SM::Flow::VERB body: " require "pstore"\n\n # a mock wiki object...\n class WikiPage\n def initialize( page_name, author, contents )\n @page_name = page_name\n @revisions = Array.new\n\n add_revision(author, contents)\n end\n\n attr_reader :page_name\n\n def add_revision( author, contents )\n @revisions << { :created => Time.now,\n :author => author,\n :contents => contents }\n end\n\n def wiki_page_references\n [@page_name] + @revisions.last[:contents].scan(/\\b(?:[A-Z]+[a-z]+){2,}/)\n end\n\n # ...\n end\n\n # create a new page...\n home_page = WikiPage.new( "HomePage", "James Edward Gray II",\n "A page about the JoysOfDocumentation..." )\n\n # then we want to update page data and the index together, or not at all...\n wiki = PStore.new("wiki_pages.pstore")\n wiki.transaction do # begin transaction; do all of this or none of it\n # store page...\n wiki[home_page.page_name] = home_page\n # ensure that an index has been created...\n wiki[:wiki_index] ||= Array.new\n # update wiki index...\n wiki[:wiki_index].push(*home_page.wiki_page_references)\n end # commit changes to wiki data store file\n\n ### Some time later... ###\n\n # read wiki data...\n wiki.transaction(true) do # begin read-only transaction, no changes allowed\n wiki.roots.each do |data_root_name|\n p data_root_name\n p wiki[data_root_name]\n end\n end\n" constants: - !ruby/object:RI::Constant comment: name: RDWR_ACCESS value: File::RDWR | File::CREAT | binmode - !ruby/object:RI::Constant comment: name: RD_ACCESS value: File::RDONLY | binmode - !ruby/object:RI::Constant comment: name: WR_ACCESS value: File::WRONLY | File::CREAT | File::TRUNC | binmode full_name: PStore includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: abort - !ruby/object:RI::MethodSummary name: commit - !ruby/object:RI::MethodSummary name: commit_new - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: fetch - !ruby/object:RI::MethodSummary name: in_transaction - !ruby/object:RI::MethodSummary name: in_transaction_wr - !ruby/object:RI::MethodSummary name: path - !ruby/object:RI::MethodSummary name: root? - !ruby/object:RI::MethodSummary name: roots - !ruby/object:RI::MethodSummary name: transaction name: PStore superclass: Object ri/1.8/system/PStore/in_transaction-i.yaml 0000644 00000000444 15217654523 0014365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Raises PStore::Error if the calling code is not in a PStore#transaction. full_name: PStore#in_transaction is_singleton: false name: in_transaction params: () visibility: private ri/1.8/system/LoadError/cdesc-LoadError.yaml 0000644 00000001172 15217654523 0014550 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: LoadError includes: [] instance_methods: [] name: LoadError superclass: ScriptError ri/1.8/system/Resolv/new-c.yaml 0000644 00000000421 15217654523 0012166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new Resolv using resolvers. full_name: Resolv::new is_singleton: true name: new params: (resolvers=[Hosts.new, DNS.new]) visibility: public ri/1.8/system/Resolv/each_name-i.yaml 0000644 00000000444 15217654523 0013310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: name.to_s comment: - !ruby/struct:SM::Flow::P body: Iterates over all hostnames for address. full_name: Resolv#each_name is_singleton: false name: each_name params: (address) {|name.to_s| ...} visibility: public ri/1.8/system/Resolv/each_address-c.yaml 0000644 00000000424 15217654523 0014005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates over all IP addresses for name. full_name: Resolv::each_address is_singleton: true name: each_address params: (name, &block) visibility: public ri/1.8/system/Resolv/getnames-c.yaml 0000644 00000000402 15217654523 0013177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Looks up all hostnames for address. full_name: Resolv::getnames is_singleton: true name: getnames params: (address) visibility: public ri/1.8/system/Resolv/getaddress-i.yaml 0000644 00000000407 15217654523 0013534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Looks up the first IP address for name. full_name: Resolv#getaddress is_singleton: false name: getaddress params: (name) visibility: public ri/1.8/system/Resolv/getaddress-c.yaml 0000644 00000000407 15217654523 0013526 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Looks up the first IP address for name. full_name: Resolv::getaddress is_singleton: true name: getaddress params: (name) visibility: public ri/1.8/system/Resolv/DNS/getresources-i.yaml 0000644 00000000524 15217654523 0014545 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Looks up all typeclass DNS resources for name. See #getresource for argument details." full_name: Resolv::DNS#getresources is_singleton: false name: getresources params: (name, typeclass) visibility: public ri/1.8/system/Resolv/DNS/new-c.yaml 0000644 00000001611 15217654523 0012614 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new DNS resolver. - !ruby/struct:SM::Flow::P body: "config_info can be:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "nil:" body: Uses /etc/resolv.conf. - !ruby/struct:SM::Flow::LI label: "String:" body: Path to a file using /etc/resolv.conf's format. - !ruby/struct:SM::Flow::LI label: "Hash:" body: Must contain :nameserver, :search and :ndots keys. type: :NOTE - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " Resolv::DNS.new(:nameserver => ['210.251.121.21'],\n :search => ['ruby-lang.org'],\n :ndots => 1)\n" full_name: Resolv::DNS::new is_singleton: true name: new params: (config_info=nil) visibility: public ri/1.8/system/Resolv/DNS/each_name-i.yaml 0000644 00000000755 15217654523 0013741 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: resource.name comment: - !ruby/struct:SM::Flow::P body: Iterates over all hostnames for address retrieved from the DNS resolver. - !ruby/struct:SM::Flow::P body: address must be a Resolv::IPv4, Resolv::IPv6 or a String. Retrieved names will be Resolv::DNS::Name instances. full_name: Resolv::DNS#each_name is_singleton: false name: each_name params: (address) {|resource.name| ...} visibility: public ri/1.8/system/Resolv/DNS/getresource-i.yaml 0000644 00000003272 15217654523 0014365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Look up the typeclass DNS resource of name. - !ruby/struct:SM::Flow::P body: name must be a Resolv::DNS::Name or a String. - !ruby/struct:SM::Flow::P body: "typeclass should be one of the following:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Resolv::DNS::Resource::IN::A - !ruby/struct:SM::Flow::LI label: "*" body: Resolv::DNS::Resource::IN::AAAA - !ruby/struct:SM::Flow::LI label: "*" body: Resolv::DNS::Resource::IN::ANY - !ruby/struct:SM::Flow::LI label: "*" body: Resolv::DNS::Resource::IN::CNAME - !ruby/struct:SM::Flow::LI label: "*" body: Resolv::DNS::Resource::IN::HINFO - !ruby/struct:SM::Flow::LI label: "*" body: Resolv::DNS::Resource::IN::MINFO - !ruby/struct:SM::Flow::LI label: "*" body: Resolv::DNS::Resource::IN::MX - !ruby/struct:SM::Flow::LI label: "*" body: Resolv::DNS::Resource::IN::NS - !ruby/struct:SM::Flow::LI label: "*" body: Resolv::DNS::Resource::IN::PTR - !ruby/struct:SM::Flow::LI label: "*" body: Resolv::DNS::Resource::IN::SOA - !ruby/struct:SM::Flow::LI label: "*" body: Resolv::DNS::Resource::IN::TXT - !ruby/struct:SM::Flow::LI label: "*" body: Resolv::DNS::Resource::IN::WKS type: :BULLET - !ruby/struct:SM::Flow::P body: Returned resource is represented as a Resolv::DNS::Resource instance, i.e. Resolv::DNS::Resource::IN::A. full_name: Resolv::DNS#getresource is_singleton: false name: getresource params: (name, typeclass) visibility: public ri/1.8/system/Resolv/DNS/open-c.yaml 0000644 00000000627 15217654523 0012772 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: dns comment: - !ruby/struct:SM::Flow::P body: Creates a new DNS resolver. See Resolv::DNS.new for argument details. - !ruby/struct:SM::Flow::P body: Yields the created DNS resolver to the block, if given, otherwise returns it. full_name: Resolv::DNS::open is_singleton: true name: open params: (*args) {|dns| ...} visibility: public ri/1.8/system/Resolv/DNS/Resource/HINFO/new-c.yaml 0000644 00000000432 15217654523 0015246 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new HINFO running os on cpu. full_name: Resolv::DNS::Resource::HINFO::new is_singleton: true name: new params: (cpu, os) visibility: public ri/1.8/system/Resolv/DNS/Resource/HINFO/cdesc-HINFO.yaml 0000644 00000001112 15217654523 0016153 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: CPU architecture for this resource. name: cpu rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Operating system for this resource. name: os rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Host Information resource. constants: [] full_name: Resolv::DNS::Resource::HINFO includes: [] instance_methods: [] name: HINFO superclass: Resource ri/1.8/system/Resolv/DNS/Resource/PTR/cdesc-PTR.yaml 0000644 00000000421 15217654523 0015561 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: A Pointer to another DNS name. constants: [] full_name: Resolv::DNS::Resource::PTR includes: [] instance_methods: [] name: PTR superclass: DomainName ri/1.8/system/Resolv/DNS/Resource/MX/new-c.yaml 0000644 00000000502 15217654523 0014725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new MX record with preference, accepting mail at exchange. full_name: Resolv::DNS::Resource::MX::new is_singleton: true name: new params: (preference, exchange) visibility: public ri/1.8/system/Resolv/DNS/Resource/MX/cdesc-MX.yaml 0000644 00000001070 15217654523 0015320 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The host of this MX. name: exchange rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The preference for this MX. name: preference rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Mail Exchanger resource. constants: [] full_name: Resolv::DNS::Resource::MX includes: [] instance_methods: [] name: MX superclass: Resource ri/1.8/system/Resolv/DNS/Resource/MINFO/new-c.yaml 0000644 00000000306 15217654523 0015253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Resolv::DNS::Resource::MINFO::new is_singleton: true name: new params: (rmailbx, emailbx) visibility: public ri/1.8/system/Resolv/DNS/Resource/MINFO/cdesc-MINFO.yaml 0000644 00000001223 15217654523 0016170 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Mailbox to use for error messages related to the mail list or mailbox. name: emailbx rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Domain name responsible for this mail list or mailbox. name: rmailbx rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Mailing list or mailbox information. constants: [] full_name: Resolv::DNS::Resource::MINFO includes: [] instance_methods: [] name: MINFO superclass: Resource ri/1.8/system/Resolv/DNS/Resource/TXT/new-c.yaml 0000644 00000000317 15217654523 0015064 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Resolv::DNS::Resource::TXT::new is_singleton: true name: new params: (first_string, *rest_strings) visibility: public ri/1.8/system/Resolv/DNS/Resource/TXT/cdesc-TXT.yaml 0000644 00000000773 15217654523 0015617 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Returns an Array of Strings for this TXT record. name: strings rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Unstructured text resource. constants: [] full_name: Resolv::DNS::Resource::TXT includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: data name: TXT superclass: Resource ri/1.8/system/Resolv/DNS/Resource/TXT/data-i.yaml 0000644 00000000412 15217654523 0015206 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the first string from strings. full_name: Resolv::DNS::Resource::TXT#data is_singleton: false name: data params: () visibility: public ri/1.8/system/Resolv/DNS/Resource/cdesc-Resource.yaml 0000644 00000001054 15217654523 0016241 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Remaining Time To Live for this Resource. name: ttl rw: R class_methods: [] comment: - !ruby/struct:SM::Flow::P body: A DNS resource abstract class. constants: - !ruby/object:RI::Constant comment: name: ClassInsensitiveTypes value: "[ # :nodoc: NS, CNAME, SOA, PTR, HINFO, MINFO, MX, TXT, ANY" full_name: Resolv::DNS::Resource includes: [] instance_methods: [] name: Resource superclass: Query ri/1.8/system/Resolv/DNS/Resource/SOA/new-c.yaml 0000644 00000000545 15217654523 0015032 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new SOA record. See the attr documentation for the details of each argument. full_name: Resolv::DNS::Resource::SOA::new is_singleton: true name: new params: (mname, rname, serial, refresh, retry_, expire, minimum) visibility: public ri/1.8/system/Resolv/DNS/Resource/SOA/cdesc-SOA.yaml 0000644 00000003040 15217654523 0015513 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Time in seconds that a secondary name server is to use the data before refreshing from the primary name server. name: expire rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The minimum number of seconds to be used for TTL values in RRs. name: minimum rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Name of the host where the master zone file for this zone resides. name: mname rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: How often, in seconds, a secondary name server is to check for updates from the primary name server. name: refresh rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: How often, in seconds, a secondary name server is to retry after a failure to check for a refresh. name: retry rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The person responsible for this domain name. name: rname rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The version number of the zone file. name: serial rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Start Of Authority resource. constants: [] full_name: Resolv::DNS::Resource::SOA includes: [] instance_methods: [] name: SOA superclass: Resource ri/1.8/system/Resolv/DNS/Resource/IN/cdesc-IN.yaml 0000644 00000000425 15217654523 0015267 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: module IN contains ARPA Internet specific RRs. constants: [] full_name: Resolv::DNS::Resource::IN includes: [] instance_methods: [] name: IN superclass: ri/1.8/system/Resolv/DNS/Resource/IN/WKS/new-c.yaml 0000644 00000000321 15217654523 0015352 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Resolv::DNS::Resource::IN::WKS::new is_singleton: true name: new params: (address, protocol, bitmap) visibility: public ri/1.8/system/Resolv/DNS/Resource/IN/WKS/cdesc-WKS.yaml 0000644 00000002164 15217654523 0016073 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The host these services run on. name: address rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: A bit map of enabled services on this host. - !ruby/struct:SM::Flow::P body: If protocol is 6 (TCP) then the 26th bit corresponds to the SMTP service (port 25). If this bit is set, then an SMTP server should be listening on TCP port 25; if zero, SMTP service is not supported. name: bitmap rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: IP protocol number for these services. name: protocol rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Well Known Service resource. constants: - !ruby/object:RI::Constant comment: name: TypeValue value: "11" - !ruby/object:RI::Constant comment: name: ClassValue value: IN::ClassValue full_name: Resolv::DNS::Resource::IN::WKS includes: [] instance_methods: [] name: WKS superclass: Resource ri/1.8/system/Resolv/DNS/Resource/IN/SRV/new-c.yaml 0000644 00000000716 15217654523 0015370 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a SRV resource record. - !ruby/struct:SM::Flow::P body: "See the documentation for #priority, #weight, #port and #target for priority, weight, +port and target respectively." full_name: Resolv::DNS::Resource::IN::SRV::new is_singleton: true name: new params: (priority, weight, port, target) visibility: public ri/1.8/system/Resolv/DNS/Resource/IN/SRV/cdesc-SRV.yaml 0000644 00000004112 15217654523 0016102 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The port on this target host of this service. - !ruby/struct:SM::Flow::P body: The range is 0-65535. name: port rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The priority of this target host. - !ruby/struct:SM::Flow::P body: A client MUST attempt to contact the target host with the lowest-numbered priority it can reach; target hosts with the same priority SHOULD be tried in an order defined by the weight field. The range is 0-65535. Note that it is not widely implemented and should be set to zero. name: priority rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The domain name of the target host. - !ruby/struct:SM::Flow::P body: A target of "." means that the service is decidedly not available at this domain. name: target rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: A server selection mechanism. - !ruby/struct:SM::Flow::P body: The weight field specifies a relative weight for entries with the same priority. Larger weights SHOULD be given a proportionately higher probability of being selected. The range of this number is 0-65535. Domain administrators SHOULD use Weight 0 when there isn't any server selection to do, to make the RR easier to read for humans (less noisy). Note that it is not widely implemented and should be set to zero. name: weight rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: SRV resource record defined in RFC 2782 - !ruby/struct:SM::Flow::P body: These records identify the hostname and port that a service is available at. constants: - !ruby/object:RI::Constant comment: name: TypeValue value: "33" - !ruby/object:RI::Constant comment: name: ClassValue value: IN::ClassValue full_name: Resolv::DNS::Resource::IN::SRV includes: [] instance_methods: [] name: SRV superclass: Resource ri/1.8/system/Resolv/DNS/Resource/IN/AAAA/new-c.yaml 0000644 00000000415 15217654523 0015375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new AAAA for address. full_name: Resolv::DNS::Resource::IN::AAAA::new is_singleton: true name: new params: (address) visibility: public ri/1.8/system/Resolv/DNS/Resource/IN/AAAA/cdesc-AAAA.yaml 0000644 00000001142 15217654523 0016124 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The Resolv::IPv6 address for this AAAA. name: address rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: An IPv6 address record. constants: - !ruby/object:RI::Constant comment: name: TypeValue value: "28" - !ruby/object:RI::Constant comment: name: ClassValue value: IN::ClassValue full_name: Resolv::DNS::Resource::IN::AAAA includes: [] instance_methods: [] name: AAAA superclass: Resource ri/1.8/system/Resolv/DNS/Resource/IN/A/new-c.yaml 0000644 00000000407 15217654523 0015073 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new A for address. full_name: Resolv::DNS::Resource::IN::A::new is_singleton: true name: new params: (address) visibility: public ri/1.8/system/Resolv/DNS/Resource/IN/A/cdesc-A.yaml 0000644 00000001126 15217654523 0015320 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The Resolv::IPv4 address for this A. name: address rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: IPv4 Address resource constants: - !ruby/object:RI::Constant comment: name: TypeValue value: "1" - !ruby/object:RI::Constant comment: name: ClassValue value: IN::ClassValue full_name: Resolv::DNS::Resource::IN::A includes: [] instance_methods: [] name: A superclass: Resource ri/1.8/system/Resolv/DNS/Resource/Generic/new-c.yaml 0000644 00000000400 15217654523 0015752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new generic resource. full_name: Resolv::DNS::Resource::Generic::new is_singleton: true name: new params: (data) visibility: public ri/1.8/system/Resolv/DNS/Resource/Generic/cdesc-Generic.yaml 0000644 00000000712 15217654523 0017402 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Data for this generic resource. name: data rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A generic resource abstract class. constants: [] full_name: Resolv::DNS::Resource::Generic includes: [] instance_methods: [] name: Generic superclass: Resource ri/1.8/system/Resolv/DNS/Resource/NS/cdesc-NS.yaml 0000644 00000000416 15217654523 0015313 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: An authoritative name server. constants: [] full_name: Resolv::DNS::Resource::NS includes: [] instance_methods: [] name: NS superclass: DomainName ri/1.8/system/Resolv/DNS/Resource/CNAME/cdesc-CNAME.yaml 0000644 00000000427 15217654523 0016123 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The canonical name for an alias. constants: [] full_name: Resolv::DNS::Resource::CNAME includes: [] instance_methods: [] name: CNAME superclass: DomainName ri/1.8/system/Resolv/DNS/Resource/DomainName/new-c.yaml 0000644 00000000420 15217654523 0016410 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new DomainName from name. full_name: Resolv::DNS::Resource::DomainName::new is_singleton: true name: new params: (name) visibility: public ri/1.8/system/Resolv/DNS/Resource/DomainName/cdesc-DomainName.yaml 0000644 00000000717 15217654523 0020477 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The name of this DomainName. name: name rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Domain Name resource abstract class. constants: [] full_name: Resolv::DNS::Resource::DomainName includes: [] instance_methods: [] name: DomainName superclass: Resource ri/1.8/system/Resolv/DNS/Resource/ANY/cdesc-ANY.yaml 0000644 00000000415 15217654523 0015530 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: A Query type requesting any RR. constants: [] full_name: Resolv::DNS::Resource::ANY includes: [] instance_methods: [] name: ANY superclass: Query ri/1.8/system/Resolv/DNS/getaddress-i.yaml 0000644 00000000652 15217654523 0014162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Gets the IP address of name from the DNS resolver. - !ruby/struct:SM::Flow::P body: name can be a Resolv::DNS::Name or a String. Retrieved address will be a Resolv::IPv4 or Resolv::IPv6 full_name: Resolv::DNS#getaddress is_singleton: false name: getaddress params: (name) visibility: public ri/1.8/system/Resolv/DNS/Message/MessageDecoder/cdesc-MessageDecoder.yaml 0000644 00000000337 15217654523 0021776 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Resolv::DNS::Message::MessageDecoder includes: [] instance_methods: [] name: MessageDecoder superclass: Object ri/1.8/system/Resolv/DNS/Message/cdesc-Message.yaml 0000644 00000000310 15217654523 0015625 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Resolv::DNS::Message includes: [] instance_methods: [] name: Message superclass: Object ri/1.8/system/Resolv/DNS/Message/MessageEncoder/cdesc-MessageEncoder.yaml 0000644 00000000337 15217654523 0022022 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Resolv::DNS::Message::MessageEncoder includes: [] instance_methods: [] name: MessageEncoder superclass: Object ri/1.8/system/Resolv/DNS/Query/cdesc-Query.yaml 0000644 00000000404 15217654523 0015073 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: A DNS query abstract class. constants: [] full_name: Resolv::DNS::Query includes: [] instance_methods: [] name: Query superclass: Object ri/1.8/system/Resolv/DNS/close-i.yaml 0000644 00000000346 15217654523 0013142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Closes the DNS resolver. full_name: Resolv::DNS#close is_singleton: false name: close params: () visibility: public ri/1.8/system/Resolv/DNS/RCode/cdesc-RCode.yaml 0000644 00000000276 15217654523 0014660 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Resolv::DNS::RCode includes: [] instance_methods: [] name: RCode superclass: ri/1.8/system/Resolv/DNS/Requester/ConnectedUDP/Sender/cdesc-Sender.yaml 0000644 00000000352 15217654523 0021555 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Resolv::DNS::Requester::ConnectedUDP::Sender includes: [] instance_methods: [] name: Sender superclass: Requester::Sender ri/1.8/system/Resolv/DNS/Requester/ConnectedUDP/cdesc-ConnectedUDP.yaml 0000644 00000000340 15217654523 0021365 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Resolv::DNS::Requester::ConnectedUDP includes: [] instance_methods: [] name: ConnectedUDP superclass: Requester ri/1.8/system/Resolv/DNS/Requester/cdesc-Requester.yaml 0000644 00000000314 15217654523 0016617 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Resolv::DNS::Requester includes: [] instance_methods: [] name: Requester superclass: Object ri/1.8/system/Resolv/DNS/Requester/Sender/cdesc-Sender.yaml 0000644 00000000321 15217654523 0017276 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Resolv::DNS::Requester::Sender includes: [] instance_methods: [] name: Sender superclass: Object ri/1.8/system/Resolv/DNS/Requester/RequestError/cdesc-RequestError.yaml 0000644 00000000462 15217654523 0021750 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Indicates a problem with the DNS request. constants: [] full_name: Resolv::DNS::Requester::RequestError includes: [] instance_methods: [] name: RequestError superclass: StandardError ri/1.8/system/Resolv/DNS/Requester/UnconnectedUDP/cdesc-UnconnectedUDP.yaml 0000644 00000000344 15217654523 0022277 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Resolv::DNS::Requester::UnconnectedUDP includes: [] instance_methods: [] name: UnconnectedUDP superclass: Requester ri/1.8/system/Resolv/DNS/Requester/UnconnectedUDP/Sender/cdesc-Sender.yaml 0000644 00000000354 15217654523 0022122 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Resolv::DNS::Requester::UnconnectedUDP::Sender includes: [] instance_methods: [] name: Sender superclass: Requester::Sender ri/1.8/system/Resolv/DNS/Requester/TCP/cdesc-TCP.yaml 0000644 00000000316 15217654523 0015716 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Resolv::DNS::Requester::TCP includes: [] instance_methods: [] name: TCP superclass: Requester ri/1.8/system/Resolv/DNS/Requester/TCP/Sender/cdesc-Sender.yaml 0000644 00000000341 15217654523 0017726 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Resolv::DNS::Requester::TCP::Sender includes: [] instance_methods: [] name: Sender superclass: Requester::Sender ri/1.8/system/Resolv/DNS/cdesc-DNS.yaml 0000644 00000003567 15217654523 0013322 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: open comment: - !ruby/struct:SM::Flow::P body: Resolv::DNS is a DNS stub resolver. - !ruby/struct:SM::Flow::P body: "Information taken from the following places:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: STD0013 - !ruby/struct:SM::Flow::LI label: "*" body: RFC 1035 - !ruby/struct:SM::Flow::LI label: "*" body: ftp://ftp.isi.edu/in-notes/iana/assignments/dns-parameters - !ruby/struct:SM::Flow::LI label: "*" body: etc. type: :BULLET constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Default DNS Port name: Port value: "53" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Default DNS UDP packet size name: UDPSize value: "512" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Group of DNS resolver threads (obsolete) name: DNSThreadGroup value: ThreadGroup.new - !ruby/object:RI::Constant comment: name: RequestID value: "{}" - !ruby/object:RI::Constant comment: name: RequestIDMutex value: Mutex.new full_name: Resolv::DNS includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: each_address - !ruby/object:RI::MethodSummary name: each_name - !ruby/object:RI::MethodSummary name: each_resource - !ruby/object:RI::MethodSummary name: getaddress - !ruby/object:RI::MethodSummary name: getaddresses - !ruby/object:RI::MethodSummary name: getname - !ruby/object:RI::MethodSummary name: getnames - !ruby/object:RI::MethodSummary name: getresource - !ruby/object:RI::MethodSummary name: getresources name: DNS superclass: Object ri/1.8/system/Resolv/DNS/getname-i.yaml 0000644 00000000651 15217654523 0013454 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Gets the hostname for address from the DNS resolver. - !ruby/struct:SM::Flow::P body: address must be a Resolv::IPv4, Resolv::IPv6 or a String. Retrieved name will be a Resolv::DNS::Name. full_name: Resolv::DNS#getname is_singleton: false name: getname params: (address) visibility: public ri/1.8/system/Resolv/DNS/OpCode/cdesc-OpCode.yaml 0000644 00000000300 15217654523 0015176 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Resolv::DNS::OpCode includes: [] instance_methods: [] name: OpCode superclass: ri/1.8/system/Resolv/DNS/Label/cdesc-Label.yaml 0000644 00000000276 15217654523 0014726 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Resolv::DNS::Label includes: [] instance_methods: [] name: Label superclass: ri/1.8/system/Resolv/DNS/Label/Str/cdesc-Str.yaml 0000644 00000000307 15217654523 0015222 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Resolv::DNS::Label::Str includes: [] instance_methods: [] name: Str superclass: Object ri/1.8/system/Resolv/DNS/getaddresses-i.yaml 0000644 00000000663 15217654523 0014514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Gets all IP addresses for name from the DNS resolver. - !ruby/struct:SM::Flow::P body: name can be a Resolv::DNS::Name or a String. Retrieved addresses will be a Resolv::IPv4 or Resolv::IPv6 full_name: Resolv::DNS#getaddresses is_singleton: false name: getaddresses params: (name) visibility: public ri/1.8/system/Resolv/DNS/Name/to_s-i.yaml 0000644 00000001143 15217654523 0013655 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: returns the domain name as a string. - !ruby/struct:SM::Flow::P body: The domain name doesn't have a trailing dot even if the name object is absolute. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " p Resolv::DNS::Name.create("x.y.z.").to_s #=> "x.y.z"\n p Resolv::DNS::Name.create("x.y.z").to_s #=> "x.y.z"\n" full_name: Resolv::DNS::Name#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/Resolv/DNS/Name/create-c.yaml 0000644 00000000767 15217654523 0014161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Creates a new DNS name from arg. arg can be:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "Name:" body: returns arg. - !ruby/struct:SM::Flow::LI label: "String:" body: Creates a new Name. type: :NOTE full_name: Resolv::DNS::Name::create is_singleton: true name: create params: (arg) visibility: public ri/1.8/system/Resolv/DNS/Name/cdesc-Name.yaml 0000644 00000000714 15217654523 0014425 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: create comment: - !ruby/struct:SM::Flow::P body: A representation of a DNS name. constants: [] full_name: Resolv::DNS::Name includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: absolute? - !ruby/object:RI::MethodSummary name: subdomain_of? - !ruby/object:RI::MethodSummary name: to_s name: Name superclass: Object ri/1.8/system/Resolv/DNS/Name/absolute%3f-i.yaml 0000644 00000000372 15217654523 0015030 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: True if this name is absolute. full_name: Resolv::DNS::Name#absolute? is_singleton: false name: absolute? params: () visibility: public ri/1.8/system/Resolv/DNS/Name/subdomain_of%3f-i.yaml 0000644 00000001627 15217654523 0015663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if other is a subdomain. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " domain = Resolv::DNS::Name.create("y.z")\n p Resolv::DNS::Name.create("w.x.y.z").subdomain_of?(domain) #=> true\n p Resolv::DNS::Name.create("x.y.z").subdomain_of?(domain) #=> true\n p Resolv::DNS::Name.create("y.z").subdomain_of?(domain) #=> false\n p Resolv::DNS::Name.create("z").subdomain_of?(domain) #=> false\n p Resolv::DNS::Name.create("x.y.z.").subdomain_of?(domain) #=> false\n p Resolv::DNS::Name.create("w.z").subdomain_of?(domain) #=> false\n" full_name: Resolv::DNS::Name#subdomain_of? is_singleton: false name: subdomain_of? params: (other) visibility: public ri/1.8/system/Resolv/DNS/getnames-i.yaml 0000644 00000000665 15217654523 0013644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Gets all hostnames for address from the DNS resolver. - !ruby/struct:SM::Flow::P body: address must be a Resolv::IPv4, Resolv::IPv6 or a String. Retrieved names will be Resolv::DNS::Name instances. full_name: Resolv::DNS#getnames is_singleton: false name: getnames params: (address) visibility: public ri/1.8/system/Resolv/DNS/each_address-i.yaml 0000644 00000000757 15217654523 0014450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: resource.address comment: - !ruby/struct:SM::Flow::P body: Iterates over all IP addresses for name retrieved from the DNS resolver. - !ruby/struct:SM::Flow::P body: name can be a Resolv::DNS::Name or a String. Retrieved addresses will be a Resolv::IPv4 or Resolv::IPv6 full_name: Resolv::DNS#each_address is_singleton: false name: each_address params: (name) {|resource.address| ...} visibility: public ri/1.8/system/Resolv/DNS/Config/NXDomain/cdesc-NXDomain.yaml 0000644 00000000437 15217654523 0017226 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Indicates no such domain was found. constants: [] full_name: Resolv::DNS::Config::NXDomain includes: [] instance_methods: [] name: NXDomain superclass: ResolvError ri/1.8/system/Resolv/DNS/Config/cdesc-Config.yaml 0000644 00000000306 15217654523 0015274 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Resolv::DNS::Config includes: [] instance_methods: [] name: Config superclass: Object ri/1.8/system/Resolv/DNS/Config/OtherResolvError/cdesc-OtherResolvError.yaml 0000644 00000000512 15217654523 0022642 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Indicates some other unhandled resolver error was encountered. constants: [] full_name: Resolv::DNS::Config::OtherResolvError includes: [] instance_methods: [] name: OtherResolvError superclass: ResolvError ri/1.8/system/Resolv/DNS/each_resource-i.yaml 0000644 00000000542 15217654523 0014642 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Iterates over all typeclass DNS resources for name. See #getresource for argument details." full_name: Resolv::DNS#each_resource is_singleton: false name: each_resource params: (name, typeclass, &proc) visibility: public ri/1.8/system/Resolv/DNS/EncodeError/cdesc-EncodeError.yaml 0000644 00000000464 15217654523 0017305 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Indicates that the DNS request was unable to be encoded. constants: [] full_name: Resolv::DNS::EncodeError includes: [] instance_methods: [] name: EncodeError superclass: StandardError ri/1.8/system/Resolv/DNS/DecodeError/cdesc-DecodeError.yaml 0000644 00000000465 15217654523 0017262 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Indicates that the DNS response was unable to be decoded. constants: [] full_name: Resolv::DNS::DecodeError includes: [] instance_methods: [] name: DecodeError superclass: StandardError ri/1.8/system/Resolv/getname-c.yaml 0000644 00000000376 15217654523 0013026 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Looks up the hostname of address. full_name: Resolv::getname is_singleton: true name: getname params: (address) visibility: public ri/1.8/system/Resolv/cdesc-Resolv.yaml 0000644 00000004555 15217654523 0013522 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: each_address - !ruby/object:RI::MethodSummary name: each_name - !ruby/object:RI::MethodSummary name: getaddress - !ruby/object:RI::MethodSummary name: getaddresses - !ruby/object:RI::MethodSummary name: getname - !ruby/object:RI::MethodSummary name: getnames - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Resolv is a thread-aware DNS resolver library written in Ruby. Resolv can handle multiple DNS requests concurrently without blocking. The ruby interpreter. - !ruby/struct:SM::Flow::P body: "See also resolv-replace.rb to replace the libc resolver with # Resolv." - !ruby/struct:SM::Flow::P body: Resolv can look up various DNS resources using the DNS module directly. - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " p Resolv.getaddress "www.ruby-lang.org"\n p Resolv.getname "210.251.121.214"\n\n Resolv::DNS.open do |dns|\n ress = dns.getresources "www.ruby-lang.org", Resolv::DNS::Resource::IN::A\n p ress.map { |r| r.address }\n ress = dns.getresources "ruby-lang.org", Resolv::DNS::Resource::IN::MX\n p ress.map { |r| [r.exchange.to_s, r.preference] }\n end\n" - !ruby/struct:SM::Flow::H level: 2 text: Bugs - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: NIS is not supported. - !ruby/struct:SM::Flow::LI label: "*" body: /etc/nsswitch.conf is not supported. type: :BULLET constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Default resolver to use for Resolv class methods. name: DefaultResolver value: self.new - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Address Regexp to use for matching IP addresses. name: AddressRegex value: /(?:#{IPv4::Regex})|(?:#{IPv6::Regex})/ full_name: Resolv includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: each_address - !ruby/object:RI::MethodSummary name: each_name - !ruby/object:RI::MethodSummary name: getaddress - !ruby/object:RI::MethodSummary name: getaddresses - !ruby/object:RI::MethodSummary name: getname - !ruby/object:RI::MethodSummary name: getnames name: Resolv superclass: Object ri/1.8/system/Resolv/ResolvError/cdesc-ResolvError.yaml 0000644 00000000450 15217654523 0017006 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Indicates a failure to resolve a name or address. constants: [] full_name: Resolv::ResolvError includes: [] instance_methods: [] name: ResolvError superclass: StandardError ri/1.8/system/Resolv/each_name-c.yaml 0000644 00000000420 15217654523 0013274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates over all hostnames for address. full_name: Resolv::each_name is_singleton: true name: each_name params: (address, &proc) visibility: public ri/1.8/system/Resolv/getname-i.yaml 0000644 00000000376 15217654523 0013034 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Looks up the hostname of address. full_name: Resolv#getname is_singleton: false name: getname params: (address) visibility: public ri/1.8/system/Resolv/IPv4/cdesc-IPv4.yaml 0000644 00000001555 15217654523 0013611 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The raw IPv4 address as a String. name: address rw: R class_methods: - !ruby/object:RI::MethodSummary name: create comment: - !ruby/struct:SM::Flow::P body: A Resolv::DNS IPv4 address. constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Regular expression IPv4 addresses must match. name: Regex256 value: /0 |1(?:[0-9][0-9]?)? |2(?:[0-4][0-9]?|5[0-5]?|[6-9])? |[3-9][0-9]?/x - !ruby/object:RI::Constant comment: name: Regex value: /\A(#{Regex256})\.(#{Regex256})\.(#{Regex256})\.(#{Regex256})\z/ full_name: Resolv::IPv4 includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_name name: IPv4 superclass: Object ri/1.8/system/Resolv/IPv4/to_name-i.yaml 0000644 00000000404 15217654523 0013610 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Turns this IPv4 address into a Resolv::DNS::Name. full_name: Resolv::IPv4#to_name is_singleton: false name: to_name params: () visibility: public ri/1.8/system/Resolv/IPv4/create-c.yaml 0000644 00000000257 15217654523 0013431 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Resolv::IPv4::create is_singleton: true name: create params: (arg) visibility: public ri/1.8/system/Resolv/getaddresses-i.yaml 0000644 00000000405 15217654523 0014062 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Looks up all IP address for name. full_name: Resolv#getaddresses is_singleton: false name: getaddresses params: (name) visibility: public ri/1.8/system/Resolv/ResolvTimeout/cdesc-ResolvTimeout.yaml 0000644 00000000452 15217654523 0017702 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Indicates a timeout resolving a name or address. constants: [] full_name: Resolv::ResolvTimeout includes: [] instance_methods: [] name: ResolvTimeout superclass: TimeoutError ri/1.8/system/Resolv/IPv6/to_name-i.yaml 0000644 00000000404 15217654523 0013612 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Turns this IPv6 address into a Resolv::DNS::Name. full_name: Resolv::IPv6#to_name is_singleton: false name: to_name params: () visibility: public ri/1.8/system/Resolv/IPv6/create-c.yaml 0000644 00000001024 15217654523 0013424 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Creates a new IPv6 address from arg which may be:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "IPv6:" body: returns arg. - !ruby/struct:SM::Flow::LI label: "String:" body: arg must match one of the IPv6::Regex* constants type: :NOTE full_name: Resolv::IPv6::create is_singleton: true name: create params: (arg) visibility: public ri/1.8/system/Resolv/IPv6/cdesc-IPv6.yaml 0000644 00000003431 15217654523 0013610 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The raw IPv6 address as a String. name: address rw: R class_methods: - !ruby/object:RI::MethodSummary name: create comment: - !ruby/struct:SM::Flow::P body: A Resolv::DNS IPv6 address. constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: IPv6 address format a:b:c:d:e:f:g:h name: Regex_8Hex value: /\A (?:[0-9A-Fa-f]{1,4}:){7} [0-9A-Fa-f]{1,4} \z/x - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Compressed IPv6 address format a::b name: Regex_CompressedHex value: "/\\A ((?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4})*)?) :: ((?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4})*)?) \\z/x" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: IPv4 mapped IPv6 address format a:b:c:d:e:f:w.x.y.z name: Regex_6Hex4Dec value: /\A ((?:[0-9A-Fa-f]{1,4}:){6,6}) (\d+)\.(\d+)\.(\d+)\.(\d+) \z/x - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Compressed IPv4 mapped IPv6 address format a::b:w.x.y.z name: Regex_CompressedHex4Dec value: "/\\A ((?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4})*)?) :: ((?:[0-9A-Fa-f]{1,4}:)*) (\\d+)\\.(\\d+)\\.(\\d+)\\.(\\d+) \\z/x" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: A composite IPv6 address Regexp. name: Regex value: / (?:#{Regex_8Hex}) | (?:#{Regex_CompressedHex}) | (?:#{Regex_6Hex4Dec}) | (?:#{Regex_CompressedHex4Dec})/x full_name: Resolv::IPv6 includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_name name: IPv6 superclass: Object ri/1.8/system/Resolv/getnames-i.yaml 0000644 00000000402 15217654523 0013205 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Looks up all hostnames for address. full_name: Resolv#getnames is_singleton: false name: getnames params: (address) visibility: public ri/1.8/system/Resolv/getaddresses-c.yaml 0000644 00000000405 15217654523 0014054 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Looks up all IP address for name. full_name: Resolv::getaddresses is_singleton: true name: getaddresses params: (name) visibility: public ri/1.8/system/Resolv/Hosts/new-c.yaml 0000644 00000000454 15217654523 0013274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new DNS::Hosts, using filename for its data source. full_name: Resolv::Hosts::new is_singleton: true name: new params: (filename = DefaultFileName) visibility: public ri/1.8/system/Resolv/Hosts/each_name-i.yaml 0000644 00000000465 15217654523 0014413 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates over all hostnames for address retrieved from the hosts file. full_name: Resolv::Hosts#each_name is_singleton: false name: each_name params: (address, &proc) visibility: public ri/1.8/system/Resolv/Hosts/getaddress-i.yaml 0000644 00000000427 15217654523 0014636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Gets the IP address of name from the hosts file. full_name: Resolv::Hosts#getaddress is_singleton: false name: getaddress params: (name) visibility: public ri/1.8/system/Resolv/Hosts/getname-i.yaml 0000644 00000000425 15217654523 0014127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Gets the hostname of address from the hosts file. full_name: Resolv::Hosts#getname is_singleton: false name: getname params: (address) visibility: public ri/1.8/system/Resolv/Hosts/getaddresses-i.yaml 0000644 00000000436 15217654523 0015166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Gets all IP addresses for name from the hosts file. full_name: Resolv::Hosts#getaddresses is_singleton: false name: getaddresses params: (name) visibility: public ri/1.8/system/Resolv/Hosts/getnames-i.yaml 0000644 00000000431 15217654523 0014307 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Gets all hostnames for address from the hosts file. full_name: Resolv::Hosts#getnames is_singleton: false name: getnames params: (address) visibility: public ri/1.8/system/Resolv/Hosts/each_address-i.yaml 0000644 00000000470 15217654523 0015114 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates over all IP addresses for name retrieved from the hosts file. full_name: Resolv::Hosts#each_address is_singleton: false name: each_address params: (name, &proc) visibility: public ri/1.8/system/Resolv/Hosts/cdesc-Hosts.yaml 0000644 00000001507 15217654523 0014442 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: DNS::Hosts is a hostname resolver that uses the system hosts file. constants: - !ruby/object:RI::Constant comment: name: DefaultFileName value: Win32::Resolv.get_hosts_path - !ruby/object:RI::Constant comment: name: DefaultFileName value: "'/etc/hosts'" full_name: Resolv::Hosts includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: each_address - !ruby/object:RI::MethodSummary name: each_name - !ruby/object:RI::MethodSummary name: getaddress - !ruby/object:RI::MethodSummary name: getaddresses - !ruby/object:RI::MethodSummary name: getname - !ruby/object:RI::MethodSummary name: getnames name: Hosts superclass: Object ri/1.8/system/Resolv/each_address-i.yaml 0000644 00000000435 15217654523 0014015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: name comment: - !ruby/struct:SM::Flow::P body: Iterates over all IP addresses for name. full_name: Resolv#each_address is_singleton: false name: each_address params: (name) {|name| ...} visibility: public ri/1.8/system/Method/unbind-i.yaml 0000644 00000000642 15217654523 0012635 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Dissociates meth from it's current receiver. The resulting UnboundMethod can subsequently be bound to a new object of the same class (see UnboundMethod). full_name: Method#unbind is_singleton: false name: unbind params: | meth.unbind => unbound_method visibility: public ri/1.8/system/Method/to_s-i.yaml 0000644 00000000655 15217654523 0012326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Show the name of the underlying method. - !ruby/struct:SM::Flow::VERB body: " "cat".method(:count).inspect #=> "#<Method: String#count>"\n" full_name: Method#to_s is_singleton: false name: to_s params: | meth.to_s => string meth.inspect => string visibility: public ri/1.8/system/Method/cdesc-Method.yaml 0000644 00000002377 15217654523 0013436 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Proc objects are blocks of code that have been bound to a set of local variables. Once bound, the code may be called in different contexts and still access those variables. - !ruby/struct:SM::Flow::VERB body: " def gen_times(factor)\n return Proc.new {|n| n*factor }\n end\n\n times3 = gen_times(3)\n times5 = gen_times(5)\n\n times3.call(12) #=> 36\n times5.call(5) #=> 25\n times3.call(times5.call(4)) #=> 60\n" constants: [] full_name: Method includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: arity - !ruby/object:RI::MethodSummary name: call - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: name - !ruby/object:RI::MethodSummary name: owner - !ruby/object:RI::MethodSummary name: receiver - !ruby/object:RI::MethodSummary name: to_proc - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: unbind name: Method superclass: Object ri/1.8/system/Method/name-i.yaml 0000644 00000000377 15217654523 0012303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the name of the method. full_name: Method#name is_singleton: false name: name params: | meth.name => string visibility: public ri/1.8/system/Method/to_proc-i.yaml 0000644 00000000442 15217654523 0013021 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a Proc object corresponding to this method. full_name: Method#to_proc is_singleton: false name: to_proc params: | meth.to_proc => prc visibility: public ri/1.8/system/Method/call-i.yaml 0000644 00000000746 15217654523 0012276 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes the meth with the specified arguments, returning the method's return value. - !ruby/struct:SM::Flow::VERB body: " m = 12.method("+")\n m.call(3) #=> 15\n m.call(20) #=> 32\n" full_name: Method#call is_singleton: false name: call params: | meth.call(args, ...) => obj meth[args, ...] => obj visibility: public ri/1.8/system/Method/%5b%5d-i.yaml 0000644 00000000744 15217654523 0012232 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes the meth with the specified arguments, returning the method's return value. - !ruby/struct:SM::Flow::VERB body: " m = 12.method("+")\n m.call(3) #=> 15\n m.call(20) #=> 32\n" full_name: Method#[] is_singleton: false name: "[]" params: | meth.call(args, ...) => obj meth[args, ...] => obj visibility: public ri/1.8/system/Method/arity-i.yaml 0000644 00000002374 15217654523 0012512 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an indication of the number of arguments accepted by a method. Returns a nonnegative integer for methods that take a fixed number of arguments. For Ruby methods that take a variable number of arguments, returns -n-1, where n is the number of required arguments. For methods written in C, returns -1 if the call takes a variable number of arguments. - !ruby/struct:SM::Flow::VERB body: " class C\n def one; end\n def two(a); end\n def three(*a); end\n def four(a, b); end\n def five(a, b, *c); end\n def six(a, b, *c, &d); end\n end\n c = C.new\n c.method(:one).arity #=> 0\n c.method(:two).arity #=> 1\n c.method(:three).arity #=> -1\n c.method(:four).arity #=> 2\n c.method(:five).arity #=> -3\n c.method(:six).arity #=> -3\n\n "cat".method(:size).arity #=> 0\n "cat".method(:replace).arity #=> 1\n "cat".method(:squeeze).arity #=> -1\n "cat".method(:count).arity #=> -1\n" full_name: Method#arity is_singleton: false name: arity params: | meth.arity => fixnum visibility: public ri/1.8/system/Method/inspect-i.yaml 0000644 00000000663 15217654523 0013026 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Show the name of the underlying method. - !ruby/struct:SM::Flow::VERB body: " "cat".method(:count).inspect #=> "#<Method: String#count>"\n" full_name: Method#inspect is_singleton: false name: inspect params: | meth.to_s => string meth.inspect => string visibility: public ri/1.8/system/Method/receiver-i.yaml 0000644 00000000434 15217654523 0013161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the bound receiver of the method object. full_name: Method#receiver is_singleton: false name: receiver params: | meth.receiver => object visibility: public ri/1.8/system/Method/clone-i.yaml 0000644 00000000341 15217654523 0012452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "MISSING: documentation" full_name: Method#clone is_singleton: false name: clone params: () visibility: public ri/1.8/system/Method/%3d%3d-i.yaml 0000644 00000000506 15217654523 0012224 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Two method objects are equal if that are bound to the same object and contain the same body. full_name: Method#== is_singleton: false name: == params: | meth == other_meth => true or false visibility: public ri/1.8/system/Method/owner-i.yaml 0000644 00000000440 15217654523 0012504 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the class or module that defines the method. full_name: Method#owner is_singleton: false name: owner params: | meth.owner => class_or_module visibility: public ri/1.8/system/PrettyPrint/new-c.yaml 0000644 00000002156 15217654523 0013227 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a buffer for pretty printing. - !ruby/struct:SM::Flow::P body: output is an output target. If it is not specified, '' is assumed. It should have a << method which accepts the first argument obj of PrettyPrint#text, the first argument sep of PrettyPrint#breakable, the first argument newline of PrettyPrint.new, and the result of a given block for PrettyPrint.new. - !ruby/struct:SM::Flow::P body: maxwidth specifies maximum line length. If it is not specified, 79 is assumed. However actual outputs may overflow maxwidth if long non-breakable texts are provided. - !ruby/struct:SM::Flow::P body: newline is used for line breaks. "\n" is used if it is not specified. - !ruby/struct:SM::Flow::P body: The block is used to generate spaces. {|width| ' ' * width} is used if it is not given. full_name: PrettyPrint::new is_singleton: true name: new params: (output='', maxwidth=79, newline="\n", &genspace) visibility: public ri/1.8/system/PrettyPrint/nest-i.yaml 0000644 00000000471 15217654523 0013413 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Increases left margin after newline with indent for line breaks added in the block. full_name: PrettyPrint#nest is_singleton: false name: nest params: (indent) {|| ...} visibility: public ri/1.8/system/PrettyPrint/singleline_format-c.yaml 0000644 00000001164 15217654523 0016135 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: q comment: - !ruby/struct:SM::Flow::P body: This is similar to PrettyPrint::format but the result has no breaks. - !ruby/struct:SM::Flow::P body: maxwidth, newline and genspace are ignored. - !ruby/struct:SM::Flow::P body: The invocation of breakable in the block doesn't break a line and is treated as just an invocation of text. full_name: PrettyPrint::singleline_format is_singleton: true name: singleline_format params: (output='', maxwidth=nil, newline=nil, genspace=nil) {|q| ...} visibility: public ri/1.8/system/PrettyPrint/breakable-i.yaml 0000644 00000001240 15217654523 0014345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This tells "you can break a line here if necessary", and a width\-column text sep is inserted if a line is not broken at the point. - !ruby/struct:SM::Flow::P body: If sep is not specified, " " is used. - !ruby/struct:SM::Flow::P body: If width is not specified, +sep.length+ is used. You will have to specify this when sep is a multibyte character, for example. full_name: PrettyPrint#breakable is_singleton: false name: breakable params: (sep=' ', width=sep.length) visibility: public ri/1.8/system/PrettyPrint/group_sub-i.yaml 0000644 00000000274 15217654523 0014450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: full_name: PrettyPrint#group_sub is_singleton: false name: group_sub params: () {|| ...} visibility: public ri/1.8/system/PrettyPrint/break_outmost_groups-i.yaml 0000644 00000000307 15217654523 0016715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint#break_outmost_groups is_singleton: false name: break_outmost_groups params: () visibility: public ri/1.8/system/PrettyPrint/GroupQueue/new-c.yaml 0000644 00000000270 15217654523 0015323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint::GroupQueue::new is_singleton: true name: new params: (*groups) visibility: public ri/1.8/system/PrettyPrint/GroupQueue/delete-i.yaml 0000644 00000000274 15217654523 0016006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint::GroupQueue#delete is_singleton: false name: delete params: (group) visibility: public ri/1.8/system/PrettyPrint/GroupQueue/deq-i.yaml 0000644 00000000261 15217654523 0015311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint::GroupQueue#deq is_singleton: false name: deq params: () visibility: public ri/1.8/system/PrettyPrint/GroupQueue/enq-i.yaml 0000644 00000000266 15217654523 0015330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint::GroupQueue#enq is_singleton: false name: enq params: (group) visibility: public ri/1.8/system/PrettyPrint/GroupQueue/cdesc-GroupQueue.yaml 0000644 00000000603 15217654523 0017472 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: PrettyPrint::GroupQueue includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: deq - !ruby/object:RI::MethodSummary name: enq name: GroupQueue superclass: Object ri/1.8/system/PrettyPrint/format-c.yaml 0000644 00000000764 15217654523 0013731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: q comment: - !ruby/struct:SM::Flow::P body: "This is a convenience method which is same as follows:" - !ruby/struct:SM::Flow::VERB body: " begin\n q = PrettyPrint.new(output, maxwidth, newline, &genspace)\n ...\n q.flush\n output\n end\n" full_name: PrettyPrint::format is_singleton: true name: format params: (output='', maxwidth=79, newline="\n", genspace=lambda {|n| ' ' * n} {|q| ...} visibility: public ri/1.8/system/PrettyPrint/first%3f-i.yaml 0000644 00000001221 15217654523 0014061 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: first? is a predicate to test the call is a first call to first? with current group. - !ruby/struct:SM::Flow::P body: "It is useful to format comma separated values as:" - !ruby/struct:SM::Flow::VERB body: " q.group(1, '[', ']') {\n xxx.each {|yyy|\n unless q.first?\n q.text ','\n q.breakable\n end\n ... pretty printing yyy ...\n }\n }\n" - !ruby/struct:SM::Flow::P body: first? is obsoleted in 1.8.2. full_name: PrettyPrint#first? is_singleton: false name: first? params: () visibility: public ri/1.8/system/PrettyPrint/Breakable/new-c.yaml 0000644 00000000275 15217654523 0015077 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint::Breakable::new is_singleton: true name: new params: (sep, width, q) visibility: public ri/1.8/system/PrettyPrint/Breakable/cdesc-Breakable.yaml 0000644 00000000741 15217654523 0017013 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: indent rw: R - !ruby/object:RI::Attribute comment: name: obj rw: R - !ruby/object:RI::Attribute comment: name: width rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: PrettyPrint::Breakable includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: output name: Breakable superclass: Object ri/1.8/system/PrettyPrint/Breakable/output-i.yaml 0000644 00000000307 15217654523 0015650 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint::Breakable#output is_singleton: false name: output params: (out, output_width) visibility: public ri/1.8/system/PrettyPrint/fill_breakable-i.yaml 0000644 00000000324 15217654523 0015355 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint#fill_breakable is_singleton: false name: fill_breakable params: (sep=' ', width=sep.length) visibility: public ri/1.8/system/PrettyPrint/Text/new-c.yaml 0000644 00000000253 15217654523 0014147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint::Text::new is_singleton: true name: new params: () visibility: public ri/1.8/system/PrettyPrint/Text/cdesc-Text.yaml 0000644 00000000606 15217654523 0015143 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: width rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: PrettyPrint::Text includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: output name: Text superclass: Object ri/1.8/system/PrettyPrint/Text/output-i.yaml 0000644 00000000302 15217654523 0014717 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint::Text#output is_singleton: false name: output params: (out, output_width) visibility: public ri/1.8/system/PrettyPrint/Text/add-i.yaml 0000644 00000000265 15217654523 0014117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint::Text#add is_singleton: false name: add params: (obj, width) visibility: public ri/1.8/system/PrettyPrint/text-i.yaml 0000644 00000000601 15217654523 0013421 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This adds obj as a text of width columns in width. - !ruby/struct:SM::Flow::P body: If width is not specified, obj.length is used. full_name: PrettyPrint#text is_singleton: false name: text params: (obj, width=obj.length) visibility: public ri/1.8/system/PrettyPrint/cdesc-PrettyPrint.yaml 0000644 00000006200 15217654523 0015573 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: genspace rw: R - !ruby/object:RI::Attribute comment: name: group_queue rw: R - !ruby/object:RI::Attribute comment: name: indent rw: R - !ruby/object:RI::Attribute comment: name: maxwidth rw: R - !ruby/object:RI::Attribute comment: name: newline rw: R - !ruby/object:RI::Attribute comment: name: output rw: R class_methods: - !ruby/object:RI::MethodSummary name: format - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: singleline_format comment: - !ruby/struct:SM::Flow::P body: This class implements a pretty printing algorithm. It finds line breaks and nice indentations for grouped structure. - !ruby/struct:SM::Flow::P body: "By default, the class assumes that primitive elements are strings and each byte in the strings have single column in width. But it can be used for other situations by giving suitable arguments for some methods:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: newline object and space generation block for PrettyPrint.new - !ruby/struct:SM::Flow::LI label: "*" body: optional width argument for PrettyPrint#text - !ruby/struct:SM::Flow::LI label: "*" body: PrettyPrint#breakable type: :BULLET - !ruby/struct:SM::Flow::P body: "There are several candidate uses:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: text formatting using proportional fonts - !ruby/struct:SM::Flow::LI label: "*" body: multibyte characters which has columns different to number of bytes - !ruby/struct:SM::Flow::LI label: "*" body: non-string formatting type: :BULLET - !ruby/struct:SM::Flow::H level: 2 text: Bugs - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Box based formatting? - !ruby/struct:SM::Flow::LI label: "*" body: Other (better) model/algorithm? type: :BULLET - !ruby/struct:SM::Flow::H level: 2 text: References - !ruby/struct:SM::Flow::P body: Christian Lindig, Strictly Pretty, March 2000, http://www.st.cs.uni-sb.de/~lindig/papers/#pretty - !ruby/struct:SM::Flow::P body: Philip Wadler, A prettier printer, March 1998, http://homepages.inf.ed.ac.uk/wadler/topics/language-design.html#prettier - !ruby/struct:SM::Flow::H level: 2 text: Author - !ruby/struct:SM::Flow::P body: Tanaka Akira <akr@m17n.org> constants: [] full_name: PrettyPrint includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: break_outmost_groups - !ruby/object:RI::MethodSummary name: breakable - !ruby/object:RI::MethodSummary name: current_group - !ruby/object:RI::MethodSummary name: fill_breakable - !ruby/object:RI::MethodSummary name: first? - !ruby/object:RI::MethodSummary name: flush - !ruby/object:RI::MethodSummary name: group - !ruby/object:RI::MethodSummary name: group_sub - !ruby/object:RI::MethodSummary name: nest - !ruby/object:RI::MethodSummary name: text name: PrettyPrint superclass: Object ri/1.8/system/PrettyPrint/flush-i.yaml 0000644 00000000344 15217654523 0013562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: outputs buffered data. full_name: PrettyPrint#flush is_singleton: false name: flush params: () visibility: public ri/1.8/system/PrettyPrint/Group/break-i.yaml 0000644 00000000260 15217654523 0014616 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint::Group#break is_singleton: false name: break params: () visibility: public ri/1.8/system/PrettyPrint/Group/new-c.yaml 0000644 00000000261 15217654523 0014316 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint::Group::new is_singleton: true name: new params: (depth) visibility: public ri/1.8/system/PrettyPrint/Group/cdesc-Group.yaml 0000644 00000001000 15217654523 0015450 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: breakables rw: R - !ruby/object:RI::Attribute comment: name: depth rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: PrettyPrint::Group includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: break - !ruby/object:RI::MethodSummary name: break? - !ruby/object:RI::MethodSummary name: first? name: Group superclass: Object ri/1.8/system/PrettyPrint/Group/first%3f-i.yaml 0000644 00000000262 15217654523 0015161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint::Group#first? is_singleton: false name: first? params: () visibility: public ri/1.8/system/PrettyPrint/Group/break%3f-i.yaml 0000644 00000000262 15217654523 0015116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint::Group#break? is_singleton: false name: break? params: () visibility: public ri/1.8/system/PrettyPrint/current_group-i.yaml 0000644 00000000271 15217654523 0015336 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint#current_group is_singleton: false name: current_group params: () visibility: public ri/1.8/system/PrettyPrint/SingleLine/new-c.yaml 0000644 00000000322 15217654523 0015251 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint::SingleLine::new is_singleton: true name: new params: (output, maxwidth=nil, newline=nil) visibility: public ri/1.8/system/PrettyPrint/SingleLine/nest-i.yaml 0000644 00000000304 15217654523 0015437 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: full_name: PrettyPrint::SingleLine#nest is_singleton: false name: nest params: (indent) {|| ...} visibility: public ri/1.8/system/PrettyPrint/SingleLine/breakable-i.yaml 0000644 00000000317 15217654523 0016402 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint::SingleLine#breakable is_singleton: false name: breakable params: (sep=' ', width=nil) visibility: public ri/1.8/system/PrettyPrint/SingleLine/cdesc-SingleLine.yaml 0000644 00000001031 15217654523 0017346 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: PrettyPrint::SingleLine includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: breakable - !ruby/object:RI::MethodSummary name: first? - !ruby/object:RI::MethodSummary name: flush - !ruby/object:RI::MethodSummary name: group - !ruby/object:RI::MethodSummary name: nest - !ruby/object:RI::MethodSummary name: text name: SingleLine superclass: Object ri/1.8/system/PrettyPrint/SingleLine/first%3f-i.yaml 0000644 00000000267 15217654523 0016123 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint::SingleLine#first? is_singleton: false name: first? params: () visibility: public ri/1.8/system/PrettyPrint/SingleLine/text-i.yaml 0000644 00000000301 15217654523 0015447 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint::SingleLine#text is_singleton: false name: text params: (obj, width=nil) visibility: public ri/1.8/system/PrettyPrint/SingleLine/flush-i.yaml 0000644 00000000265 15217654523 0015615 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PrettyPrint::SingleLine#flush is_singleton: false name: flush params: () visibility: public ri/1.8/system/PrettyPrint/SingleLine/group-i.yaml 0000644 00000000406 15217654523 0015625 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: full_name: PrettyPrint::SingleLine#group is_singleton: false name: group params: (indent=nil, open_obj='', close_obj='', open_width=nil, close_width=nil) {|| ...} visibility: public ri/1.8/system/PrettyPrint/group-i.yaml 0000644 00000001375 15217654523 0013602 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Groups line break hints added in the block. The line break hints are all to be used or not. - !ruby/struct:SM::Flow::P body: If indent is specified, the method call is regarded as nested by nest(indent) { ... }. - !ruby/struct:SM::Flow::P body: If open_obj is specified, text open_obj, open_width is called before grouping. If close_obj is specified, text close_obj, close_width is called after grouping. full_name: PrettyPrint#group is_singleton: false name: group params: (indent=0, open_obj='', close_obj='', open_width=open_obj.length, close_width=close_obj.length) {|| ...} visibility: public ri/1.8/system/YAML/parser-c.yaml 0000644 00000000345 15217654523 0012166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new default parser full_name: YAML::parser is_singleton: true name: parser params: () visibility: public ri/1.8/system/YAML/unescape-c.yaml 0000644 00000000362 15217654523 0012474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Unescape the condenses escapes full_name: YAML::unescape is_singleton: true name: unescape params: ( value ) visibility: public ri/1.8/system/YAML/Syck/Node/cdesc-Node.yaml 0000644 00000000471 15217654523 0014214 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Mixin BaseNode functionality constants: [] full_name: YAML::Syck::Node includes: - !ruby/object:RI::IncludedModule name: YAML::BaseNode instance_methods: [] name: Node superclass: Object ri/1.8/system/YAML/Syck/cdesc-Syck.yaml 0000644 00000000265 15217654523 0013354 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: YAML::Syck includes: [] instance_methods: [] name: Syck superclass: ri/1.8/system/YAML/parse_file-c.yaml 0000644 00000001637 15217654523 0013010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parse a document from the file located at filepath. - !ruby/struct:SM::Flow::VERB body: " YAML.parse_file( 'animals.yaml' )\n #=> #<YAML::Syck::Node:0x82ccce0\n @kind=:seq,\n @value=\n [#<YAML::Syck::Node:0x82ccd94\n @kind=:scalar,\n @type_id="str",\n @value="badger">,\n #<YAML::Syck::Node:0x82ccd58\n @kind=:scalar,\n @type_id="str",\n @value="elephant">,\n #<YAML::Syck::Node:0x82ccd1c\n @kind=:scalar,\n @type_id="str",\n @value="tiger">]>\n" full_name: YAML::parse_file is_singleton: true name: parse_file params: ( filepath ) visibility: public ri/1.8/system/YAML/load_documents-c.yaml 0000644 00000001037 15217654523 0013671 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls block with each consecutive document in the YAML stream contained in io. - !ruby/struct:SM::Flow::VERB body: " File.open( 'many-docs.yaml' ) do |yf|\n YAML.load_documents( yf ) do |ydoc|\n ## ydoc contains the single object\n ## from the YAML document\n end\n end\n" full_name: YAML::load_documents is_singleton: true name: load_documents params: ( io, &doc_proc ) visibility: public ri/1.8/system/YAML/SpecialHash/to_s-i.yaml 0000644 00000000255 15217654523 0014030 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::SpecialHash#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/YAML/SpecialHash/inspect-i.yaml 0000644 00000000263 15217654523 0014530 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::SpecialHash#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/YAML/SpecialHash/update-i.yaml 0000644 00000000264 15217654523 0014346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::SpecialHash#update is_singleton: false name: update params: ( h ) visibility: public ri/1.8/system/YAML/SpecialHash/cdesc-SpecialHash.yaml 0000644 00000001041 15217654523 0016073 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: default rw: RW class_methods: [] comment: - !ruby/struct:SM::Flow::P body: YAML Hash class to support comments and defaults constants: [] full_name: YAML::SpecialHash includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: update name: SpecialHash superclass: "::Hash" ri/1.8/system/YAML/SpecialHash/to_yaml-i.yaml 0000644 00000000276 15217654523 0014533 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::SpecialHash#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/YAML/Loader/cdesc-Loader.yaml 0000644 00000001030 15217654523 0014135 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: TRANSFER_DOMAINS value: "{ 'yaml.org,2002' => {}, 'ruby.yaml.org,2002' => {}" - !ruby/object:RI::Constant comment: name: PRIVATE_TYPES value: "{}" - !ruby/object:RI::Constant comment: name: IMPLICIT_TYPES value: "[ 'null', 'bool', 'time', 'int', 'float' ]" full_name: YAML::Loader includes: [] instance_methods: [] name: Loader superclass: Object ri/1.8/system/YAML/each_node-c.yaml 0000644 00000001070 15217654523 0012573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls block with a tree of +YAML::BaseNodes+, one tree for each consecutive document in the YAML stream contained in io. - !ruby/struct:SM::Flow::VERB body: " File.open( 'many-docs.yaml' ) do |yf|\n YAML.each_node( yf ) do |ydoc|\n ## ydoc contains a tree of nodes\n ## from the YAML document\n end\n end\n" full_name: YAML::each_node is_singleton: true name: each_node params: ( io, &doc_proc ) visibility: public ri/1.8/system/YAML/add_ruby_type-c.yaml 0000644 00000000431 15217654523 0013520 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Add a transfer method for a builtin type full_name: YAML::add_ruby_type is_singleton: true name: add_ruby_type params: ( type_tag, &transfer_proc ) visibility: public ri/1.8/system/YAML/BaseEmitter/node_text-i.yaml 0000644 00000000417 15217654523 0015075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Emit plain, normal flowing text full_name: YAML::BaseEmitter#node_text is_singleton: false name: node_text params: ( value, block = nil ) visibility: public ri/1.8/system/YAML/BaseEmitter/indent_text-i.yaml 0000644 00000000450 15217654523 0015426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Write a text block with the current indent full_name: YAML::BaseEmitter#indent_text is_singleton: false name: indent_text params: ( text, mod, first_line = true ) visibility: public ri/1.8/system/YAML/BaseEmitter/seq_map_shortcut-i.yaml 0000644 00000000305 15217654523 0016460 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::BaseEmitter#seq_map_shortcut is_singleton: false name: seq_map_shortcut params: () visibility: public ri/1.8/system/YAML/BaseEmitter/binary_base64-i.yaml 0000644 00000000373 15217654523 0015535 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Emit binary data full_name: YAML::BaseEmitter#binary_base64 is_singleton: false name: binary_base64 params: ( value ) visibility: public ri/1.8/system/YAML/BaseEmitter/seq-i.yaml 0000644 00000000350 15217654523 0013670 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Quick sequence full_name: YAML::BaseEmitter#seq is_singleton: false name: seq params: ( type, &e ) visibility: public ri/1.8/system/YAML/BaseEmitter/fold-i.yaml 0000644 00000000373 15217654523 0014031 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Folding paragraphs within a column full_name: YAML::BaseEmitter#fold is_singleton: false name: fold params: ( value ) visibility: public ri/1.8/system/YAML/BaseEmitter/indent%21-i.yaml 0000644 00000000360 15217654523 0014572 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Add indent to the buffer full_name: YAML::BaseEmitter#indent! is_singleton: false name: indent! params: () visibility: public ri/1.8/system/YAML/BaseEmitter/double-i.yaml 0000644 00000000366 15217654523 0014361 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Emit double-quoted string full_name: YAML::BaseEmitter#double is_singleton: false name: double params: ( value ) visibility: public ri/1.8/system/YAML/BaseEmitter/options%3d-i.yaml 0000644 00000000272 15217654523 0015072 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::BaseEmitter#options= is_singleton: false name: options= params: ( opt ) visibility: public ri/1.8/system/YAML/BaseEmitter/single-i.yaml 0000644 00000000366 15217654523 0014370 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Emit single-quoted string full_name: YAML::BaseEmitter#single is_singleton: false name: single params: ( value ) visibility: public ri/1.8/system/YAML/BaseEmitter/simple-i.yaml 0000644 00000000373 15217654523 0014376 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Emit a simple, unqouted string full_name: YAML::BaseEmitter#simple is_singleton: false name: simple params: ( value ) visibility: public ri/1.8/system/YAML/BaseEmitter/options-i.yaml 0000644 00000000276 15217654523 0014602 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::BaseEmitter#options is_singleton: false name: options params: ( opt = nil ) visibility: public ri/1.8/system/YAML/BaseEmitter/map-i.yaml 0000644 00000000347 15217654523 0013663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Quick mapping full_name: YAML::BaseEmitter#map is_singleton: false name: map params: ( type, &e ) visibility: public ri/1.8/system/YAML/BaseEmitter/indent-i.yaml 0000644 00000000367 15217654523 0014371 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Write a current indent full_name: YAML::BaseEmitter#indent is_singleton: false name: indent params: ( mod = nil ) visibility: public ri/1.8/system/YAML/BaseEmitter/cdesc-BaseEmitter.yaml 0000644 00000001603 15217654523 0016137 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: YAML::BaseEmitter includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: binary_base64 - !ruby/object:RI::MethodSummary name: double - !ruby/object:RI::MethodSummary name: fold - !ruby/object:RI::MethodSummary name: indent - !ruby/object:RI::MethodSummary name: indent! - !ruby/object:RI::MethodSummary name: indent_text - !ruby/object:RI::MethodSummary name: map - !ruby/object:RI::MethodSummary name: node_text - !ruby/object:RI::MethodSummary name: options - !ruby/object:RI::MethodSummary name: options= - !ruby/object:RI::MethodSummary name: seq - !ruby/object:RI::MethodSummary name: seq_map_shortcut - !ruby/object:RI::MethodSummary name: simple - !ruby/object:RI::MethodSummary name: single name: BaseEmitter superclass: ri/1.8/system/YAML/tagged_classes-c.yaml 0000644 00000001001 15217654523 0013630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the complete dictionary of taguris, paired with classes. The key for the dictionary is the full taguri. The value for each key is the class constant associated to that taguri. - !ruby/struct:SM::Flow::VERB body: " YAML.tagged_classes["tag:yaml.org,2002:int"] => Integer\n" full_name: YAML::tagged_classes is_singleton: true name: tagged_classes params: () visibility: public ri/1.8/system/YAML/Object/tag_subclasses%3f-c.yaml 0000644 00000000276 15217654523 0015403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Object::tag_subclasses? is_singleton: true name: tag_subclasses? params: () visibility: public ri/1.8/system/YAML/Object/cdesc-Object.yaml 0000644 00000000534 15217654523 0014145 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: tag_subclasses? comment: - !ruby/struct:SM::Flow::P body: Unresolved objects constants: [] full_name: YAML::Object includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_yaml name: Object superclass: Object ri/1.8/system/YAML/Object/to_yaml-i.yaml 0000644 00000000271 15217654523 0013550 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Object#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/YAML/tag_class-c.yaml 0000644 00000002433 15217654523 0012632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Associates a taguri tag with a Ruby class cls. The taguri is used to give types to classes when loading YAML. Taguris are of the form:" - !ruby/struct:SM::Flow::VERB body: " tag:authorityName,date:specific\n" - !ruby/struct:SM::Flow::P body: The authorityName is a domain name or email address. The date is the date the type was issued in YYYY or YYYY-MM or YYYY-MM-DD format. The specific is a name for the type being added. - !ruby/struct:SM::Flow::P body: "For example, built-in YAML types have 'yaml.org' as the authorityName and '2002' as the date. The specific is simply the name of the type:" - !ruby/struct:SM::Flow::VERB body: " tag:yaml.org,2002:int\n tag:yaml.org,2002:float\n tag:yaml.org,2002:timestamp\n" - !ruby/struct:SM::Flow::P body: The domain must be owned by you on the date declared. If you don't own any domains on the date you declare the type, you can simply use an e-mail address. - !ruby/struct:SM::Flow::VERB body: " tag:why@ruby-lang.org,2004:notes/personal\n" full_name: YAML::tag_class is_singleton: true name: tag_class params: ( tag, cls ) visibility: public ri/1.8/system/YAML/load-c.yaml 0000644 00000001065 15217654523 0011611 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Load a document from the current io stream. - !ruby/struct:SM::Flow::VERB body: " File.open( 'animals.yaml' ) { |yf| YAML::load( yf ) }\n #=> ['badger', 'elephant', 'tiger']\n" - !ruby/struct:SM::Flow::P body: Can also load from a string. - !ruby/struct:SM::Flow::VERB body: " YAML.load( "--- :locked" )\n #=> :locked\n" full_name: YAML::load is_singleton: true name: load params: ( io ) visibility: public ri/1.8/system/YAML/escape-c.yaml 0000644 00000000407 15217654523 0012131 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Escape the string, condensing common escapes full_name: YAML::escape is_singleton: true name: escape params: ( value, skip = "" ) visibility: public ri/1.8/system/YAML/emitter-c.yaml 0000644 00000000350 15217654523 0012337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new default emitter full_name: YAML::emitter is_singleton: true name: emitter params: () visibility: public ri/1.8/system/YAML/Set/cdesc-Set.yaml 0000644 00000000372 15217654523 0013017 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: "Builtin collection: !set" constants: [] full_name: YAML::Set includes: [] instance_methods: [] name: Set superclass: "::Hash" ri/1.8/system/YAML/parse_documents-c.yaml 0000644 00000001112 15217654523 0014056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls block with a tree of +YAML::BaseNodes+, one tree for each consecutive document in the YAML stream contained in io. - !ruby/struct:SM::Flow::VERB body: " File.open( 'many-docs.yaml' ) do |yf|\n YAML.parse_documents( yf ) do |ydoc|\n ## ydoc contains a tree of nodes\n ## from the YAML document\n end\n end\n" full_name: YAML::parse_documents is_singleton: true name: parse_documents params: ( io, &doc_proc ) visibility: public ri/1.8/system/YAML/TypeError/cdesc-TypeError.yaml 0000644 00000000314 15217654523 0015413 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: YAML::TypeError includes: [] instance_methods: [] name: TypeError superclass: StandardError ri/1.8/system/YAML/add_builtin_type-c.yaml 0000644 00000000437 15217654523 0014213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Add a transfer method for a builtin type full_name: YAML::add_builtin_type is_singleton: true name: add_builtin_type params: ( type_tag, &transfer_proc ) visibility: public ri/1.8/system/YAML/BaseNode/select%21-i.yaml 0000644 00000000424 15217654523 0014045 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Search for YPath entry and return transformed nodes. full_name: YAML::BaseNode#select! is_singleton: false name: select! params: ( ypath_str ) visibility: public ri/1.8/system/YAML/BaseNode/search-i.yaml 0000644 00000000432 15217654523 0013622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Search for YPath entry and return a list of qualified paths. full_name: YAML::BaseNode#search is_singleton: false name: search params: ( ypath_str ) visibility: public ri/1.8/system/YAML/BaseNode/match_path-i.yaml 0000644 00000000423 15217654523 0014465 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: YPath search returning a complete depth array full_name: YAML::BaseNode#match_path is_singleton: false name: match_path params: ( ypath_str ) visibility: public ri/1.8/system/YAML/BaseNode/cdesc-BaseNode.yaml 0000644 00000001370 15217654523 0014670 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: YAML Generic Model container constants: [] full_name: YAML::BaseNode includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: at - !ruby/object:RI::MethodSummary name: children - !ruby/object:RI::MethodSummary name: children_with_index - !ruby/object:RI::MethodSummary name: emit - !ruby/object:RI::MethodSummary name: match_path - !ruby/object:RI::MethodSummary name: match_segment - !ruby/object:RI::MethodSummary name: search - !ruby/object:RI::MethodSummary name: select - !ruby/object:RI::MethodSummary name: select! name: BaseNode superclass: ri/1.8/system/YAML/BaseNode/select-i.yaml 0000644 00000000420 15217654523 0013631 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Search for YPath entry and return qualified nodes. full_name: YAML::BaseNode#select is_singleton: false name: select params: ( ypath_str ) visibility: public ri/1.8/system/YAML/BaseNode/children_with_index-i.yaml 0000644 00000000310 15217654523 0016362 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::BaseNode#children_with_index is_singleton: false name: children_with_index params: () visibility: public ri/1.8/system/YAML/BaseNode/%5b%5d-i.yaml 0000644 00000000401 15217654523 0013222 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: We want the node to act like as Hash if it is. full_name: YAML::BaseNode#[] is_singleton: false name: "[]" params: ( *key ) visibility: public ri/1.8/system/YAML/BaseNode/at-i.yaml 0000644 00000000253 15217654523 0012762 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::BaseNode#at is_singleton: false name: at params: ( seg ) visibility: public ri/1.8/system/YAML/BaseNode/children-i.yaml 0000644 00000000262 15217654523 0014146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::BaseNode#children is_singleton: false name: children params: () visibility: public ri/1.8/system/YAML/BaseNode/match_segment-i.yaml 0000644 00000000427 15217654523 0015177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Search a node for a single YPath segment full_name: YAML::BaseNode#match_segment is_singleton: false name: match_segment params: ( ypath, depth ) visibility: public ri/1.8/system/YAML/BaseNode/emit-i.yaml 0000644 00000000252 15217654523 0013313 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::BaseNode#emit is_singleton: false name: emit params: () visibility: public ri/1.8/system/YAML/object_maker-c.yaml 0000644 00000000372 15217654523 0013317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Allocate blank object full_name: YAML::object_maker is_singleton: true name: object_maker params: ( obj_class, val ) visibility: public ri/1.8/system/YAML/Mapping/cdesc-Mapping.yaml 0000644 00000000446 15217654523 0014521 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Emitter helper classes constants: [] full_name: YAML::Mapping includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add name: Mapping superclass: Array ri/1.8/system/YAML/Mapping/add-i.yaml 0000644 00000000255 15217654523 0013023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Mapping#add is_singleton: false name: add params: ( k, v ) visibility: public ri/1.8/system/YAML/YPath/new-c.yaml 0000644 00000000252 15217654523 0012505 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::YPath::new is_singleton: true name: new params: ( str ) visibility: public ri/1.8/system/YAML/YPath/each_path-c.yaml 0000644 00000000341 15217654523 0013627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: YPath.new( path ) comment: full_name: YAML::YPath::each_path is_singleton: true name: each_path params: ( str ) {|YPath.new( path )| ...} visibility: public ri/1.8/system/YAML/YPath/cdesc-YPath.yaml 0000644 00000000744 15217654523 0013606 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: flags rw: RW - !ruby/object:RI::Attribute comment: name: predicates rw: RW - !ruby/object:RI::Attribute comment: name: segments rw: RW class_methods: - !ruby/object:RI::MethodSummary name: each_path - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: YAML::YPath includes: [] instance_methods: [] name: YPath superclass: Object ri/1.8/system/YAML/add_private_type-c.yaml 0000644 00000000421 15217654523 0014210 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Add a private document type full_name: YAML::add_private_type is_singleton: true name: add_private_type params: ( type_re, &transfer_proc ) visibility: public ri/1.8/system/YAML/Error/cdesc-Error.yaml 0000644 00000000373 15217654523 0013714 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: YAML Error classes constants: [] full_name: YAML::Error includes: [] instance_methods: [] name: Error superclass: StandardError ri/1.8/system/YAML/Omap/%5b%5d-c.yaml 0000644 00000000253 15217654523 0012435 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Omap::[] is_singleton: true name: "[]" params: ( *vals ) visibility: public ri/1.8/system/YAML/Omap/is_complex_yaml%3f-i.yaml 0000644 00000000276 15217654523 0015261 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Omap#is_complex_yaml? is_singleton: false name: is_complex_yaml? params: () visibility: public ri/1.8/system/YAML/Omap/%5b%5d%3d-i.yaml 0000644 00000000260 15217654523 0012735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Omap#[]= is_singleton: false name: "[]=" params: ( k, *rest ) visibility: public ri/1.8/system/YAML/Omap/%5b%5d-i.yaml 0000644 00000000247 15217654523 0012446 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Omap#[] is_singleton: false name: "[]" params: ( k ) visibility: public ri/1.8/system/YAML/Omap/cdesc-Omap.yaml 0000644 00000001140 15217654523 0013313 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: "[]" comment: - !ruby/struct:SM::Flow::P body: "Builtin collection: !omap" constants: [] full_name: YAML::Omap includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: has_key? - !ruby/object:RI::MethodSummary name: is_complex_yaml? - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: yaml_initialize name: Omap superclass: "::Array" ri/1.8/system/YAML/Omap/yaml_initialize-i.yaml 0000644 00000000306 15217654523 0014754 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Omap#yaml_initialize is_singleton: false name: yaml_initialize params: ( tag, val ) visibility: public ri/1.8/system/YAML/Omap/has_key%3f-i.yaml 0000644 00000000261 15217654523 0013512 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Omap#has_key? is_singleton: false name: has_key? params: ( k ) visibility: public ri/1.8/system/YAML/Omap/to_yaml-i.yaml 0000644 00000000267 15217654523 0013243 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Omap#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/YAML/parse-c.yaml 0000644 00000002333 15217654523 0012003 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parse the first document from the current io stream - !ruby/struct:SM::Flow::VERB body: " File.open( 'animals.yaml' ) { |yf| YAML::load( yf ) }\n #=> #<YAML::Syck::Node:0x82ccce0\n @kind=:seq,\n @value=\n [#<YAML::Syck::Node:0x82ccd94\n @kind=:scalar,\n @type_id="str",\n @value="badger">,\n #<YAML::Syck::Node:0x82ccd58\n @kind=:scalar,\n @type_id="str",\n @value="elephant">,\n #<YAML::Syck::Node:0x82ccd1c\n @kind=:scalar,\n @type_id="str",\n @value="tiger">]>\n" - !ruby/struct:SM::Flow::P body: Can also load from a string. - !ruby/struct:SM::Flow::VERB body: " YAML.parse( "--- :locked" )\n #=> #<YAML::Syck::Node:0x82edddc\n @type_id="tag:ruby.yaml.org,2002:sym",\n @value=":locked", @kind=:scalar>\n" full_name: YAML::parse is_singleton: true name: parse params: ( io ) visibility: public ri/1.8/system/YAML/transfer-c.yaml 0000644 00000000403 15217654523 0012511 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Apply a transfer method to a Ruby object full_name: YAML::transfer is_singleton: true name: transfer params: ( type_id, obj ) visibility: public ri/1.8/system/YAML/Sequence/cdesc-Sequence.yaml 0000644 00000000355 15217654523 0015052 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: YAML::Sequence includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add name: Sequence superclass: Array ri/1.8/system/YAML/Sequence/add-i.yaml 0000644 00000000253 15217654523 0013176 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Sequence#add is_singleton: false name: add params: ( v ) visibility: public ri/1.8/system/YAML/ParseError/cdesc-ParseError.yaml 0000644 00000000306 15217654523 0015676 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: YAML::ParseError includes: [] instance_methods: [] name: ParseError superclass: Error ri/1.8/system/YAML/dump-c.yaml 0000644 00000001214 15217654523 0011633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts obj to YAML and writes the YAML result to io. - !ruby/struct:SM::Flow::VERB body: " File.open( 'animals.yaml', 'w' ) do |out|\n YAML.dump( ['badger', 'elephant', 'tiger'], out )\n end\n" - !ruby/struct:SM::Flow::P body: If no io is provided, a string containing the dumped YAML is returned. - !ruby/struct:SM::Flow::VERB body: " YAML.dump( :locked )\n #=> "--- :locked"\n" full_name: YAML::dump is_singleton: true name: dump params: ( obj, io = nil ) visibility: public ri/1.8/system/YAML/dump_stream-c.yaml 0000644 00000000673 15217654523 0013216 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a YAML stream containing each of the items in objs, each having their own document. - !ruby/struct:SM::Flow::VERB body: " YAML.dump_stream( 0, [], {} )\n #=> --- 0\n --- []\n --- {}\n" full_name: YAML::dump_stream is_singleton: true name: dump_stream params: ( *objs ) visibility: public ri/1.8/system/YAML/PrivateType/new-c.yaml 0000644 00000000266 15217654523 0013741 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::PrivateType::new is_singleton: true name: new params: ( type, val ) visibility: public ri/1.8/system/YAML/PrivateType/cdesc-PrivateType.yaml 0000644 00000000626 15217654523 0016263 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: tag_subclasses? comment: - !ruby/struct:SM::Flow::P body: Default private type constants: [] full_name: YAML::PrivateType includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_yaml name: PrivateType superclass: Object ri/1.8/system/YAML/PrivateType/tag_subclasses%3f-c.yaml 0000644 00000000303 15217654523 0016440 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::PrivateType::tag_subclasses? is_singleton: true name: tag_subclasses? params: () visibility: public ri/1.8/system/YAML/PrivateType/to_yaml-i.yaml 0000644 00000000276 15217654523 0014623 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::PrivateType#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/YAML/Pairs/%5b%5d-c.yaml 0000644 00000000254 15217654523 0012620 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Pairs::[] is_singleton: true name: "[]" params: ( *vals ) visibility: public ri/1.8/system/YAML/Pairs/cdesc-Pairs.yaml 0000644 00000001143 15217654523 0013662 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: "[]" comment: - !ruby/struct:SM::Flow::P body: "Builtin collection: !pairs" constants: [] full_name: YAML::Pairs includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: has_key? - !ruby/object:RI::MethodSummary name: is_complex_yaml? - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: yaml_initialize name: Pairs superclass: "::Array" ri/1.8/system/YAML/Pairs/is_complex_yaml%3f-i.yaml 0000644 00000000277 15217654523 0015444 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Pairs#is_complex_yaml? is_singleton: false name: is_complex_yaml? params: () visibility: public ri/1.8/system/YAML/Pairs/%5b%5d%3d-i.yaml 0000644 00000000257 15217654523 0013125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Pairs#[]= is_singleton: false name: "[]=" params: ( k, val ) visibility: public ri/1.8/system/YAML/Pairs/%5b%5d-i.yaml 0000644 00000000250 15217654523 0012622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Pairs#[] is_singleton: false name: "[]" params: ( k ) visibility: public ri/1.8/system/YAML/Pairs/yaml_initialize-i.yaml 0000644 00000000307 15217654523 0015137 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Pairs#yaml_initialize is_singleton: false name: yaml_initialize params: ( tag, val ) visibility: public ri/1.8/system/YAML/Pairs/has_key%3f-i.yaml 0000644 00000000262 15217654523 0013675 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Pairs#has_key? is_singleton: false name: has_key? params: ( k ) visibility: public ri/1.8/system/YAML/Pairs/to_yaml-i.yaml 0000644 00000000270 15217654523 0013417 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Pairs#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/YAML/DomainType/new-c.yaml 0000644 00000000275 15217654523 0013536 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::DomainType::new is_singleton: true name: new params: ( domain, type, val ) visibility: public ri/1.8/system/YAML/DomainType/tag_subclasses%3f-c.yaml 0000644 00000000302 15217654523 0016234 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::DomainType::tag_subclasses? is_singleton: true name: tag_subclasses? params: () visibility: public ri/1.8/system/YAML/DomainType/cdesc-DomainType.yaml 0000644 00000000623 15217654523 0015652 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: tag_subclasses? comment: - !ruby/struct:SM::Flow::P body: Default domain type constants: [] full_name: YAML::DomainType includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_yaml name: DomainType superclass: Object ri/1.8/system/YAML/DomainType/to_yaml-i.yaml 0000644 00000000275 15217654523 0014417 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::DomainType#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/YAML/tagurize-c.yaml 0000644 00000000357 15217654523 0012527 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a type_id to a taguri full_name: YAML::tagurize is_singleton: true name: tagurize params: ( val ) visibility: public ri/1.8/system/YAML/detect_implicit-c.yaml 0000644 00000000371 15217654523 0014033 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Detect typing of a string full_name: YAML::detect_implicit is_singleton: true name: detect_implicit params: ( val ) visibility: public ri/1.8/system/YAML/Stream/new-c.yaml 0000644 00000000261 15217654523 0012713 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Stream::new is_singleton: true name: new params: ( opts = {} ) visibility: public ri/1.8/system/YAML/Stream/edit-i.yaml 0000644 00000000266 15217654523 0013062 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Stream#edit is_singleton: false name: edit params: ( doc_num, doc ) visibility: public ri/1.8/system/YAML/Stream/%5b%5d-i.yaml 0000644 00000000251 15217654523 0013000 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Stream#[] is_singleton: false name: "[]" params: ( i ) visibility: public ri/1.8/system/YAML/Stream/cdesc-Stream.yaml 0000644 00000001167 15217654523 0014222 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: documents rw: RW - !ruby/object:RI::Attribute comment: name: options rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: YAML::Stream -- for emitting many documents constants: [] full_name: YAML::Stream includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: edit - !ruby/object:RI::MethodSummary name: emit name: Stream superclass: Object ri/1.8/system/YAML/Stream/emit-i.yaml 0000644 00000000262 15217654523 0013067 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Stream#emit is_singleton: false name: emit params: ( io = nil ) visibility: public ri/1.8/system/YAML/Stream/add-i.yaml 0000644 00000000253 15217654523 0012661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Stream#add is_singleton: false name: add params: ( doc ) visibility: public ri/1.8/system/YAML/cdesc-YAML.yaml 0000644 00000023246 15217654523 0012300 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: add_builtin_type - !ruby/object:RI::MethodSummary name: add_domain_type - !ruby/object:RI::MethodSummary name: add_private_type - !ruby/object:RI::MethodSummary name: add_ruby_type - !ruby/object:RI::MethodSummary name: detect_implicit - !ruby/object:RI::MethodSummary name: dump - !ruby/object:RI::MethodSummary name: dump_stream - !ruby/object:RI::MethodSummary name: each_document - !ruby/object:RI::MethodSummary name: each_node - !ruby/object:RI::MethodSummary name: emitter - !ruby/object:RI::MethodSummary name: escape - !ruby/object:RI::MethodSummary name: generic_parser - !ruby/object:RI::MethodSummary name: load - !ruby/object:RI::MethodSummary name: load_documents - !ruby/object:RI::MethodSummary name: load_file - !ruby/object:RI::MethodSummary name: load_stream - !ruby/object:RI::MethodSummary name: make_stream - !ruby/object:RI::MethodSummary name: object_maker - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: parse_documents - !ruby/object:RI::MethodSummary name: parse_file - !ruby/object:RI::MethodSummary name: parser - !ruby/object:RI::MethodSummary name: quick_emit - !ruby/object:RI::MethodSummary name: read_type_class - !ruby/object:RI::MethodSummary name: resolver - !ruby/object:RI::MethodSummary name: tag_class - !ruby/object:RI::MethodSummary name: tagged_classes - !ruby/object:RI::MethodSummary name: tagurize - !ruby/object:RI::MethodSummary name: transfer - !ruby/object:RI::MethodSummary name: try_implicit - !ruby/object:RI::MethodSummary name: unescape comment: - !ruby/struct:SM::Flow::H level: 2 text: YAML - !ruby/struct:SM::Flow::P body: YAML(tm) (rhymes with 'camel') is a straightforward machine parsable data serialization format designed for human readability and interaction with scripting languages such as Perl and Python. YAML is optimized for data serialization, formatted dumping, configuration files, log files, Internet messaging and filtering. This specification describes the YAML information model and serialization format. Together with the Unicode standard for characters, it provides all the information necessary to understand YAML Version 1.0 and construct computer programs to process it. - !ruby/struct:SM::Flow::P body: See http://yaml.org/ for more information. For a quick tutorial, please visit YAML In Five Minutes (http://yaml.kwiki.org/?YamlInFiveMinutes). - !ruby/struct:SM::Flow::H level: 2 text: About This Library - !ruby/struct:SM::Flow::P body: The YAML 1.0 specification outlines four stages of YAML loading and dumping. This library honors all four of those stages, although data is really only available to you in three stages. - !ruby/struct:SM::Flow::P body: "The four stages are: native, representation, serialization, and presentation." - !ruby/struct:SM::Flow::P body: The native stage refers to data which has been loaded completely into Ruby's own types. (See +YAML::load+.) - !ruby/struct:SM::Flow::P body: The representation stage means data which has been composed into +YAML::BaseNode+ objects. In this stage, the document is available as a tree of node objects. You can perform YPath queries and transformations at this level. (See +YAML::parse+.) - !ruby/struct:SM::Flow::P body: The serialization stage happens inside the parser. The YAML parser used in Ruby is called Syck. Serialized nodes are available in the extension as SyckNode structs. - !ruby/struct:SM::Flow::P body: The presentation stage is the YAML document itself. This is accessible to you as a string. (See +YAML::dump+.) - !ruby/struct:SM::Flow::P body: For more information about the various information models, see Chapter 3 of the YAML 1.0 Specification (http://yaml.org/spec/#id2491269). - !ruby/struct:SM::Flow::P body: The YAML module provides quick access to the most common loading (YAML::load) and dumping (YAML::dump) tasks. This module also provides an API for registering global types (YAML::add_domain_type). - !ruby/struct:SM::Flow::H level: 2 text: Example - !ruby/struct:SM::Flow::P body: A simple round-trip (load and dump) of an object. - !ruby/struct:SM::Flow::VERB body: " require "yaml"\n\n test_obj = ["dogs", "cats", "badgers"]\n\n yaml_obj = YAML::dump( test_obj )\n # -> ---\n - dogs\n - cats\n - badgers\n ruby_obj = YAML::load( yaml_obj )\n # => ["dogs", "cats", "badgers"]\n ruby_obj == test_obj\n # => true\n" - !ruby/struct:SM::Flow::P body: To register your custom types with the global resolver, use add_domain_type. - !ruby/struct:SM::Flow::VERB body: " YAML::add_domain_type( "your-site.com,2004", "widget" ) do |type, val|\n Widget.new( val )\n end\n" constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Constants name: VERSION value: "'0.60'" - !ruby/object:RI::Constant comment: name: SUPPORTED_YAML_VERSIONS value: "['1.0']" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Parser tokens name: WORD_CHAR value: "'A-Za-z0-9'" - !ruby/object:RI::Constant comment: name: PRINTABLE_CHAR value: "'-_A-Za-z0-9!?/()$\\'\". '" - !ruby/object:RI::Constant comment: name: NOT_PLAIN_CHAR value: "'\\x7f\\x0-\\x1f\\x80-\\x9f'" - !ruby/object:RI::Constant comment: name: ESCAPE_CHAR value: "'[\\\\x00-\\\\x09\\\\x0b-\\\\x1f]'" - !ruby/object:RI::Constant comment: name: INDICATOR_CHAR value: "'*&!|\\\\\\\\^@%{}[]='" - !ruby/object:RI::Constant comment: name: SPACE_INDICATORS value: "'-#:,?'" - !ruby/object:RI::Constant comment: name: RESTRICTED_INDICATORS value: "'#:,}]'" - !ruby/object:RI::Constant comment: name: DNS_COMP_RE value: "\"\\\\w(?:[-\\\\w]*\\\\w)?\"" - !ruby/object:RI::Constant comment: name: DNS_NAME_RE value: "\"(?:(?:#{DNS_COMP_RE}\\\\.)+#{DNS_COMP_RE}|#{DNS_COMP_RE})\"" - !ruby/object:RI::Constant comment: name: ESCAPES value: "%w{\\x00 \\x01 \\x02 \\x03 \\x04 \\x05 \\x06 \\a \\x08 \\t \\n \\v \\f \\r \\x0e \\x0f \\x10 \\x11 \\x12 \\x13 \\x14 \\x15 \\x16 \\x17 \\x18 \\x19 \\x1a \\e \\x1c \\x1d \\x1e \\x1f }" - !ruby/object:RI::Constant comment: name: UNESCAPES value: "{ 'a' => \"\\x07\", 'b' => \"\\x08\", 't' => \"\\x09\", 'n' => \"\\x0a\", 'v' => \"\\x0b\", 'f' => \"\\x0c\", 'r' => \"\\x0d\", 'e' => \"\\x1b\", '\\\\' => '\\\\', }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Default settings name: DEFAULTS value: "{ :Indent => 2, :UseHeader => false, :UseVersion => false, :Version => '1.0', :SortKeys => false, :AnchorFormat => 'id%03d', :ExplicitTypes => false, :WidthType => 'absolute', :BestWidth => 80, :UseBlock => false, :UseFold => false, :Encoding => :None" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Error messages name: ERROR_NO_HEADER_NODE value: "\"With UseHeader=false, the node Array or Hash must have elements\"" - !ruby/object:RI::Constant comment: name: ERROR_NEED_HEADER value: "\"With UseHeader=false, the node must be an Array or Hash\"" - !ruby/object:RI::Constant comment: name: ERROR_BAD_EXPLICIT value: "\"Unsupported explicit transfer: '%s'\"" - !ruby/object:RI::Constant comment: name: ERROR_MANY_EXPLICIT value: "\"More than one explicit transfer\"" - !ruby/object:RI::Constant comment: name: ERROR_MANY_IMPLICIT value: "\"More than one implicit request\"" - !ruby/object:RI::Constant comment: name: ERROR_NO_ANCHOR value: "\"No anchor for alias '%s'\"" - !ruby/object:RI::Constant comment: name: ERROR_BAD_ANCHOR value: "\"Invalid anchor: %s\"" - !ruby/object:RI::Constant comment: name: ERROR_MANY_ANCHOR value: "\"More than one anchor\"" - !ruby/object:RI::Constant comment: name: ERROR_ANCHOR_ALIAS value: "\"Can't define both an anchor and an alias\"" - !ruby/object:RI::Constant comment: name: ERROR_BAD_ALIAS value: "\"Invalid alias: %s\"" - !ruby/object:RI::Constant comment: name: ERROR_MANY_ALIAS value: "\"More than one alias\"" - !ruby/object:RI::Constant comment: name: ERROR_ZERO_INDENT value: "\"Can't use zero as an indentation width\"" - !ruby/object:RI::Constant comment: name: ERROR_UNSUPPORTED_VERSION value: "\"This release of YAML.rb does not support YAML version %s\"" - !ruby/object:RI::Constant comment: name: ERROR_UNSUPPORTED_ENCODING value: "\"Attempt to use unsupported encoding: %s\"" - !ruby/object:RI::Constant comment: name: Resolver value: YAML::Syck::Resolver - !ruby/object:RI::Constant comment: name: DefaultResolver value: YAML::Syck::DefaultResolver - !ruby/object:RI::Constant comment: name: GenericResolver value: YAML::Syck::GenericResolver - !ruby/object:RI::Constant comment: name: Parser value: YAML::Syck::Parser - !ruby/object:RI::Constant comment: name: Emitter value: YAML::Syck::Emitter full_name: YAML includes: [] instance_methods: [] name: YAML superclass: ri/1.8/system/YAML/add_domain_type-c.yaml 0000644 00000000451 15217654523 0014010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Add a global handler for a YAML domain type. full_name: YAML::add_domain_type is_singleton: true name: add_domain_type params: ( domain, type_tag, &transfer_proc ) visibility: public ri/1.8/system/YAML/generic_parser-c.yaml 0000644 00000000365 15217654523 0013664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new generic parser full_name: YAML::generic_parser is_singleton: true name: generic_parser params: () visibility: public ri/1.8/system/YAML/try_implicit-c.yaml 0000644 00000000403 15217654523 0013375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Apply any implicit a node may qualify for full_name: YAML::try_implicit is_singleton: true name: try_implicit params: ( obj ) visibility: public ri/1.8/system/YAML/quick_emit-c.yaml 0000644 00000000402 15217654523 0013016 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Allocate an Emitter if needed full_name: YAML::quick_emit is_singleton: true name: quick_emit params: ( oid, opts = {}, &e ) visibility: public ri/1.8/system/YAML/read_type_class-c.yaml 0000644 00000000516 15217654523 0014033 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Method to extract colon-seperated type and class, returning the type and the constant of the class full_name: YAML::read_type_class is_singleton: true name: read_type_class params: ( type, obj_class ) visibility: public ri/1.8/system/YAML/DBM/store-i.yaml 0000644 00000000261 15217654523 0012433 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::DBM#store is_singleton: false name: store params: ( key, val ) visibility: public ri/1.8/system/YAML/DBM/delete-i.yaml 0000644 00000000256 15217654523 0012545 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::DBM#delete is_singleton: false name: delete params: ( key ) visibility: public ri/1.8/system/YAML/DBM/cdesc-DBM.yaml 0000644 00000002415 15217654523 0012535 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: VERSION value: "\"0.1\"" full_name: YAML::DBM includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: delete_if - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: each_pair - !ruby/object:RI::MethodSummary name: each_value - !ruby/object:RI::MethodSummary name: fetch - !ruby/object:RI::MethodSummary name: has_value? - !ruby/object:RI::MethodSummary name: index - !ruby/object:RI::MethodSummary name: invert - !ruby/object:RI::MethodSummary name: reject - !ruby/object:RI::MethodSummary name: replace - !ruby/object:RI::MethodSummary name: select - !ruby/object:RI::MethodSummary name: shift - !ruby/object:RI::MethodSummary name: store - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: to_hash - !ruby/object:RI::MethodSummary name: update - !ruby/object:RI::MethodSummary name: values - !ruby/object:RI::MethodSummary name: values_at name: DBM superclass: "::DBM" ri/1.8/system/YAML/DBM/index-i.yaml 0000644 00000000257 15217654523 0012413 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::DBM#index is_singleton: false name: index params: ( keystr ) visibility: public ri/1.8/system/YAML/DBM/has_value%3f-i.yaml 0000644 00000000266 15217654523 0013551 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::DBM#has_value? is_singleton: false name: has_value? params: ( val ) visibility: public ri/1.8/system/YAML/DBM/reject-i.yaml 0000644 00000000272 15217654523 0012555 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: k, v comment: full_name: YAML::DBM#reject is_singleton: false name: reject params: () {|k, v| ...} visibility: public ri/1.8/system/YAML/DBM/each_value-i.yaml 0000644 00000000334 15217654523 0013374 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: YAML::load( v ) } comment: full_name: YAML::DBM#each_value is_singleton: false name: each_value params: () {|YAML::load( v ) }| ...} visibility: public ri/1.8/system/YAML/DBM/each_pair-i.yaml 0000644 00000000376 15217654523 0013221 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: each block_params: k, fetch( k ) } comment: full_name: YAML::DBM#each_pair is_singleton: false name: each_pair params: () {|k, fetch( k ) }| ...} visibility: public ri/1.8/system/YAML/DBM/select-i.yaml 0000644 00000000301 15217654523 0012551 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: k, v comment: full_name: YAML::DBM#select is_singleton: false name: select params: ( *keys ) {|k, v| ...} visibility: public ri/1.8/system/YAML/DBM/%5b%5d%3d-i.yaml 0000644 00000000257 15217654523 0012451 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::DBM#[]= is_singleton: false name: "[]=" params: ( key, val ) visibility: public ri/1.8/system/YAML/DBM/values_at-i.yaml 0000644 00000000266 15217654523 0013267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::DBM#values_at is_singleton: false name: values_at params: ( *keys ) visibility: public ri/1.8/system/YAML/DBM/%5b%5d-i.yaml 0000644 00000000250 15217654523 0012146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::DBM#[] is_singleton: false name: "[]" params: ( key ) visibility: public ri/1.8/system/YAML/DBM/values-i.yaml 0000644 00000000251 15217654523 0012575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::DBM#values is_singleton: false name: values params: () visibility: public ri/1.8/system/YAML/DBM/to_hash-i.yaml 0000644 00000000253 15217654523 0012725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::DBM#to_hash is_singleton: false name: to_hash params: () visibility: public ri/1.8/system/YAML/DBM/each-i.yaml 0000644 00000000340 15217654523 0012175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #each_pair" full_name: YAML::DBM#each is_singleton: false name: each params: () visibility: public ri/1.8/system/YAML/DBM/update-i.yaml 0000644 00000000256 15217654523 0012565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::DBM#update is_singleton: false name: update params: ( hsh ) visibility: public ri/1.8/system/YAML/DBM/fetch-i.yaml 0000644 00000000322 15217654523 0012366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: keystr comment: full_name: YAML::DBM#fetch is_singleton: false name: fetch params: ( keystr, ifnone = nil ) {|keystr| ...} visibility: public ri/1.8/system/YAML/DBM/to_a-i.yaml 0000644 00000000245 15217654523 0012223 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::DBM#to_a is_singleton: false name: to_a params: () visibility: public ri/1.8/system/YAML/DBM/shift-i.yaml 0000644 00000000247 15217654523 0012420 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::DBM#shift is_singleton: false name: shift params: () visibility: public ri/1.8/system/YAML/DBM/replace-i.yaml 0000644 00000000260 15217654523 0012711 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::DBM#replace is_singleton: false name: replace params: ( hsh ) visibility: public ri/1.8/system/YAML/DBM/delete_if-i.yaml 0000644 00000000327 15217654523 0013222 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: ( k, fetch( k ) ) comment: full_name: YAML::DBM#delete_if is_singleton: false name: delete_if params: () {|k, fetch( k )| ...} visibility: public ri/1.8/system/YAML/DBM/invert-i.yaml 0000644 00000000251 15217654523 0012605 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::DBM#invert is_singleton: false name: invert params: () visibility: public ri/1.8/system/YAML/YamlNode/new-c.yaml 0000644 00000000256 15217654523 0013174 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::YamlNode::new is_singleton: true name: new params: ( t, v ) visibility: public ri/1.8/system/YAML/YamlNode/cdesc-YamlNode.yaml 0000644 00000001224 15217654523 0014746 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: anchor rw: RW - !ruby/object:RI::Attribute comment: name: kind rw: RW - !ruby/object:RI::Attribute comment: name: type_id rw: RW - !ruby/object:RI::Attribute comment: name: value rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: YAML Generic Model container constants: [] full_name: YAML::YamlNode includes: - !ruby/object:RI::IncludedModule name: BaseNode instance_methods: - !ruby/object:RI::MethodSummary name: transform name: YamlNode superclass: Object ri/1.8/system/YAML/YamlNode/transform-i.yaml 0000644 00000000405 15217654523 0014420 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Transform this node fully into a native type full_name: YAML::YamlNode#transform is_singleton: false name: transform params: () visibility: public ri/1.8/system/YAML/each_document-c.yaml 0000644 00000001031 15217654523 0013461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls block with each consecutive document in the YAML stream contained in io. - !ruby/struct:SM::Flow::VERB body: " File.open( 'many-docs.yaml' ) do |yf|\n YAML.each_document( yf ) do |ydoc|\n ## ydoc contains the single object\n ## from the YAML document\n end\n end\n" full_name: YAML::each_document is_singleton: true name: each_document params: ( io, &block ) visibility: public ri/1.8/system/YAML/make_stream-c.yaml 0000644 00000000370 15217654523 0013160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Class method for creating streams full_name: YAML::make_stream is_singleton: true name: make_stream params: ( io ) visibility: public ri/1.8/system/YAML/Store/new-c.yaml 0000644 00000000251 15217654523 0012553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Store::new is_singleton: true name: new params: ( *o ) visibility: public ri/1.8/system/YAML/Store/cdesc-Store.yaml 0000644 00000001342 15217654523 0013717 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: EMPTY_MARSHAL_DATA value: "{}.to_yaml" - !ruby/object:RI::Constant comment: name: EMPTY_MARSHAL_CHECKSUM value: Digest::MD5.digest(EMPTY_MARSHAL_DATA) full_name: YAML::Store includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: dump - !ruby/object:RI::MethodSummary name: empty_marshal_checksum - !ruby/object:RI::MethodSummary name: empty_marshal_data - !ruby/object:RI::MethodSummary name: load - !ruby/object:RI::MethodSummary name: marshal_dump_supports_canonical_option? name: Store superclass: PStore ri/1.8/system/YAML/Store/load-i.yaml 0000644 00000000256 15217654523 0012714 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Store#load is_singleton: false name: load params: (content) visibility: public ri/1.8/system/YAML/Store/empty_marshal_checksum-i.yaml 0000644 00000000313 15217654523 0016516 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Store#empty_marshal_checksum is_singleton: false name: empty_marshal_checksum params: () visibility: public ri/1.8/system/YAML/Store/marshal_dump_supports_canonical_option%3f-i.yaml 0000644 00000000355 15217654523 0022325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Store#marshal_dump_supports_canonical_option? is_singleton: false name: marshal_dump_supports_canonical_option? params: () visibility: public ri/1.8/system/YAML/Store/empty_marshal_data-i.yaml 0000644 00000000303 15217654523 0015624 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Store#empty_marshal_data is_singleton: false name: empty_marshal_data params: () visibility: public ri/1.8/system/YAML/Store/dump-i.yaml 0000644 00000000254 15217654523 0012740 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: YAML::Store#dump is_singleton: false name: dump params: (table) visibility: public ri/1.8/system/YAML/resolver-c.yaml 0000644 00000000351 15217654523 0012530 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the default resolver full_name: YAML::resolver is_singleton: true name: resolver params: () visibility: public ri/1.8/system/YAML/load_stream-c.yaml 0000644 00000000522 15217654523 0013161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Loads all documents from the current io stream, returning a +YAML::Stream+ object containing all loaded documents. full_name: YAML::load_stream is_singleton: true name: load_stream params: ( io ) visibility: public ri/1.8/system/YAML/load_file-c.yaml 0000644 00000000617 15217654523 0012612 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Load a document from the file located at filepath. - !ruby/struct:SM::Flow::VERB body: " YAML.load_file( 'animals.yaml' )\n #=> ['badger', 'elephant', 'tiger']\n" full_name: YAML::load_file is_singleton: true name: load_file params: ( filepath ) visibility: public ri/1.8/system/Iconv/new-c.yaml 0000644 00000002063 15217654523 0011776 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates new code converter from a coding-system designated with from to another one designated with to. - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+to+:" body: encoding name for destination - !ruby/struct:SM::Flow::LI label: "+from+:" body: encoding name for source type: :NOTE - !ruby/struct:SM::Flow::H level: 3 text: Exceptions - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "TypeError:" body: if to or from aren't String - !ruby/struct:SM::Flow::LI label: "InvalidEncoding:" body: if designated converter couldn't find out - !ruby/struct:SM::Flow::LI label: "SystemCallError:" body: if iconv_open(3) fails type: :NOTE full_name: Iconv::new is_singleton: true name: new params: " Iconv.new(to, from)\n" visibility: public ri/1.8/system/Iconv/open-c.yaml 0000644 00000000625 15217654523 0012150 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to Iconv.new except that when it is called with a block, it yields with the new instance and closes it, and returns the result which returned from the block. full_name: Iconv::open is_singleton: true name: open params: " Iconv.open(to, from) { |iconv| ... }\n" visibility: public ri/1.8/system/Iconv/Failure/new-c.yaml 0000644 00000002074 15217654523 0013367 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates new code converter from a coding-system designated with from to another one designated with to. - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+to+:" body: encoding name for destination - !ruby/struct:SM::Flow::LI label: "+from+:" body: encoding name for source type: :NOTE - !ruby/struct:SM::Flow::H level: 3 text: Exceptions - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "TypeError:" body: if to or from aren't String - !ruby/struct:SM::Flow::LI label: "InvalidEncoding:" body: if designated converter couldn't find out - !ruby/struct:SM::Flow::LI label: "SystemCallError:" body: if iconv_open(3) fails type: :NOTE full_name: Iconv::Failure::new is_singleton: true name: new params: " Iconv.new(to, from)\n" visibility: public ri/1.8/system/Iconv/Failure/failed-i.yaml 0000644 00000000507 15217654523 0014027 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns substring of the original string passed to Iconv that starts at the character caused the exception. full_name: Iconv::Failure#failed is_singleton: false name: failed params: " failed\n" visibility: public ri/1.8/system/Iconv/Failure/success-i.yaml 0000644 00000001111 15217654523 0014243 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns string(s) translated successfully until the exception occurred. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: In the case of failure occurred within Iconv.iconv, returned value is an array of strings translated successfully preceding failure and the last element is string on the way. type: :BULLET full_name: Iconv::Failure#success is_singleton: false name: success params: " success\n" visibility: public ri/1.8/system/Iconv/Failure/inspect-i.yaml 0000644 00000000475 15217654523 0014254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns inspected string like as: #<class: success, failed>" full_name: Iconv::Failure#inspect is_singleton: false name: inspect params: " inspect\n" visibility: public ri/1.8/system/Iconv/Failure/cdesc-Failure.yaml 0000644 00000000703 15217654523 0015021 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Base attributes for Iconv exceptions. constants: [] full_name: Iconv::Failure includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: failed - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: success name: Failure superclass: ri/1.8/system/Iconv/IllegalSequence/cdesc-IllegalSequence.yaml 0000644 00000000676 15217654523 0020160 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Input conversion stopped due to an input byte that does not belong to the input codeset, or the output codeset does not contain the character. constants: [] full_name: Iconv::IllegalSequence includes: - !ruby/object:RI::IncludedModule name: Iconv::Failure instance_methods: [] name: IllegalSequence superclass: ArgError ri/1.8/system/Iconv/BrokenLibrary/cdesc-BrokenLibrary.yaml 0000644 00000001001 15217654523 0017345 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Detected a bug of underlying iconv(3) libray. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: returns an error without setting errno properly type: :BULLET constants: [] full_name: Iconv::BrokenLibrary includes: - !ruby/object:RI::IncludedModule name: Iconv::Failure instance_methods: [] name: BrokenLibrary superclass: RuntimeError ri/1.8/system/Iconv/close-i.yaml 0000644 00000001016 15217654523 0012315 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Finishes conversion. - !ruby/struct:SM::Flow::P body: "After calling this, calling Iconv#iconv will cause an exception, but multiple calls of #close are guaranteed to end successfully." - !ruby/struct:SM::Flow::P body: Returns a string containing the byte sequence to change the output buffer to its initial shift state. full_name: Iconv#close is_singleton: false name: close params: () visibility: public ri/1.8/system/Iconv/iconv-i.yaml 0000644 00000003346 15217654523 0012336 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Document-method: Iconv#iconv" - !ruby/struct:SM::Flow::P body: Converts string and returns the result. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: If str is a String, converts str[start, length] and returns the converted string. - !ruby/struct:SM::Flow::LI label: "*" body: If str is nil, places converter itself into initial shift state and just returns a string containing the byte sequence to change the output buffer to its initial shift state. - !ruby/struct:SM::Flow::LI label: "*" body: Otherwise, raises an exception. type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "str:" body: string to be converted, or nil - !ruby/struct:SM::Flow::LI label: "start:" body: starting offset - !ruby/struct:SM::Flow::LI label: "length:" body: conversion length; nil or -1 means whole the string from start type: :NOTE - !ruby/struct:SM::Flow::H level: 3 text: Exceptions - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: IconvIllegalSequence - !ruby/struct:SM::Flow::LI label: "*" body: IconvInvalidCharacter - !ruby/struct:SM::Flow::LI label: "*" body: IconvOutOfRange type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Examples - !ruby/struct:SM::Flow::P body: See the Iconv documentation. full_name: Iconv#iconv is_singleton: false name: iconv params: " iconv(str, start=0, length=-1)\n" visibility: public ri/1.8/system/Iconv/charset_map-c.yaml 0000644 00000000445 15217654523 0013475 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the map from canonical name to system dependent name. full_name: Iconv::charset_map is_singleton: true name: charset_map params: " Iconv.charset_map\n" visibility: public ri/1.8/system/Iconv/cdesc-Iconv.yaml 0000644 00000001502 15217654523 0013117 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: charset_map - !ruby/object:RI::MethodSummary name: conv - !ruby/object:RI::MethodSummary name: iconv - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: open comment: - !ruby/struct:SM::Flow::P body: "Document-class: Iconv::BrokenLibrary" - !ruby/struct:SM::Flow::P body: Detected a bug of underlying iconv(3) libray. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: returns an error without setting errno properly type: :BULLET constants: [] full_name: Iconv includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: iconv name: Iconv superclass: Data ri/1.8/system/Iconv/iconv-c.yaml 0000644 00000001570 15217654523 0012325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Document-method: Iconv::iconv" - !ruby/struct:SM::Flow::P body: Shorthand for - !ruby/struct:SM::Flow::VERB body: " Iconv.open(to, from) { |cd|\n (strs + [nil]).collect { |s| cd.iconv(s) }\n }\n" - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "to, from:" body: see Iconv.new - !ruby/struct:SM::Flow::LI label: "strs:" body: strings to be converted type: :NOTE - !ruby/struct:SM::Flow::H level: 3 text: Exceptions - !ruby/struct:SM::Flow::P body: Exceptions thrown by Iconv.new, Iconv.open and Iconv#iconv. full_name: Iconv::iconv is_singleton: true name: iconv params: " Iconv.iconv(to, from, *strs)\n" visibility: public ri/1.8/system/Iconv/InvalidEncoding/cdesc-InvalidEncoding.yaml 0000644 00000000550 15217654523 0020135 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Requested coding-system is not available on this system. constants: [] full_name: Iconv::InvalidEncoding includes: - !ruby/object:RI::IncludedModule name: Iconv::Failure instance_methods: [] name: InvalidEncoding superclass: ArgError ri/1.8/system/Iconv/InvalidCharacter/cdesc-InvalidCharacter.yaml 0000644 00000000633 15217654523 0020453 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Input conversion stopped due to an incomplete character or shift sequence at the end of the input buffer. constants: [] full_name: Iconv::InvalidCharacter includes: - !ruby/object:RI::IncludedModule name: Iconv::Failure instance_methods: [] name: InvalidCharacter superclass: ArgError ri/1.8/system/Iconv/conv-c.yaml 0000644 00000000664 15217654523 0012157 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Document-method: Iconv::conv" - !ruby/struct:SM::Flow::P body: Shorthand for - !ruby/struct:SM::Flow::VERB body: " Iconv.iconv(to, from, str).join\n" - !ruby/struct:SM::Flow::P body: See Iconv.iconv. full_name: Iconv::conv is_singleton: true name: conv params: " Iconv.conv(to, from, str)\n" visibility: public ri/1.8/system/Iconv/OutOfRange/cdesc-OutOfRange.yaml 0000644 00000000527 15217654523 0016071 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Iconv library internal error. Must not occur. constants: [] full_name: Iconv::OutOfRange includes: - !ruby/object:RI::IncludedModule name: Iconv::Failure instance_methods: [] name: OutOfRange superclass: RuntimeError ri/1.8/system/IndexError/cdesc-IndexError.yaml 0000644 00000001176 15217654523 0015134 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: IndexError includes: [] instance_methods: [] name: IndexError superclass: StandardError ri/1.8/system/RubyToken/TkUnknownChar/new-c.yaml 0000644 00000000306 15217654523 0015374 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyToken::TkUnknownChar::new is_singleton: true name: new params: (line_no, char_no, id) visibility: public ri/1.8/system/RubyToken/TkUnknownChar/cdesc-TkUnknownChar.yaml 0000644 00000000645 15217654523 0020204 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: name rw: R class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RubyToken::TkUnknownChar includes: [] instance_methods: [] name: TkUnknownChar superclass: Token ri/1.8/system/RubyToken/set_token_position-i.yaml 0000644 00000000313 15217654523 0015772 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyToken#set_token_position is_singleton: false name: set_token_position params: (line, char) visibility: public ri/1.8/system/RubyToken/TkNode/new-c.yaml 0000644 00000000301 15217654523 0014017 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyToken::TkNode::new is_singleton: true name: new params: (seek, line_no, char_no) visibility: public ri/1.8/system/RubyToken/TkNode/cdesc-TkNode.yaml 0000644 00000000551 15217654523 0015260 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: node rw: R - !ruby/object:RI::Attribute comment: name: node rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RubyToken::TkNode includes: [] instance_methods: [] name: TkNode superclass: Token ri/1.8/system/RubyToken/def_token-c.yaml 0000644 00000000341 15217654523 0014004 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyToken::def_token is_singleton: true name: def_token params: (token_n, super_token = Token, reading = nil, *opts) visibility: public ri/1.8/system/RubyToken/TkKW/cdesc-TkKW.yaml 0000644 00000000276 15217654523 0014354 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RubyToken::TkKW includes: [] instance_methods: [] name: TkKW superclass: TkId ri/1.8/system/RubyToken/TkOp/name-i.yaml 0000644 00000000253 15217654523 0013653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyToken::TkOp#name is_singleton: false name: name params: () visibility: public ri/1.8/system/RubyToken/TkOp/cdesc-TkOp.yaml 0000644 00000000450 15217654523 0014440 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: RW class_methods: [] comment: constants: [] full_name: RubyToken::TkOp includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: name name: TkOp superclass: Token ri/1.8/system/RubyToken/cdesc-RubyToken.yaml 0000644 00000030043 15217654523 0014631 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: def_token - !ruby/object:RI::MethodSummary name: def_token comment: - !ruby/struct:SM::Flow::P body: Definitions of all tokens involved in the lexical analysis constants: - !ruby/object:RI::Constant comment: name: EXPR_BEG value: ":EXPR_BEG" - !ruby/object:RI::Constant comment: name: EXPR_MID value: ":EXPR_MID" - !ruby/object:RI::Constant comment: name: EXPR_END value: ":EXPR_END" - !ruby/object:RI::Constant comment: name: EXPR_ARG value: ":EXPR_ARG" - !ruby/object:RI::Constant comment: name: EXPR_FNAME value: ":EXPR_FNAME" - !ruby/object:RI::Constant comment: name: EXPR_DOT value: ":EXPR_DOT" - !ruby/object:RI::Constant comment: name: EXPR_CLASS value: ":EXPR_CLASS" - !ruby/object:RI::Constant comment: name: Symbol value: Integer - !ruby/object:RI::Constant comment: name: TokenDefinitions value: "[ [:TkCLASS, TkId, \"class\", EXPR_CLASS], [:TkMODULE, TkId, \"module\", EXPR_BEG], [:TkDEF, TkId, \"def\", EXPR_FNAME], [:TkUNDEF, TkId, \"undef\", EXPR_FNAME], [:TkBEGIN, TkId, \"begin\", EXPR_BEG], [:TkRESCUE, TkId, \"rescue\", EXPR_MID], [:TkENSURE, TkId, \"ensure\", EXPR_BEG], [:TkEND, TkId, \"end\", EXPR_END], [:TkIF, TkId, \"if\", EXPR_BEG, :TkIF_MOD], [:TkUNLESS, TkId, \"unless\", EXPR_BEG, :TkUNLESS_MOD], [:TkTHEN, TkId, \"then\", EXPR_BEG], [:TkELSIF, TkId, \"elsif\", EXPR_BEG], [:TkELSE, TkId, \"else\", EXPR_BEG], [:TkCASE, TkId, \"case\", EXPR_BEG], [:TkWHEN, TkId, \"when\", EXPR_BEG], [:TkWHILE, TkId, \"while\", EXPR_BEG, :TkWHILE_MOD], [:TkUNTIL, TkId, \"until\", EXPR_BEG, :TkUNTIL_MOD], [:TkFOR, TkId, \"for\", EXPR_BEG], [:TkBREAK, TkId, \"break\", EXPR_END], [:TkNEXT, TkId, \"next\", EXPR_END], [:TkREDO, TkId, \"redo\", EXPR_END], [:TkRETRY, TkId, \"retry\", EXPR_END], [:TkIN, TkId, \"in\", EXPR_BEG], [:TkDO, TkId, \"do\", EXPR_BEG], [:TkRETURN, TkId, \"return\", EXPR_MID], [:TkYIELD, TkId, \"yield\", EXPR_END], [:TkSUPER, TkId, \"super\", EXPR_END], [:TkSELF, TkId, \"self\", EXPR_END], [:TkNIL, TkId, \"nil\", EXPR_END], [:TkTRUE, TkId, \"true\", EXPR_END], [:TkFALSE, TkId, \"false\", EXPR_END], [:TkAND, TkId, \"and\", EXPR_BEG], [:TkOR, TkId, \"or\", EXPR_BEG], [:TkNOT, TkId, \"not\", EXPR_BEG], [:TkIF_MOD, TkId], [:TkUNLESS_MOD, TkId], [:TkWHILE_MOD, TkId], [:TkUNTIL_MOD, TkId], [:TkALIAS, TkId, \"alias\", EXPR_FNAME], [:TkDEFINED, TkId, \"defined?\", EXPR_END], [:TklBEGIN, TkId, \"BEGIN\", EXPR_END], [:TklEND, TkId, \"END\", EXPR_END], [:Tk__LINE__, TkId, \"__LINE__\", EXPR_END], [:Tk__FILE__, TkId, \"__FILE__\", EXPR_END], [:TkIDENTIFIER, TkId], [:TkFID, TkId], [:TkGVAR, TkId], [:TkCVAR, TkId], [:TkIVAR, TkId], [:TkCONSTANT, TkId], [:TkINTEGER, TkVal], [:TkFLOAT, TkVal], [:TkSTRING, TkVal], [:TkXSTRING, TkVal], [:TkREGEXP, TkVal], [:TkSYMBOL, TkVal], [:TkDSTRING, TkNode], [:TkDXSTRING, TkNode], [:TkDREGEXP, TkNode], [:TkNTH_REF, TkNode], [:TkBACK_REF, TkNode], [:TkUPLUS, TkOp, \"+@\"], [:TkUMINUS, TkOp, \"-@\"], [:TkPOW, TkOp, \"**\"], [:TkCMP, TkOp, \"<=>\"], [:TkEQ, TkOp, \"==\"], [:TkEQQ, TkOp, \"===\"], [:TkNEQ, TkOp, \"!=\"], [:TkGEQ, TkOp, \">=\"], [:TkLEQ, TkOp, \"<=\"], [:TkANDOP, TkOp, \"&&\"], [:TkOROP, TkOp, \"||\"], [:TkMATCH, TkOp, \"=~\"], [:TkNMATCH, TkOp, \"!~\"], [:TkDOT2, TkOp, \"..\"], [:TkDOT3, TkOp, \"...\"], [:TkAREF, TkOp, \"[]\"], [:TkASET, TkOp, \"[]=\"], [:TkLSHFT, TkOp, \"<<\"], [:TkRSHFT, TkOp, \">>\"], [:TkCOLON2, TkOp], [:TkCOLON3, TkOp], # [:OPASGN, TkOp], # +=, -= etc. # [:TkASSOC, TkOp, \"=>\"], [:TkQUESTION, TkOp, \"?\"], #? [:TkCOLON, TkOp, \":\"], #: [:TkfLPAREN], # func( # [:TkfLBRACK], # func[ # [:TkfLBRACE], # func{ # [:TkSTAR], # *arg [:TkAMPER], # &arg # [:TkSYMBEG], # :SYMBOL [:TkGT, TkOp, \">\"], [:TkLT, TkOp, \"<\"], [:TkPLUS, TkOp, \"+\"], [:TkMINUS, TkOp, \"-\"], [:TkMULT, TkOp, \"*\"], [:TkDIV, TkOp, \"/\"], [:TkMOD, TkOp, \"%\"], [:TkBITOR, TkOp, \"|\"], [:TkBITXOR, TkOp, \"^\"], [:TkBITAND, TkOp, \"&\"], [:TkBITNOT, TkOp, \"~\"], [:TkNOTOP, TkOp, \"!\"], [:TkBACKQUOTE, TkOp, \"`\"], [:TkASSIGN, Token, \"=\"], [:TkDOT, Token, \".\"], [:TkLPAREN, Token, \"(\"], #(exp) [:TkLBRACK, Token, \"[\"], #[arry] [:TkLBRACE, Token, \"{\"], #{hash} [:TkRPAREN, Token, \")\"], [:TkRBRACK, Token, \"]\"], [:TkRBRACE, Token, \"}\"], [:TkCOMMA, Token, \",\"], [:TkSEMICOLON, Token, \";\"], [:TkCOMMENT], [:TkRD_COMMENT], [:TkSPACE], [:TkNL], [:TkEND_OF_SCRIPT], [:TkBACKSLASH, TkUnknownChar, \"\\\\\"], [:TkAT, TkUnknownChar, \"@\"], [:TkDOLLAR, TkUnknownChar, \"$\"], ]" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: "{reading => token_class} {reading => [token_class, *opt]}" name: TkReading2Token value: "{}" - !ruby/object:RI::Constant comment: name: TkSymbol2Token value: "{}" - !ruby/object:RI::Constant comment: name: EXPR_BEG value: ":EXPR_BEG" - !ruby/object:RI::Constant comment: name: EXPR_MID value: ":EXPR_MID" - !ruby/object:RI::Constant comment: name: EXPR_END value: ":EXPR_END" - !ruby/object:RI::Constant comment: name: EXPR_ARG value: ":EXPR_ARG" - !ruby/object:RI::Constant comment: name: EXPR_FNAME value: ":EXPR_FNAME" - !ruby/object:RI::Constant comment: name: EXPR_DOT value: ":EXPR_DOT" - !ruby/object:RI::Constant comment: name: EXPR_CLASS value: ":EXPR_CLASS" - !ruby/object:RI::Constant comment: name: TokenDefinitions value: "[ [:TkCLASS, TkKW, \"class\", EXPR_CLASS], [:TkMODULE, TkKW, \"module\", EXPR_BEG], [:TkDEF, TkKW, \"def\", EXPR_FNAME], [:TkUNDEF, TkKW, \"undef\", EXPR_FNAME], [:TkBEGIN, TkKW, \"begin\", EXPR_BEG], [:TkRESCUE, TkKW, \"rescue\", EXPR_MID], [:TkENSURE, TkKW, \"ensure\", EXPR_BEG], [:TkEND, TkKW, \"end\", EXPR_END], [:TkIF, TkKW, \"if\", EXPR_BEG, :TkIF_MOD], [:TkUNLESS, TkKW, \"unless\", EXPR_BEG, :TkUNLESS_MOD], [:TkTHEN, TkKW, \"then\", EXPR_BEG], [:TkELSIF, TkKW, \"elsif\", EXPR_BEG], [:TkELSE, TkKW, \"else\", EXPR_BEG], [:TkCASE, TkKW, \"case\", EXPR_BEG], [:TkWHEN, TkKW, \"when\", EXPR_BEG], [:TkWHILE, TkKW, \"while\", EXPR_BEG, :TkWHILE_MOD], [:TkUNTIL, TkKW, \"until\", EXPR_BEG, :TkUNTIL_MOD], [:TkFOR, TkKW, \"for\", EXPR_BEG], [:TkBREAK, TkKW, \"break\", EXPR_END], [:TkNEXT, TkKW, \"next\", EXPR_END], [:TkREDO, TkKW, \"redo\", EXPR_END], [:TkRETRY, TkKW, \"retry\", EXPR_END], [:TkIN, TkKW, \"in\", EXPR_BEG], [:TkDO, TkKW, \"do\", EXPR_BEG], [:TkRETURN, TkKW, \"return\", EXPR_MID], [:TkYIELD, TkKW, \"yield\", EXPR_END], [:TkSUPER, TkKW, \"super\", EXPR_END], [:TkSELF, TkKW, \"self\", EXPR_END], [:TkNIL, TkKW, \"nil\", EXPR_END], [:TkTRUE, TkKW, \"true\", EXPR_END], [:TkFALSE, TkKW, \"false\", EXPR_END], [:TkAND, TkKW, \"and\", EXPR_BEG], [:TkOR, TkKW, \"or\", EXPR_BEG], [:TkNOT, TkKW, \"not\", EXPR_BEG], [:TkIF_MOD, TkKW], [:TkUNLESS_MOD, TkKW], [:TkWHILE_MOD, TkKW], [:TkUNTIL_MOD, TkKW], [:TkALIAS, TkKW, \"alias\", EXPR_FNAME], [:TkDEFINED, TkKW, \"defined?\", EXPR_END], [:TklBEGIN, TkKW, \"BEGIN\", EXPR_END], [:TklEND, TkKW, \"END\", EXPR_END], [:Tk__LINE__, TkKW, \"__LINE__\", EXPR_END], [:Tk__FILE__, TkKW, \"__FILE__\", EXPR_END], [:TkIDENTIFIER, TkId], [:TkFID, TkId], [:TkGVAR, TkId], [:TkIVAR, TkId], [:TkCONSTANT, TkId], [:TkINTEGER, TkVal], [:TkFLOAT, TkVal], [:TkSTRING, TkVal], [:TkXSTRING, TkVal], [:TkREGEXP, TkVal], [:TkCOMMENT, TkVal], [:TkDSTRING, TkNode], [:TkDXSTRING, TkNode], [:TkDREGEXP, TkNode], [:TkNTH_REF, TkId], [:TkBACK_REF, TkId], [:TkUPLUS, TkOp, \"+@\"], [:TkUMINUS, TkOp, \"-@\"], [:TkPOW, TkOp, \"**\"], [:TkCMP, TkOp, \"<=>\"], [:TkEQ, TkOp, \"==\"], [:TkEQQ, TkOp, \"===\"], [:TkNEQ, TkOp, \"!=\"], [:TkGEQ, TkOp, \">=\"], [:TkLEQ, TkOp, \"<=\"], [:TkANDOP, TkOp, \"&&\"], [:TkOROP, TkOp, \"||\"], [:TkMATCH, TkOp, \"=~\"], [:TkNMATCH, TkOp, \"!~\"], [:TkDOT2, TkOp, \"..\"], [:TkDOT3, TkOp, \"...\"], [:TkAREF, TkOp, \"[]\"], [:TkASET, TkOp, \"[]=\"], [:TkLSHFT, TkOp, \"<<\"], [:TkRSHFT, TkOp, \">>\"], [:TkCOLON2, TkOp], [:TkCOLON3, TkOp], # [:OPASGN, TkOp], # +=, -= etc. # [:TkASSOC, TkOp, \"=>\"], [:TkQUESTION, TkOp, \"?\"], #? [:TkCOLON, TkOp, \":\"], #: [:TkfLPAREN], # func( # [:TkfLBRACK], # func[ # [:TkfLBRACE], # func{ # [:TkSTAR], # *arg [:TkAMPER], # &arg # [:TkSYMBOL, TkId], # :SYMBOL [:TkSYMBEG, TkId], [:TkGT, TkOp, \">\"], [:TkLT, TkOp, \"<\"], [:TkPLUS, TkOp, \"+\"], [:TkMINUS, TkOp, \"-\"], [:TkMULT, TkOp, \"*\"], [:TkDIV, TkOp, \"/\"], [:TkMOD, TkOp, \"%\"], [:TkBITOR, TkOp, \"|\"], [:TkBITXOR, TkOp, \"^\"], [:TkBITAND, TkOp, \"&\"], [:TkBITNOT, TkOp, \"~\"], [:TkNOTOP, TkOp, \"!\"], [:TkBACKQUOTE, TkOp, \"`\"], [:TkASSIGN, Token, \"=\"], [:TkDOT, Token, \".\"], [:TkLPAREN, Token, \"(\"], #(exp) [:TkLBRACK, Token, \"[\"], #[arry] [:TkLBRACE, Token, \"{\"], #{hash} [:TkRPAREN, Token, \")\"], [:TkRBRACK, Token, \"]\"], [:TkRBRACE, Token, \"}\"], [:TkCOMMA, Token, \",\"], [:TkSEMICOLON, Token, \";\"], [:TkRD_COMMENT], [:TkSPACE], [:TkNL], [:TkEND_OF_SCRIPT], [:TkBACKSLASH, TkUnknownChar, \"\\\\\"], [:TkAT, TkUnknownChar, \"@\"], [:TkDOLLAR, TkUnknownChar, \"\\$\"], #\" ]" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: "{reading => token_class} {reading => [token_class, *opt]}" name: TkReading2Token value: "{}" - !ruby/object:RI::Constant comment: name: TkSymbol2Token value: "{}" - !ruby/object:RI::Constant comment: name: NEWLINE_TOKEN value: TkNL.new(0,0) full_name: RubyToken includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: Token - !ruby/object:RI::MethodSummary name: Token - !ruby/object:RI::MethodSummary name: set_token_position name: RubyToken superclass: ri/1.8/system/RubyToken/TkVal/new-c.yaml 0000644 00000000307 15217654523 0013662 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyToken::TkVal::new is_singleton: true name: new params: (line_no, char_no, value = nil) visibility: public ri/1.8/system/RubyToken/TkVal/cdesc-TkVal.yaml 0000644 00000000527 15217654523 0014755 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: value rw: R class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RubyToken::TkVal includes: [] instance_methods: [] name: TkVal superclass: Token ri/1.8/system/RubyToken/TkId/new-c.yaml 0000644 00000000277 15217654523 0013502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyToken::TkId::new is_singleton: true name: new params: (line_no, char_no, name) visibility: public ri/1.8/system/RubyToken/TkId/cdesc-TkId.yaml 0000644 00000000623 15217654523 0014376 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: name rw: R class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RubyToken::TkId includes: [] instance_methods: [] name: TkId superclass: Token ri/1.8/system/RubyToken/TkOPASGN/new-c.yaml 0000644 00000000301 15217654523 0014121 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyToken::TkOPASGN::new is_singleton: true name: new params: (line_no, char_no, op) visibility: public ri/1.8/system/RubyToken/TkOPASGN/cdesc-TkOPASGN.yaml 0000644 00000000626 15217654523 0015467 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: op rw: R - !ruby/object:RI::Attribute comment: name: op rw: R class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RubyToken::TkOPASGN includes: [] instance_methods: [] name: TkOPASGN superclass: TkOp ri/1.8/system/RubyToken/TkError/cdesc-TkError.yaml 0000644 00000000305 15217654523 0015665 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RubyToken::TkError includes: [] instance_methods: [] name: TkError superclass: Token ri/1.8/system/RubyToken/Token/new-c.yaml 0000644 00000000272 15217654523 0013722 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyToken::Token::new is_singleton: true name: new params: (line_no, char_no) visibility: public ri/1.8/system/RubyToken/Token/set_text-i.yaml 0000644 00000000513 15217654523 0014774 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Because we're used in contexts that expect to return a token, we set the text string and then return ourselves full_name: RubyToken::Token#set_text is_singleton: false name: set_text params: (text) visibility: public ri/1.8/system/RubyToken/Token/cdesc-Token.yaml 0000644 00000001534 15217654523 0015052 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: char_no rw: R - !ruby/object:RI::Attribute comment: name: char_no rw: R - !ruby/object:RI::Attribute comment: name: line_no rw: R - !ruby/object:RI::Attribute comment: name: line_no rw: R - !ruby/object:RI::Attribute comment: name: seek rw: R - !ruby/object:RI::Attribute comment: name: text rw: R - !ruby/object:RI::Attribute comment: name: text rw: R class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: NO_TEXT value: "\"??\".freeze" full_name: RubyToken::Token includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: set_text name: Token superclass: Object ri/1.8/system/RubyToken/Token-i.yaml 0000644 00000000271 15217654523 0013136 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RubyToken#Token is_singleton: false name: Token params: (token, value = nil) visibility: public ri/1.8/system/IPAddr/cdesc-IPAddr.yaml 0000644 00000006464 15217654523 0013205 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Returns the address family of this IP address. name: family rw: R class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new_ntoh - !ruby/object:RI::MethodSummary name: ntop comment: - !ruby/struct:SM::Flow::P body: IPAddr provides a set of methods to manipulate an IP address. Both IPv4 and IPv6 are supported. - !ruby/struct:SM::Flow::H level: 2 text: Example - !ruby/struct:SM::Flow::VERB body: " require 'ipaddr'\n\n ipaddr1 = IPAddr.new "3ffe:505:2::1"\n\n p ipaddr1 #=> #<IPAddr: IPv6:3ffe:0505:0002:0000:0000:0000:0000:0001/ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff>\n\n p ipaddr1.to_s #=> "3ffe:505:2::1"\n\n ipaddr2 = ipaddr1.mask(48) #=> #<IPAddr: IPv6:3ffe:0505:0002:0000:0000:0000:0000:0000/ffff:ffff:ffff:0000:0000:0000:0000:0000>\n\n p ipaddr2.to_s #=> "3ffe:505:2::"\n\n ipaddr3 = IPAddr.new "192.168.2.0/24"\n\n p ipaddr3 #=> #<IPAddr: IPv4:192.168.2.0/255.255.255.0>\n" constants: - !ruby/object:RI::Constant comment: name: IN4MASK value: "0xffffffff" - !ruby/object:RI::Constant comment: name: IN6MASK value: "0xffffffffffffffffffffffffffffffff" - !ruby/object:RI::Constant comment: name: IN6FORMAT value: (["%.4x"] * 8).join(':') full_name: IPAddr includes: - !ruby/object:RI::IncludedModule name: Comparable instance_methods: - !ruby/object:RI::MethodSummary name: "&" - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: === - !ruby/object:RI::MethodSummary name: ">>" - !ruby/object:RI::MethodSummary name: _reverse - !ruby/object:RI::MethodSummary name: _to_string - !ruby/object:RI::MethodSummary name: addr_mask - !ruby/object:RI::MethodSummary name: coerce_other - !ruby/object:RI::MethodSummary name: hton - !ruby/object:RI::MethodSummary name: in6_addr - !ruby/object:RI::MethodSummary name: in_addr - !ruby/object:RI::MethodSummary name: include? - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: ip6_arpa - !ruby/object:RI::MethodSummary name: ip6_int - !ruby/object:RI::MethodSummary name: ipv4? - !ruby/object:RI::MethodSummary name: ipv4_compat - !ruby/object:RI::MethodSummary name: ipv4_compat? - !ruby/object:RI::MethodSummary name: ipv4_mapped - !ruby/object:RI::MethodSummary name: ipv4_mapped? - !ruby/object:RI::MethodSummary name: ipv6? - !ruby/object:RI::MethodSummary name: mask - !ruby/object:RI::MethodSummary name: mask! - !ruby/object:RI::MethodSummary name: native - !ruby/object:RI::MethodSummary name: reverse - !ruby/object:RI::MethodSummary name: set - !ruby/object:RI::MethodSummary name: succ - !ruby/object:RI::MethodSummary name: to_i - !ruby/object:RI::MethodSummary name: to_range - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_string - !ruby/object:RI::MethodSummary name: "|" - !ruby/object:RI::MethodSummary name: "~" name: IPAddr superclass: Object ri/1.8/system/IPAddr/new-c.yaml 0000644 00000002276 15217654523 0012031 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new ipaddr object either from a human readable IP address representation in string, or from a packed in_addr value followed by an address family. - !ruby/struct:SM::Flow::P body: "In the former case, the following are the valid formats that will be recognized: "address", "address/prefixlen" and "address/mask", where IPv6 address may be enclosed in square brackets (`[' and `]'). If a prefixlen or a mask is specified, it returns a masked IP address. Although the address family is determined automatically from a specified string, you can specify one explicitly by the optional second argument." - !ruby/struct:SM::Flow::P body: Otherwise an IP addess is generated from a packed in_addr value and an address family. - !ruby/struct:SM::Flow::P body: The IPAddr class defines many methods and operators, and some of those, such as &, |, include? and ==, accept a string, or a packed in_addr value instead of an IPAddr object. full_name: IPAddr::new is_singleton: true name: new params: (addr = '::', family = Socket::AF_UNSPEC) visibility: public ri/1.8/system/IPAddr/to_s-i.yaml 0000644 00000000401 15217654523 0012176 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a string containing the IP address representation. full_name: IPAddr#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/IPAddr/in_addr-i.yaml 0000644 00000000255 15217654523 0012641 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IPAddr#in_addr is_singleton: false name: in_addr params: (addr) visibility: private ri/1.8/system/IPAddr/in6_addr-i.yaml 0000644 00000000257 15217654523 0012731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IPAddr#in6_addr is_singleton: false name: in6_addr params: (left) visibility: private ri/1.8/system/IPAddr/mask%21-i.yaml 0000644 00000000253 15217654523 0012402 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IPAddr#mask! is_singleton: false name: mask! params: (mask) visibility: protected ri/1.8/system/IPAddr/%3e%3e-i.yaml 0000644 00000000372 15217654523 0012112 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new ipaddr built by bitwise right-shift. full_name: IPAddr#>> is_singleton: false name: ">>" params: (num) visibility: public ri/1.8/system/IPAddr/%3c%3c-i.yaml 0000644 00000000371 15217654523 0012105 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new ipaddr built by bitwise left shift. full_name: IPAddr#<< is_singleton: false name: "<<" params: (num) visibility: public ri/1.8/system/IPAddr/new_ntoh-c.yaml 0000644 00000000457 15217654523 0013060 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new ipaddr containing the given network byte ordered string form of an IP address. full_name: IPAddr::new_ntoh is_singleton: true name: new_ntoh params: (addr) visibility: public ri/1.8/system/IPAddr/ipv4%3f-i.yaml 0000644 00000000367 15217654523 0012425 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the ipaddr is an IPv4 address. full_name: IPAddr#ipv4? is_singleton: false name: ipv4? params: () visibility: public ri/1.8/system/IPAddr/to_string-i.yaml 0000644 00000000435 15217654523 0013251 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a string containing the IP address representation in canonical form. full_name: IPAddr#to_string is_singleton: false name: to_string params: () visibility: public ri/1.8/system/IPAddr/ipv4_compat%3f-i.yaml 0000644 00000000425 15217654523 0013763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the ipaddr is an IPv4-compatible IPv6 address. full_name: IPAddr#ipv4_compat? is_singleton: false name: ipv4_compat? params: () visibility: public ri/1.8/system/IPAddr/%26-i.yaml 0000644 00000000362 15217654523 0011534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new ipaddr built by bitwise AND. full_name: IPAddr#& is_singleton: false name: "&" params: (other) visibility: public ri/1.8/system/IPAddr/to_i-i.yaml 0000644 00000000370 15217654523 0012171 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the integer representation of the ipaddr. full_name: IPAddr#to_i is_singleton: false name: to_i params: () visibility: public ri/1.8/system/IPAddr/addr_mask-i.yaml 0000644 00000000261 15217654523 0013163 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IPAddr#addr_mask is_singleton: false name: addr_mask params: (addr) visibility: private ri/1.8/system/IPAddr/%3c%3d%3e-i.yaml 0000644 00000000353 15217654523 0012403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compares the ipaddr with another. full_name: IPAddr#<=> is_singleton: false name: <=> params: (other) visibility: public ri/1.8/system/IPAddr/%7c-i.yaml 0000644 00000000361 15217654523 0011615 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new ipaddr built by bitwise OR. full_name: IPAddr#| is_singleton: false name: "|" params: (other) visibility: public ri/1.8/system/IPAddr/ip6_arpa-i.yaml 0000644 00000000417 15217654523 0012742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a string for DNS reverse lookup compatible with RFC3172. full_name: IPAddr#ip6_arpa is_singleton: false name: ip6_arpa params: () visibility: public ri/1.8/system/IPAddr/ipv4_mapped-i.yaml 0000644 00000000467 15217654523 0013456 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new ipaddr built by converting the native IPv4 address into an IPv4-mapped IPv6 address. full_name: IPAddr#ipv4_mapped is_singleton: false name: ipv4_mapped params: () visibility: public ri/1.8/system/IPAddr/ip6_int-i.yaml 0000644 00000000415 15217654523 0012607 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a string for DNS reverse lookup compatible with RFC1886. full_name: IPAddr#ip6_int is_singleton: false name: ip6_int params: () visibility: public ri/1.8/system/IPAddr/ipv4_compat-i.yaml 0000644 00000000473 15217654523 0013470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new ipaddr built by converting the native IPv4 address into an IPv4-compatible IPv6 address. full_name: IPAddr#ipv4_compat is_singleton: false name: ipv4_compat params: () visibility: public ri/1.8/system/IPAddr/%3d%3d%3d-i.yaml 0000644 00000000337 15217654523 0012405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #include?" full_name: IPAddr#=== is_singleton: false name: === params: (other) visibility: public ri/1.8/system/IPAddr/ipv4_mapped%3f-i.yaml 0000644 00000000421 15217654523 0013742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the ipaddr is an IPv4-mapped IPv6 address. full_name: IPAddr#ipv4_mapped? is_singleton: false name: ipv4_mapped? params: () visibility: public ri/1.8/system/IPAddr/ntop-c.yaml 0000644 00000000440 15217654523 0012207 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a network byte ordered string form of an IP address into human readable form. full_name: IPAddr::ntop is_singleton: true name: ntop params: (addr) visibility: public ri/1.8/system/IPAddr/reverse-i.yaml 0000644 00000000456 15217654523 0012717 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a string for DNS reverse lookup. It returns a string in RFC3172 form for an IPv6 address. full_name: IPAddr#reverse is_singleton: false name: reverse params: () visibility: public ri/1.8/system/IPAddr/ipv6%3f-i.yaml 0000644 00000000367 15217654523 0012427 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the ipaddr is an IPv6 address. full_name: IPAddr#ipv6? is_singleton: false name: ipv6? params: () visibility: public ri/1.8/system/IPAddr/_to_string-i.yaml 0000644 00000000263 15217654523 0013407 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IPAddr#_to_string is_singleton: false name: _to_string params: (addr) visibility: private ri/1.8/system/IPAddr/inspect-i.yaml 0000644 00000000514 15217654523 0012704 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns a string containing a human-readable representation of the ipaddr. ("#<IPAddr: family:address/mask>")" full_name: IPAddr#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/IPAddr/%7e-i.yaml 0000644 00000000362 15217654523 0011620 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new ipaddr built by bitwise negation. full_name: IPAddr#~ is_singleton: false name: "~" params: () visibility: public ri/1.8/system/IPAddr/_reverse-i.yaml 0000644 00000000253 15217654523 0013051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IPAddr#_reverse is_singleton: false name: _reverse params: () visibility: private ri/1.8/system/IPAddr/hton-i.yaml 0000644 00000000404 15217654523 0012205 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a network byte ordered string form of the IP address. full_name: IPAddr#hton is_singleton: false name: hton params: () visibility: public ri/1.8/system/IPAddr/coerce_other-i.yaml 0000644 00000000270 15217654523 0013677 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IPAddr#coerce_other is_singleton: false name: coerce_other params: (other) visibility: private ri/1.8/system/IPAddr/%3d%3d-i.yaml 0000644 00000000356 15217654523 0012112 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if two ipaddrs are equal. full_name: IPAddr#== is_singleton: false name: == params: (other) visibility: public ri/1.8/system/IPAddr/native-i.yaml 0000644 00000000567 15217654523 0012535 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new ipaddr built by converting the IPv6 address into a native IPv4 address. If the IP address is not an IPv4-mapped or IPv4-compatible IPv6 address, returns self. full_name: IPAddr#native is_singleton: false name: native params: () visibility: public ri/1.8/system/IPAddr/mask-i.yaml 0000644 00000000520 15217654523 0012167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new ipaddr built by masking IP address with the given prefixlen/netmask. (e.g. 8, 64, "255.255.255.0", etc.) full_name: IPAddr#mask is_singleton: false name: mask params: (prefixlen) visibility: public ri/1.8/system/IPAddr/set-i.yaml 0000644 00000000260 15217654523 0012030 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IPAddr#set is_singleton: false name: set params: (addr, *family) visibility: protected ri/1.8/system/IPAddr/include%3f-i.yaml 0000644 00000001170 15217654523 0013157 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: === block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the given ipaddr is in the range. - !ruby/struct:SM::Flow::P body: "e.g.:" - !ruby/struct:SM::Flow::VERB body: " require 'ipaddr'\n net1 = IPAddr.new("192.168.2.0/24")\n net2 = IPAddr.new("192.168.2.100")\n net3 = IPAddr.new("192.168.3.0")\n p net1.include?(net2) #=> true\n p net1.include?(net3) #=> false\n" full_name: IPAddr#include? is_singleton: false name: include? params: (other) visibility: public ri/1.8/system/IPAddr/to_range-i.yaml 0000644 00000000376 15217654523 0013043 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a Range object for the network address. full_name: IPAddr#to_range is_singleton: false name: to_range params: () visibility: public ri/1.8/system/IPAddr/succ-i.yaml 0000644 00000000353 15217654523 0012175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the successor to the ipaddr. full_name: IPAddr#succ is_singleton: false name: succ params: () visibility: public ri/1.8/system/Tempfile/new-c.yaml 0000644 00000001722 15217654523 0012466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a temporary file of mode 0600 in the temporary directory, opens it with mode "w+", and returns a Tempfile object which represents the created temporary file. A Tempfile object can be treated just like a normal File object. - !ruby/struct:SM::Flow::P body: The basename parameter is used to determine the name of a temporary file. If an Array is given, the first element is used as prefix string and the second as suffix string, respectively. Otherwise it is treated as prefix string. - !ruby/struct:SM::Flow::P body: If tmpdir is omitted, the temporary directory is determined by Dir::tmpdir provided by 'tmpdir.rb'. When $SAFE > 0 and the given tmpdir is tainted, it uses /tmp. (Note that ENV values are tainted by default) full_name: Tempfile::new is_singleton: true name: new params: (basename, tmpdir=Dir::tmpdir) visibility: public ri/1.8/system/Tempfile/open-c.yaml 0000644 00000000752 15217654523 0012640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (tempfile) comment: - !ruby/struct:SM::Flow::P body: If no block is given, this is a synonym for new(). - !ruby/struct:SM::Flow::P body: If a block is given, it will be passed tempfile as an argument, and the tempfile will automatically be closed when the block terminates. In this case, open() returns nil. full_name: Tempfile::open is_singleton: true name: open params: (*args) {|tempfile| ...} visibility: public ri/1.8/system/Tempfile/delete-i.yaml 0000644 00000000340 15217654523 0013140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #unlink" full_name: Tempfile#delete is_singleton: false name: delete params: () visibility: public ri/1.8/system/Tempfile/path-i.yaml 0000644 00000000372 15217654523 0012637 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the full path name of the temporary file. full_name: Tempfile#path is_singleton: false name: path params: () visibility: public ri/1.8/system/Tempfile/close-i.yaml 0000644 00000000673 15217654523 0013014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Closes the file. If the optional flag is true, unlinks the file after closing. - !ruby/struct:SM::Flow::P body: If you don't explicitly unlink the temporary file, the removal will be delayed until the object is finalized. full_name: Tempfile#close is_singleton: false name: close params: (unlink_now=false) visibility: public ri/1.8/system/Tempfile/unlink-i.yaml 0000644 00000000675 15217654523 0013211 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: delete block_params: comment: - !ruby/struct:SM::Flow::P body: Unlinks the file. On UNIX-like systems, it is often a good idea to unlink a temporary file immediately after creating and opening it, because it leaves other programs zero chance to access the file. full_name: Tempfile#unlink is_singleton: false name: unlink params: () visibility: public ri/1.8/system/Tempfile/close%21-i.yaml 0000644 00000000351 15217654523 0013215 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Closes and unlinks the file. full_name: Tempfile#close! is_singleton: false name: close! params: () visibility: public ri/1.8/system/Tempfile/cdesc-Tempfile.yaml 0000644 00000001622 15217654523 0014300 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: open comment: - !ruby/struct:SM::Flow::P body: A class for managing temporary files. This library is written to be thread safe. constants: - !ruby/object:RI::Constant comment: name: MAX_TRY value: "10" full_name: Tempfile includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: close! - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: length - !ruby/object:RI::MethodSummary name: make_tmpname - !ruby/object:RI::MethodSummary name: open - !ruby/object:RI::MethodSummary name: path - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: unlink name: Tempfile superclass: DelegateClass(File) ri/1.8/system/Tempfile/size-i.yaml 0000644 00000000542 15217654523 0012654 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: length block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the size of the temporary file. As a side effect, the IO buffer is flushed before determining the size. full_name: Tempfile#size is_singleton: false name: size params: () visibility: public ri/1.8/system/Tempfile/open-i.yaml 0000644 00000000374 15217654523 0012646 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Opens or reopens the file with mode "r+". full_name: Tempfile#open is_singleton: false name: open params: () visibility: public ri/1.8/system/Tempfile/length-i.yaml 0000644 00000000336 15217654523 0013164 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #size" full_name: Tempfile#length is_singleton: false name: length params: () visibility: public ri/1.8/system/Tempfile/make_tmpname-i.yaml 0000644 00000000300 15217654523 0014330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Tempfile#make_tmpname is_singleton: false name: make_tmpname params: (basename, n) visibility: private ri/1.8/system/SingletonClassMethods/_instantiate%3f-i.yaml 0000644 00000000372 15217654523 0017372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: waiting-loop hook full_name: SingletonClassMethods#_instantiate? is_singleton: false name: _instantiate? params: () visibility: private ri/1.8/system/SingletonClassMethods/inherited-i.yaml 0000644 00000000441 15217654523 0016362 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: ensure that the Singleton pattern is properly inherited full_name: SingletonClassMethods#inherited is_singleton: false name: inherited params: (sub_klass) visibility: private ri/1.8/system/SingletonClassMethods/_load-i.yaml 0000644 00000000266 15217654523 0015472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SingletonClassMethods#_load is_singleton: false name: _load params: (str) visibility: public ri/1.8/system/SingletonClassMethods/cdesc-SingletonClassMethods.yaml 0000644 00000000632 15217654523 0021516 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SingletonClassMethods includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _instantiate? - !ruby/object:RI::MethodSummary name: _load - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: inherited name: SingletonClassMethods superclass: ri/1.8/system/SingletonClassMethods/clone-i.yaml 0000644 00000000463 15217654523 0015513 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: properly clone the Singleton pattern - did you know that duping doesn't copy class methods? full_name: SingletonClassMethods#clone is_singleton: false name: clone params: () visibility: public ri/1.8/system/NoMethodError/new-c.yaml 0000644 00000000760 15217654523 0013451 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Construct a NoMethodError exception for a method of the given name called with the given arguments. The name may be accessed using the #name method on the resulting object, and the arguments using the #args method. full_name: NoMethodError::new is_singleton: true name: new params: | NoMethodError.new(msg, name [, args]) => no_method_error visibility: public ri/1.8/system/NoMethodError/args-i.yaml 0000644 00000000466 15217654523 0013625 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the arguments passed in as the third parameter to the constructor. full_name: NoMethodError#args is_singleton: false name: args params: | no_method_error.args => obj visibility: public ri/1.8/system/NoMethodError/cdesc-NoMethodError.yaml 0000644 00000001327 15217654523 0016246 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: NoMethodError includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: args name: NoMethodError superclass: NameError ri/1.8/system/Thread/new-c.yaml 0000644 00000001463 15217654523 0012132 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates and runs a new thread to execute the instructions given in block. Any arguments passed to Thread::new are passed into the block. - !ruby/struct:SM::Flow::VERB body: " x = Thread.new { sleep 0.1; print "x"; print "y"; print "z" }\n a = Thread.new { print "a"; print "b"; sleep 0.2; print "c" }\n x.join # Let the threads finish before\n a.join # main thread exits...\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " abxyzc\n" full_name: Thread::new is_singleton: true name: new params: | Thread.new([arg]*) {|args| block } => thread visibility: public ri/1.8/system/Thread/kill-i.yaml 0000644 00000000676 15217654523 0012307 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Terminates thr and schedules another thread to be run, returning the terminated Thread. If this is the main thread, or the last thread, exits the process. full_name: Thread#kill is_singleton: false name: kill params: | thr.exit => thr thr.kill => thr thr.terminate => thr visibility: public ri/1.8/system/Thread/priority-i.yaml 0000644 00000001022 15217654523 0013217 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the priority of thr. Default is inherited from the current thread which creating the new thread, or zero for the initial main thread; higher-priority threads will run before lower-priority threads. - !ruby/struct:SM::Flow::VERB body: " Thread.current.priority #=> 0\n" full_name: Thread#priority is_singleton: false name: priority params: | thr.priority => integer visibility: public ri/1.8/system/Thread/fork-c.yaml 0000644 00000000763 15217654523 0012304 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Basically the same as Thread::new. However, if class Thread is subclassed, then calling start in that subclass will not invoke the subclass's initialize method. full_name: Thread::fork is_singleton: true name: fork params: | Thread.start([args]*) {|args| block } => thread Thread.fork([args]*) {|args| block } => thread visibility: public ri/1.8/system/Thread/key%3f-i.yaml 0000644 00000000755 15217654523 0012440 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the given string (or symbol) exists as a thread-local variable. - !ruby/struct:SM::Flow::VERB body: " me = Thread.current\n me[:oliver] = "a"\n me.key?(:oliver) #=> true\n me.key?(:stanley) #=> false\n" full_name: Thread#key? is_singleton: false name: key? params: | thr.key?(sym) => true or false visibility: public ri/1.8/system/Thread/terminate%21-i.yaml 0000644 00000001100 15217654523 0013533 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Terminates thr without calling ensure clauses and schedules another thread to be run, returning the terminated Thread. If this is the main thread, or the last thread, exits the process. - !ruby/struct:SM::Flow::P body: See Thread#exit for the safer version. full_name: Thread#terminate! is_singleton: false name: terminate! params: | thr.exit! => thr thr.kill! => thr thr.terminate! => thr visibility: public ri/1.8/system/Thread/abort_on_exception-c.yaml 0000644 00000001234 15217654523 0015216 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the status of the global ``abort on exception'' condition. The default is false. When set to true, or if the global $DEBUG flag is true (perhaps because the command line option -d was specified) all threads will abort (the process will exit(0)) if an exception is raised in any thread. See also Thread::abort_on_exception=. full_name: Thread::abort_on_exception is_singleton: true name: abort_on_exception params: | Thread.abort_on_exception => true or false visibility: public ri/1.8/system/Thread/stop-c.yaml 0000644 00000001244 15217654523 0012323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Stops execution of the current thread, putting it into a ``sleep'' state, and schedules execution of another thread. Resets the ``critical'' condition to false. - !ruby/struct:SM::Flow::VERB body: " a = Thread.new { print "a"; Thread.stop; print "c" }\n Thread.pass\n print "b"\n a.run\n a.join\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " abc\n" full_name: Thread::stop is_singleton: true name: stop params: | Thread.stop => nil visibility: public ri/1.8/system/Thread/main-c.yaml 0000644 00000000553 15217654523 0012264 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the main thread for the process. - !ruby/struct:SM::Flow::VERB body: " Thread.main #=> #<Thread:0x401bdf4c run>\n" full_name: Thread::main is_singleton: true name: main params: | Thread.main => thread visibility: public ri/1.8/system/Thread/current-c.yaml 0000644 00000000566 15217654523 0013026 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the currently executing thread. - !ruby/struct:SM::Flow::VERB body: " Thread.current #=> #<Thread:0x401bdf4c run>\n" full_name: Thread::current is_singleton: true name: current params: | Thread.current => thread visibility: public ri/1.8/system/Thread/%5b%5d%3d-i.yaml 0000644 00000000555 15217654523 0012515 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Attribute Assignment---Sets or creates the value of a thread-local variable, using either a symbol or a string. See also Thread#[]. full_name: Thread#[]= is_singleton: false name: "[]=" params: | thr[sym] = obj => obj visibility: public ri/1.8/system/Thread/cdesc-Thread.yaml 0000644 00000005027 15217654523 0013407 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: abort_on_exception - !ruby/object:RI::MethodSummary name: abort_on_exception= - !ruby/object:RI::MethodSummary name: critical - !ruby/object:RI::MethodSummary name: critical= - !ruby/object:RI::MethodSummary name: current - !ruby/object:RI::MethodSummary name: exclusive - !ruby/object:RI::MethodSummary name: exit - !ruby/object:RI::MethodSummary name: fork - !ruby/object:RI::MethodSummary name: kill - !ruby/object:RI::MethodSummary name: list - !ruby/object:RI::MethodSummary name: main - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: pass - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: stop comment: - !ruby/struct:SM::Flow::P body: Thread encapsulates the behavior of a thread of execution, including the main thread of the Ruby script. - !ruby/struct:SM::Flow::P body: In the descriptions of the methods in this class, the parameter sym refers to a symbol, which is either a quoted string or a Symbol (such as :name). constants: [] full_name: Thread includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: abort_on_exception - !ruby/object:RI::MethodSummary name: abort_on_exception= - !ruby/object:RI::MethodSummary name: alive? - !ruby/object:RI::MethodSummary name: exit - !ruby/object:RI::MethodSummary name: exit! - !ruby/object:RI::MethodSummary name: group - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: join - !ruby/object:RI::MethodSummary name: key? - !ruby/object:RI::MethodSummary name: keys - !ruby/object:RI::MethodSummary name: kill - !ruby/object:RI::MethodSummary name: kill! - !ruby/object:RI::MethodSummary name: priority - !ruby/object:RI::MethodSummary name: priority= - !ruby/object:RI::MethodSummary name: raise - !ruby/object:RI::MethodSummary name: run - !ruby/object:RI::MethodSummary name: safe_level - !ruby/object:RI::MethodSummary name: status - !ruby/object:RI::MethodSummary name: stop? - !ruby/object:RI::MethodSummary name: terminate - !ruby/object:RI::MethodSummary name: terminate! - !ruby/object:RI::MethodSummary name: value - !ruby/object:RI::MethodSummary name: wakeup name: Thread superclass: Object ri/1.8/system/Thread/status-i.yaml 0000644 00000002077 15217654523 0012674 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns the status of thr: ``sleep'' if thr is sleeping or waiting on I/O, ``run'' if thr is executing, ``aborting'' if thr is aborting, false if thr terminated normally, and nil if thr terminated with an exception." - !ruby/struct:SM::Flow::VERB body: " a = Thread.new { raise("die now") }\n b = Thread.new { Thread.stop }\n c = Thread.new { Thread.exit }\n d = Thread.new { sleep }\n Thread.critical = true\n d.kill #=> #<Thread:0x401b3678 aborting>\n a.status #=> nil\n b.status #=> "sleep"\n c.status #=> false\n d.status #=> "aborting"\n Thread.current.status #=> "run"\n" full_name: Thread#status is_singleton: false name: status params: | thr.status => string, false or nil visibility: public ri/1.8/system/Thread/%5b%5d-i.yaml 0000644 00000001756 15217654523 0012225 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Attribute Reference---Returns the value of a thread-local variable, using either a symbol or a string name. If the specified variable does not exist, returns nil. - !ruby/struct:SM::Flow::VERB body: " a = Thread.new { Thread.current["name"] = "A"; Thread.stop }\n b = Thread.new { Thread.current[:name] = "B"; Thread.stop }\n c = Thread.new { Thread.current["name"] = "C"; Thread.stop }\n Thread.list.each {|x| puts "#{x.inspect}: #{x[:name]}" }\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " #<Thread:0x401b3b3c sleep>: C\n #<Thread:0x401b3bc8 sleep>: B\n #<Thread:0x401b3c68 sleep>: A\n #<Thread:0x401bdf4c run>:\n" full_name: Thread#[] is_singleton: false name: "[]" params: | thr[sym] => obj or nil visibility: public ri/1.8/system/Thread/exit-c.yaml 0000644 00000000714 15217654523 0012310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Terminates the currently running thread and schedules another thread to be run. If this thread is already marked to be killed, exit returns the Thread. If this is the main thread, or the last thread, exit the process. full_name: Thread::exit is_singleton: true name: exit params: | Thread.exit => thread visibility: public ri/1.8/system/Thread/terminate-i.yaml 0000644 00000000710 15217654523 0013331 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Terminates thr and schedules another thread to be run, returning the terminated Thread. If this is the main thread, or the last thread, exits the process. full_name: Thread#terminate is_singleton: false name: terminate params: | thr.exit => thr thr.kill => thr thr.terminate => thr visibility: public ri/1.8/system/Thread/alive%3f-i.yaml 0000644 00000000777 15217654523 0012754 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if thr is running or sleeping. - !ruby/struct:SM::Flow::VERB body: " thr = Thread.new { }\n thr.join #=> #<Thread:0x401b3fb0 dead>\n Thread.current.alive? #=> true\n thr.alive? #=> false\n" full_name: Thread#alive? is_singleton: false name: alive? params: | thr.alive? => true or false visibility: public ri/1.8/system/Thread/critical-c.yaml 0000644 00000000463 15217654523 0013132 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the status of the global ``thread critical'' condition. full_name: Thread::critical is_singleton: true name: critical params: | Thread.critical => true or false visibility: public ri/1.8/system/Thread/list-c.yaml 0000644 00000001343 15217654523 0012311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array of Thread objects for all threads that are either runnable or stopped. - !ruby/struct:SM::Flow::VERB body: " Thread.new { sleep(200) }\n Thread.new { 1000000.times {|i| i*i } }\n Thread.new { Thread.stop }\n Thread.list.each {|t| p t}\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " #<Thread:0x401b3e84 sleep>\n #<Thread:0x401b3f38 run>\n #<Thread:0x401b3fb0 sleep>\n #<Thread:0x401bdf4c run>\n" full_name: Thread::list is_singleton: true name: list params: | Thread.list => array visibility: public ri/1.8/system/Thread/critical%3d-c.yaml 0000644 00000001407 15217654523 0013425 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Sets the status of the global ``thread critical'' condition and returns it. When set to true, prohibits scheduling of any existing thread. Does not block new threads from being created and run. Certain thread operations (such as stopping or killing a thread, sleeping in the current thread, and raising an exception) may cause a thread to be scheduled even when in a critical section. Thread::critical is not intended for daily use: it is primarily there to support folks writing threading libraries." full_name: Thread::critical= is_singleton: true name: critical= params: | Thread.critical= boolean => true or false visibility: public ri/1.8/system/Thread/priority%3d-i.yaml 0000644 00000001273 15217654523 0013523 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the priority of thr to integer. Higher-priority threads will run before lower-priority threads. - !ruby/struct:SM::Flow::VERB body: " count1 = count2 = 0\n a = Thread.new do\n loop { count1 += 1 }\n end\n a.priority = -1\n\n b = Thread.new do\n loop { count2 += 1 }\n end\n b.priority = -2\n sleep 1 #=> 1\n Thread.critical = 1\n count1 #=> 622504\n count2 #=> 5832\n" full_name: Thread#priority= is_singleton: false name: priority= params: | thr.priority= integer => thr visibility: public ri/1.8/system/Thread/start-c.yaml 0000644 00000000765 15217654523 0012502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Basically the same as Thread::new. However, if class Thread is subclassed, then calling start in that subclass will not invoke the subclass's initialize method. full_name: Thread::start is_singleton: true name: start params: | Thread.start([args]*) {|args| block } => thread Thread.fork([args]*) {|args| block } => thread visibility: public ri/1.8/system/Thread/run-i.yaml 0000644 00000001175 15217654523 0012153 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Wakes up thr, making it eligible for scheduling. If not in a critical section, then invokes the scheduler. - !ruby/struct:SM::Flow::VERB body: " a = Thread.new { puts "a"; Thread.stop; puts "c" }\n Thread.pass\n puts "Got here"\n a.run\n a.join\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " a\n Got here\n c\n" full_name: Thread#run is_singleton: false name: run params: | thr.run => thr visibility: public ri/1.8/system/Thread/wakeup-i.yaml 0000644 00000001121 15217654523 0012632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Marks thr as eligible for scheduling (it may still remain blocked on I/O, however). Does not invoke the scheduler (see Thread#run). - !ruby/struct:SM::Flow::VERB body: " c = Thread.new { Thread.stop; puts "hey!" }\n c.wakeup\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " hey!\n" full_name: Thread#wakeup is_singleton: false name: wakeup params: | thr.wakeup => thr visibility: public ri/1.8/system/Thread/inspect-i.yaml 0000644 00000000441 15217654523 0013007 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Dump the name, id, and status of thr to a string. full_name: Thread#inspect is_singleton: false name: inspect params: | thr.inspect => string visibility: public ri/1.8/system/Thread/join-i.yaml 0000644 00000003130 15217654523 0012277 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The calling thread will suspend execution and run thr. Does not return until thr exits or until limit seconds have passed. If the time limit expires, nil will be returned, otherwise thr is returned. - !ruby/struct:SM::Flow::P body: Any threads not joined will be killed when the main program exits. If thr had previously raised an exception and the abort_on_exception and $DEBUG flags are not set (so the exception has not yet been processed) it will be processed at this time. - !ruby/struct:SM::Flow::VERB body: " a = Thread.new { print "a"; sleep(10); print "b"; print "c" }\n x = Thread.new { print "x"; Thread.pass; print "y"; print "z" }\n x.join # Let x thread finish, a will be killed on exit.\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " axyz\n" - !ruby/struct:SM::Flow::P body: The following example illustrates the limit parameter. - !ruby/struct:SM::Flow::VERB body: " y = Thread.new { 4.times { sleep 0.1; puts 'tick... ' }}\n puts "Waiting" until y.join(0.15)\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " tick...\n Waiting\n tick...\n Waitingtick...\n\n tick...\n" full_name: Thread#join is_singleton: false name: join params: | thr.join => thr thr.join(limit) => thr visibility: public ri/1.8/system/Thread/exit-i.yaml 0000644 00000000676 15217654523 0012325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Terminates thr and schedules another thread to be run, returning the terminated Thread. If this is the main thread, or the last thread, exits the process. full_name: Thread#exit is_singleton: false name: exit params: | thr.exit => thr thr.kill => thr thr.terminate => thr visibility: public ri/1.8/system/Thread/exclusive-c.yaml 0000644 00000000477 15217654523 0013354 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Wraps a block in Thread.critical, restoring the original value upon exit from the critical section. full_name: Thread::exclusive is_singleton: true name: exclusive params: () {|| ...} visibility: public ri/1.8/system/Thread/keys-i.yaml 0000644 00000001037 15217654523 0012317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an an array of the names of the thread-local variables (as Symbols). - !ruby/struct:SM::Flow::VERB body: " thr = Thread.new do\n Thread.current[:cat] = 'meow'\n Thread.current["dog"] = 'woof'\n end\n thr.join #=> #<Thread:0x401b3f10 dead>\n thr.keys #=> [:dog, :cat]\n" full_name: Thread#keys is_singleton: false name: keys params: | thr.keys => array visibility: public ri/1.8/system/Thread/stop%3f-i.yaml 0000644 00000000673 15217654523 0012634 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if thr is dead or sleeping. - !ruby/struct:SM::Flow::VERB body: " a = Thread.new { Thread.stop }\n b = Thread.current\n a.stop? #=> true\n b.stop? #=> false\n" full_name: Thread#stop? is_singleton: false name: stop? params: | thr.stop? => true or false visibility: public ri/1.8/system/Thread/safe_level-i.yaml 0000644 00000001050 15217654523 0013444 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the safe level in effect for thr. Setting thread-local safe levels can help when implementing sandboxes which run insecure code. - !ruby/struct:SM::Flow::VERB body: " thr = Thread.new { $SAFE = 3; sleep }\n Thread.current.safe_level #=> 0\n thr.safe_level #=> 3\n" full_name: Thread#safe_level is_singleton: false name: safe_level params: | thr.safe_level => integer visibility: public ri/1.8/system/Thread/kill-c.yaml 0000644 00000001057 15217654523 0012273 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Causes the given thread to exit (see Thread::exit). - !ruby/struct:SM::Flow::VERB body: " count = 0\n a = Thread.new { loop { count += 1 } }\n sleep(0.1) #=> 0\n Thread.kill(a) #=> #<Thread:0x401b3d30 dead>\n count #=> 93947\n a.alive? #=> false\n" full_name: Thread::kill is_singleton: true name: kill params: | Thread.kill(thread) => thread visibility: public ri/1.8/system/Thread/abort_on_exception%3d-i.yaml 0000644 00000000707 15217654523 0015524 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: When set to true, causes all threads (including the main program) to abort if an exception is raised in thr. The process will effectively exit(0). full_name: Thread#abort_on_exception= is_singleton: false name: abort_on_exception= params: | thr.abort_on_exception= boolean => true or false visibility: public ri/1.8/system/Thread/raise-i.yaml 0000644 00000001274 15217654523 0012452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Raises an exception (see Kernel::raise) from thr. The caller does not have to be thr. - !ruby/struct:SM::Flow::VERB body: " Thread.abort_on_exception = true\n a = Thread.new { sleep(200) }\n a.raise("Gotcha")\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " prog.rb:3: Gotcha (RuntimeError)\n from prog.rb:2:in `initialize'\n from prog.rb:2:in `new'\n from prog.rb:2\n" full_name: Thread#raise is_singleton: false name: raise params: | thr.raise(exception) visibility: public ri/1.8/system/Thread/kill%21-i.yaml 0000644 00000001066 15217654523 0012511 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Terminates thr without calling ensure clauses and schedules another thread to be run, returning the terminated Thread. If this is the main thread, or the last thread, exits the process. - !ruby/struct:SM::Flow::P body: See Thread#exit for the safer version. full_name: Thread#kill! is_singleton: false name: kill! params: | thr.exit! => thr thr.kill! => thr thr.terminate! => thr visibility: public ri/1.8/system/Thread/abort_on_exception%3d-c.yaml 0000644 00000001554 15217654523 0015517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: When set to true, all threads will abort if an exception is raised. Returns the new state. - !ruby/struct:SM::Flow::VERB body: " Thread.abort_on_exception = true\n t1 = Thread.new do\n puts "In new thread"\n raise "Exception from thread"\n end\n sleep(1)\n puts "not reached"\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " In new thread\n prog.rb:4: Exception from thread (RuntimeError)\n from prog.rb:2:in `initialize'\n from prog.rb:2:in `new'\n from prog.rb:2\n" full_name: Thread::abort_on_exception= is_singleton: true name: abort_on_exception= params: | Thread.abort_on_exception= boolean => true or false visibility: public ri/1.8/system/Thread/abort_on_exception-i.yaml 0000644 00000000666 15217654523 0015234 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the status of the thread-local ``abort on exception'' condition for thr. The default is false. See also Thread::abort_on_exception=. full_name: Thread#abort_on_exception is_singleton: false name: abort_on_exception params: | thr.abort_on_exception => true or false visibility: public ri/1.8/system/Thread/pass-c.yaml 0000644 00000001375 15217654523 0012311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes the thread scheduler to pass execution to another thread. - !ruby/struct:SM::Flow::VERB body: " a = Thread.new { print "a"; Thread.pass;\n print "b"; Thread.pass;\n print "c" }\n b = Thread.new { print "x"; Thread.pass;\n print "y"; Thread.pass;\n print "z" }\n a.join\n b.join\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " axbycz\n" full_name: Thread::pass is_singleton: true name: pass params: | Thread.pass => nil visibility: public ri/1.8/system/Thread/exit%21-i.yaml 0000644 00000001066 15217654523 0012527 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Terminates thr without calling ensure clauses and schedules another thread to be run, returning the terminated Thread. If this is the main thread, or the last thread, exits the process. - !ruby/struct:SM::Flow::P body: See Thread#exit for the safer version. full_name: Thread#exit! is_singleton: false name: exit! params: | thr.exit! => thr thr.kill! => thr thr.terminate! => thr visibility: public ri/1.8/system/Thread/group-i.yaml 0000644 00000000700 15217654523 0012474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the ThreadGroup which contains thr, or nil if the thread is not a member of any group. - !ruby/struct:SM::Flow::VERB body: " Thread.main.group #=> #<ThreadGroup:0x4029d914>\n" full_name: Thread#group is_singleton: false name: group params: | thr.group => thgrp or nil visibility: public ri/1.8/system/Thread/value-i.yaml 0000644 00000000620 15217654523 0012455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Waits for thr to complete (via Thread#join) and returns its value. - !ruby/struct:SM::Flow::VERB body: " a = Thread.new { 2 + 2 }\n a.value #=> 4\n" full_name: Thread#value is_singleton: false name: value params: | thr.value => obj visibility: public ri/1.8/system/Options/cdesc-Options.yaml 0000644 00000010700 15217654523 0014051 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: should the output be placed into a single file name: all_one_file rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: character-set name: charset rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: URL of stylesheet name: css rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: should diagrams be drawn name: diagram rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: files matching this pattern will be excluded name: exclude rw: RW - !ruby/object:RI::Attribute comment: name: extra_accessor_flags rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: pattern for additional attr_... style methods name: extra_accessors rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: should we draw fileboxes in diagrams name: fileboxes rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: and the list of files to be processed name: files rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: scan newer sources than the flag file if true. name: force_update rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: description of the output generator (set with the -fmt option name: generator rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: image format for diagrams name: image_format rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: include line numbers in the source listings name: include_line_numbers rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: should source code be included inline, or displayed in a popup name: inline_source rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: name of the file, class or module to display in the initial index page (if not specified the first file we encounter is used) name: main_page rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: merge into classes of the name name when generating ri name: merge rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: the name of the output directory name: op_dir rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: the name to use for the output name: op_name rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Are we promiscuous about showing module contents across multiple files name: promiscuous rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Don't display progress as we process the files name: quiet rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: "array of directories to search for files to satisfy an :include:" name: rdoc_include rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: include private and protected methods in the output name: show_all rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: include the '#' at the front of hyperlinked instance method names name: show_hash rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: the number of columns in a tab name: tab_width rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: template to be used when generating output name: template rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: URL of web cvs frontend name: webcvs rw: R class_methods: [] comment: constants: [] full_name: Options includes: - !ruby/object:RI::IncludedModule name: Singleton instance_methods: - !ruby/object:RI::MethodSummary name: check_diagram - !ruby/object:RI::MethodSummary name: check_files - !ruby/object:RI::MethodSummary name: error - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: setup_generator - !ruby/object:RI::MethodSummary name: title - !ruby/object:RI::MethodSummary name: title= name: Options superclass: Object ri/1.8/system/Options/title-i.yaml 0000644 00000000245 15217654523 0012711 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Options#title is_singleton: false name: title params: () visibility: public ri/1.8/system/Options/setup_generator-i.yaml 0000644 00000000445 15217654523 0015000 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set up an output generator for the format in @generator_name full_name: Options#setup_generator is_singleton: false name: setup_generator params: (generators) visibility: private ri/1.8/system/Options/error-i.yaml 0000644 00000000251 15217654523 0012716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Options#error is_singleton: false name: error params: (str) visibility: private ri/1.8/system/Options/check_files-i.yaml 0000644 00000000405 15217654523 0014025 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Check that the files on the command line exist full_name: Options#check_files is_singleton: false name: check_files params: () visibility: private ri/1.8/system/Options/check_diagram-i.yaml 0000644 00000000560 15217654523 0014331 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Check that the right version of 'dot' is available. Unfortuately this doesn't work correctly under Windows NT, so we'll bypass the test under Windows full_name: Options#check_diagram is_singleton: false name: check_diagram params: () visibility: private ri/1.8/system/Options/parse-i.yaml 0000644 00000000503 15217654523 0012677 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parse command line options. We're passed a hash containing output generators, keyed by the generator name full_name: Options#parse is_singleton: false name: parse params: (argv, generators) visibility: public ri/1.8/system/Options/OptionList/cdesc-OptionList.yaml 0000644 00000014617 15217654523 0016641 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: error - !ruby/object:RI::MethodSummary name: help_output - !ruby/object:RI::MethodSummary name: options - !ruby/object:RI::MethodSummary name: strip_output - !ruby/object:RI::MethodSummary name: usage comment: constants: - !ruby/object:RI::Constant comment: name: OPTION_LIST value: "[ [ \"--accessor\", \"-A\", \"accessorname[,..]\", \"comma separated list of additional class methods\\n\" + \"that should be treated like 'attr_reader' and\\n\" + \"friends. Option may be repeated. Each accessorname\\n\" + \"may have '=text' appended, in which case that text\\n\" + \"appears where the r/w/rw appears for normal accessors.\"], [ \"--all\", \"-a\", nil, \"include all methods (not just public)\\nin the output\" ], [ \"--charset\", \"-c\", \"charset\", \"specifies HTML character-set\" ], [ \"--debug\", \"-D\", nil, \"displays lots on internal stuff\" ], [ \"--diagram\", \"-d\", nil, \"Generate diagrams showing modules and classes.\\n\" + \"You need dot V1.8.6 or later to use the --diagram\\n\" + \"option correctly. Dot is available from\\n\"+ \"http://www.research.att.com/sw/tools/graphviz/\" ], [ \"--exclude\", \"-x\", \"pattern\", \"do not process files or directories matching\\n\" + \"pattern. Files given explicitly on the command\\n\" + \"line will never be excluded.\" ], [ \"--extension\", \"-E\", \"new=old\", \"Treat files ending with .new as if they ended with\\n\" + \".old. Using '-E cgi=rb' will cause xxx.cgi to be\\n\" + \"parsed as a Ruby file\"], [ \"--fileboxes\", \"-F\", nil, \"classes are put in boxes which represents\\n\" + \"files, where these classes reside. Classes\\n\" + \"shared between more than one file are\\n\" + \"shown with list of files that sharing them.\\n\" + \"Silently discarded if --diagram is not given\\n\" + \"Experimental.\" ], [ \"--force-update\", \"-U\", nil, \"forces to scan all sources even if newer than\\n\" + \"the flag file.\" ], [ \"--fmt\", \"-f\", \"format name\", \"set the output formatter (see below)\" ], [ \"--help\", \"-h\", nil, \"you're looking at it\" ], [ \"--help-output\", \"-O\", nil, \"explain the various output options\" ], [ \"--image-format\", \"-I\", \"gif/png/jpg/jpeg\", \"Sets output image format for diagrams. Can\\n\" + \"be png, gif, jpeg, jpg. If this option is\\n\" + \"omitted, png is used. Requires --diagram.\" ], [ \"--include\", \"-i\", \"dir[,dir...]\", \"set (or add to) the list of directories\\n\" + \"to be searched when satisfying :include:\\n\" + \"requests. Can be used more than once.\" ], [ \"--inline-source\", \"-S\", nil, \"Show method source code inline, rather\\n\" + \"than via a popup link\" ], [ \"--line-numbers\", \"-N\", nil, \"Include line numbers in the source code\" ], [ \"--main\", \"-m\", \"name\", \"'name' will be the initial page displayed\" ], [ \"--merge\", \"-M\", nil, \"when creating ri output, merge processed classes\\n\" + \"into previously documented classes of the name name\"], [ \"--one-file\", \"-1\", nil, \"put all the output into a single file\" ], [ \"--op\", \"-o\", \"dir\", \"set the output directory\" ], [ \"--opname\", \"-n\", \"name\", \"Set the 'name' of the output. Has no\\n\" + \"effect for HTML.\" ], [ \"--promiscuous\", \"-p\", nil, \"When documenting a file that contains a module\\n\" + \"or class also defined in other files, show\\n\" + \"all stuff for that module/class in each files\\n\" + \"page. By default, only show stuff defined in\\n\" + \"that particular file.\" ], [ \"--quiet\", \"-q\", nil, \"don't show progress as we parse\" ], [ \"--ri\", \"-r\", nil, \"generate output for use by 'ri.' The files are\\n\" + \"stored in the '.rdoc' directory under your home\\n\"+ \"directory unless overridden by a subsequent\\n\" + \"--op parameter, so no special privileges are needed.\" ], [ \"--ri-site\", \"-R\", nil, \"generate output for use by 'ri.' The files are\\n\" + \"stored in a site-wide directory, making them accessible\\n\"+ \"to others, so special privileges are needed.\" ], [ \"--ri-system\", \"-Y\", nil, \"generate output for use by 'ri.' The files are\\n\" + \"stored in a system-level directory, making them accessible\\n\"+ \"to others, so special privileges are needed. This option\\n\"+ \"is intended to be used during Ruby installations\" ], [ \"--show-hash\", \"-H\", nil, \"A name of the form #name in a comment\\n\" + \"is a possible hyperlink to an instance\\n\" + \"method name. When displayed, the '#' is\\n\" + \"removed unless this option is specified\" ], [ \"--style\", \"-s\", \"stylesheet url\", \"specifies the URL of a separate stylesheet.\" ], [ \"--tab-width\", \"-w\", \"n\", \"Set the width of tab characters (default 8)\"], [ \"--template\", \"-T\", \"template name\", \"Set the template used when generating output\" ], [ \"--title\", \"-t\", \"text\", \"Set 'txt' as the title for the output\" ], [ \"--version\", \"-v\", nil, \"display RDoc's version\" ], [ \"--webcvs\", \"-W\", \"url\", \"Specify a URL for linking to a web frontend\\n\" + \"to CVS. If the URL contains a '\\%s', the\\n\" + \"name of the current file will be substituted;\\n\" + \"if the URL doesn't contain a '\\%s', the\\n\" + \"filename will be appended to it.\" ], ]" full_name: Options::OptionList includes: [] instance_methods: [] name: OptionList superclass: ri/1.8/system/Options/OptionList/usage-c.yaml 0000644 00000000370 15217654523 0014771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Show usage and exit full_name: Options::OptionList::usage is_singleton: true name: usage params: (generator_names) visibility: public ri/1.8/system/Options/OptionList/error-c.yaml 0000644 00000000357 15217654523 0015023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Show an error and exit full_name: Options::OptionList::error is_singleton: true name: error params: (msg) visibility: public ri/1.8/system/Options/OptionList/options-c.yaml 0000644 00000000265 15217654523 0015363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Options::OptionList::options is_singleton: true name: options params: () visibility: public ri/1.8/system/Options/OptionList/help_output-c.yaml 0000644 00000000275 15217654523 0016241 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Options::OptionList::help_output is_singleton: true name: help_output params: () visibility: public ri/1.8/system/Options/OptionList/strip_output-c.yaml 0000644 00000000303 15217654523 0016442 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Options::OptionList::strip_output is_singleton: true name: strip_output params: (text) visibility: public ri/1.8/system/Options/title%3d-i.yaml 0000644 00000000517 15217654523 0013207 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the title, but only if not already set. This means that a title set from the command line trumps one set in a source file full_name: Options#title= is_singleton: false name: title= params: (string) visibility: public ri/1.8/system/RuntimeError/cdesc-RuntimeError.yaml 0000644 00000001202 15217654523 0016052 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: RuntimeError includes: [] instance_methods: [] name: RuntimeError superclass: StandardError ri/1.8/system/MatchData/string-i.yaml 0000644 00000000662 15217654523 0013274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a frozen copy of the string passed in to match. - !ruby/struct:SM::Flow::VERB body: " m = /(.)(.)(\\d+)(\\d)/.match("THX1138.")\n m.string #=> "THX1138."\n" full_name: MatchData#string is_singleton: false name: string params: | mtch.string => str visibility: public ri/1.8/system/MatchData/to_s-i.yaml 0000644 00000000612 15217654523 0012725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the entire matched string. - !ruby/struct:SM::Flow::VERB body: " m = /(.)(.)(\\d+)(\\d)/.match("THX1138.")\n m.to_s #=> "HX1138"\n" full_name: MatchData#to_s is_singleton: false name: to_s params: | mtch.to_s => str visibility: public ri/1.8/system/MatchData/end-i.yaml 0000644 00000000764 15217654523 0012537 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the offset of the character immediately following the end of the nth element of the match array in the string. - !ruby/struct:SM::Flow::VERB body: " m = /(.)(.)(\\d+)(\\d)/.match("THX1138.")\n m.end(0) #=> 7\n m.end(2) #=> 3\n" full_name: MatchData#end is_singleton: false name: end params: | mtch.end(n) => integer visibility: public ri/1.8/system/MatchData/select-i.yaml 0000644 00000001061 15217654523 0013237 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array containing match strings for which block gives true. MatchData#select will be removed from Ruby 1.9. - !ruby/struct:SM::Flow::VERB body: " m = /(.)(.)(\\d+)(\\d)/.match("THX1138: The Movie")\n p m.select{|x| /X/ =~ x} #=> ["HX1138", "X"]\n" full_name: MatchData#select is_singleton: false name: select params: | mtch.select{|obj| block} => array visibility: public ri/1.8/system/MatchData/pretty_print-i.yaml 0000644 00000000266 15217654523 0014531 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: MatchData#pretty_print is_singleton: false name: pretty_print params: (q) visibility: public ri/1.8/system/MatchData/cdesc-MatchData.yaml 0000644 00000002622 15217654523 0014443 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: MatchData is the type of the special variable $~, and is the type of the object returned by Regexp#match and Regexp#last_match. It encapsulates all the results of a pattern match, results normally accessed through the special variables $&, $', $`, $1, $2, and so on. Matchdata is also known as MatchingData. constants: [] full_name: MatchData includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: begin - !ruby/object:RI::MethodSummary name: captures - !ruby/object:RI::MethodSummary name: end - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: length - !ruby/object:RI::MethodSummary name: offset - !ruby/object:RI::MethodSummary name: post_match - !ruby/object:RI::MethodSummary name: pre_match - !ruby/object:RI::MethodSummary name: pretty_print - !ruby/object:RI::MethodSummary name: select - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: string - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: values_at name: MatchData superclass: Object ri/1.8/system/MatchData/values_at-i.yaml 0000644 00000001231 15217654523 0013742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Uses each index to access the matching values, returning an array of the corresponding matches. - !ruby/struct:SM::Flow::VERB body: " m = /(.)(.)(\\d+)(\\d)/.match("THX1138: The Movie")\n m.to_a #=> ["HX1138", "H", "X", "113", "8"]\n m.values_at(0, 2, -2) #=> ["HX1138", "X", "113"]\n" full_name: MatchData#values_at is_singleton: false name: values_at params: | mtch.values_at([index]*) => array visibility: public ri/1.8/system/MatchData/%5b%5d-i.yaml 0000644 00000001730 15217654523 0012634 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Match Reference---MatchData acts as an array, and may be accessed using the normal array indexing techniques. mtch[0] is equivalent to the special variable $&, and returns the entire matched string. mtch[1], mtch[2], and so on return the values of the matched backreferences (portions of the pattern between parentheses). - !ruby/struct:SM::Flow::VERB body: " m = /(.)(.)(\\d+)(\\d)/.match("THX1138.")\n m[0] #=> "HX1138"\n m[1, 2] #=> ["H", "X"]\n m[1..3] #=> ["H", "X", "113"]\n m[-3, 2] #=> ["X", "113"]\n" full_name: MatchData#[] is_singleton: false name: "[]" params: | mtch[i] => obj mtch[start, length] => array mtch[range] => array visibility: public ri/1.8/system/MatchData/size-i.yaml 0000644 00000000704 15217654523 0012735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of elements in the match array. - !ruby/struct:SM::Flow::VERB body: " m = /(.)(.)(\\d+)(\\d)/.match("THX1138.")\n m.length #=> 5\n m.size #=> 5\n" full_name: MatchData#size is_singleton: false name: size params: | mtch.length => integer mtch.size => integer visibility: public ri/1.8/system/MatchData/inspect-i.yaml 0000644 00000001273 15217654523 0013432 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a printable version of mtch. - !ruby/struct:SM::Flow::VERB body: " puts /.$/.match("foo").inspect\n #=> #<MatchData "o">\n\n puts /(.)(.)(.)/.match("foo").inspect\n #=> #<MatchData "foo" 1:"f" 2:"o" 3:"o">\n\n puts /(.)(.)?(.)/.match("fo").inspect\n #=> #<MatchData "fo" 1:"f" 2:nil 3:"o">\n" full_name: MatchData#inspect is_singleton: false name: inspect params: | mtch.inspect => str visibility: public ri/1.8/system/MatchData/to_a-i.yaml 0000644 00000001724 15217654523 0012710 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the array of matches. - !ruby/struct:SM::Flow::VERB body: " m = /(.)(.)(\\d+)(\\d)/.match("THX1138.")\n m.to_a #=> ["HX1138", "H", "X", "113", "8"]\n" - !ruby/struct:SM::Flow::P body: Because to_a is called when expanding *variable, there's a useful assignment shortcut for extracting matched fields. This is slightly slower than accessing the fields directly (as an intermediate array is generated). - !ruby/struct:SM::Flow::VERB body: " all,f1,f2,f3 = *(/(.)(.)(\\d+)(\\d)/.match("THX1138."))\n all #=> "HX1138"\n f1 #=> "H"\n f2 #=> "X"\n f3 #=> "113"\n" full_name: MatchData#to_a is_singleton: false name: to_a params: | mtch.to_a => anArray visibility: public ri/1.8/system/MatchData/captures-i.yaml 0000644 00000001047 15217654523 0013612 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the array of captures; equivalent to mtch.to_a[1..-1]. - !ruby/struct:SM::Flow::VERB body: " f1,f2,f3,f4 = /(.)(.)(\\d+)(\\d)/.match("THX1138.").captures\n f1 #=> "H"\n f2 #=> "X"\n f3 #=> "113"\n f4 #=> "8"\n" full_name: MatchData#captures is_singleton: false name: captures params: | mtch.captures => array visibility: public ri/1.8/system/MatchData/offset-i.yaml 0000644 00000000756 15217654523 0013260 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a two-element array containing the beginning and ending offsets of the nth match. - !ruby/struct:SM::Flow::VERB body: " m = /(.)(.)(\\d+)(\\d)/.match("THX1138.")\n m.offset(0) #=> [1, 7]\n m.offset(4) #=> [6, 7]\n" full_name: MatchData#offset is_singleton: false name: offset params: | mtch.offset(n) => array visibility: public ri/1.8/system/MatchData/length-i.yaml 0000644 00000000710 15217654523 0013241 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of elements in the match array. - !ruby/struct:SM::Flow::VERB body: " m = /(.)(.)(\\d+)(\\d)/.match("THX1138.")\n m.length #=> 5\n m.size #=> 5\n" full_name: MatchData#length is_singleton: false name: length params: | mtch.length => integer mtch.size => integer visibility: public ri/1.8/system/MatchData/begin-i.yaml 0000644 00000000734 15217654523 0013052 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the offset of the start of the nth element of the match array in the string. - !ruby/struct:SM::Flow::VERB body: " m = /(.)(.)(\\d+)(\\d)/.match("THX1138.")\n m.begin(0) #=> 1\n m.begin(2) #=> 2\n" full_name: MatchData#begin is_singleton: false name: begin params: | mtch.begin(n) => integer visibility: public ri/1.8/system/MatchData/pre_match-i.yaml 0000644 00000000753 15217654523 0013731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the portion of the original string before the current match. Equivalent to the special variable $`. - !ruby/struct:SM::Flow::VERB body: " m = /(.)(.)(\\d+)(\\d)/.match("THX1138.")\n m.pre_match #=> "T"\n" full_name: MatchData#pre_match is_singleton: false name: pre_match params: | mtch.pre_match => str visibility: public ri/1.8/system/MatchData/post_match-i.yaml 0000644 00000001002 15217654523 0014114 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the portion of the original string after the current match. Equivalent to the special variable $'. - !ruby/struct:SM::Flow::VERB body: " m = /(.)(.)(\\d+)(\\d)/.match("THX1138: The Movie")\n m.post_match #=> ": The Movie"\n" full_name: MatchData#post_match is_singleton: false name: post_match params: | mtch.post_match => str visibility: public ri/1.8/system/EOFError/cdesc-EOFError.yaml 0000644 00000007723 15217654523 0014044 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Class IO is the basis for all input and output in Ruby. An I/O stream may be duplexed (that is, bidirectional), and so may use more than one native operating system stream. - !ruby/struct:SM::Flow::P body: Many of the examples in this section use class File, the only standard subclass of IO. The two classes are closely associated. - !ruby/struct:SM::Flow::P body: As used in this section, portname may take any of the following forms. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: A plain string represents a filename suitable for the underlying operating system. - !ruby/struct:SM::Flow::LI label: "*" body: A string starting with ``|'' indicates a subprocess. The remainder of the string following the ``|'' is invoked as a process with appropriate input/output channels connected to it. - !ruby/struct:SM::Flow::LI label: "*" body: A string equal to ``|-'' will create another Ruby instance as a subprocess. type: :BULLET - !ruby/struct:SM::Flow::P body: "Ruby will convert pathnames between different operating system conventions if possible. For instance, on a Windows system the filename ``/gumby/ruby/test.rb'' will be opened as ``\\gumby\\ruby\\test.rb''. When specifying a Windows-style filename in a Ruby string, remember to escape the backslashes:" - !ruby/struct:SM::Flow::VERB body: " "c:\\gumby\\ruby\\test.rb"\n" - !ruby/struct:SM::Flow::P body: Our examples here will use the Unix-style forward slashes; File::SEPARATOR can be used to get the platform-specific separator character. - !ruby/struct:SM::Flow::P body: I/O ports may be opened in any one of several different modes, which are shown in this section as mode. The mode may either be a Fixnum or a String. If numeric, it should be one of the operating system specific constants (O_RDONLY, O_WRONLY, O_RDWR, O_APPEND and so on). See man open(2) for more information. - !ruby/struct:SM::Flow::P body: If the mode is given as a String, it must be one of the values listed in the following table. - !ruby/struct:SM::Flow::VERB body: " Mode | Meaning\n -----+--------------------------------------------------------\n "r" | Read-only, starts at beginning of file (default mode).\n -----+--------------------------------------------------------\n "r+" | Read-write, starts at beginning of file.\n -----+--------------------------------------------------------\n "w" | Write-only, truncates existing file\n | to zero length or creates a new file for writing.\n -----+--------------------------------------------------------\n "w+" | Read-write, truncates existing file to zero length\n | or creates a new file for reading and writing.\n -----+--------------------------------------------------------\n "a" | Write-only, starts at end of file if file exists,\n | otherwise creates a new file for writing.\n -----+--------------------------------------------------------\n "a+" | Read-write, starts at end of file if file exists,\n | otherwise creates a new file for reading and\n | writing.\n -----+--------------------------------------------------------\n "b" | (DOS/Windows only) Binary file mode (may appear with\n | any of the key letters listed above).\n" - !ruby/struct:SM::Flow::P body: The global constant ARGF (also accessible as $<) provides an IO-like stream which allows access to all files mentioned on the command line (or STDIN if no files are mentioned). ARGF provides the methods #path and #filename to access the name of the file currently being read. constants: [] full_name: EOFError includes: [] instance_methods: [] name: EOFError superclass: IOError ri/1.8/system/MonitorMixin/mon_synchronize-i.yaml 0000644 00000000667 15217654523 0016025 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: synchronize block_params: "" comment: - !ruby/struct:SM::Flow::P body: Enters exclusive section and executes the block. Leaves the exclusive section automatically when the block exits. See example under MonitorMixin. full_name: MonitorMixin#mon_synchronize is_singleton: false name: mon_synchronize params: () {|| ...} visibility: public ri/1.8/system/MonitorMixin/synchronize-i.yaml 0000644 00000000367 15217654523 0015151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #mon_synchronize" full_name: MonitorMixin#synchronize is_singleton: false name: synchronize params: () visibility: public ri/1.8/system/MonitorMixin/new-c.yaml 0000644 00000000253 15217654523 0013353 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: MonitorMixin::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/MonitorMixin/mon_exit_for_cond-i.yaml 0000644 00000000303 15217654523 0016257 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: MonitorMixin#mon_exit_for_cond is_singleton: false name: mon_exit_for_cond params: () visibility: private ri/1.8/system/MonitorMixin/mon_try_enter-i.yaml 0000644 00000000532 15217654523 0015454 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: try_mon_enter block_params: comment: - !ruby/struct:SM::Flow::P body: Attempts to enter exclusive section. Returns false if lock fails. full_name: MonitorMixin#mon_try_enter is_singleton: false name: mon_try_enter params: () visibility: public ri/1.8/system/MonitorMixin/extend_object-c.yaml 0000644 00000000275 15217654523 0015403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: MonitorMixin::extend_object is_singleton: true name: extend_object params: (obj) visibility: public ri/1.8/system/MonitorMixin/try_mon_enter-i.yaml 0000644 00000000371 15217654523 0015455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #mon_try_enter" full_name: MonitorMixin#try_mon_enter is_singleton: false name: try_mon_enter params: () visibility: public ri/1.8/system/MonitorMixin/mon_enter_for_cond-i.yaml 0000644 00000000312 15217654523 0016423 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: MonitorMixin#mon_enter_for_cond is_singleton: false name: mon_enter_for_cond params: (count) visibility: private ri/1.8/system/MonitorMixin/mon_initialize-i.yaml 0000644 00000000445 15217654523 0015605 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: called by initialize method to set defaults for instance variables. full_name: MonitorMixin#mon_initialize is_singleton: false name: mon_initialize params: () visibility: private ri/1.8/system/MonitorMixin/mon_check_owner-i.yaml 0000644 00000000456 15217654523 0015735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Throw a ThreadError exception if the current thread does't own the monitor full_name: MonitorMixin#mon_check_owner is_singleton: false name: mon_check_owner params: () visibility: private ri/1.8/system/MonitorMixin/mon_enter-i.yaml 0000644 00000000360 15217654523 0014555 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Enters exclusive section. full_name: MonitorMixin#mon_enter is_singleton: false name: mon_enter params: () visibility: public ri/1.8/system/MonitorMixin/new_cond-i.yaml 0000644 00000000630 15217654523 0014363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "FIXME: This isn't documented in Nutshell." - !ruby/struct:SM::Flow::P body: "Create a new condition variable for this monitor. This facilitates control of the monitor with #signal and #wait." full_name: MonitorMixin#new_cond is_singleton: false name: new_cond params: () visibility: public ri/1.8/system/MonitorMixin/ConditionVariable/new-c.yaml 0000644 00000000300 15217654523 0016740 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: MonitorMixin::ConditionVariable::new is_singleton: true name: new params: (monitor) visibility: public ri/1.8/system/MonitorMixin/ConditionVariable/broadcast-i.yaml 0000644 00000000402 15217654523 0020122 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Wake up all the waiters. full_name: MonitorMixin::ConditionVariable#broadcast is_singleton: false name: broadcast params: () visibility: public ri/1.8/system/MonitorMixin/ConditionVariable/create_timer-i.yaml 0000644 00000000323 15217654523 0020625 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: MonitorMixin::ConditionVariable#create_timer is_singleton: false name: create_timer params: (timeout) visibility: private ri/1.8/system/MonitorMixin/ConditionVariable/wait_while-i.yaml 0000644 00000000450 15217654523 0020317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "call #wait while the supplied block returns true." full_name: MonitorMixin::ConditionVariable#wait_while is_singleton: false name: wait_while params: () visibility: public ri/1.8/system/MonitorMixin/ConditionVariable/cdesc-ConditionVariable.yaml 0000644 00000001563 15217654523 0022416 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "FIXME: This isn't documented in Nutshell." - !ruby/struct:SM::Flow::P body: Since MonitorMixin.new_cond returns a ConditionVariable, and the example above calls while_wait and signal, this class should be documented. constants: [] full_name: MonitorMixin::ConditionVariable includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: broadcast - !ruby/object:RI::MethodSummary name: count_waiters - !ruby/object:RI::MethodSummary name: create_timer - !ruby/object:RI::MethodSummary name: signal - !ruby/object:RI::MethodSummary name: wait - !ruby/object:RI::MethodSummary name: wait_until - !ruby/object:RI::MethodSummary name: wait_while name: ConditionVariable superclass: Object ri/1.8/system/MonitorMixin/ConditionVariable/count_waiters-i.yaml 0000644 00000000315 15217654523 0021051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: MonitorMixin::ConditionVariable#count_waiters is_singleton: false name: count_waiters params: () visibility: public ri/1.8/system/MonitorMixin/ConditionVariable/Timeout/cdesc-Timeout.yaml 0000644 00000000337 15217654523 0022074 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: MonitorMixin::ConditionVariable::Timeout includes: [] instance_methods: [] name: Timeout superclass: Exception ri/1.8/system/MonitorMixin/ConditionVariable/wait_until-i.yaml 0000644 00000000450 15217654523 0020342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "call #wait until the supplied block returns true." full_name: MonitorMixin::ConditionVariable#wait_until is_singleton: false name: wait_until params: () visibility: public ri/1.8/system/MonitorMixin/ConditionVariable/wait-i.yaml 0000644 00000000643 15217654523 0017133 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Create a new timer with the argument timeout, and add the current thread to the list of waiters. Then the thread is stopped. It will be resumed when a corresponding #signal occurs." full_name: MonitorMixin::ConditionVariable#wait is_singleton: false name: wait params: (timeout = nil) visibility: public ri/1.8/system/MonitorMixin/ConditionVariable/signal-i.yaml 0000644 00000000403 15217654523 0017436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Wake up and run the next waiter full_name: MonitorMixin::ConditionVariable#signal is_singleton: false name: signal params: () visibility: public ri/1.8/system/MonitorMixin/cdesc-MonitorMixin.yaml 0000644 00000003470 15217654523 0016061 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: extend_object - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "Adds monitor functionality to an arbitrary object by mixing the module with include. For example:" - !ruby/struct:SM::Flow::VERB body: " require 'monitor.rb'\n\n buf = []\n buf.extend(MonitorMixin)\n empty_cond = buf.new_cond\n\n # consumer\n Thread.start do\n loop do\n buf.synchronize do\n empty_cond.wait_while { buf.empty? }\n print buf.shift\n end\n end\n end\n\n # producer\n while line = ARGF.gets\n buf.synchronize do\n buf.push(line)\n empty_cond.signal\n end\n end\n" - !ruby/struct:SM::Flow::P body: The consumer thread waits for the producer thread to push a line to buf while buf.empty?, and the producer thread (main thread) reads a line from ARGF and push it to buf, then call empty_cond.signal. constants: [] full_name: MonitorMixin includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: mon_acquire - !ruby/object:RI::MethodSummary name: mon_check_owner - !ruby/object:RI::MethodSummary name: mon_enter - !ruby/object:RI::MethodSummary name: mon_enter_for_cond - !ruby/object:RI::MethodSummary name: mon_exit - !ruby/object:RI::MethodSummary name: mon_exit_for_cond - !ruby/object:RI::MethodSummary name: mon_initialize - !ruby/object:RI::MethodSummary name: mon_release - !ruby/object:RI::MethodSummary name: mon_synchronize - !ruby/object:RI::MethodSummary name: mon_try_enter - !ruby/object:RI::MethodSummary name: new_cond - !ruby/object:RI::MethodSummary name: synchronize - !ruby/object:RI::MethodSummary name: try_mon_enter name: MonitorMixin superclass: ri/1.8/system/MonitorMixin/mon_exit-i.yaml 0000644 00000000356 15217654523 0014416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Leaves exclusive section. full_name: MonitorMixin#mon_exit is_singleton: false name: mon_exit params: () visibility: public ri/1.8/system/MonitorMixin/mon_acquire-i.yaml 0000644 00000000274 15217654523 0015075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: MonitorMixin#mon_acquire is_singleton: false name: mon_acquire params: (queue) visibility: private ri/1.8/system/MonitorMixin/mon_release-i.yaml 0000644 00000000410 15217654523 0015054 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: mon_release requires Thread.critical == true full_name: MonitorMixin#mon_release is_singleton: false name: mon_release params: () visibility: private ri/1.8/system/CompletingHash/cdesc-CompletingHash.yaml 0000644 00000000616 15217654523 0016602 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Hash with completion search feature. See OptionParser::Completion. constants: [] full_name: CompletingHash includes: - !ruby/object:RI::IncludedModule name: Completion instance_methods: - !ruby/object:RI::MethodSummary name: match name: CompletingHash superclass: Hash ri/1.8/system/CompletingHash/match-i.yaml 0000644 00000000354 15217654523 0014137 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Completion for hash key. full_name: CompletingHash#match is_singleton: false name: match params: (key) visibility: public ri/1.8/system/Arguable/new-c.yaml 0000644 00000000247 15217654523 0012444 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Arguable::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/Arguable/parse%21-i.yaml 0000644 00000000466 15217654523 0013206 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parses self destructively and returns self containing the rest arguments left unparsed. full_name: Arguable#parse! is_singleton: false name: parse! params: () visibility: public ri/1.8/system/Arguable/extend_object-c.yaml 0000644 00000000374 15217654523 0014471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Initializes instance variable. full_name: Arguable::extend_object is_singleton: true name: extend_object params: (obj) visibility: public ri/1.8/system/Arguable/options%3d-i.yaml 0000644 00000000716 15217654523 0013651 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets OptionParser object, when opt is false or nil, methods OptionParser::Arguable#options and OptionParser::Arguable#options= are undefined. Thus, there is no ways to access the OptionParser object via the receiver object. full_name: Arguable#options= is_singleton: false name: options= params: (opt) visibility: public ri/1.8/system/Arguable/order%21-i.yaml 0000644 00000000503 15217654523 0013177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parses self destructively in order and returns self containing the rest arguments left unparsed. full_name: Arguable#order! is_singleton: false name: order! params: (&blk) visibility: public ri/1.8/system/Arguable/permute%21-i.yaml 0000644 00000000516 15217654523 0013551 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parses self destructively in permutation mode and returns self containing the rest arguments left unparsed. full_name: Arguable#permute! is_singleton: false name: permute! params: () visibility: public ri/1.8/system/Arguable/cdesc-Arguable.yaml 0000644 00000001244 15217654523 0014232 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: extend_object - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Extends command line arguments array (ARGV) to parse itself. constants: [] full_name: Arguable includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: getopts - !ruby/object:RI::MethodSummary name: options - !ruby/object:RI::MethodSummary name: options= - !ruby/object:RI::MethodSummary name: order! - !ruby/object:RI::MethodSummary name: parse! - !ruby/object:RI::MethodSummary name: permute! name: Arguable superclass: ri/1.8/system/Arguable/options-i.yaml 0000644 00000001067 15217654523 0013355 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "@optparse" comment: - !ruby/struct:SM::Flow::P body: Actual OptionParser object, automatically created if nonexistent. - !ruby/struct:SM::Flow::P body: If called with a block, yields the OptionParser object and returns the result of the block. If an OptionParser::ParseError exception occurs in the block, it is rescued, a error message printed to STDERR and nil returned. full_name: Arguable#options is_singleton: false name: options params: () {|@optparse| ...} visibility: public ri/1.8/system/Arguable/getopts-i.yaml 0000644 00000001017 15217654523 0013342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Substitution of getopts is possible as follows. Also see OptionParser#getopts. - !ruby/struct:SM::Flow::VERB body: " def getopts(*args)\n ($OPT = ARGV.getopts(*args)).each do |opt, val|\n eval "$OPT_#{opt.gsub(/[^A-Za-z0-9_]/, '_')} = val"\n end\n rescue OptionParser::ParseError\n end\n" full_name: Arguable#getopts is_singleton: false name: getopts params: (*args) visibility: public ri/1.8/system/Object/remove_instance_variable-i.yaml 0000644 00000001242 15217654523 0016367 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes the named instance variable from obj, returning that variable's value. - !ruby/struct:SM::Flow::VERB body: " class Dummy\n attr_reader :var\n def initialize\n @var = 99\n end\n def remove\n remove_instance_variable(:@var)\n end\n end\n d = Dummy.new\n d.var #=> 99\n d.remove #=> 99\n d.var #=> nil\n" full_name: Object#remove_instance_variable is_singleton: false name: remove_instance_variable params: | obj.remove_instance_variable(symbol) => obj visibility: public ri/1.8/system/Object/new-c.yaml 0000644 00000000323 15217654523 0012123 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Not documented full_name: Object::new is_singleton: true name: new params: () visibility: public ri/1.8/system/Object/to_s-i.yaml 0000644 00000000721 15217654523 0012306 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a string representing obj. The default to_s prints the object's class and an encoding of the object id. As a special case, the top-level object that is the initial execution context of Ruby programs returns ``main.'' full_name: Object#to_s is_singleton: false name: to_s params: | obj.to_s => string visibility: public ri/1.8/system/Object/__send__-i.yaml 0000644 00000001355 15217654523 0013073 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes the method identified by symbol, passing it any arguments specified. You can use __send__ if the name send clashes with an existing method in obj. - !ruby/struct:SM::Flow::VERB body: " class Klass\n def hello(*args)\n "Hello " + args.join(' ')\n end\n end\n k = Klass.new\n k.send :hello, "gentle", "readers" #=> "Hello gentle readers"\n" full_name: Object#__send__ is_singleton: false name: __send__ params: | obj.send(symbol [, args...]) => obj obj.__send__(symbol [, args...]) => obj visibility: public ri/1.8/system/Object/methods-i.yaml 0000644 00000001512 15217654523 0013004 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a list of the names of methods publicly accessible in obj. This will include all the methods accessible in obj's ancestors. - !ruby/struct:SM::Flow::VERB body: " class Klass\n def kMethod()\n end\n end\n k = Klass.new\n k.methods[0..9] #=> ["kMethod", "freeze", "nil?", "is_a?",\n "class", "instance_variable_set",\n "methods", "extend", "send", "instance_eval"]\n k.methods.length #=> 42\n" full_name: Object#methods is_singleton: false name: methods params: | obj.methods => array visibility: public ri/1.8/system/Object/respond_to%3f-i.yaml 0000644 00000000713 15217654523 0014015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true> if obj responds to the given method. Private methods are included in the search only if the optional second parameter evaluates to true. full_name: Object#respond_to? is_singleton: false name: respond_to? params: | obj.respond_to?(symbol, include_private=false) => true or false visibility: public ri/1.8/system/Object/send-i.yaml 0000644 00000001345 15217654523 0012276 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes the method identified by symbol, passing it any arguments specified. You can use __send__ if the name send clashes with an existing method in obj. - !ruby/struct:SM::Flow::VERB body: " class Klass\n def hello(*args)\n "Hello " + args.join(' ')\n end\n end\n k = Klass.new\n k.send :hello, "gentle", "readers" #=> "Hello gentle readers"\n" full_name: Object#send is_singleton: false name: send params: | obj.send(symbol [, args...]) => obj obj.__send__(symbol [, args...]) => obj visibility: public ri/1.8/system/Object/is_a%3f-i.yaml 0000644 00000001604 15217654523 0012554 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if class is the class of obj, or if class is one of the superclasses of obj or modules included in obj. - !ruby/struct:SM::Flow::VERB body: " module M; end\n class A\n include M\n end\n class B < A; end\n class C < B; end\n b = B.new\n b.instance_of? A #=> false\n b.instance_of? B #=> true\n b.instance_of? C #=> false\n b.instance_of? M #=> false\n b.kind_of? A #=> true\n b.kind_of? B #=> true\n b.kind_of? C #=> false\n b.kind_of? M #=> true\n" full_name: Object#is_a? is_singleton: false name: is_a? params: | obj.is_a?(class) => true or false obj.kind_of?(class) => true or false visibility: public ri/1.8/system/Object/type-i.yaml 0000644 00000000412 15217654523 0012320 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deprecated synonym for Object#class. full_name: Object#type is_singleton: false name: type params: | obj.type => class visibility: public ri/1.8/system/Object/private_methods-i.yaml 0000644 00000000662 15217654523 0014543 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the list of private methods accessible to obj. If the all parameter is set to false, only those methods in the receiver will be listed. full_name: Object#private_methods is_singleton: false name: private_methods params: | obj.private_methods(all=true) => array visibility: public ri/1.8/system/Object/kind_of%3f-i.yaml 0000644 00000001612 15217654523 0013251 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if class is the class of obj, or if class is one of the superclasses of obj or modules included in obj. - !ruby/struct:SM::Flow::VERB body: " module M; end\n class A\n include M\n end\n class B < A; end\n class C < B; end\n b = B.new\n b.instance_of? A #=> false\n b.instance_of? B #=> true\n b.instance_of? C #=> false\n b.instance_of? M #=> false\n b.kind_of? A #=> true\n b.kind_of? B #=> true\n b.kind_of? C #=> false\n b.kind_of? M #=> true\n" full_name: Object#kind_of? is_singleton: false name: kind_of? params: | obj.is_a?(class) => true or false obj.kind_of?(class) => true or false visibility: public ri/1.8/system/Object/__id__-i.yaml 0000644 00000001237 15217654523 0012535 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Document-method: object_id" - !ruby/struct:SM::Flow::P body: Returns an integer identifier for obj. The same number will be returned on all calls to id for a given object, and no two active objects will share an id. Object#object_id is a different concept from the :name notation, which returns the symbol id of name. Replaces the deprecated Object#id. full_name: Object#__id__ is_singleton: false name: __id__ params: | obj.__id__ => fixnum obj.object_id => fixnum visibility: public ri/1.8/system/Object/taint-i.yaml 0000644 00000000631 15217654523 0012461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Marks obj as tainted---if the $SAFE level is set appropriately, many method calls which might alter the running programs environment will refuse to accept tainted strings. full_name: Object#taint is_singleton: false name: taint params: | obj.taint -> obj visibility: public ri/1.8/system/Object/enum_for-i.yaml 0000644 00000001236 15217654523 0013156 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns Enumerable::Enumerator.new(self, method, *args). - !ruby/struct:SM::Flow::P body: "e.g.:" - !ruby/struct:SM::Flow::VERB body: " str = "xyz"\n\n enum = str.enum_for(:each_byte)\n a = enum.map {|b| '%02x' % b } #=> ["78", "79", "7a"]\n\n # protects an array from being modified\n a = [1, 2, 3]\n some_method(a.to_enum)\n" full_name: Object#enum_for is_singleton: false name: enum_for params: | obj.to_enum(method = :each, *args) obj.enum_for(method = :each, *args) visibility: public ri/1.8/system/Object/singleton_method_removed-i.yaml 0000644 00000001504 15217654523 0016425 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invoked as a callback whenever a singleton method is removed from the receiver. - !ruby/struct:SM::Flow::VERB body: " module Chatty\n def Chatty.singleton_method_removed(id)\n puts "Removing #{id.id2name}"\n end\n def self.one() end\n def two() end\n def Chatty.three() end\n class <<self\n remove_method :three\n remove_method :one\n end\n end\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Removing three\n Removing one\n" full_name: Object#singleton_method_removed is_singleton: false name: singleton_method_removed params: | singleton_method_removed(symbol) visibility: public ri/1.8/system/Object/hash-i.yaml 0000644 00000001010 15217654523 0012255 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generates a Fixnum hash value for this object. This function must have the property that a.eql?(b) implies a.hash == b.hash. The hash value is used by class Hash. Any hash value that exceeds the capacity of a Fixnum will be truncated before being used. full_name: Object#hash is_singleton: false name: hash params: | obj.hash => fixnum visibility: public ri/1.8/system/Object/untaint-i.yaml 0000644 00000000411 15217654523 0013020 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes the taint from obj. full_name: Object#untaint is_singleton: false name: untaint params: | obj.untaint => obj visibility: public ri/1.8/system/Object/freeze-i.yaml 0000644 00000001346 15217654523 0012626 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Prevents further modifications to obj. A TypeError will be raised if modification is attempted. There is no way to unfreeze a frozen object. See also Object#frozen?. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c" ]\n a.freeze\n a << "z"\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " prog.rb:3:in `<<': can't modify frozen array (TypeError)\n from prog.rb:3\n" full_name: Object#freeze is_singleton: false name: freeze params: | obj.freeze => obj visibility: public ri/1.8/system/Object/frozen%3f-i.yaml 0000644 00000000734 15217654523 0013147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the freeze status of obj. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c" ]\n a.freeze #=> ["a", "b", "c"]\n a.frozen? #=> true\n" full_name: Object#frozen? is_singleton: false name: frozen? params: | obj.frozen? => true or false visibility: public ri/1.8/system/Object/instance_of%3f-i.yaml 0000644 00000000560 15217654523 0014131 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if obj is an instance of the given class. See also Object#kind_of?. full_name: Object#instance_of? is_singleton: false name: instance_of? params: | obj.instance_of?(class) => true or false visibility: public ri/1.8/system/Object/instance_variable_defined%3f-i.yaml 0000644 00000001334 15217654523 0016770 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the given instance variable is defined in obj. - !ruby/struct:SM::Flow::VERB body: " class Fred\n def initialize(p1, p2)\n @a, @b = p1, p2\n end\n end\n fred = Fred.new('cat', 99)\n fred.instance_variable_defined?(:@a) #=> true\n fred.instance_variable_defined?("@b") #=> true\n fred.instance_variable_defined?("@c") #=> false\n" full_name: Object#instance_variable_defined? is_singleton: false name: instance_variable_defined? params: | obj.instance_variable_defined?(symbol) => true or false visibility: public ri/1.8/system/Object/object_id-i.yaml 0000644 00000001144 15217654523 0013264 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an integer identifier for obj. The same number will be returned on all calls to id for a given object, and no two active objects will share an id. Object#object_id is a different concept from the :name notation, which returns the symbol id of name. Replaces the deprecated Object#id. full_name: Object#object_id is_singleton: false name: object_id params: | obj.__id__ => fixnum obj.object_id => fixnum visibility: public ri/1.8/system/Object/to_yaml_properties-i.yaml 0000644 00000000276 15217654523 0015267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Object#to_yaml_properties is_singleton: false name: to_yaml_properties params: () visibility: public ri/1.8/system/Object/id-i.yaml 0000644 00000000424 15217654523 0011736 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Soon-to-be deprecated version of Object#object_id. full_name: Object#id is_singleton: false name: id params: | obj.id => fixnum visibility: public ri/1.8/system/Object/class-i.yaml 0000644 00000001115 15217654523 0012445 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the class of obj, now preferred over Object#type, as an object's type in Ruby is only loosely tied to that object's class. This method must always be called with an explicit receiver, as class is also a reserved word in Ruby. - !ruby/struct:SM::Flow::VERB body: " 1.class #=> Fixnum\n self.class #=> Object\n" full_name: Object#class is_singleton: false name: class params: | obj.class => class visibility: public ri/1.8/system/Object/tainted%3f-i.yaml 0000644 00000000441 15217654523 0013267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the object is tainted. full_name: Object#tainted? is_singleton: false name: tainted? params: | obj.tainted? => true or false visibility: public ri/1.8/system/Object/to_yaml_style-i.yaml 0000644 00000000264 15217654523 0014230 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Object#to_yaml_style is_singleton: false name: to_yaml_style params: () visibility: public ri/1.8/system/Object/equal%3f-i.yaml 0000644 00000002524 15217654523 0012752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equality---At the Object level, == returns true only if obj and other are the same object. Typically, this method is overridden in descendent classes to provide class-specific meaning. - !ruby/struct:SM::Flow::P body: "Unlike ==, the equal? method should never be overridden by subclasses: it is used to determine object identity (that is, a.equal?(b) iff a is the same object as b)." - !ruby/struct:SM::Flow::P body: "The eql? method returns true if obj and anObject have the same value. Used by Hash to test members for equality. For objects of class Object, eql? is synonymous with ==. Subclasses normally continue this tradition, but there are exceptions. Numeric types, for example, perform type conversion across ==, but not across eql?, so:" - !ruby/struct:SM::Flow::VERB body: " 1 == 1.0 #=> true\n 1.eql? 1.0 #=> false\n" full_name: Object#equal? is_singleton: false name: equal? params: | obj == other => true or false obj.equal?(other) => true or false obj.eql?(other) => true or false visibility: public ri/1.8/system/Object/%3d%3d%3d-i.yaml 0000644 00000000645 15217654523 0012512 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Case Equality---For class Object, effectively the same as calling #==, but typically overridden by descendents to provide meaningful semantics in case statements. full_name: Object#=== is_singleton: false name: === params: | obj === other => true or false visibility: public ri/1.8/system/Object/public_methods-i.yaml 0000644 00000000656 15217654523 0014352 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the list of public methods accessible to obj. If the all parameter is set to false, only those methods in the receiver will be listed. full_name: Object#public_methods is_singleton: false name: public_methods params: | obj.public_methods(all=true) => array visibility: public ri/1.8/system/Object/extend-i.yaml 0000644 00000001335 15217654523 0012633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Adds to obj the instance methods from each module given as a parameter. - !ruby/struct:SM::Flow::VERB body: " module Mod\n def hello\n "Hello from Mod.\\n"\n end\n end\n\n class Klass\n def hello\n "Hello from Klass.\\n"\n end\n end\n\n k = Klass.new\n k.hello #=> "Hello from Klass.\\n"\n k.extend(Mod) #=> #<Klass:0x401b3bc8>\n k.hello #=> "Hello from Mod.\\n"\n" full_name: Object#extend is_singleton: false name: extend params: | obj.extend(module, ...) => obj visibility: public ri/1.8/system/Object/singleton_method_added-i.yaml 0000644 00000001371 15217654523 0016027 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invoked as a callback whenever a singleton method is added to the receiver. - !ruby/struct:SM::Flow::VERB body: " module Chatty\n def Chatty.singleton_method_added(id)\n puts "Adding #{id.id2name}"\n end\n def self.one() end\n def two() end\n def Chatty.three() end\n end\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Adding singleton_method_added\n Adding one\n Adding three\n" full_name: Object#singleton_method_added is_singleton: false name: singleton_method_added params: | singleton_method_added(symbol) visibility: public ri/1.8/system/Object/cdesc-Object.yaml 0000644 00000014223 15217654523 0013403 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Object is the parent class of all classes in Ruby. Its methods are therefore available to all objects unless explicitly overridden. - !ruby/struct:SM::Flow::P body: Object mixes in the Kernel module, making the built-in kernel functions globally accessible. Although the instance methods of Object are defined by the Kernel module, we have chosen to document them here for clarity. - !ruby/struct:SM::Flow::P body: In the descriptions of Object's methods, the parameter symbol refers to a symbol, which is either a quoted string or a Symbol (such as :name). constants: - !ruby/object:RI::Constant comment: name: TOPLEVEL_BINDING value: rb_f_binding(ruby_top_self) - !ruby/object:RI::Constant comment: name: RUBY_VERSION value: v - !ruby/object:RI::Constant comment: name: RUBY_RELEASE_DATE value: d - !ruby/object:RI::Constant comment: name: RUBY_PLATFORM value: p - !ruby/object:RI::Constant comment: name: RUBY_PATCHLEVEL value: INT2FIX(RUBY_PATCHLEVEL) - !ruby/object:RI::Constant comment: name: RUBY_DESCRIPTION value: tmp - !ruby/object:RI::Constant comment: name: RUBY_COPYRIGHT value: tmp - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: obsolete constants name: VERSION value: v - !ruby/object:RI::Constant comment: name: RELEASE_DATE value: d - !ruby/object:RI::Constant comment: name: PLATFORM value: p - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: constants to hold original stdin/stdout/stderr name: STDIN value: rb_stdin - !ruby/object:RI::Constant comment: name: STDOUT value: rb_stdout - !ruby/object:RI::Constant comment: name: STDERR value: rb_stderr - !ruby/object:RI::Constant comment: name: ARGF value: argf - !ruby/object:RI::Constant comment: name: ENV value: envtbl - !ruby/object:RI::Constant comment: name: ENV value: envtbl - !ruby/object:RI::Constant comment: name: MatchingData value: rb_cMatch - !ruby/object:RI::Constant comment: name: NIL value: Qnil - !ruby/object:RI::Constant comment: name: "TRUE" value: Qtrue - !ruby/object:RI::Constant comment: name: "FALSE" value: Qfalse - !ruby/object:RI::Constant comment: name: DATA value: f - !ruby/object:RI::Constant comment: name: ARGV value: rb_argv - !ruby/object:RI::Constant comment: name: IPsocket value: rb_cIPSocket - !ruby/object:RI::Constant comment: name: TCPsocket value: rb_cTCPSocket - !ruby/object:RI::Constant comment: name: SOCKSsocket value: rb_cSOCKSSocket - !ruby/object:RI::Constant comment: name: TCPserver value: rb_cTCPServer - !ruby/object:RI::Constant comment: name: UDPsocket value: rb_cUDPSocket - !ruby/object:RI::Constant comment: name: UNIXsocket value: rb_cUNIXSocket - !ruby/object:RI::Constant comment: name: UNIXserver value: rb_cUNIXServer full_name: Object includes: - !ruby/object:RI::IncludedModule name: Kernel - !ruby/object:RI::IncludedModule name: PP::ObjectMixin instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: === - !ruby/object:RI::MethodSummary name: =~ - !ruby/object:RI::MethodSummary name: __id__ - !ruby/object:RI::MethodSummary name: __send__ - !ruby/object:RI::MethodSummary name: class - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: dclone - !ruby/object:RI::MethodSummary name: display - !ruby/object:RI::MethodSummary name: dup - !ruby/object:RI::MethodSummary name: enum_for - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: equal? - !ruby/object:RI::MethodSummary name: extend - !ruby/object:RI::MethodSummary name: freeze - !ruby/object:RI::MethodSummary name: frozen? - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: id - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: instance_eval - !ruby/object:RI::MethodSummary name: instance_exec - !ruby/object:RI::MethodSummary name: instance_of? - !ruby/object:RI::MethodSummary name: instance_variable_defined? - !ruby/object:RI::MethodSummary name: instance_variable_get - !ruby/object:RI::MethodSummary name: instance_variable_get - !ruby/object:RI::MethodSummary name: instance_variable_set - !ruby/object:RI::MethodSummary name: instance_variable_set - !ruby/object:RI::MethodSummary name: instance_variables - !ruby/object:RI::MethodSummary name: is_a? - !ruby/object:RI::MethodSummary name: kind_of? - !ruby/object:RI::MethodSummary name: method - !ruby/object:RI::MethodSummary name: methods - !ruby/object:RI::MethodSummary name: nil? - !ruby/object:RI::MethodSummary name: object_id - !ruby/object:RI::MethodSummary name: private_methods - !ruby/object:RI::MethodSummary name: protected_methods - !ruby/object:RI::MethodSummary name: public_methods - !ruby/object:RI::MethodSummary name: remove_instance_variable - !ruby/object:RI::MethodSummary name: respond_to? - !ruby/object:RI::MethodSummary name: send - !ruby/object:RI::MethodSummary name: singleton_method_added - !ruby/object:RI::MethodSummary name: singleton_method_removed - !ruby/object:RI::MethodSummary name: singleton_method_undefined - !ruby/object:RI::MethodSummary name: singleton_methods - !ruby/object:RI::MethodSummary name: taint - !ruby/object:RI::MethodSummary name: tainted? - !ruby/object:RI::MethodSummary name: tap - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: to_enum - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: to_yaml_properties - !ruby/object:RI::MethodSummary name: to_yaml_style - !ruby/object:RI::MethodSummary name: type - !ruby/object:RI::MethodSummary name: untaint name: Object superclass: ri/1.8/system/Object/dup-i.yaml 0000644 00000001613 15217654523 0012133 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Produces a shallow copy of obj---the instance variables of obj are copied, but not the objects they reference. dup copies the tainted state of obj. See also the discussion under Object#clone. In general, clone and dup may have different semantics in descendent classes. While clone is used to duplicate an object, including its internal state, dup typically uses the class of the descendent object to create the new instance. - !ruby/struct:SM::Flow::P body: "This method may have class-specific behavior. If so, that behavior will be documented under the #initialize_copy method of the class." full_name: Object#dup is_singleton: false name: dup params: | obj.dup -> an_object visibility: public ri/1.8/system/Object/singleton_methods-i.yaml 0000644 00000001665 15217654523 0015077 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array of the names of singleton methods for obj. If the optional all parameter is true, the list will include methods in modules included in obj. - !ruby/struct:SM::Flow::VERB body: " module Other\n def three() end\n end\n\n class Single\n def Single.four() end\n end\n\n a = Single.new\n\n def a.one()\n end\n\n class << a\n include Other\n def two()\n end\n end\n\n Single.singleton_methods #=> ["four"]\n a.singleton_methods(false) #=> ["two", "one"]\n a.singleton_methods #=> ["two", "one", "three"]\n" full_name: Object#singleton_methods is_singleton: false name: singleton_methods params: | obj.singleton_methods(all=true) => array visibility: public ri/1.8/system/Object/protected_methods-i.yaml 0000644 00000000672 15217654523 0015063 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the list of protected methods accessible to obj. If the all parameter is set to false, only those methods in the receiver will be listed. full_name: Object#protected_methods is_singleton: false name: protected_methods params: | obj.protected_methods(all=true) => array visibility: public ri/1.8/system/Object/dclone-i.yaml 0000644 00000000246 15217654523 0012610 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Object#dclone is_singleton: false name: dclone params: () visibility: public ri/1.8/system/Object/method-i.yaml 0000644 00000001605 15217654523 0012624 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Looks up the named method as a receiver in obj, returning a Method object (or raising NameError). The Method object acts as a closure in obj's object instance, so instance variables and the value of self remain available. - !ruby/struct:SM::Flow::VERB body: " class Demo\n def initialize(n)\n @iv = n\n end\n def hello()\n "Hello, @iv = #{@iv}"\n end\n end\n\n k = Demo.new(99)\n m = k.method(:hello)\n m.call #=> "Hello, @iv = 99"\n\n l = Demo.new('Fred')\n m = l.method("hello")\n m.call #=> "Hello, @iv = Fred"\n" full_name: Object#method is_singleton: false name: method params: | obj.method(sym) => method visibility: public ri/1.8/system/Object/inspect-i.yaml 0000644 00000001126 15217654523 0013007 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a string containing a human-readable representation of obj. If not overridden, uses the to_s method to generate the string. - !ruby/struct:SM::Flow::VERB body: " [ 1, 2, 3..4, 'five' ].inspect #=> "[1, 2, 3..4, \\"five\\"]"\n Time.new.inspect #=> "Wed Apr 09 08:54:39 CDT 2003"\n" full_name: Object#inspect is_singleton: false name: inspect params: | obj.inspect => string visibility: public ri/1.8/system/Object/display-i.yaml 0000644 00000001267 15217654523 0013015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Prints obj on the given port (default $>). Equivalent to:" - !ruby/struct:SM::Flow::VERB body: " def display(port=$>)\n port.write self\n end\n" - !ruby/struct:SM::Flow::P body: "For example:" - !ruby/struct:SM::Flow::VERB body: " 1.display\n "cat".display\n [ 4, 5, 6 ].display\n puts\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " 1cat456\n" full_name: Object#display is_singleton: false name: display params: | obj.display(port=$>) => nil visibility: public ri/1.8/system/Object/to_a-i.yaml 0000644 00000001321 15217654523 0012261 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array representation of obj. For objects of class Object and others that don't explicitly override the method, the return value is an array containing self. However, this latter behavior will soon be obsolete. - !ruby/struct:SM::Flow::VERB body: " self.to_a #=> -:1: warning: default `to_a' will be obsolete\n "hello".to_a #=> ["hello"]\n Time.new.to_a #=> [39, 54, 8, 9, 4, 2003, 3, 99, true, "CDT"]\n" full_name: Object#to_a is_singleton: false name: to_a params: | obj.to_a -> anArray visibility: public ri/1.8/system/Object/instance_exec-i.yaml 0000644 00000001423 15217654523 0014152 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Executes the given block within the context of the receiver (obj). In order to set the context, the variable self is set to obj while the code is executing, giving the code access to obj's instance variables. Arguments are passed as block parameters. - !ruby/struct:SM::Flow::VERB body: " class KlassWithSecret\n def initialize\n @secret = 99\n end\n end\n k = KlassWithSecret.new\n k.instance_exec(5) {|x| @secret+x } #=> 104\n" full_name: Object#instance_exec is_singleton: false name: instance_exec params: | obj.instance_exec(arg...) {|var...| block } => obj visibility: public ri/1.8/system/Object/tap-i.yaml 0000644 00000001413 15217654523 0012125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Yields x to the block, and then returns x. The primary purpose of this method is to "tap into" a method chain, in order to perform operations on intermediate results within the chain. - !ruby/struct:SM::Flow::VERB body: " (1..10).tap {\n |x| puts "original: #{x.inspect}"\n }.to_a.tap {\n |x| puts "array: #{x.inspect}"\n }.select {|x| x%2==0}.tap {\n |x| puts "evens: #{x.inspect}"\n }.map {|x| x*x}.tap {\n |x| puts "squares: #{x.inspect}"\n }\n" full_name: Object#tap is_singleton: false name: tap params: | obj.tap{|x|...} => obj visibility: public ri/1.8/system/Object/instance_variable_get-i.yaml 0000644 00000001520 15217654523 0015650 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the value of the given instance variable, or nil if the instance variable is not set. The @ part of the variable name should be included for regular instance variables. Throws a NameError exception if the supplied symbol is not valid as an instance variable name. - !ruby/struct:SM::Flow::VERB body: " class Fred\n def initialize(p1, p2)\n @a, @b = p1, p2\n end\n end\n fred = Fred.new('cat', 99)\n fred.instance_variable_get(:@a) #=> "cat"\n fred.instance_variable_get("@b") #=> 99\n" full_name: Object#instance_variable_get is_singleton: false name: instance_variable_get params: | obj.instance_variable_get(symbol) => obj visibility: public ri/1.8/system/Object/instance_variables-i.yaml 0000644 00000001143 15217654523 0015175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array of instance variable names for the receiver. Note that simply defining an accessor does not create the corresponding instance variable. - !ruby/struct:SM::Flow::VERB body: " class Fred\n attr_accessor :a1\n def initialize\n @iv = 3\n end\n end\n Fred.new.instance_variables #=> ["@iv"]\n" full_name: Object#instance_variables is_singleton: false name: instance_variables params: | obj.instance_variables => array visibility: public ri/1.8/system/Object/to_enum-i.yaml 0000644 00000001234 15217654523 0013010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns Enumerable::Enumerator.new(self, method, *args). - !ruby/struct:SM::Flow::P body: "e.g.:" - !ruby/struct:SM::Flow::VERB body: " str = "xyz"\n\n enum = str.enum_for(:each_byte)\n a = enum.map {|b| '%02x' % b } #=> ["78", "79", "7a"]\n\n # protects an array from being modified\n a = [1, 2, 3]\n some_method(a.to_enum)\n" full_name: Object#to_enum is_singleton: false name: to_enum params: | obj.to_enum(method = :each, *args) obj.enum_for(method = :each, *args) visibility: public ri/1.8/system/Object/instance_variable_set-i.yaml 0000644 00000001662 15217654523 0015673 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the instance variable names by symbol to object, thereby frustrating the efforts of the class's author to attempt to provide proper encapsulation. The variable did not have to exist prior to this call. - !ruby/struct:SM::Flow::VERB body: " class Fred\n def initialize(p1, p2)\n @a, @b = p1, p2\n end\n end\n fred = Fred.new('cat', 99)\n fred.instance_variable_set(:@a, 'dog') #=> "dog"\n fred.instance_variable_set(:@c, 'cat') #=> "cat"\n fred.inspect #=> "#<Fred:0x401b3da8 @a=\\"dog\\", @b=99, @c=\\"cat\\">"\n" full_name: Object#instance_variable_set is_singleton: false name: instance_variable_set params: | obj.instance_variable_set(symbol, obj) => obj visibility: public ri/1.8/system/Object/singleton_method_undefined-i.yaml 0000644 00000001350 15217654523 0016724 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invoked as a callback whenever a singleton method is undefined in the receiver. - !ruby/struct:SM::Flow::VERB body: " module Chatty\n def Chatty.singleton_method_undefined(id)\n puts "Undefining #{id.id2name}"\n end\n def Chatty.one() end\n class << self\n undef_method(:one)\n end\n end\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Undefining one\n" full_name: Object#singleton_method_undefined is_singleton: false name: singleton_method_undefined params: | singleton_method_undefined(symbol) visibility: public ri/1.8/system/Object/clone-i.yaml 0000644 00000002220 15217654523 0012436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Produces a shallow copy of obj---the instance variables of obj are copied, but not the objects they reference. Copies the frozen and tainted state of obj. See also the discussion under Object#dup. - !ruby/struct:SM::Flow::VERB body: " class Klass\n attr_accessor :str\n end\n s1 = Klass.new #=> #<Klass:0x401b3a38>\n s1.str = "Hello" #=> "Hello"\n s2 = s1.clone #=> #<Klass:0x401b3998 @str="Hello">\n s2.str[1,4] = "i" #=> "i"\n s1.inspect #=> "#<Klass:0x401b3a38 @str=\\"Hi\\">"\n s2.inspect #=> "#<Klass:0x401b3998 @str=\\"Hi\\">"\n" - !ruby/struct:SM::Flow::P body: "This method may have class-specific behavior. If so, that behavior will be documented under the #initialize_copy method of the class." full_name: Object#clone is_singleton: false name: clone params: | obj.clone -> an_object visibility: public ri/1.8/system/Object/%3d%3d-i.yaml 0000644 00000002514 15217654523 0012213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equality---At the Object level, == returns true only if obj and other are the same object. Typically, this method is overridden in descendent classes to provide class-specific meaning. - !ruby/struct:SM::Flow::P body: "Unlike ==, the equal? method should never be overridden by subclasses: it is used to determine object identity (that is, a.equal?(b) iff a is the same object as b)." - !ruby/struct:SM::Flow::P body: "The eql? method returns true if obj and anObject have the same value. Used by Hash to test members for equality. For objects of class Object, eql? is synonymous with ==. Subclasses normally continue this tradition, but there are exceptions. Numeric types, for example, perform type conversion across ==, but not across eql?, so:" - !ruby/struct:SM::Flow::VERB body: " 1 == 1.0 #=> true\n 1.eql? 1.0 #=> false\n" full_name: Object#== is_singleton: false name: == params: | obj == other => true or false obj.equal?(other) => true or false obj.eql?(other) => true or false visibility: public ri/1.8/system/Object/to_yaml-i.yaml 0000644 00000000263 15217654523 0013007 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Object#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/Object/instance_eval-i.yaml 0000644 00000001764 15217654523 0014165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evaluates a string containing Ruby source code, or the given block, within the context of the receiver (obj). In order to set the context, the variable self is set to obj while the code is executing, giving the code access to obj's instance variables. In the version of instance_eval that takes a String, the optional second and third parameters supply a filename and starting line number that are used when reporting compilation errors. - !ruby/struct:SM::Flow::VERB body: " class Klass\n def initialize\n @secret = 99\n end\n end\n k = Klass.new\n k.instance_eval { @secret } #=> 99\n" full_name: Object#instance_eval is_singleton: false name: instance_eval params: | obj.instance_eval(string [, filename [, lineno]] ) => obj obj.instance_eval {| | block } => obj visibility: public ri/1.8/system/Object/eql%3f-i.yaml 0000644 00000002520 15217654523 0012420 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equality---At the Object level, == returns true only if obj and other are the same object. Typically, this method is overridden in descendent classes to provide class-specific meaning. - !ruby/struct:SM::Flow::P body: "Unlike ==, the equal? method should never be overridden by subclasses: it is used to determine object identity (that is, a.equal?(b) iff a is the same object as b)." - !ruby/struct:SM::Flow::P body: "The eql? method returns true if obj and anObject have the same value. Used by Hash to test members for equality. For objects of class Object, eql? is synonymous with ==. Subclasses normally continue this tradition, but there are exceptions. Numeric types, for example, perform type conversion across ==, but not across eql?, so:" - !ruby/struct:SM::Flow::VERB body: " 1 == 1.0 #=> true\n 1.eql? 1.0 #=> false\n" full_name: Object#eql? is_singleton: false name: eql? params: | obj == other => true or false obj.equal?(other) => true or false obj.eql?(other) => true or false visibility: public ri/1.8/system/Object/%3d%7e-i.yaml 0000644 00000000542 15217654523 0012217 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Pattern Match---Overridden by descendents (notably Regexp and String) to provide meaningful pattern-match semantics. full_name: Object#=~ is_singleton: false name: =~ params: | obj =~ other => false visibility: public ri/1.8/system/Object/nil%3f-i.yaml 0000644 00000000667 15217654523 0012433 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "call_seq:" - !ruby/struct:SM::Flow::VERB body: " nil.nil? => true\n <anything_else>.nil? => false\n" - !ruby/struct:SM::Flow::P body: Only the object nil responds true to nil?. full_name: Object#nil? is_singleton: false name: nil? params: () visibility: public ri/1.8/system/NilClass/to_s-i.yaml 0000644 00000000512 15217654523 0012606 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Always returns the empty string. - !ruby/struct:SM::Flow::VERB body: " nil.to_s #=> ""\n" full_name: NilClass#to_s is_singleton: false name: to_s params: | nil.to_s => "" visibility: public ri/1.8/system/NilClass/%26-i.yaml 0000644 00000000621 15217654523 0012137 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: And---Returns false. obj is always evaluated as it is the argument to a method call---there is no short-circuit evaluation in this case. full_name: NilClass#& is_singleton: false name: "&" params: | false & obj => false nil & obj => false visibility: public ri/1.8/system/NilClass/to_i-i.yaml 0000644 00000000457 15217654523 0012604 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Always returns zero. - !ruby/struct:SM::Flow::VERB body: " nil.to_i #=> 0\n" full_name: NilClass#to_i is_singleton: false name: to_i params: | nil.to_i => 0 visibility: public ri/1.8/system/NilClass/%7c-i.yaml 0000644 00000000562 15217654523 0012225 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Or---Returns false if obj is nil or false; true otherwise. full_name: NilClass#| is_singleton: false name: "|" params: | false | obj => true or false nil | obj => true or false visibility: public ri/1.8/system/NilClass/cdesc-NilClass.yaml 0000644 00000001345 15217654523 0014210 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The class of the singleton object nil. constants: [] full_name: NilClass includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "&" - !ruby/object:RI::MethodSummary name: ^ - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: nil? - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: to_f - !ruby/object:RI::MethodSummary name: to_i - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: "|" name: NilClass superclass: Object ri/1.8/system/NilClass/inspect-i.yaml 0000644 00000000421 15217654523 0013306 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Always returns the string "nil". full_name: NilClass#inspect is_singleton: false name: inspect params: | nil.inspect => "nil" visibility: public ri/1.8/system/NilClass/to_a-i.yaml 0000644 00000000476 15217654523 0012575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Always returns an empty array. - !ruby/struct:SM::Flow::VERB body: " nil.to_a #=> []\n" full_name: NilClass#to_a is_singleton: false name: to_a params: | nil.to_a => [] visibility: public ri/1.8/system/NilClass/%5e-i.yaml 0000644 00000000602 15217654523 0012220 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Exclusive Or---If obj is nil or false, returns false; otherwise, returns true. full_name: NilClass#^ is_singleton: false name: ^ params: | false ^ obj => true or false nil ^ obj => true or false visibility: public ri/1.8/system/NilClass/to_f-i.yaml 0000644 00000000466 15217654523 0012601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Always returns zero. - !ruby/struct:SM::Flow::VERB body: " nil.to_f #=> 0.0\n" full_name: NilClass#to_f is_singleton: false name: to_f params: | nil.to_f => 0.0 visibility: public ri/1.8/system/NilClass/to_yaml-i.yaml 0000644 00000000265 15217654523 0013313 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: NilClass#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/NilClass/nil%3f-i.yaml 0000644 00000000615 15217654523 0012726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "call_seq:" - !ruby/struct:SM::Flow::VERB body: " nil.nil? => true\n" - !ruby/struct:SM::Flow::P body: Only the object nil responds true to nil?. full_name: NilClass#nil? is_singleton: false name: nil? params: () visibility: public ri/1.8/system/Generators/AllReferences/%5b%5d-c.yaml 0000644 00000000267 15217654523 0015627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::AllReferences::[] is_singleton: true name: "[]" params: (name) visibility: public ri/1.8/system/Generators/AllReferences/cdesc-AllReferences.yaml 0000644 00000001377 15217654523 0020332 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: keys - !ruby/object:RI::MethodSummary name: reset comment: - !ruby/struct:SM::Flow::P body: "Build a hash of all items that can be cross-referenced. This is used when we output required and included names: if the names appear in this hash, we can generate an html cross reference to the appropriate description. We also use this when parsing comment blocks: any decorated words matching an entry in this list are hyperlinked." constants: [] full_name: Generators::AllReferences includes: [] instance_methods: [] name: AllReferences superclass: Object ri/1.8/system/Generators/AllReferences/reset-c.yaml 0000644 00000000267 15217654523 0016100 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::AllReferences::reset is_singleton: true name: reset params: () visibility: public ri/1.8/system/Generators/AllReferences/add-c.yaml 0000644 00000000303 15217654523 0015475 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::AllReferences::add is_singleton: true name: add params: (name, html_class) visibility: public ri/1.8/system/Generators/AllReferences/keys-c.yaml 0000644 00000000265 15217654523 0015727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::AllReferences::keys is_singleton: true name: keys params: () visibility: public ri/1.8/system/Generators/HTMLGeneratorInOne/new-c.yaml 0000644 00000000275 15217654523 0016400 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HTMLGeneratorInOne::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/Generators/HTMLGeneratorInOne/build_class_list-i.yaml 0000644 00000000354 15217654523 0021132 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HTMLGeneratorInOne#build_class_list is_singleton: false name: build_class_list params: (from, html_file, class_dir) visibility: public ri/1.8/system/Generators/HTMLGeneratorInOne/gen_method_index-i.yaml 0000644 00000000322 15217654523 0021106 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HTMLGeneratorInOne#gen_method_index is_singleton: false name: gen_method_index params: () visibility: public ri/1.8/system/Generators/HTMLGeneratorInOne/generate-i.yaml 0000644 00000000543 15217654523 0017405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Build the initial indices and output objects based on an array of TopLevel objects containing the extracted information. full_name: Generators::HTMLGeneratorInOne#generate is_singleton: false name: generate params: (info) visibility: public ri/1.8/system/Generators/HTMLGeneratorInOne/gen_file_index-i.yaml 0000644 00000000316 15217654523 0020550 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HTMLGeneratorInOne#gen_file_index is_singleton: false name: gen_file_index params: () visibility: public ri/1.8/system/Generators/HTMLGeneratorInOne/generate_xml-i.yaml 0000644 00000000517 15217654523 0020266 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate all the HTML. For the one-file case, we generate all the information in to one big hash full_name: Generators::HTMLGeneratorInOne#generate_xml is_singleton: false name: generate_xml params: () visibility: public ri/1.8/system/Generators/HTMLGeneratorInOne/cdesc-HTMLGeneratorInOne.yaml 0000644 00000001404 15217654523 0022005 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: [] constants: [] full_name: Generators::HTMLGeneratorInOne includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: build_class_list - !ruby/object:RI::MethodSummary name: build_indices - !ruby/object:RI::MethodSummary name: gen_an_index - !ruby/object:RI::MethodSummary name: gen_class_index - !ruby/object:RI::MethodSummary name: gen_file_index - !ruby/object:RI::MethodSummary name: gen_into - !ruby/object:RI::MethodSummary name: gen_method_index - !ruby/object:RI::MethodSummary name: generate - !ruby/object:RI::MethodSummary name: generate_xml name: HTMLGeneratorInOne superclass: HTMLGenerator ri/1.8/system/Generators/HTMLGeneratorInOne/gen_into-i.yaml 0000644 00000000306 15217654523 0017412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HTMLGeneratorInOne#gen_into is_singleton: false name: gen_into params: (list) visibility: public ri/1.8/system/Generators/HTMLGeneratorInOne/build_indices-i.yaml 0000644 00000001301 15217654523 0020401 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Generate:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: a list of HtmlFile objects for each TopLevel object. - !ruby/struct:SM::Flow::LI label: "*" body: a list of HtmlClass objects for each first level class or module in the TopLevel objects - !ruby/struct:SM::Flow::LI label: "*" body: a complete list of all hyperlinkable terms (file, class, module, and method names) type: :BULLET full_name: Generators::HTMLGeneratorInOne#build_indices is_singleton: false name: build_indices params: () visibility: public ri/1.8/system/Generators/HTMLGeneratorInOne/gen_an_index-i.yaml 0000644 00000000333 15217654523 0020226 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HTMLGeneratorInOne#gen_an_index is_singleton: false name: gen_an_index params: (collection, title) visibility: public ri/1.8/system/Generators/HTMLGeneratorInOne/gen_class_index-i.yaml 0000644 00000000320 15217654523 0020731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HTMLGeneratorInOne#gen_class_index is_singleton: false name: gen_class_index params: () visibility: public ri/1.8/system/Generators/HtmlMethod/new-c.yaml 0000644 00000000314 15217654523 0015073 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod::new is_singleton: true name: new params: (context, html_class, options) visibility: public ri/1.8/system/Generators/HtmlMethod/all_methods-c.yaml 0000644 00000000300 15217654523 0016570 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod::all_methods is_singleton: true name: all_methods params: () visibility: public ri/1.8/system/Generators/HtmlMethod/call_seq-i.yaml 0000644 00000000272 15217654523 0016076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod#call_seq is_singleton: false name: call_seq params: () visibility: public ri/1.8/system/Generators/HtmlMethod/cdesc-HtmlMethod.yaml 0000644 00000003166 15217654523 0017216 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: context rw: R - !ruby/object:RI::Attribute comment: name: img_url rw: R - !ruby/object:RI::Attribute comment: name: source_code rw: R - !ruby/object:RI::Attribute comment: name: src_url rw: R class_methods: - !ruby/object:RI::MethodSummary name: all_methods - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: reset comment: [] constants: [] full_name: Generators::HtmlMethod includes: - !ruby/object:RI::IncludedModule name: MarkUp instance_methods: - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: add_line_numbers - !ruby/object:RI::MethodSummary name: aliases - !ruby/object:RI::MethodSummary name: aref - !ruby/object:RI::MethodSummary name: as_href - !ruby/object:RI::MethodSummary name: call_seq - !ruby/object:RI::MethodSummary name: create_source_code_file - !ruby/object:RI::MethodSummary name: description - !ruby/object:RI::MethodSummary name: document_self - !ruby/object:RI::MethodSummary name: find_symbol - !ruby/object:RI::MethodSummary name: index_name - !ruby/object:RI::MethodSummary name: markup_code - !ruby/object:RI::MethodSummary name: name - !ruby/object:RI::MethodSummary name: params - !ruby/object:RI::MethodSummary name: parent_name - !ruby/object:RI::MethodSummary name: path - !ruby/object:RI::MethodSummary name: section - !ruby/object:RI::MethodSummary name: singleton - !ruby/object:RI::MethodSummary name: visibility name: HtmlMethod superclass: Object ri/1.8/system/Generators/HtmlMethod/name-i.yaml 0000644 00000000262 15217654523 0015232 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod#name is_singleton: false name: name params: () visibility: public ri/1.8/system/Generators/HtmlMethod/visibility-i.yaml 0000644 00000000276 15217654523 0016506 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod#visibility is_singleton: false name: visibility params: () visibility: public ri/1.8/system/Generators/HtmlMethod/description-i.yaml 0000644 00000000300 15217654523 0016626 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod#description is_singleton: false name: description params: () visibility: public ri/1.8/system/Generators/HtmlMethod/path-i.yaml 0000644 00000000262 15217654523 0015246 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod#path is_singleton: false name: path params: () visibility: public ri/1.8/system/Generators/HtmlMethod/%3c%3d%3e-i.yaml 0000644 00000000265 15217654523 0015460 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod#<=> is_singleton: false name: <=> params: (other) visibility: public ri/1.8/system/Generators/HtmlMethod/singleton-i.yaml 0000644 00000000274 15217654523 0016317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod#singleton is_singleton: false name: singleton params: () visibility: public ri/1.8/system/Generators/HtmlMethod/section-i.yaml 0000644 00000000270 15217654523 0015755 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod#section is_singleton: false name: section params: () visibility: public ri/1.8/system/Generators/HtmlMethod/reset-c.yaml 0000644 00000000264 15217654523 0015430 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod::reset is_singleton: true name: reset params: () visibility: public ri/1.8/system/Generators/HtmlMethod/parent_name-i.yaml 0000644 00000000300 15217654523 0016574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod#parent_name is_singleton: false name: parent_name params: () visibility: public ri/1.8/system/Generators/HtmlMethod/params-i.yaml 0000644 00000000266 15217654523 0015601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod#params is_singleton: false name: params params: () visibility: public ri/1.8/system/Generators/HtmlMethod/index_name-i.yaml 0000644 00000000276 15217654523 0016426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod#index_name is_singleton: false name: index_name params: () visibility: public ri/1.8/system/Generators/HtmlMethod/add_line_numbers-i.yaml 0000644 00000000574 15217654523 0017612 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: we rely on the fact that the first line of a source code listing has - !ruby/struct:SM::Flow::VERB body: " # File xxxxx, line dddd\n" full_name: Generators::HtmlMethod#add_line_numbers is_singleton: false name: add_line_numbers params: (src) visibility: public ri/1.8/system/Generators/HtmlMethod/find_symbol-i.yaml 0000644 00000000322 15217654523 0016614 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod#find_symbol is_singleton: false name: find_symbol params: (symbol, method=nil) visibility: public ri/1.8/system/Generators/HtmlMethod/create_source_code_file-i.yaml 0000644 00000000341 15217654523 0021124 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod#create_source_code_file is_singleton: false name: create_source_code_file params: (code_body) visibility: public ri/1.8/system/Generators/HtmlMethod/aref-i.yaml 0000644 00000000262 15217654523 0015227 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod#aref is_singleton: false name: aref params: () visibility: public ri/1.8/system/Generators/HtmlMethod/aliases-i.yaml 0000644 00000000270 15217654523 0015732 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod#aliases is_singleton: false name: aliases params: () visibility: public ri/1.8/system/Generators/HtmlMethod/markup_code-i.yaml 0000644 00000000474 15217654523 0016610 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Given a sequence of source tokens, mark up the source code to make it look purty. full_name: Generators::HtmlMethod#markup_code is_singleton: false name: markup_code params: (tokens) visibility: public ri/1.8/system/Generators/HtmlMethod/as_href-i.yaml 0000644 00000000543 15217654523 0015723 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: return a reference to outselves to be used as an href= the form depends on whether we're all in one file or in multiple files full_name: Generators::HtmlMethod#as_href is_singleton: false name: as_href params: (from_path) visibility: public ri/1.8/system/Generators/HtmlMethod/document_self-i.yaml 0000644 00000000304 15217654523 0017136 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlMethod#document_self is_singleton: false name: document_self params: () visibility: public ri/1.8/system/Generators/XMLGenerator/new-c.yaml 0000644 00000000267 15217654523 0015344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::XMLGenerator::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/Generators/XMLGenerator/build_class_list-i.yaml 0000644 00000000346 15217654523 0020076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::XMLGenerator#build_class_list is_singleton: false name: build_class_list params: (from, html_file, class_dir) visibility: public ri/1.8/system/Generators/XMLGenerator/gen_method_index-i.yaml 0000644 00000000314 15217654523 0020052 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::XMLGenerator#gen_method_index is_singleton: false name: gen_method_index params: () visibility: public ri/1.8/system/Generators/XMLGenerator/generate-i.yaml 0000644 00000000535 15217654523 0016351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Build the initial indices and output objects based on an array of TopLevel objects containing the extracted information. full_name: Generators::XMLGenerator#generate is_singleton: false name: generate params: (info) visibility: public ri/1.8/system/Generators/XMLGenerator/gen_file_index-i.yaml 0000644 00000000310 15217654523 0017505 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::XMLGenerator#gen_file_index is_singleton: false name: gen_file_index params: () visibility: public ri/1.8/system/Generators/XMLGenerator/generate_xml-i.yaml 0000644 00000000511 15217654523 0017223 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate all the HTML. For the one-file case, we generate all the information in to one big hash full_name: Generators::XMLGenerator#generate_xml is_singleton: false name: generate_xml params: () visibility: public ri/1.8/system/Generators/XMLGenerator/cdesc-XMLGenerator.yaml 0000644 00000001553 15217654523 0017720 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: for - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Generate XML output as one big file constants: [] full_name: Generators::XMLGenerator includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: build_class_list - !ruby/object:RI::MethodSummary name: build_indices - !ruby/object:RI::MethodSummary name: gen_an_index - !ruby/object:RI::MethodSummary name: gen_class_index - !ruby/object:RI::MethodSummary name: gen_file_index - !ruby/object:RI::MethodSummary name: gen_into - !ruby/object:RI::MethodSummary name: gen_method_index - !ruby/object:RI::MethodSummary name: generate - !ruby/object:RI::MethodSummary name: generate_xml name: XMLGenerator superclass: HTMLGenerator ri/1.8/system/Generators/XMLGenerator/gen_into-i.yaml 0000644 00000000300 15217654523 0016347 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::XMLGenerator#gen_into is_singleton: false name: gen_into params: (list) visibility: public ri/1.8/system/Generators/XMLGenerator/build_indices-i.yaml 0000644 00000001273 15217654523 0017354 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Generate:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: a list of HtmlFile objects for each TopLevel object. - !ruby/struct:SM::Flow::LI label: "*" body: a list of HtmlClass objects for each first level class or module in the TopLevel objects - !ruby/struct:SM::Flow::LI label: "*" body: a complete list of all hyperlinkable terms (file, class, module, and method names) type: :BULLET full_name: Generators::XMLGenerator#build_indices is_singleton: false name: build_indices params: () visibility: public ri/1.8/system/Generators/XMLGenerator/gen_an_index-i.yaml 0000644 00000000325 15217654523 0017172 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::XMLGenerator#gen_an_index is_singleton: false name: gen_an_index params: (collection, title) visibility: public ri/1.8/system/Generators/XMLGenerator/for-c.yaml 0000644 00000000370 15217654523 0015334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Standard generator factory full_name: Generators::XMLGenerator::for is_singleton: true name: for params: (options) visibility: public ri/1.8/system/Generators/XMLGenerator/gen_class_index-i.yaml 0000644 00000000312 15217654523 0017675 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::XMLGenerator#gen_class_index is_singleton: false name: gen_class_index params: () visibility: public ri/1.8/system/Generators/CHMGenerator/new-c.yaml 0000644 00000000267 15217654523 0015313 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::CHMGenerator::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/Generators/CHMGenerator/generate-i.yaml 0000644 00000000440 15217654523 0016313 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate the html as normal, then wrap it in a help project full_name: Generators::CHMGenerator#generate is_singleton: false name: generate params: (info) visibility: public ri/1.8/system/Generators/CHMGenerator/create_contents_and_index-i.yaml 0000644 00000000655 15217654523 0021722 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The contents is a list of all files and modules. For each we include as sub-entries the list of methods they contain. As we build the contents we also build an index file full_name: Generators::CHMGenerator#create_contents_and_index is_singleton: false name: create_contents_and_index params: () visibility: public ri/1.8/system/Generators/CHMGenerator/create_project_file-i.yaml 0000644 00000000511 15217654523 0020510 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The project file links together all the various files that go to make up the help. full_name: Generators::CHMGenerator#create_project_file is_singleton: false name: create_project_file params: () visibility: public ri/1.8/system/Generators/CHMGenerator/for-c.yaml 0000644 00000000370 15217654523 0015303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Standard generator factory full_name: Generators::CHMGenerator::for is_singleton: true name: for params: (options) visibility: public ri/1.8/system/Generators/CHMGenerator/create_help_project-i.yaml 0000644 00000000476 15217654523 0020533 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The project contains the project file, a table of contents and an index full_name: Generators::CHMGenerator#create_help_project is_singleton: false name: create_help_project params: () visibility: public ri/1.8/system/Generators/CHMGenerator/cdesc-CHMGenerator.yaml 0000644 00000001424 15217654523 0017633 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: for - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: HHC_PATH value: "\"c:/Program Files/HTML Help Workshop/hhc.exe\"" full_name: Generators::CHMGenerator includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: check_for_html_help_workshop - !ruby/object:RI::MethodSummary name: compile_project - !ruby/object:RI::MethodSummary name: create_contents_and_index - !ruby/object:RI::MethodSummary name: create_help_project - !ruby/object:RI::MethodSummary name: create_project_file - !ruby/object:RI::MethodSummary name: generate name: CHMGenerator superclass: HTMLGenerator ri/1.8/system/Generators/CHMGenerator/check_for_html_help_workshop-i.yaml 0000644 00000000344 15217654523 0022437 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::CHMGenerator#check_for_html_help_workshop is_singleton: false name: check_for_html_help_workshop params: () visibility: public ri/1.8/system/Generators/CHMGenerator/compile_project-i.yaml 0000644 00000000447 15217654523 0017706 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invoke the windows help compiler to compiler the project full_name: Generators::CHMGenerator#compile_project is_singleton: false name: compile_project params: () visibility: public ri/1.8/system/Generators/HtmlFile/new-c.yaml 0000644 00000000310 15217654523 0014526 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlFile::new is_singleton: true name: new params: (context, options, file_dir) visibility: public ri/1.8/system/Generators/HtmlFile/cdesc-HtmlFile.yaml 0000644 00000002105 15217654523 0016304 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: path rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Handles the mapping of a file's information to HTML. In reality, a file corresponds to a TopLevel object, containing modules, classes, and top-level methods. In theory it could contain attributes and aliases, but we ignore these for now. constants: [] full_name: Generators::HtmlFile includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: file_attribute_values - !ruby/object:RI::MethodSummary name: filename_to_label - !ruby/object:RI::MethodSummary name: http_url - !ruby/object:RI::MethodSummary name: index_name - !ruby/object:RI::MethodSummary name: parent_name - !ruby/object:RI::MethodSummary name: value_hash - !ruby/object:RI::MethodSummary name: write_on name: HtmlFile superclass: ContextUser ri/1.8/system/Generators/HtmlFile/file_attribute_values-i.yaml 0000644 00000000322 15217654523 0020327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlFile#file_attribute_values is_singleton: false name: file_attribute_values params: () visibility: public ri/1.8/system/Generators/HtmlFile/%3c%3d%3e-i.yaml 0000644 00000000263 15217654523 0015115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlFile#<=> is_singleton: false name: <=> params: (other) visibility: public ri/1.8/system/Generators/HtmlFile/http_url-i.yaml 0000644 00000000300 15217654523 0015603 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlFile#http_url is_singleton: false name: http_url params: (file_dir) visibility: public ri/1.8/system/Generators/HtmlFile/parent_name-i.yaml 0000644 00000000276 15217654523 0016247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlFile#parent_name is_singleton: false name: parent_name params: () visibility: public ri/1.8/system/Generators/HtmlFile/write_on-i.yaml 0000644 00000000271 15217654523 0015577 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlFile#write_on is_singleton: false name: write_on params: (f) visibility: public ri/1.8/system/Generators/HtmlFile/index_name-i.yaml 0000644 00000000274 15217654523 0016063 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlFile#index_name is_singleton: false name: index_name params: () visibility: public ri/1.8/system/Generators/HtmlFile/value_hash-i.yaml 0000644 00000000274 15217654523 0016073 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlFile#value_hash is_singleton: false name: value_hash params: () visibility: public ri/1.8/system/Generators/HtmlFile/filename_to_label-i.yaml 0000644 00000000312 15217654523 0017366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlFile#filename_to_label is_singleton: false name: filename_to_label params: () visibility: public ri/1.8/system/Generators/cdesc-Generators.yaml 0000644 00000001035 15217654523 0015206 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Name of sub-direcories that hold file and class/module descriptions name: FILE_DIR value: "\"files\"" - !ruby/object:RI::Constant comment: name: CLASS_DIR value: "\"classes\"" - !ruby/object:RI::Constant comment: name: CSS_NAME value: "\"rdoc-style.css\"" full_name: Generators includes: [] instance_methods: [] name: Generators superclass: ri/1.8/system/Generators/HTMLGenerator/new-c.yaml 0000644 00000000472 15217654523 0015446 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set up a new HTML generator. Basically all we do here is load up the correct output temlate full_name: Generators::HTMLGenerator::new is_singleton: true name: new params: (options) visibility: public ri/1.8/system/Generators/HTMLGenerator/build_class_list-i.yaml 0000644 00000000350 15217654523 0020175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HTMLGenerator#build_class_list is_singleton: false name: build_class_list params: (from, html_file, class_dir) visibility: private ri/1.8/system/Generators/HTMLGenerator/gen_method_index-i.yaml 0000644 00000000316 15217654523 0020160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HTMLGenerator#gen_method_index is_singleton: false name: gen_method_index params: () visibility: private ri/1.8/system/Generators/HTMLGenerator/generate-i.yaml 0000644 00000000543 15217654523 0016454 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Build the initial indices and output objects based on an array of TopLevel objects containing the extracted information. full_name: Generators::HTMLGenerator#generate is_singleton: false name: generate params: (toplevels) visibility: public ri/1.8/system/Generators/HTMLGenerator/gen_file_index-i.yaml 0000644 00000000312 15217654523 0017613 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HTMLGenerator#gen_file_index is_singleton: false name: gen_file_index params: () visibility: private ri/1.8/system/Generators/HTMLGenerator/gen_main_index-i.yaml 0000644 00000000706 15217654523 0017627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The main index page is mostly a template frameset, but includes the initial page. If the --main option was given, we use this as our main page, otherwise we use the first file specified on the command line. full_name: Generators::HTMLGenerator#gen_main_index is_singleton: false name: gen_main_index params: () visibility: private ri/1.8/system/Generators/HTMLGenerator/gen_sub_directories-i.yaml 0000644 00000000501 15217654523 0020672 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See the comments at the top for a description of the directory structure full_name: Generators::HTMLGenerator#gen_sub_directories is_singleton: false name: gen_sub_directories params: () visibility: private ri/1.8/system/Generators/HTMLGenerator/gen_into-i.yaml 0000644 00000000302 15217654523 0016455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HTMLGenerator#gen_into is_singleton: false name: gen_into params: (list) visibility: private ri/1.8/system/Generators/HTMLGenerator/build_indices-i.yaml 0000644 00000001275 15217654523 0017462 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Generate:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: a list of HtmlFile objects for each TopLevel object. - !ruby/struct:SM::Flow::LI label: "*" body: a list of HtmlClass objects for each first level class or module in the TopLevel objects - !ruby/struct:SM::Flow::LI label: "*" body: a complete list of all hyperlinkable terms (file, class, module, and method names) type: :BULLET full_name: Generators::HTMLGenerator#build_indices is_singleton: false name: build_indices params: () visibility: private ri/1.8/system/Generators/HTMLGenerator/load_html_template-i.yaml 0000644 00000000542 15217654523 0020517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Load up the HTML template specified in the options. If the template name contains a slash, use it literally full_name: Generators::HTMLGenerator#load_html_template is_singleton: false name: load_html_template params: () visibility: private ri/1.8/system/Generators/HTMLGenerator/main_url-i.yaml 0000644 00000000402 15217654523 0016462 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: return the url of the main page full_name: Generators::HTMLGenerator#main_url is_singleton: false name: main_url params: () visibility: private ri/1.8/system/Generators/HTMLGenerator/generate_html-i.yaml 0000644 00000000402 15217654523 0017472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate all the HTML full_name: Generators::HTMLGenerator#generate_html is_singleton: false name: generate_html params: () visibility: private ri/1.8/system/Generators/HTMLGenerator/gen_an_index-i.yaml 0000644 00000000353 15217654523 0017277 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HTMLGenerator#gen_an_index is_singleton: false name: gen_an_index params: (collection, title, template, filename) visibility: private ri/1.8/system/Generators/HTMLGenerator/gen_url-c.yaml 0000644 00000000450 15217654523 0016304 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: convert a target url to one that is relative to a given path full_name: Generators::HTMLGenerator::gen_url is_singleton: true name: gen_url params: (path, target) visibility: public ri/1.8/system/Generators/HTMLGenerator/for-c.yaml 0000644 00000000551 15217654523 0015441 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generators may need to return specific subclasses depending on the options they are passed. Because of this we create them using a factory full_name: Generators::HTMLGenerator::for is_singleton: true name: for params: (options) visibility: public ri/1.8/system/Generators/HTMLGenerator/gen_class_index-i.yaml 0000644 00000000314 15217654523 0020003 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HTMLGenerator#gen_class_index is_singleton: false name: gen_class_index params: () visibility: private ri/1.8/system/Generators/HTMLGenerator/write_style_sheet-i.yaml 0000644 00000000446 15217654523 0020426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Write out the style sheet used by the main frames full_name: Generators::HTMLGenerator#write_style_sheet is_singleton: false name: write_style_sheet params: () visibility: private ri/1.8/system/Generators/HTMLGenerator/cdesc-HTMLGenerator.yaml 0000644 00000002246 15217654523 0020130 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: for - !ruby/object:RI::MethodSummary name: gen_url - !ruby/object:RI::MethodSummary name: new comment: [] constants: [] full_name: Generators::HTMLGenerator includes: - !ruby/object:RI::IncludedModule name: MarkUp instance_methods: - !ruby/object:RI::MethodSummary name: build_class_list - !ruby/object:RI::MethodSummary name: build_indices - !ruby/object:RI::MethodSummary name: gen_an_index - !ruby/object:RI::MethodSummary name: gen_class_index - !ruby/object:RI::MethodSummary name: gen_file_index - !ruby/object:RI::MethodSummary name: gen_into - !ruby/object:RI::MethodSummary name: gen_main_index - !ruby/object:RI::MethodSummary name: gen_method_index - !ruby/object:RI::MethodSummary name: gen_sub_directories - !ruby/object:RI::MethodSummary name: generate - !ruby/object:RI::MethodSummary name: generate_html - !ruby/object:RI::MethodSummary name: load_html_template - !ruby/object:RI::MethodSummary name: main_url - !ruby/object:RI::MethodSummary name: write_style_sheet name: HTMLGenerator superclass: Object ri/1.8/system/Generators/MarkUp/style_url-i.yaml 0000644 00000000626 15217654523 0015472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Qualify a stylesheet URL; if if css_name does not begin with '/' or 'http[s]://', prepend a prefix relative to path. Otherwise, return it unmodified. full_name: Generators::MarkUp#style_url is_singleton: false name: style_url params: (path, css_name=nil) visibility: public ri/1.8/system/Generators/MarkUp/cvs_url-i.yaml 0000644 00000000605 15217654523 0015122 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Build a webcvs URL with the given 'url' argument. URLs with a '%s' in them get the file's path sprintfed into them; otherwise they're just catenated together. full_name: Generators::MarkUp#cvs_url is_singleton: false name: cvs_url params: (url, full_path) visibility: public ri/1.8/system/Generators/MarkUp/markup-i.yaml 0000644 00000000571 15217654523 0014746 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a string in markup format into HTML. We keep a cached SimpleMarkup object lying around after the first time we're called per object. full_name: Generators::MarkUp#markup is_singleton: false name: markup params: (str, remove_para=false) visibility: public ri/1.8/system/Generators/MarkUp/cdesc-MarkUp.yaml 0000644 00000000657 15217654523 0015504 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Handle common markup tasks for the various Html classes constants: [] full_name: Generators::MarkUp includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: cvs_url - !ruby/object:RI::MethodSummary name: markup - !ruby/object:RI::MethodSummary name: style_url name: MarkUp superclass: ri/1.8/system/Generators/ContextUser/new-c.yaml 0000644 00000000301 15217654523 0015305 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::ContextUser::new is_singleton: true name: new params: (context, options) visibility: public ri/1.8/system/Generators/ContextUser/build_method_summary_list-i.yaml 0000644 00000000507 15217654523 0022001 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Build a summary list of all the methods in this context full_name: Generators::ContextUser#build_method_summary_list is_singleton: false name: build_method_summary_list params: (path_prefix="") visibility: public ri/1.8/system/Generators/ContextUser/build_class_list-i.yaml 0000644 00000000533 15217654523 0020050 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Build the structured list of classes and modules contained in this context. full_name: Generators::ContextUser#build_class_list is_singleton: false name: build_class_list params: (level, from, section, infile=nil) visibility: public ri/1.8/system/Generators/ContextUser/url-i.yaml 0000644 00000000267 15217654523 0015337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::ContextUser#url is_singleton: false name: url params: (target) visibility: public ri/1.8/system/Generators/ContextUser/potentially_referenced_list-i.yaml 0000644 00000001371 15217654523 0022313 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (i.name) comment: - !ruby/struct:SM::Flow::P body: "Build a list from an array of Htmlxxx items. Look up each in the AllReferences hash: if we find a corresponding entry, we generate a hyperlink to it, otherwise just output the name. However, some names potentially need massaging. For example, you may require a Ruby file without the .rb extension, but the file names we know about may have it. To deal with this, we pass in a block which performs the massaging, returning an array of alternative names to match" full_name: Generators::ContextUser#potentially_referenced_list is_singleton: false name: potentially_referenced_list params: (array) {|i.name| ...} visibility: public ri/1.8/system/Generators/ContextUser/cdesc-ContextUser.yaml 0000644 00000003103 15217654523 0017641 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: context rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "A Context is built by the parser to represent a container: contexts hold classes, modules, methods, require lists and include lists. ClassModule and TopLevel are the context objects we process here" constants: [] full_name: Generators::ContextUser includes: - !ruby/object:RI::IncludedModule name: MarkUp instance_methods: - !ruby/object:RI::MethodSummary name: add_table_of_sections - !ruby/object:RI::MethodSummary name: aref_to - !ruby/object:RI::MethodSummary name: as_href - !ruby/object:RI::MethodSummary name: build_alias_summary_list - !ruby/object:RI::MethodSummary name: build_class_list - !ruby/object:RI::MethodSummary name: build_constants_summary_list - !ruby/object:RI::MethodSummary name: build_include_list - !ruby/object:RI::MethodSummary name: build_method_detail_list - !ruby/object:RI::MethodSummary name: build_method_summary_list - !ruby/object:RI::MethodSummary name: build_requires_list - !ruby/object:RI::MethodSummary name: collect_methods - !ruby/object:RI::MethodSummary name: diagram_reference - !ruby/object:RI::MethodSummary name: document_self - !ruby/object:RI::MethodSummary name: find_symbol - !ruby/object:RI::MethodSummary name: href - !ruby/object:RI::MethodSummary name: potentially_referenced_list - !ruby/object:RI::MethodSummary name: url name: ContextUser superclass: Object ri/1.8/system/Generators/ContextUser/diagram_reference-i.yaml 0000644 00000000324 15217654523 0020151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::ContextUser#diagram_reference is_singleton: false name: diagram_reference params: (diagram) visibility: public ri/1.8/system/Generators/ContextUser/build_method_detail_list-i.yaml 0000644 00000000740 15217654523 0021545 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Build an array of arrays of method details. The outer array has up to six entries, public, private, and protected for both class methods, the other for instance methods. The inner arrays contain a hash for each method full_name: Generators::ContextUser#build_method_detail_list is_singleton: false name: build_method_detail_list params: (section) visibility: public ri/1.8/system/Generators/ContextUser/href-i.yaml 0000644 00000000416 15217654523 0015455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: convenience method to build a hyperlink full_name: Generators::ContextUser#href is_singleton: false name: href params: (link, cls, name) visibility: public ri/1.8/system/Generators/ContextUser/add_table_of_sections-i.yaml 0000644 00000000451 15217654523 0021022 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: create table of contents if we contain sections full_name: Generators::ContextUser#add_table_of_sections is_singleton: false name: add_table_of_sections params: () visibility: public ri/1.8/system/Generators/ContextUser/find_symbol-i.yaml 0000644 00000000440 15217654523 0017033 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Find a symbol in ourselves or our parent full_name: Generators::ContextUser#find_symbol is_singleton: false name: find_symbol params: (symbol, method=nil) visibility: public ri/1.8/system/Generators/ContextUser/build_include_list-i.yaml 0000644 00000000326 15217654523 0020366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::ContextUser#build_include_list is_singleton: false name: build_include_list params: (context) visibility: public ri/1.8/system/Generators/ContextUser/collect_methods-i.yaml 0000644 00000000724 15217654523 0017703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a list of HtmlMethod objects for each method in the corresponding context object. If the @options.show_all variable is set (corresponding to the --all option, we include all methods, otherwise just the public ones. full_name: Generators::ContextUser#collect_methods is_singleton: false name: collect_methods params: () visibility: public ri/1.8/system/Generators/ContextUser/build_requires_list-i.yaml 0000644 00000000330 15217654523 0020575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::ContextUser#build_requires_list is_singleton: false name: build_requires_list params: (context) visibility: public ri/1.8/system/Generators/ContextUser/build_alias_summary_list-i.yaml 0000644 00000000520 15217654523 0021605 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Build a list of aliases for which we couldn't find a corresponding method full_name: Generators::ContextUser#build_alias_summary_list is_singleton: false name: build_alias_summary_list params: (section) visibility: public ri/1.8/system/Generators/ContextUser/build_constants_summary_list-i.yaml 0000644 00000000450 15217654523 0022532 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Build a list of constants full_name: Generators::ContextUser#build_constants_summary_list is_singleton: false name: build_constants_summary_list params: (section) visibility: public ri/1.8/system/Generators/ContextUser/as_href-i.yaml 0000644 00000000544 15217654523 0016142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: return a reference to outselves to be used as an href= the form depends on whether we're all in one file or in multiple files full_name: Generators::ContextUser#as_href is_singleton: false name: as_href params: (from_path) visibility: public ri/1.8/system/Generators/ContextUser/aref_to-i.yaml 0000644 00000000277 15217654523 0016155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::ContextUser#aref_to is_singleton: false name: aref_to params: (target) visibility: public ri/1.8/system/Generators/ContextUser/document_self-i.yaml 0000644 00000000305 15217654523 0017355 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::ContextUser#document_self is_singleton: false name: document_self params: () visibility: public ri/1.8/system/Generators/HyperlinkHtml/new-c.yaml 0000644 00000000541 15217654523 0015622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: We need to record the html path of our caller so we can generate correct relative paths for any hyperlinks that we find full_name: Generators::HyperlinkHtml::new is_singleton: true name: new params: (from_path, context) visibility: public ri/1.8/system/Generators/HyperlinkHtml/handle_special_HYPERLINK-i.yaml 0000644 00000001211 15217654523 0021412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "And we're invoked with a potential external hyperlink mailto: just gets inserted. http: links are checked to see if they reference an image. If so, that image gets inserted using an <img> tag. Otherwise a conventional <a href> is used. We also support a special type of hyperlink, link:, which is a reference to a local file whose path is relative to the --op directory." full_name: Generators::HyperlinkHtml#handle_special_HYPERLINK is_singleton: false name: handle_special_HYPERLINK params: (special) visibility: public ri/1.8/system/Generators/HyperlinkHtml/cdesc-HyperlinkHtml.yaml 0000644 00000001305 15217654523 0020461 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Subclass of the SM::ToHtml class that supports looking up words in the AllReferences list. Those that are found (like AllReferences in this comment) will be hyperlinked constants: [] full_name: Generators::HyperlinkHtml includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: gen_url - !ruby/object:RI::MethodSummary name: handle_special_CROSSREF - !ruby/object:RI::MethodSummary name: handle_special_HYPERLINK - !ruby/object:RI::MethodSummary name: handle_special_TIDYLINK name: HyperlinkHtml superclass: SM::ToHtml ri/1.8/system/Generators/HyperlinkHtml/handle_special_TIDYLINK-i.yaml 0000644 00000000600 15217654523 0021275 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: HEre's a hypedlink where the label is different to the URL - !ruby/struct:SM::Flow::VERB body: " <label>[url]\n" full_name: Generators::HyperlinkHtml#handle_special_TIDYLINK is_singleton: false name: handle_special_TIDYLINK params: (special) visibility: public ri/1.8/system/Generators/HyperlinkHtml/gen_url-i.yaml 0000644 00000000560 15217654523 0016473 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Generate a hyperlink for url, labeled with text. Handle the special cases for img: and link: described under handle_special_HYPEDLINK" full_name: Generators::HyperlinkHtml#gen_url is_singleton: false name: gen_url params: (url, text) visibility: public ri/1.8/system/Generators/HyperlinkHtml/handle_special_CROSSREF-i.yaml 0000644 00000001163 15217654523 0021301 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "We're invoked when any text matches the CROSSREF pattern (defined in MarkUp). If we fine the corresponding reference, generate a hyperlink. If the name we're looking for contains no punctuation, we look for it up the module/class chain. For example, HyperlinkHtml is found, even without the Generators:: prefix, because we look for it in module Generators first." full_name: Generators::HyperlinkHtml#handle_special_CROSSREF is_singleton: false name: handle_special_CROSSREF params: (special) visibility: public ri/1.8/system/Generators/RIGenerator/new-c.yaml 0000644 00000000470 15217654523 0015212 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set up a new HTML generator. Basically all we do here is load up the correct output temlate full_name: Generators::RIGenerator::new is_singleton: true name: new params: (options) visibility: public ri/1.8/system/Generators/RIGenerator/generate-i.yaml 0000644 00000000541 15217654523 0016220 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Build the initial indices and output objects based on an array of TopLevel objects containing the extracted information. full_name: Generators::RIGenerator#generate is_singleton: false name: generate params: (toplevels) visibility: public ri/1.8/system/Generators/RIGenerator/cdesc-RIGenerator.yaml 0000644 00000001344 15217654523 0017442 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: for - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Generators::RIGenerator includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: generate - !ruby/object:RI::MethodSummary name: generate_class_info - !ruby/object:RI::MethodSummary name: generate_method_info - !ruby/object:RI::MethodSummary name: markup - !ruby/object:RI::MethodSummary name: method_list - !ruby/object:RI::MethodSummary name: params_of - !ruby/object:RI::MethodSummary name: process_class - !ruby/object:RI::MethodSummary name: update_or_replace name: RIGenerator superclass: Object ri/1.8/system/Generators/RIGenerator/method_list-i.yaml 0000644 00000000457 15217654523 0016747 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: return a list of class and instance methods that we'll be documenting full_name: Generators::RIGenerator#method_list is_singleton: false name: method_list params: (cls) visibility: private ri/1.8/system/Generators/RIGenerator/update_or_replace-i.yaml 0000644 00000000752 15217654523 0020107 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: By default we replace existing classes with the same name. If the --merge option was given, we instead merge this definition into an existing class. We add our methods, aliases, etc to that class, but do not change the class's description. full_name: Generators::RIGenerator#update_or_replace is_singleton: false name: update_or_replace params: (cls_desc) visibility: private ri/1.8/system/Generators/RIGenerator/params_of-i.yaml 0000644 00000000304 15217654523 0016372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::RIGenerator#params_of is_singleton: false name: params_of params: (method) visibility: private ri/1.8/system/Generators/RIGenerator/process_class-i.yaml 0000644 00000000317 15217654523 0017272 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::RIGenerator#process_class is_singleton: false name: process_class params: (from_class) visibility: public ri/1.8/system/Generators/RIGenerator/generate_method_info-i.yaml 0000644 00000000343 15217654523 0020573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::RIGenerator#generate_method_info is_singleton: false name: generate_method_info params: (cls_desc, method) visibility: public ri/1.8/system/Generators/RIGenerator/for-c.yaml 0000644 00000000547 15217654523 0015214 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generators may need to return specific subclasses depending on the options they are passed. Because of this we create them using a factory full_name: Generators::RIGenerator::for is_singleton: true name: for params: (options) visibility: public ri/1.8/system/Generators/RIGenerator/markup-i.yaml 0000644 00000000277 15217654523 0015733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::RIGenerator#markup is_singleton: false name: markup params: (comment) visibility: private ri/1.8/system/Generators/RIGenerator/generate_class_info-i.yaml 0000644 00000000324 15217654523 0020417 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::RIGenerator#generate_class_info is_singleton: false name: generate_class_info params: (cls) visibility: public ri/1.8/system/Generators/HtmlClass/new-c.yaml 0000644 00000000322 15217654523 0014717 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlClass::new is_singleton: true name: new params: (context, html_file, prefix, options) visibility: public ri/1.8/system/Generators/HtmlClass/cdesc-HtmlClass.yaml 0000644 00000001526 15217654523 0016666 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: path rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Wrap a ClassModule context constants: [] full_name: Generators::HtmlClass includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: build_attribute_list - !ruby/object:RI::MethodSummary name: class_attribute_values - !ruby/object:RI::MethodSummary name: http_url - !ruby/object:RI::MethodSummary name: index_name - !ruby/object:RI::MethodSummary name: name - !ruby/object:RI::MethodSummary name: parent_name - !ruby/object:RI::MethodSummary name: value_hash - !ruby/object:RI::MethodSummary name: write_on name: HtmlClass superclass: ContextUser ri/1.8/system/Generators/HtmlClass/name-i.yaml 0000644 00000000261 15217654523 0015056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlClass#name is_singleton: false name: name params: () visibility: public ri/1.8/system/Generators/HtmlClass/%3c%3d%3e-i.yaml 0000644 00000000264 15217654523 0015304 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlClass#<=> is_singleton: false name: <=> params: (other) visibility: public ri/1.8/system/Generators/HtmlClass/http_url-i.yaml 0000644 00000000472 15217654523 0016003 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: return the relative file name to store this class in, which is also its url full_name: Generators::HtmlClass#http_url is_singleton: false name: http_url params: (full_name, prefix) visibility: public ri/1.8/system/Generators/HtmlClass/parent_name-i.yaml 0000644 00000000277 15217654523 0016436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlClass#parent_name is_singleton: false name: parent_name params: () visibility: public ri/1.8/system/Generators/HtmlClass/write_on-i.yaml 0000644 00000000272 15217654523 0015766 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlClass#write_on is_singleton: false name: write_on params: (f) visibility: public ri/1.8/system/Generators/HtmlClass/index_name-i.yaml 0000644 00000000275 15217654523 0016252 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlClass#index_name is_singleton: false name: index_name params: () visibility: public ri/1.8/system/Generators/HtmlClass/value_hash-i.yaml 0000644 00000000275 15217654523 0016262 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlClass#value_hash is_singleton: false name: value_hash params: () visibility: public ri/1.8/system/Generators/HtmlClass/build_attribute_list-i.yaml 0000644 00000000330 15217654523 0020350 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlClass#build_attribute_list is_singleton: false name: build_attribute_list params: (section) visibility: public ri/1.8/system/Generators/HtmlClass/class_attribute_values-i.yaml 0000644 00000000325 15217654523 0020706 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Generators::HtmlClass#class_attribute_values is_singleton: false name: class_attribute_values params: () visibility: public ri/1.8/system/Kconv/kconv-i.yaml 0000644 00000001041 15217654523 0012330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert str to out_code. out_code and in_code are given as constants of Kconv. - !ruby/struct:SM::Flow::P body: Note This method decode MIME encoded string and convert halfwidth katakana to fullwidth katakana. If you don't want to decode them, use NKF.nkf. full_name: Kconv#kconv is_singleton: false name: kconv params: | Kconv.kconv(str, out_code, in_code = Kconv::AUTO) visibility: public ri/1.8/system/Kconv/isutf8-i.yaml 0000644 00000000572 15217654523 0012442 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns whether input encoding is UTF-8 or not. - !ruby/struct:SM::Flow::P body: Note don't expect this return value is MatchData. full_name: Kconv#isutf8 is_singleton: false name: isutf8 params: | Kconv.isutf8(str) -> obj or nil visibility: public ri/1.8/system/Kconv/tojis-i.yaml 0000644 00000000710 15217654523 0012342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert str to ISO-2022-JP - !ruby/struct:SM::Flow::P body: Note This method decode MIME encoded string and convert halfwidth katakana to fullwidth katakana. If you don't want it, use NKF.nkf('-jxm0', str). full_name: Kconv#tojis is_singleton: false name: tojis params: | Kconv.tojis(str) -> string visibility: public ri/1.8/system/Kconv/iseuc-i.yaml 0000644 00000000570 15217654523 0012326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns whether input encoding is EUC-JP or not. - !ruby/struct:SM::Flow::P body: Note don't expect this return value is MatchData. full_name: Kconv#iseuc is_singleton: false name: iseuc params: | Kconv.iseuc(str) -> obj or nil visibility: public ri/1.8/system/Kconv/cdesc-Kconv.yaml 0000644 00000007224 15217654523 0013132 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Kanji Converter for Ruby. constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Auto-Detect name: AUTO value: NKF::AUTO - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: ISO-2022-JP name: JIS value: NKF::JIS - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: EUC-JP name: EUC value: NKF::EUC - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Shift_JIS name: SJIS value: NKF::SJIS - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: BINARY name: BINARY value: NKF::BINARY - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: NOCONV name: NOCONV value: NKF::NOCONV - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: ASCII name: ASCII value: NKF::ASCII - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: UTF-8 name: UTF8 value: NKF::UTF8 - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: UTF-16 name: UTF16 value: NKF::UTF16 - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: UTF-32 name: UTF32 value: NKF::UTF32 - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: UNKNOWN name: UNKNOWN value: NKF::UNKNOWN - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Revision of kconv.rb name: REVISION value: "%q$Revision: 11708 $" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Regexp of Shift_JIS string (private constant) name: RegexpShiftjis value: "/\\A(?: [\\x00-\\x7f\\xa1-\\xdf] | [\\x81-\\x9f\\xe0-\\xfc][\\x40-\\x7e\\x80-\\xfc] )*\\z/nx" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Regexp of EUC-JP string (private constant) name: RegexpEucjp value: "/\\A(?: [\\x00-\\x7f] | \\x8e [\\xa1-\\xdf] | \\x8f [\\xa1-\\xfe] [\\xa1-\\xfe] | [\\xa1-\\xfe] [\\xa1-\\xfe] )*\\z/nx" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Regexp of UTF-8 string (private constant) name: RegexpUtf8 value: "/\\A(?: [\\x00-\\x7f] | [\\xc2-\\xdf] [\\x80-\\xbf] | \\xe0 [\\xa0-\\xbf] [\\x80-\\xbf] | [\\xe1-\\xef] [\\x80-\\xbf] [\\x80-\\xbf] | \\xf0 [\\x90-\\xbf] [\\x80-\\xbf] [\\x80-\\xbf] | [\\xf1-\\xf3] [\\x80-\\xbf] [\\x80-\\xbf] [\\x80-\\xbf] | \\xf4 [\\x80-\\x8f] [\\x80-\\xbf] [\\x80-\\xbf] )*\\z/nx" full_name: Kconv includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: guess - !ruby/object:RI::MethodSummary name: guess_old - !ruby/object:RI::MethodSummary name: iseuc - !ruby/object:RI::MethodSummary name: issjis - !ruby/object:RI::MethodSummary name: isutf8 - !ruby/object:RI::MethodSummary name: kconv - !ruby/object:RI::MethodSummary name: toeuc - !ruby/object:RI::MethodSummary name: tojis - !ruby/object:RI::MethodSummary name: tosjis - !ruby/object:RI::MethodSummary name: toutf16 - !ruby/object:RI::MethodSummary name: toutf8 name: Kconv superclass: ri/1.8/system/Kconv/toutf16-i.yaml 0000644 00000000713 15217654523 0012525 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert str to UTF-16 - !ruby/struct:SM::Flow::P body: Note This method decode MIME encoded string and convert halfwidth katakana to fullwidth katakana. If you don't want it, use NKF.nkf('-w16xm0', str). full_name: Kconv#toutf16 is_singleton: false name: toutf16 params: | Kconv.toutf16(str) -> string visibility: public ri/1.8/system/Kconv/issjis-i.yaml 0000644 00000000576 15217654523 0012530 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns whether input encoding is Shift_JIS or not. - !ruby/struct:SM::Flow::P body: Note don't expect this return value is MatchData. full_name: Kconv#issjis is_singleton: false name: issjis params: | Kconv.issjis(str) -> obj or nil visibility: public ri/1.8/system/Kconv/toutf8-i.yaml 0000644 00000000705 15217654523 0012447 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert str to UTF-8 - !ruby/struct:SM::Flow::P body: Note This method decode MIME encoded string and convert halfwidth katakana to fullwidth katakana. If you don't want it, use NKF.nkf('-wxm0', str). full_name: Kconv#toutf8 is_singleton: false name: toutf8 params: | Kconv.toutf8(str) -> string visibility: public ri/1.8/system/Kconv/tosjis-i.yaml 0000644 00000000711 15217654523 0012526 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert str to Shift_JIS - !ruby/struct:SM::Flow::P body: Note This method decode MIME encoded string and convert halfwidth katakana to fullwidth katakana. If you don't want it, use NKF.nkf('-sxm0', str). full_name: Kconv#tosjis is_singleton: false name: tosjis params: | Kconv.tosjis(str) -> string visibility: public ri/1.8/system/Kconv/guess_old-i.yaml 0000644 00000000426 15217654523 0013202 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Guess input encoding by NKF.guess1 full_name: Kconv#guess_old is_singleton: false name: guess_old params: | Kconv.guess_old(str) -> integer visibility: public ri/1.8/system/Kconv/guess-i.yaml 0000644 00000000412 15217654523 0012337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Guess input encoding by NKF.guess2 full_name: Kconv#guess is_singleton: false name: guess params: | Kconv.guess(str) -> integer visibility: public ri/1.8/system/Kconv/toeuc-i.yaml 0000644 00000000703 15217654523 0012333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert str to EUC-JP - !ruby/struct:SM::Flow::P body: Note This method decode MIME encoded string and convert halfwidth katakana to fullwidth katakana. If you don't want it, use NKF.nkf('-exm0', str). full_name: Kconv#toeuc is_singleton: false name: toeuc params: | Kconv.toeuc(str) -> string visibility: public ri/1.8/system/LocalJumpError/exit_value-i.yaml 0000644 00000000643 15217654523 0015204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "call_seq:" - !ruby/struct:SM::Flow::VERB body: " local_jump_error.exit_value => obj\n" - !ruby/struct:SM::Flow::P body: Returns the exit value associated with this LocalJumpError. full_name: LocalJumpError#exit_value is_singleton: false name: exit_value params: () visibility: public ri/1.8/system/LocalJumpError/cdesc-LocalJumpError.yaml 0000644 00000001473 15217654523 0016572 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Proc objects are blocks of code that have been bound to a set of local variables. Once bound, the code may be called in different contexts and still access those variables. - !ruby/struct:SM::Flow::VERB body: " def gen_times(factor)\n return Proc.new {|n| n*factor }\n end\n\n times3 = gen_times(3)\n times5 = gen_times(5)\n\n times3.call(12) #=> 36\n times5.call(5) #=> 25\n times3.call(times5.call(4)) #=> 60\n" constants: [] full_name: LocalJumpError includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: exit_value - !ruby/object:RI::MethodSummary name: reason name: LocalJumpError superclass: StandardError ri/1.8/system/LocalJumpError/reason-i.yaml 0000644 00000000525 15217654523 0014325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "The reason this block was terminated: :break, :redo, :retry, :next, :return, or :noreason." full_name: LocalJumpError#reason is_singleton: false name: reason params: | local_jump_error.reason => symbol visibility: public ri/1.8/system/ACL/new-c.yaml 0000644 00000000271 15217654523 0011316 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: ACL::new is_singleton: true name: new params: (list=nil, order = DENY_ALLOW) visibility: public ri/1.8/system/ACL/ACLList/new-c.yaml 0000644 00000000246 15217654523 0012553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: ACL::ACLList::new is_singleton: true name: new params: () visibility: public ri/1.8/system/ACL/ACLList/cdesc-ACLList.yaml 0000644 00000000506 15217654523 0014053 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: ACL::ACLList includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: match name: ACLList superclass: Object ri/1.8/system/ACL/ACLList/match-i.yaml 0000644 00000000256 15217654523 0013065 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: ACL::ACLList#match is_singleton: false name: match params: (addr) visibility: public ri/1.8/system/ACL/ACLList/add-i.yaml 0000644 00000000251 15217654523 0012514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: ACL::ACLList#add is_singleton: false name: add params: (str) visibility: public ri/1.8/system/ACL/cdesc-ACL.yaml 0000644 00000001137 15217654523 0011765 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: VERSION value: "[\"2.0.0\"]" - !ruby/object:RI::Constant comment: name: DENY_ALLOW value: "0" - !ruby/object:RI::Constant comment: name: ALLOW_DENY value: "1" full_name: ACL includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: allow_addr? - !ruby/object:RI::MethodSummary name: allow_socket? - !ruby/object:RI::MethodSummary name: install_list name: ACL superclass: Object ri/1.8/system/ACL/ACLEntry/new-c.yaml 0000644 00000000252 15217654523 0012736 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: ACL::ACLEntry::new is_singleton: true name: new params: (str) visibility: public ri/1.8/system/ACL/ACLEntry/dot_pat_str-i.yaml 0000644 00000000273 15217654523 0014500 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: ACL::ACLEntry#dot_pat_str is_singleton: false name: dot_pat_str params: (str) visibility: private ri/1.8/system/ACL/ACLEntry/dot_pat-i.yaml 0000644 00000000263 15217654523 0013607 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: ACL::ACLEntry#dot_pat is_singleton: false name: dot_pat params: (str) visibility: private ri/1.8/system/ACL/ACLEntry/cdesc-ACLEntry.yaml 0000644 00000000602 15217654523 0014424 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: ACL::ACLEntry includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: dot_pat - !ruby/object:RI::MethodSummary name: dot_pat_str - !ruby/object:RI::MethodSummary name: match name: ACLEntry superclass: Object ri/1.8/system/ACL/ACLEntry/match-i.yaml 0000644 00000000257 15217654523 0013254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: ACL::ACLEntry#match is_singleton: false name: match params: (addr) visibility: public ri/1.8/system/ACL/allow_addr%3f-i.yaml 0000644 00000000261 15217654523 0013140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: ACL#allow_addr? is_singleton: false name: allow_addr? params: (addr) visibility: public ri/1.8/system/ACL/install_list-i.yaml 0000644 00000000263 15217654523 0013235 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: ACL#install_list is_singleton: false name: install_list params: (list) visibility: public ri/1.8/system/ACL/allow_socket%3f-i.yaml 0000644 00000000264 15217654523 0013521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: ACL#allow_socket? is_singleton: false name: allow_socket? params: (soc) visibility: public ri/1.8/system/SyntaxError/cdesc-SyntaxError.yaml 0000644 00000001176 15217654523 0015572 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: SyntaxError includes: [] instance_methods: [] name: SyntaxError superclass: ScriptError ri/1.8/system/RI/IncludedModule/cdesc-IncludedModule.yaml 0000644 00000000321 15217654523 0017065 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RI::IncludedModule includes: [] instance_methods: [] name: IncludedModule superclass: NamedThing ri/1.8/system/RI/ModuleDescription/superclass_string-i.yaml 0000644 00000000500 15217654523 0017644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: the 'ClassDescription' subclass overrides this to format up the name of a parent full_name: RI::ModuleDescription#superclass_string is_singleton: false name: superclass_string params: () visibility: public ri/1.8/system/RI/ModuleDescription/display_name-i.yaml 0000644 00000000301 15217654523 0016536 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::ModuleDescription#display_name is_singleton: false name: display_name params: () visibility: public ri/1.8/system/RI/ModuleDescription/cdesc-ModuleDescription.yaml 0000644 00000001414 15217654523 0020361 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: attributes rw: RW - !ruby/object:RI::Attribute comment: name: class_methods rw: RW - !ruby/object:RI::Attribute comment: name: constants rw: RW - !ruby/object:RI::Attribute comment: name: includes rw: RW - !ruby/object:RI::Attribute comment: name: instance_methods rw: RW class_methods: [] comment: constants: [] full_name: RI::ModuleDescription includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: display_name - !ruby/object:RI::MethodSummary name: merge - !ruby/object:RI::MethodSummary name: merge_in - !ruby/object:RI::MethodSummary name: superclass_string name: ModuleDescription superclass: Description ri/1.8/system/RI/ModuleDescription/merge_in-i.yaml 0000644 00000000422 15217654523 0015662 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: merge in another class desscription into this one full_name: RI::ModuleDescription#merge_in is_singleton: false name: merge_in params: (old) visibility: public ri/1.8/system/RI/ModuleDescription/merge-i.yaml 0000644 00000000276 15217654523 0015203 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::ModuleDescription#merge is_singleton: false name: merge params: (into, from) visibility: private ri/1.8/system/RI/HtmlFormatter/bold_print-i.yaml 0000644 00000000274 15217654523 0015375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::HtmlFormatter#bold_print is_singleton: false name: bold_print params: (txt) visibility: public ri/1.8/system/RI/HtmlFormatter/new-c.yaml 0000644 00000000260 15217654523 0014017 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::HtmlFormatter::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RI/HtmlFormatter/cdesc-HtmlFormatter.yaml 0000644 00000002061 15217654523 0016656 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: This formatter uses HTML. constants: - !ruby/object:RI::Constant comment: name: ATTR_MAP value: "{ BOLD => \"b>\", ITALIC => \"i>\", CODE => \"tt>\"" full_name: RI::HtmlFormatter includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: blankline - !ruby/object:RI::MethodSummary name: bold_print - !ruby/object:RI::MethodSummary name: break_to_newline - !ruby/object:RI::MethodSummary name: display_heading - !ruby/object:RI::MethodSummary name: display_list - !ruby/object:RI::MethodSummary name: display_verbatim_flow_item - !ruby/object:RI::MethodSummary name: draw_line - !ruby/object:RI::MethodSummary name: escape - !ruby/object:RI::MethodSummary name: tag - !ruby/object:RI::MethodSummary name: update_attributes - !ruby/object:RI::MethodSummary name: write_attribute_text name: HtmlFormatter superclass: AttributeFormatter ri/1.8/system/RI/HtmlFormatter/display_verbatim_flow_item-i.yaml 0000644 00000000355 15217654523 0020644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::HtmlFormatter#display_verbatim_flow_item is_singleton: false name: display_verbatim_flow_item params: (item, prefix=@indent) visibility: public ri/1.8/system/RI/HtmlFormatter/update_attributes-i.yaml 0000644 00000000327 15217654523 0016770 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::HtmlFormatter#update_attributes is_singleton: false name: update_attributes params: (current, wanted) visibility: private ri/1.8/system/RI/HtmlFormatter/write_attribute_text-i.yaml 0000644 00000000331 15217654523 0017514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::HtmlFormatter#write_attribute_text is_singleton: false name: write_attribute_text params: (prefix, line) visibility: public ri/1.8/system/RI/HtmlFormatter/display_heading-i.yaml 0000644 00000000326 15217654523 0016363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::HtmlFormatter#display_heading is_singleton: false name: display_heading params: (text, level, indent) visibility: public ri/1.8/system/RI/HtmlFormatter/display_list-i.yaml 0000644 00000000304 15217654523 0015733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RI::HtmlFormatter#display_list is_singleton: false name: display_list params: (list) visibility: public ri/1.8/system/RI/HtmlFormatter/escape-i.yaml 0000644 00000000265 15217654523 0014501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::HtmlFormatter#escape is_singleton: false name: escape params: (str) visibility: private ri/1.8/system/RI/HtmlFormatter/blankline-i.yaml 0000644 00000000267 15217654523 0015202 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::HtmlFormatter#blankline is_singleton: false name: blankline params: () visibility: public ri/1.8/system/RI/HtmlFormatter/tag-i.yaml 0000644 00000000273 15217654523 0014013 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: full_name: RI::HtmlFormatter#tag is_singleton: false name: tag params: (code) {|| ...} visibility: private ri/1.8/system/RI/HtmlFormatter/draw_line-i.yaml 0000644 00000000300 15217654523 0015173 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::HtmlFormatter#draw_line is_singleton: false name: draw_line params: (label=nil) visibility: public ri/1.8/system/RI/HtmlFormatter/break_to_newline-i.yaml 0000644 00000000305 15217654523 0016543 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::HtmlFormatter#break_to_newline is_singleton: false name: break_to_newline params: () visibility: public ri/1.8/system/RI/Constant/new-c.yaml 0000644 00000000272 15217654523 0013023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::Constant::new is_singleton: true name: new params: (name, value, comment) visibility: public ri/1.8/system/RI/Constant/cdesc-Constant.yaml 0000644 00000000557 15217654523 0014670 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: comment rw: R - !ruby/object:RI::Attribute comment: name: value rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RI::Constant includes: [] instance_methods: [] name: Constant superclass: NamedThing ri/1.8/system/RI/Options/new-c.yaml 0000644 00000000245 15217654523 0012665 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::Options::new is_singleton: true name: new params: () visibility: public ri/1.8/system/RI/Options/cdesc-Options.yaml 0000644 00000002656 15217654523 0014376 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: the directory we search for original documentation name: doc_dir rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: the formatting we apply to the output name: formatter rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: should we just display a class list and exit name: list_classes rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: should we display a list of all names name: list_names rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: No not use a pager. Writable, because ri sets it if it can't find a pager name: use_stdout rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The width of the output line name: width rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RI::Options includes: - !ruby/object:RI::IncludedModule name: Singleton instance_methods: - !ruby/object:RI::MethodSummary name: displayer - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: path - !ruby/object:RI::MethodSummary name: raw_path - !ruby/object:RI::MethodSummary name: show_version name: Options superclass: Object ri/1.8/system/RI/Options/path-i.yaml 0000644 00000000372 15217654523 0013037 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the selected documentation directories. full_name: RI::Options#path is_singleton: false name: path params: () visibility: public ri/1.8/system/RI/Options/show_version-i.yaml 0000644 00000000365 15217654523 0014632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Show the version and exit full_name: RI::Options#show_version is_singleton: false name: show_version params: () visibility: public ri/1.8/system/RI/Options/parse-i.yaml 0000644 00000000355 15217654523 0013216 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parse command line options. full_name: RI::Options#parse is_singleton: false name: parse params: (args) visibility: public ri/1.8/system/RI/Options/displayer-i.yaml 0000644 00000000621 15217654523 0014074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return an instance of the displayer (the thing that actually writes the information). This allows us to load in new displayer classes at runtime (for example to help with IDE integration) full_name: RI::Options#displayer is_singleton: false name: displayer params: () visibility: public ri/1.8/system/RI/Options/raw_path-i.yaml 0000644 00000000257 15217654523 0013712 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::Options#raw_path is_singleton: false name: raw_path params: () visibility: public ri/1.8/system/RI/Options/OptionList/cdesc-OptionList.yaml 0000644 00000004157 15217654523 0017151 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: error - !ruby/object:RI::MethodSummary name: options - !ruby/object:RI::MethodSummary name: strip_output - !ruby/object:RI::MethodSummary name: usage comment: constants: - !ruby/object:RI::Constant comment: name: OPTION_LIST value: "[ [ \"--help\", \"-h\", nil, \"you're looking at it\" ], [ \"--classes\", \"-c\", nil, \"Display the names of classes and modules we\\n\" + \"know about\"], [ \"--doc-dir\", \"-d\", \"\", \"A directory to search for documentation. If not\\n\" + \"specified, we search the standard rdoc/ri directories.\\n\" + \"May be repeated.\"], [ \"--system\", nil, nil, \"Include documentation from Ruby's standard library:\\n \" + RI::Paths::SYSDIR ], [ \"--site\", nil, nil, \"Include documentation from libraries installed in site_lib:\\n \" + RI::Paths::SITEDIR ], [ \"--home\", nil, nil, \"Include documentation stored in ~/.rdoc:\\n \" + (RI::Paths::HOMEDIR || \"No ~/.rdoc found\") ], [ \"--gems\", nil, nil, \"Include documentation from RubyGems:\\n\" + (RI::Paths::GEMDIRS ? Gem.path.map { |dir| \" #{dir}/doc/*/ri\" }.join(\"\\n\") : \"No Rubygems ri found.\") ], [ \"--format\", \"-f\", \"\", \"Format to use when displaying output:\\n\" + \" \" + RI::TextFormatter.list + \"\\n\" + \"Use 'bs' (backspace) with most pager programs.\\n\" + \"To use ANSI, either also use the -T option, or\\n\" + \"tell your pager to allow control characters\\n\" + \"(for example using the -R option to less)\"], [ \"--list-names\", \"-l\", nil, \"List all the names known to RDoc, one per line\"" full_name: RI::Options::OptionList includes: [] instance_methods: [] name: OptionList superclass: ri/1.8/system/RI/Options/OptionList/usage-c.yaml 0000644 00000000375 15217654523 0015310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Show usage and exit full_name: RI::Options::OptionList::usage is_singleton: true name: usage params: (short_form=false) visibility: public ri/1.8/system/RI/Options/OptionList/error-c.yaml 0000644 00000000363 15217654523 0015332 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Show an error and exit full_name: RI::Options::OptionList::error is_singleton: true name: error params: (msg) visibility: public ri/1.8/system/RI/Options/OptionList/options-c.yaml 0000644 00000000271 15217654523 0015672 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::Options::OptionList::options is_singleton: true name: options params: () visibility: public ri/1.8/system/RI/Options/OptionList/strip_output-c.yaml 0000644 00000000307 15217654523 0016760 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::Options::OptionList::strip_output is_singleton: true name: strip_output params: (text) visibility: public ri/1.8/system/RI/ClassDescription/cdesc-ClassDescription.yaml 0000644 00000000617 15217654523 0020025 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: superclass rw: RW class_methods: [] comment: constants: [] full_name: RI::ClassDescription includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: display_name - !ruby/object:RI::MethodSummary name: superclass_string name: ClassDescription superclass: ModuleDescription ri/1.8/system/RI/ClassDescription/superclass_string-i.yaml 0000644 00000000312 15217654523 0017465 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::ClassDescription#superclass_string is_singleton: false name: superclass_string params: () visibility: public ri/1.8/system/RI/ClassDescription/display_name-i.yaml 0000644 00000000300 15217654523 0016355 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::ClassDescription#display_name is_singleton: false name: display_name params: () visibility: public ri/1.8/system/RI/Attribute/cdesc-Attribute.yaml 0000644 00000000556 15217654523 0015213 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: comment rw: R - !ruby/object:RI::Attribute comment: name: rw rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RI::Attribute includes: [] instance_methods: [] name: Attribute superclass: NamedThing ri/1.8/system/RI/Attribute/new-c.yaml 0000644 00000000270 15217654523 0013173 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::Attribute::new is_singleton: true name: new params: (name, rw, comment) visibility: public ri/1.8/system/RI/RiWriter/class_desc_path-c.yaml 0000644 00000000315 15217654523 0015325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::RiWriter::class_desc_path is_singleton: true name: class_desc_path params: (dir, class_desc) visibility: public ri/1.8/system/RI/RiWriter/new-c.yaml 0000644 00000000256 15217654523 0013003 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::RiWriter::new is_singleton: true name: new params: (base_dir) visibility: public ri/1.8/system/RI/RiWriter/add_method-i.yaml 0000644 00000000313 15217654523 0014302 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::RiWriter#add_method is_singleton: false name: add_method params: (class_desc, method_desc) visibility: public ri/1.8/system/RI/RiWriter/remove_class-i.yaml 0000644 00000000302 15217654523 0014672 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::RiWriter#remove_class is_singleton: false name: remove_class params: (class_desc) visibility: public ri/1.8/system/RI/RiWriter/cdesc-RiWriter.yaml 0000644 00000001167 15217654523 0014622 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: class_desc_path - !ruby/object:RI::MethodSummary name: external_to_internal - !ruby/object:RI::MethodSummary name: internal_to_external - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RI::RiWriter includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_class - !ruby/object:RI::MethodSummary name: add_method - !ruby/object:RI::MethodSummary name: path_to_dir - !ruby/object:RI::MethodSummary name: remove_class name: RiWriter superclass: Object ri/1.8/system/RI/RiWriter/path_to_dir-i.yaml 0000644 00000000301 15217654523 0014503 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::RiWriter#path_to_dir is_singleton: false name: path_to_dir params: (class_name) visibility: private ri/1.8/system/RI/RiWriter/internal_to_external-c.yaml 0000644 00000000546 15217654523 0016434 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a name from internal form (containing punctuation) to an external form (where punctuation is replaced by %xx) full_name: RI::RiWriter::internal_to_external is_singleton: true name: internal_to_external params: (name) visibility: public ri/1.8/system/RI/RiWriter/external_to_internal-c.yaml 0000644 00000000412 15217654523 0016424 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: And the reverse operation full_name: RI::RiWriter::external_to_internal is_singleton: true name: external_to_internal params: (name) visibility: public ri/1.8/system/RI/RiWriter/add_class-i.yaml 0000644 00000000274 15217654523 0014135 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::RiWriter#add_class is_singleton: false name: add_class params: (class_desc) visibility: public ri/1.8/system/RI/cdesc-RI.yaml 0000644 00000000631 15217654523 0011611 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: We handle the parsing of options, and subsequently as a singleton object to be queried for option values constants: - !ruby/object:RI::Constant comment: name: VERSION_STRING value: "\"ri v1.0.1 - 20041108\"" full_name: RI includes: [] instance_methods: [] name: RI superclass: ri/1.8/system/RI/OverstrikeFormatter/bold_print-i.yaml 0000644 00000000375 15217654523 0016630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: draw a string in bold full_name: RI::OverstrikeFormatter#bold_print is_singleton: false name: bold_print params: (text) visibility: public ri/1.8/system/RI/OverstrikeFormatter/cdesc-OverstrikeFormatter.yaml 0000644 00000001042 15217654523 0021336 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: This formatter generates overstrike-style formatting, which works with pagers such as man and less. constants: - !ruby/object:RI::Constant comment: name: BS value: "\"\\C-h\"" full_name: RI::OverstrikeFormatter includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: bold_print - !ruby/object:RI::MethodSummary name: write_attribute_text name: OverstrikeFormatter superclass: AttributeFormatter ri/1.8/system/RI/OverstrikeFormatter/write_attribute_text-i.yaml 0000644 00000000337 15217654523 0020753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::OverstrikeFormatter#write_attribute_text is_singleton: false name: write_attribute_text params: (prefix, line) visibility: public ri/1.8/system/RI/SimpleFormatter/cdesc-SimpleFormatter.yaml 0000644 00000001010 15217654523 0017521 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: This formatter reduces extra lines for a simpler output. It improves way output looks for tools like IRC bots. constants: [] full_name: RI::SimpleFormatter includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: blankline - !ruby/object:RI::MethodSummary name: display_heading - !ruby/object:RI::MethodSummary name: draw_line name: SimpleFormatter superclass: TextFormatter ri/1.8/system/RI/SimpleFormatter/display_heading-i.yaml 0000644 00000000460 15217654523 0016707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Place heading level indicators inline with heading. full_name: RI::SimpleFormatter#display_heading is_singleton: false name: display_heading params: (text, level, indent) visibility: public ri/1.8/system/RI/SimpleFormatter/blankline-i.yaml 0000644 00000000362 15217654523 0015523 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: No extra blank lines full_name: RI::SimpleFormatter#blankline is_singleton: false name: blankline params: () visibility: public ri/1.8/system/RI/SimpleFormatter/draw_line-i.yaml 0000644 00000000404 15217654523 0015525 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Display labels only, no lines full_name: RI::SimpleFormatter#draw_line is_singleton: false name: draw_line params: (label=nil) visibility: public ri/1.8/system/RI/TextFormatter/bold_print-i.yaml 0000644 00000000277 15217654523 0015420 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RI::TextFormatter#bold_print is_singleton: false name: bold_print params: (txt) visibility: public ri/1.8/system/RI/TextFormatter/new-c.yaml 0000644 00000000272 15217654523 0014042 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::TextFormatter::new is_singleton: true name: new params: (options, indent) visibility: public ri/1.8/system/RI/TextFormatter/display_verbatim_flow_item-i.yaml 0000644 00000000360 15217654523 0020660 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RI::TextFormatter#display_verbatim_flow_item is_singleton: false name: display_verbatim_flow_item params: (item, prefix=@indent) visibility: public ri/1.8/system/RI/TextFormatter/conv_markup-i.yaml 0000644 00000000403 15217654523 0015577 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: convert markup into display form full_name: RI::TextFormatter#conv_markup is_singleton: false name: conv_markup params: (txt) visibility: public ri/1.8/system/RI/TextFormatter/strip_attributes-i.yaml 0000644 00000000310 15217654523 0016657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::TextFormatter#strip_attributes is_singleton: false name: strip_attributes params: (txt) visibility: public ri/1.8/system/RI/TextFormatter/display_flow-i.yaml 0000644 00000000301 15217654523 0015744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::TextFormatter#display_flow is_singleton: false name: display_flow params: (flow) visibility: public ri/1.8/system/RI/TextFormatter/list-c.yaml 0000644 00000000255 15217654523 0014225 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::TextFormatter::list is_singleton: true name: list params: () visibility: public ri/1.8/system/RI/TextFormatter/wrap-i.yaml 0000644 00000000323 15217654523 0014225 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RI::TextFormatter#wrap is_singleton: false name: wrap params: (txt, prefix=@indent, linelen=@width) visibility: public ri/1.8/system/RI/TextFormatter/for-c.yaml 0000644 00000000257 15217654523 0014042 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::TextFormatter::for is_singleton: true name: for params: (name) visibility: public ri/1.8/system/RI/TextFormatter/cdesc-TextFormatter.yaml 0000644 00000002761 15217654523 0016725 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: indent rw: R class_methods: - !ruby/object:RI::MethodSummary name: for - !ruby/object:RI::MethodSummary name: list - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Finally, fill in the list of known formatters constants: - !ruby/object:RI::Constant comment: name: FORMATTERS value: "{ \"ansi\" => AnsiFormatter, \"bs\" => OverstrikeFormatter, \"html\" => HtmlFormatter, \"plain\" => TextFormatter, \"simple\" => SimpleFormatter, }" full_name: RI::TextFormatter includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: blankline - !ruby/object:RI::MethodSummary name: bold_print - !ruby/object:RI::MethodSummary name: break_to_newline - !ruby/object:RI::MethodSummary name: conv_html - !ruby/object:RI::MethodSummary name: conv_markup - !ruby/object:RI::MethodSummary name: display_flow - !ruby/object:RI::MethodSummary name: display_flow_item - !ruby/object:RI::MethodSummary name: display_heading - !ruby/object:RI::MethodSummary name: display_list - !ruby/object:RI::MethodSummary name: display_verbatim_flow_item - !ruby/object:RI::MethodSummary name: draw_line - !ruby/object:RI::MethodSummary name: raw_print_line - !ruby/object:RI::MethodSummary name: strip_attributes - !ruby/object:RI::MethodSummary name: wrap name: TextFormatter superclass: Object ri/1.8/system/RI/TextFormatter/raw_print_line-i.yaml 0000644 00000000307 15217654523 0016272 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RI::TextFormatter#raw_print_line is_singleton: false name: raw_print_line params: (txt) visibility: public ri/1.8/system/RI/TextFormatter/display_heading-i.yaml 0000644 00000000331 15217654523 0016377 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RI::TextFormatter#display_heading is_singleton: false name: display_heading params: (text, level, indent) visibility: public ri/1.8/system/RI/TextFormatter/conv_html-i.yaml 0000644 00000000402 15217654523 0015243 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: convert HTML entities back to ASCII full_name: RI::TextFormatter#conv_html is_singleton: false name: conv_html params: (txt) visibility: public ri/1.8/system/RI/TextFormatter/display_list-i.yaml 0000644 00000000304 15217654523 0015753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RI::TextFormatter#display_list is_singleton: false name: display_list params: (list) visibility: public ri/1.8/system/RI/TextFormatter/display_flow_item-i.yaml 0000644 00000000336 15217654523 0016772 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RI::TextFormatter#display_flow_item is_singleton: false name: display_flow_item params: (item, prefix=@indent) visibility: public ri/1.8/system/RI/TextFormatter/blankline-i.yaml 0000644 00000000272 15217654523 0015216 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RI::TextFormatter#blankline is_singleton: false name: blankline params: () visibility: public ri/1.8/system/RI/TextFormatter/draw_line-i.yaml 0000644 00000000303 15217654523 0015216 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RI::TextFormatter#draw_line is_singleton: false name: draw_line params: (label=nil) visibility: public ri/1.8/system/RI/TextFormatter/break_to_newline-i.yaml 0000644 00000000564 15217654523 0016572 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: called when we want to ensure a nbew 'wrap' starts on a newline Only needed for HtmlFormatter, because the rest do their own line breaking full_name: RI::TextFormatter#break_to_newline is_singleton: false name: break_to_newline params: () visibility: public ri/1.8/system/RI/AnsiFormatter/bold_print-i.yaml 0000644 00000000274 15217654523 0015363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::AnsiFormatter#bold_print is_singleton: false name: bold_print params: (txt) visibility: public ri/1.8/system/RI/AnsiFormatter/new-c.yaml 0000644 00000000260 15217654523 0014005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::AnsiFormatter::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RI/AnsiFormatter/cdesc-AnsiFormatter.yaml 0000644 00000001704 15217654523 0016635 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: This formatter uses ANSI escape sequences to colorize stuff works with pages such as man and less. constants: - !ruby/object:RI::Constant comment: name: HEADINGS value: "{ 1 => [ \"\\033[1;32m\", \"\\033[m\" ] , 2 => [\"\\033[4;32m\", \"\\033[m\" ], 3 => [\"\\033[32m\", \"\\033[m\" ]" - !ruby/object:RI::Constant comment: name: ATTR_MAP value: "{ BOLD => \"1\", ITALIC => \"33\", CODE => \"36\"" full_name: RI::AnsiFormatter includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: bold_print - !ruby/object:RI::MethodSummary name: display_heading - !ruby/object:RI::MethodSummary name: update_attributes - !ruby/object:RI::MethodSummary name: write_attribute_text name: AnsiFormatter superclass: AttributeFormatter ri/1.8/system/RI/AnsiFormatter/update_attributes-i.yaml 0000644 00000000314 15217654523 0016752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::AnsiFormatter#update_attributes is_singleton: false name: update_attributes params: (attr) visibility: private ri/1.8/system/RI/AnsiFormatter/write_attribute_text-i.yaml 0000644 00000000331 15217654523 0017502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::AnsiFormatter#write_attribute_text is_singleton: false name: write_attribute_text params: (prefix, line) visibility: public ri/1.8/system/RI/AnsiFormatter/display_heading-i.yaml 0000644 00000000326 15217654523 0016351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::AnsiFormatter#display_heading is_singleton: false name: display_heading params: (text, level, indent) visibility: public ri/1.8/system/RI/AttributeFormatter/bold_print-i.yaml 0000644 00000000372 15217654523 0016433 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: again, overridden full_name: RI::AttributeFormatter#bold_print is_singleton: false name: bold_print params: (txt) visibility: protected ri/1.8/system/RI/AttributeFormatter/add_attributes_to-i.yaml 0000644 00000000320 15217654523 0017770 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::AttributeFormatter#add_attributes_to is_singleton: false name: add_attributes_to params: (txt) visibility: private ri/1.8/system/RI/AttributeFormatter/AttrChar/new-c.yaml 0000644 00000000304 15217654523 0016565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::AttributeFormatter::AttrChar::new is_singleton: true name: new params: (char, attr) visibility: public ri/1.8/system/RI/AttributeFormatter/AttrChar/cdesc-AttrChar.yaml 0000644 00000000657 15217654523 0020356 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: attr rw: R - !ruby/object:RI::Attribute comment: name: char rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "TODO: struct?" constants: [] full_name: RI::AttributeFormatter::AttrChar includes: [] instance_methods: [] name: AttrChar superclass: Object ri/1.8/system/RI/AttributeFormatter/AttributeString/new-c.yaml 0000644 00000000301 15217654523 0020204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::AttributeFormatter::AttributeString::new is_singleton: true name: new params: () visibility: public ri/1.8/system/RI/AttributeFormatter/AttributeString/%3c%3c-i.yaml 0000644 00000000305 15217654523 0020272 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::AttributeFormatter::AttributeString#<< is_singleton: false name: "<<" params: (char) visibility: public ri/1.8/system/RI/AttributeFormatter/AttributeString/next_word-i.yaml 0000644 00000000435 15217654523 0021442 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: accept non space, then all following spaces full_name: RI::AttributeFormatter::AttributeString#next_word is_singleton: false name: next_word params: () visibility: public ri/1.8/system/RI/AttributeFormatter/AttributeString/cdesc-AttributeString.yaml 0000644 00000000732 15217654523 0023414 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: txt rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RI::AttributeFormatter::AttributeString includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: next_word name: AttributeString superclass: Object ri/1.8/system/RI/AttributeFormatter/AttributeString/empty%3f-i.yaml 0000644 00000000307 15217654523 0021063 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::AttributeFormatter::AttributeString#empty? is_singleton: false name: empty? params: () visibility: public ri/1.8/system/RI/AttributeFormatter/cdesc-AttributeFormatter.yaml 0000644 00000002060 15217654523 0020753 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: "Handle text with attributes. We're a base class: there are different presentation classes (one, for example, uses overstrikes to handle bold and underlining, while another using ANSI escape sequences" constants: - !ruby/object:RI::Constant comment: name: BOLD value: "1" - !ruby/object:RI::Constant comment: name: ITALIC value: "2" - !ruby/object:RI::Constant comment: name: CODE value: "4" - !ruby/object:RI::Constant comment: name: ATTR_MAP value: "{ \"b\" => BOLD, \"code\" => CODE, \"em\" => ITALIC, \"i\" => ITALIC, \"tt\" => CODE" full_name: RI::AttributeFormatter includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_attributes_to - !ruby/object:RI::MethodSummary name: bold_print - !ruby/object:RI::MethodSummary name: wrap - !ruby/object:RI::MethodSummary name: write_attribute_text name: AttributeFormatter superclass: TextFormatter ri/1.8/system/RI/AttributeFormatter/wrap-i.yaml 0000644 00000000614 15217654523 0015247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: overrides base class. Looks for ... etc sequences and generates an array of AttrChars. This array is then used as the basis for the split full_name: RI::AttributeFormatter#wrap is_singleton: false name: wrap params: (txt, prefix=@indent, linelen=@width) visibility: public ri/1.8/system/RI/AttributeFormatter/write_attribute_text-i.yaml 0000644 00000000447 15217654523 0020563 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: overridden in specific formatters full_name: RI::AttributeFormatter#write_attribute_text is_singleton: false name: write_attribute_text params: (prefix, line) visibility: protected ri/1.8/system/RI/ClassEntry/new-c.yaml 0000644 00000000301 15217654523 0013312 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::ClassEntry::new is_singleton: true name: new params: (path_name, name, in_class) visibility: public ri/1.8/system/RI/ClassEntry/cdesc-ClassEntry.yaml 0000644 00000001717 15217654523 0015463 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: path_names rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RI::ClassEntry includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_path - !ruby/object:RI::MethodSummary name: all_method_names - !ruby/object:RI::MethodSummary name: classes_and_modules - !ruby/object:RI::MethodSummary name: contained_class_named - !ruby/object:RI::MethodSummary name: contained_modules_matching - !ruby/object:RI::MethodSummary name: full_name - !ruby/object:RI::MethodSummary name: load_from - !ruby/object:RI::MethodSummary name: local_methods_matching - !ruby/object:RI::MethodSummary name: methods_matching - !ruby/object:RI::MethodSummary name: recursively_find_methods_matching name: ClassEntry superclass: Object ri/1.8/system/RI/ClassEntry/local_methods_matching-i.yaml 0000644 00000000721 15217654523 0017224 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a list of all our methods matching a given string. Is is_class_methods if 'nil', we don't care if the method is a class method or not, otherwise we only return those methods that match full_name: RI::ClassEntry#local_methods_matching is_singleton: false name: local_methods_matching params: (name, is_class_method) visibility: private ri/1.8/system/RI/ClassEntry/classes_and_modules-i.yaml 0000644 00000000310 15217654523 0016536 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::ClassEntry#classes_and_modules is_singleton: false name: classes_and_modules params: () visibility: public ri/1.8/system/RI/ClassEntry/add_path-i.yaml 0000644 00000000444 15217654523 0014303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: We found this class in more tha one place, so add in the name from there. full_name: RI::ClassEntry#add_path is_singleton: false name: add_path params: (path) visibility: public ri/1.8/system/RI/ClassEntry/contained_class_named-i.yaml 0000644 00000000437 15217654523 0017036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return an exact match to a particular name full_name: RI::ClassEntry#contained_class_named is_singleton: false name: contained_class_named params: (name) visibility: public ri/1.8/system/RI/ClassEntry/all_method_names-i.yaml 0000644 00000000414 15217654523 0016027 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a list of all out method names full_name: RI::ClassEntry#all_method_names is_singleton: false name: all_method_names params: () visibility: public ri/1.8/system/RI/ClassEntry/contained_modules_matching-i.yaml 0000644 00000000520 15217654523 0020100 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a list of any classes or modules that we contain that match a given string full_name: RI::ClassEntry#contained_modules_matching is_singleton: false name: contained_modules_matching params: (name) visibility: public ri/1.8/system/RI/ClassEntry/full_name-i.yaml 0000644 00000000355 15217654523 0014502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return our full name full_name: RI::ClassEntry#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RI/ClassEntry/load_from-i.yaml 0000644 00000000665 15217654523 0014506 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: read in our methods and any classes and modules in our namespace. Methods are stored in files called name-c|i.yaml, where the 'name' portion is the external form of the method name and the c|i is a class|instance flag full_name: RI::ClassEntry#load_from is_singleton: false name: load_from params: (dir) visibility: public ri/1.8/system/RI/ClassEntry/recursively_find_methods_matching-i.yaml 0000644 00000000545 15217654524 0021513 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Find methods matching 'name' in ourselves and in any classes we contain full_name: RI::ClassEntry#recursively_find_methods_matching is_singleton: false name: recursively_find_methods_matching params: (name, is_class_method) visibility: public ri/1.8/system/RI/ClassEntry/methods_matching-i.yaml 0000644 00000000610 15217654524 0016050 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: return the list of local methods matching name We're split into two because we need distinct behavior when called from the toplevel full_name: RI::ClassEntry#methods_matching is_singleton: false name: methods_matching params: (name, is_class_method) visibility: public ri/1.8/system/RI/TopLevelEntry/cdesc-TopLevelEntry.yaml 0000644 00000001010 15217654524 0016620 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: A TopLevelEntry is like a class entry, but when asked to search for methods searches all classes, not just itself constants: [] full_name: RI::TopLevelEntry includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: full_name - !ruby/object:RI::MethodSummary name: methods_matching - !ruby/object:RI::MethodSummary name: module_named name: TopLevelEntry superclass: ClassEntry ri/1.8/system/RI/TopLevelEntry/full_name-i.yaml 0000644 00000000267 15217654524 0015172 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::TopLevelEntry#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RI/TopLevelEntry/module_named-i.yaml 0000644 00000000301 15217654524 0015646 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::TopLevelEntry#module_named is_singleton: false name: module_named params: (name) visibility: public ri/1.8/system/RI/TopLevelEntry/methods_matching-i.yaml 0000644 00000000332 15217654524 0016536 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::TopLevelEntry#methods_matching is_singleton: false name: methods_matching params: (name, is_class_method) visibility: public ri/1.8/system/RI/MethodDescription/cdesc-MethodDescription.yaml 0000644 00000001303 15217654524 0020345 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: aliases rw: RW - !ruby/object:RI::Attribute comment: name: block_params rw: RW - !ruby/object:RI::Attribute comment: name: is_alias_for rw: RW - !ruby/object:RI::Attribute comment: name: is_class_method rw: RW - !ruby/object:RI::Attribute comment: name: is_singleton rw: RW - !ruby/object:RI::Attribute comment: name: params rw: RW - !ruby/object:RI::Attribute comment: name: visibility rw: RW class_methods: [] comment: constants: [] full_name: RI::MethodDescription includes: [] instance_methods: [] name: MethodDescription superclass: Description ri/1.8/system/RI/Description/%3c%3d%3e-i.yaml 0000644 00000000256 15217654524 0014100 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::Description#<=> is_singleton: false name: <=> params: (other) visibility: public ri/1.8/system/RI/Description/deserialize-c.yaml 0000644 00000000275 15217654524 0015230 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::Description::deserialize is_singleton: true name: deserialize params: (from) visibility: public ri/1.8/system/RI/Description/cdesc-Description.yaml 0000644 00000001036 15217654524 0016046 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: comment rw: RW - !ruby/object:RI::Attribute comment: name: full_name rw: RW - !ruby/object:RI::Attribute comment: name: name rw: RW class_methods: - !ruby/object:RI::MethodSummary name: deserialize comment: constants: [] full_name: RI::Description includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: serialize name: Description superclass: Object ri/1.8/system/RI/Description/serialize-i.yaml 0000644 00000000265 15217654524 0014724 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::Description#serialize is_singleton: false name: serialize params: () visibility: public ri/1.8/system/RI/MethodEntry/new-c.yaml 0000644 00000000323 15217654524 0013472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::MethodEntry::new is_singleton: true name: new params: (path_name, name, is_class_method, in_class) visibility: public ri/1.8/system/RI/MethodEntry/cdesc-MethodEntry.yaml 0000644 00000000643 15217654524 0016007 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: path_name rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RI::MethodEntry includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: full_name name: MethodEntry superclass: Object ri/1.8/system/RI/MethodEntry/full_name-i.yaml 0000644 00000000265 15217654524 0014656 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::MethodEntry#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RI/AliasName/cdesc-AliasName.yaml 0000644 00000000424 15217654524 0014764 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Alias = Struct.new(:old_name, :new_name) constants: [] full_name: RI::AliasName includes: [] instance_methods: [] name: AliasName superclass: NamedThing ri/1.8/system/RI/RiCache/new-c.yaml 0000644 00000000251 15217654524 0012526 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::RiCache::new is_singleton: true name: new params: (dirs) visibility: public ri/1.8/system/RI/RiCache/cdesc-RiCache.yaml 0000644 00000000633 15217654524 0014076 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: toplevel rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: We represent everything know about all 'ri' files accessible to this program constants: [] full_name: RI::RiCache includes: [] instance_methods: [] name: RiCache superclass: Object ri/1.8/system/RI/RiReader/new-c.yaml 0000644 00000000256 15217654524 0012732 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::RiReader::new is_singleton: true name: new params: (ri_cache) visibility: public ri/1.8/system/RI/RiReader/find_classes_in-i.yaml 0000644 00000000363 15217654524 0015271 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::RULE width: 2 full_name: RI::RiReader#find_classes_in is_singleton: false name: find_classes_in params: (res, klass) visibility: private ri/1.8/system/RI/RiReader/all_names-i.yaml 0000644 00000000411 15217654524 0014073 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: return a list of all classes, modules, and methods full_name: RI::RiReader#all_names is_singleton: false name: all_names params: () visibility: public ri/1.8/system/RI/RiReader/find_methods-i.yaml 0000644 00000000331 15217654524 0014604 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::RiReader#find_methods is_singleton: false name: find_methods params: (name, is_class_method, namespaces) visibility: public ri/1.8/system/RI/RiReader/get_class-i.yaml 0000644 00000000374 15217654524 0014114 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a class description full_name: RI::RiReader#get_class is_singleton: false name: get_class params: (class_entry) visibility: public ri/1.8/system/RI/RiReader/full_class_names-i.yaml 0000644 00000000420 15217654524 0015452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: return the names of all classes and modules full_name: RI::RiReader#full_class_names is_singleton: false name: full_class_names params: () visibility: public ri/1.8/system/RI/RiReader/top_level_namespace-i.yaml 0000644 00000000306 15217654524 0016150 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::RiReader#top_level_namespace is_singleton: false name: top_level_namespace params: () visibility: public ri/1.8/system/RI/RiReader/get_method-i.yaml 0000644 00000000463 15217654524 0014266 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: return the MethodDescription for a given MethodEntry by deserializing the YAML full_name: RI::RiReader#get_method is_singleton: false name: get_method params: (method_entry) visibility: public ri/1.8/system/RI/RiReader/find_class_by_name-i.yaml 0000644 00000000315 15217654524 0015742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::RiReader#find_class_by_name is_singleton: false name: find_class_by_name params: (full_name) visibility: public ri/1.8/system/RI/RiReader/find_names_in-i.yaml 0000644 00000000305 15217654524 0014733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::RiReader#find_names_in is_singleton: false name: find_names_in params: (res, klass) visibility: private ri/1.8/system/RI/RiReader/lookup_namespace_in-i.yaml 0000644 00000000330 15217654524 0016153 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::RiReader#lookup_namespace_in is_singleton: false name: lookup_namespace_in params: (target, namespaces) visibility: public ri/1.8/system/RI/RiReader/cdesc-RiReader.yaml 0000644 00000001443 15217654524 0014474 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RI::RiReader includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: all_names - !ruby/object:RI::MethodSummary name: find_class_by_name - !ruby/object:RI::MethodSummary name: find_classes_in - !ruby/object:RI::MethodSummary name: find_methods - !ruby/object:RI::MethodSummary name: find_names_in - !ruby/object:RI::MethodSummary name: full_class_names - !ruby/object:RI::MethodSummary name: get_class - !ruby/object:RI::MethodSummary name: get_method - !ruby/object:RI::MethodSummary name: lookup_namespace_in - !ruby/object:RI::MethodSummary name: top_level_namespace name: RiReader superclass: Object ri/1.8/system/RI/NamedThing/new-c.yaml 0000644 00000000254 15217654524 0013251 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::NamedThing::new is_singleton: true name: new params: (name) visibility: public ri/1.8/system/RI/NamedThing/cdesc-NamedThing.yaml 0000644 00000000665 15217654524 0015343 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RI::NamedThing includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: hash name: NamedThing superclass: Object ri/1.8/system/RI/NamedThing/hash-i.yaml 0000644 00000000252 15217654524 0013407 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::NamedThing#hash is_singleton: false name: hash params: () visibility: public ri/1.8/system/RI/NamedThing/%3c%3d%3e-i.yaml 0000644 00000000255 15217654524 0013632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::NamedThing#<=> is_singleton: false name: <=> params: (other) visibility: public ri/1.8/system/RI/NamedThing/eql%3f-i.yaml 0000644 00000000257 15217654524 0013550 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::NamedThing#eql? is_singleton: false name: eql? params: (other) visibility: public ri/1.8/system/RI/MethodSummary/new-c.yaml 0000644 00000000262 15217654524 0014030 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RI::MethodSummary::new is_singleton: true name: new params: (name="") visibility: public ri/1.8/system/RI/MethodSummary/cdesc-MethodSummary.yaml 0000644 00000000372 15217654524 0016676 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RI::MethodSummary includes: [] instance_methods: [] name: MethodSummary superclass: NamedThing ri/1.8/system/RI/Paths/cdesc-Paths.yaml 0000644 00000002432 15217654524 0013437 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Encapsulate all the strangeness to do with finding out where to find RDoc files - !ruby/struct:SM::Flow::P body: "We basically deal with three directories:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "1." body: The 'system' documentation directory, which holds the documentation distributed with Ruby, and which is managed by the Ruby install process - !ruby/struct:SM::Flow::LI label: "2." body: The 'site' directory, which contains site-wide documentation added locally. - !ruby/struct:SM::Flow::LI label: "3." body: The 'user' documentation directory, stored under the user's own home directory. type: :NUMBER - !ruby/struct:SM::Flow::P body: "There's contention about all this, but for now:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "system:" body: $datadir/ri/<ver>/system/... - !ruby/struct:SM::Flow::LI label: "site:" body: $datadir/ri/<ver>/site/... - !ruby/struct:SM::Flow::LI label: "user:" body: ~/.rdoc type: :NOTE constants: [] full_name: RI::Paths includes: [] instance_methods: [] name: Paths superclass: ri/1.8/system/Complex/new-c.yaml 0000644 00000000245 15217654524 0012330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Complex::new is_singleton: true name: new params: (a, b) visibility: public ri/1.8/system/Complex/to_s-i.yaml 0000644 00000000375 15217654524 0012515 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Standard string representation of the complex number. full_name: Complex#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/Complex/%2b-i.yaml 0000644 00000000354 15217654524 0012116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Addition with real or complex number. full_name: Complex#+ is_singleton: false name: + params: (other) visibility: public ri/1.8/system/Complex/%25-i.yaml 0000644 00000000376 15217654524 0012045 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Remainder after division by a real or complex number. full_name: Complex#% is_singleton: false name: "%" params: (other) visibility: public ri/1.8/system/Complex/hash-i.yaml 0000644 00000000363 15217654524 0012471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a hash code for the complex number. full_name: Complex#hash is_singleton: false name: hash params: () visibility: public ri/1.8/system/Complex/%3c%3d%3e-i.yaml 0000644 00000000373 15217654524 0012712 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compares the absolute values of the two numbers. full_name: Complex#<=> is_singleton: false name: <=> params: (other) visibility: public ri/1.8/system/Complex/quo-i.yaml 0000644 00000000246 15217654524 0012352 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Complex#quo is_singleton: false name: quo params: (other) visibility: public ri/1.8/system/Complex/polar-c.yaml 0000644 00000000457 15217654524 0012661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a Complex number in terms of r (radius) and theta (angle). full_name: Complex::polar is_singleton: true name: polar params: (r, theta) visibility: public ri/1.8/system/Complex/%2d-i.yaml 0000644 00000000361 15217654524 0012116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Subtraction with real or complex number. full_name: Complex#- is_singleton: false name: "-" params: (other) visibility: public ri/1.8/system/Complex/conjugate-i.yaml 0000644 00000000464 15217654524 0013527 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: conj block_params: comment: - !ruby/struct:SM::Flow::P body: Complex conjugate (z + z.conjugate = 2 * z.real). full_name: Complex#conjugate is_singleton: false name: conjugate params: () visibility: public ri/1.8/system/Complex/abs-i.yaml 0000644 00000000430 15217654524 0012306 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Absolute value (aka modulus): distance from the zero point on the complex plane." full_name: Complex#abs is_singleton: false name: abs params: () visibility: public ri/1.8/system/Complex/numerator-i.yaml 0000644 00000000327 15217654524 0013562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: FIXME full_name: Complex#numerator is_singleton: false name: numerator params: () visibility: public ri/1.8/system/Complex/cdesc-Complex.yaml 0000644 00000003723 15217654524 0014011 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The imaginary part of a complex number. name: image rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The real part of a complex number. name: real rw: R class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new! - !ruby/object:RI::MethodSummary name: polar comment: - !ruby/struct:SM::Flow::P body: The complex number class. See complex.rb for an overview. constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: I is the imaginary number. It exists at point (0,1) on the complex plane. name: I value: Complex(0,1) - !ruby/object:RI::Constant comment: name: Unify value: "true" full_name: Complex includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "%" - !ruby/object:RI::MethodSummary name: "*" - !ruby/object:RI::MethodSummary name: "**" - !ruby/object:RI::MethodSummary name: + - !ruby/object:RI::MethodSummary name: "-" - !ruby/object:RI::MethodSummary name: / - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: abs - !ruby/object:RI::MethodSummary name: abs2 - !ruby/object:RI::MethodSummary name: angle - !ruby/object:RI::MethodSummary name: arg - !ruby/object:RI::MethodSummary name: coerce - !ruby/object:RI::MethodSummary name: conj - !ruby/object:RI::MethodSummary name: conjugate - !ruby/object:RI::MethodSummary name: denominator - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: numerator - !ruby/object:RI::MethodSummary name: polar - !ruby/object:RI::MethodSummary name: quo - !ruby/object:RI::MethodSummary name: to_s name: Complex superclass: Numeric ri/1.8/system/Complex/abs2-i.yaml 0000644 00000000345 15217654524 0012375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Square of the absolute value. full_name: Complex#abs2 is_singleton: false name: abs2 params: () visibility: public ri/1.8/system/Complex/angle-i.yaml 0000644 00000000332 15217654524 0012630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #arg" full_name: Complex#angle is_singleton: false name: angle params: () visibility: public ri/1.8/system/Complex/inspect-i.yaml 0000644 00000000422 15217654524 0013207 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns "Complex(real, image)". full_name: Complex#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/Complex/arg-i.yaml 0000644 00000000440 15217654524 0012313 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: angle block_params: comment: - !ruby/struct:SM::Flow::P body: Argument (angle from (1,0) on the complex plane). full_name: Complex#arg is_singleton: false name: arg params: () visibility: public ri/1.8/system/Complex/%2a-i.yaml 0000644 00000000364 15217654524 0012116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Multiplication with real or complex number. full_name: Complex#* is_singleton: false name: "*" params: (other) visibility: public ri/1.8/system/Complex/conj-i.yaml 0000644 00000000336 15217654524 0012477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #conjugate" full_name: Complex#conj is_singleton: false name: conj params: () visibility: public ri/1.8/system/Complex/%2f-i.yaml 0000644 00000000352 15217654524 0012120 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Division by real or complex number. full_name: Complex#/ is_singleton: false name: / params: (other) visibility: public ri/1.8/system/Complex/%3d%3d-i.yaml 0000644 00000000405 15217654524 0012412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Test for numerical equality (a == a + 0i). full_name: Complex#== is_singleton: false name: == params: (other) visibility: public ri/1.8/system/Complex/denominator-i.yaml 0000644 00000000333 15217654524 0014062 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: FIXME full_name: Complex#denominator is_singleton: false name: denominator params: () visibility: public ri/1.8/system/Complex/new%21-c.yaml 0000644 00000000420 15217654524 0012533 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a Complex number a+bi. full_name: Complex::new! is_singleton: true name: new! params: (a, b=0) visibility: public ri/1.8/system/Complex/polar-i.yaml 0000644 00000000377 15217654524 0012670 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the absolute value and the argument. full_name: Complex#polar is_singleton: false name: polar params: () visibility: public ri/1.8/system/Complex/coerce-i.yaml 0000644 00000000407 15217654524 0013005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Attempts to coerce other to a Complex number. full_name: Complex#coerce is_singleton: false name: coerce params: (other) visibility: public ri/1.8/system/Complex/%2a%2a-i.yaml 0000644 00000000412 15217654524 0012400 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Raise this complex number to the given (real or complex) power. full_name: Complex#** is_singleton: false name: "**" params: (other) visibility: public ri/1.8/system/TokenStream/start_collecting_tokens-i.yaml 0000644 00000000315 15217654524 0017313 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: TokenStream#start_collecting_tokens is_singleton: false name: start_collecting_tokens params: () visibility: public ri/1.8/system/TokenStream/cdesc-TokenStream.yaml 0000644 00000001520 15217654524 0015454 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: A TokenStream is a list of tokens, gathered during the parse of some entity (say a method). Entities populate these streams by being registered with the lexer. Any class can collect tokens by including TokenStream. From the outside, you use such an object by calling the start_collecting_tokens method, followed by calls to add_token and pop_token constants: [] full_name: TokenStream includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_token - !ruby/object:RI::MethodSummary name: add_tokens - !ruby/object:RI::MethodSummary name: pop_token - !ruby/object:RI::MethodSummary name: start_collecting_tokens - !ruby/object:RI::MethodSummary name: token_stream name: TokenStream superclass: ri/1.8/system/TokenStream/pop_token-i.yaml 0000644 00000000261 15217654524 0014366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: TokenStream#pop_token is_singleton: false name: pop_token params: () visibility: public ri/1.8/system/TokenStream/add_token-i.yaml 0000644 00000000263 15217654524 0014322 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: TokenStream#add_token is_singleton: false name: add_token params: (tk) visibility: public ri/1.8/system/TokenStream/add_tokens-i.yaml 0000644 00000000266 15217654524 0014510 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: TokenStream#add_tokens is_singleton: false name: add_tokens params: (tks) visibility: public ri/1.8/system/TokenStream/token_stream-i.yaml 0000644 00000000267 15217654524 0015071 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: TokenStream#token_stream is_singleton: false name: token_stream params: () visibility: public ri/1.8/system/OpenURI/Meta/cdesc-Meta.yaml 0000644 00000003047 15217654524 0014027 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: returns a URI which is base of relative URIs in the data. It may differ from the URI supplied by a user because redirection. name: base_uri rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: returns a Hash which represents header fields. The Hash keys are downcased for canonicalization. name: meta rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: returns an Array which consists status code and message. name: status rw: RW class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Mixin for holding meta-information. constants: - !ruby/object:RI::Constant comment: name: RE_LWS value: /[\r\n\t ]+/n - !ruby/object:RI::Constant comment: name: RE_TOKEN value: "%r{[^\\x00- ()<>@,;:\\\\\"/\\[\\]?={}\\x7f]+}n" - !ruby/object:RI::Constant comment: name: RE_QUOTED_STRING value: "%r{\"(?:[\\r\\n\\t !#-\\[\\]-~\\x80-\\xff]|\\\\[\\x00-\\x7f])*\"}n" - !ruby/object:RI::Constant comment: name: RE_PARAMETERS value: "%r{(?:;#{RE_LWS}?#{RE_TOKEN}#{RE_LWS}?=#{RE_LWS}?(?:#{RE_TOKEN}|#{RE_QUOTED_STRING})#{RE_LWS}?)*}n" full_name: OpenURI::Meta includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: charset - !ruby/object:RI::MethodSummary name: content_encoding - !ruby/object:RI::MethodSummary name: content_type - !ruby/object:RI::MethodSummary name: last_modified name: Meta superclass: ri/1.8/system/OpenURI/Meta/content_type-i.yaml 0000644 00000000546 15217654524 0015024 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: returns "type/subtype" which is MIME Content-Type. It is downcased for canonicalization. Content-Type parameters are stripped. full_name: OpenURI::Meta#content_type is_singleton: false name: content_type params: () visibility: public ri/1.8/system/OpenURI/Meta/content_encoding-i.yaml 0000644 00000000544 15217654524 0015627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: returns a list of encodings in Content-Encoding field as an Array of String. The encodings are downcased for canonicalization. full_name: OpenURI::Meta#content_encoding is_singleton: false name: content_encoding params: () visibility: public ri/1.8/system/OpenURI/Meta/charset-i.yaml 0000644 00000001255 15217654524 0013740 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: returns a charset parameter in Content-Type field. It is downcased for canonicalization. - !ruby/struct:SM::Flow::P body: If charset parameter is not given but a block is given, the block is called and its result is returned. It can be used to guess charset. - !ruby/struct:SM::Flow::P body: If charset parameter and block is not given, nil is returned except text type in HTTP. In that case, "iso-8859-1" is returned as defined by RFC2616 3.7.1. full_name: OpenURI::Meta#charset is_singleton: false name: charset params: () {|| ...} visibility: public ri/1.8/system/OpenURI/Meta/last_modified-i.yaml 0000644 00000000424 15217654524 0015107 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: returns a Time which represents Last-Modified field. full_name: OpenURI::Meta#last_modified is_singleton: false name: last_modified params: () visibility: public ri/1.8/system/OpenURI/OpenRead/read-i.yaml 0000644 00000000650 15217654524 0014027 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: OpenURI::OpenRead#read([options]) reads a content referenced by self and returns the content as string. The string is extended with OpenURI::Meta. The argument `options' is same as OpenURI::OpenRead#open. full_name: OpenURI::OpenRead#read is_singleton: false name: read params: (options={}) visibility: public ri/1.8/system/OpenURI/OpenRead/cdesc-OpenRead.yaml 0000644 00000000534 15217654524 0015443 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Mixin for HTTP and FTP URIs. constants: [] full_name: OpenURI::OpenRead includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: open - !ruby/object:RI::MethodSummary name: read name: OpenRead superclass: ri/1.8/system/OpenURI/OpenRead/open-i.yaml 0000644 00000010413 15217654524 0014053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: OpenURI::OpenRead#open provides `open' for URI::HTTP and URI::FTP. - !ruby/struct:SM::Flow::P body: "OpenURI::OpenRead#open takes optional 3 arguments as: OpenURI::OpenRead#open([mode [, perm]] [, options]) [{|io| ... }]" - !ruby/struct:SM::Flow::P body: `mode', `perm' is same as Kernel#open. - !ruby/struct:SM::Flow::P body: However, `mode' must be read mode because OpenURI::OpenRead#open doesn't support write mode (yet). Also `perm' is just ignored because it is meaningful only for file creation. - !ruby/struct:SM::Flow::P body: `options' must be a hash. - !ruby/struct:SM::Flow::P body: Each pairs which key is a string in the hash specify a extra header field for HTTP. I.e. it is ignored for FTP without HTTP proxy. - !ruby/struct:SM::Flow::P body: "The hash may include other options which key is a symbol:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: ":proxy" body: "Synopsis:" - !ruby/struct:SM::Flow::VERB body: " :proxy => "http://proxy.foo.com:8000/"\n :proxy => URI.parse("http://proxy.foo.com:8000/")\n :proxy => true\n :proxy => false\n :proxy => nil\n" - !ruby/struct:SM::Flow::P body: If :proxy option is specified, the value should be String, URI, boolean or nil. When String or URI is given, it is treated as proxy URI. When true is given or the option itself is not specified, environment variable `scheme_proxy' is examined. `scheme' is replaced by `http', `https' or `ftp'. When false or nil is given, the environment variables are ignored and connection will be made to a server directly. - !ruby/struct:SM::Flow::LI label: ":http_basic_authentication" body: "Synopsis:" - !ruby/struct:SM::Flow::VERB body: " :http_basic_authentication=>[user, password]\n" - !ruby/struct:SM::Flow::P body: "If :http_basic_authentication is specified, the value should be an array which contains 2 strings: username and password. It is used for HTTP Basic authentication defined by RFC 2617." - !ruby/struct:SM::Flow::LI label: ":content_length_proc" body: "Synopsis:" - !ruby/struct:SM::Flow::VERB body: " :content_length_proc => lambda {|content_length| ... }\n" - !ruby/struct:SM::Flow::P body: If :content_length_proc option is specified, the option value procedure is called before actual transfer is started. It takes one argument which is expected content length in bytes. - !ruby/struct:SM::Flow::P body: If two or more transfer is done by HTTP redirection, the procedure is called only one for a last transfer. - !ruby/struct:SM::Flow::P body: When expected content length is unknown, the procedure is called with nil. It is happen when HTTP response has no Content-Length header. - !ruby/struct:SM::Flow::LI label: ":progress_proc" body: "Synopsis:" - !ruby/struct:SM::Flow::VERB body: " :progress_proc => lambda {|size| ...}\n" - !ruby/struct:SM::Flow::P body: If :progress_proc option is specified, the proc is called with one argument each time when `open' gets content fragment from network. The argument `size' `size' is a accumulated transfered size in bytes. - !ruby/struct:SM::Flow::P body: If two or more transfer is done by HTTP redirection, the procedure is called only one for a last transfer. - !ruby/struct:SM::Flow::P body: ":progress_proc and :content_length_proc are intended to be used for progress bar. For example, it can be implemented as follows using Ruby/ProgressBar." - !ruby/struct:SM::Flow::VERB body: " pbar = nil\n open("http://...",\n :content_length_proc => lambda {|t|\n if t && 0 < t\n pbar = ProgressBar.new("...", t)\n pbar.file_transfer_mode\n end\n },\n :progress_proc => lambda {|s|\n pbar.set s if pbar\n }) {|f| ... }\n" type: :LABELED - !ruby/struct:SM::Flow::P body: OpenURI::OpenRead#open returns an IO like object if block is not given. Otherwise it yields the IO object and return the value of the block. The IO object is extended with OpenURI::Meta. full_name: OpenURI::OpenRead#open is_singleton: false name: open params: (*rest, &block) visibility: public ri/1.8/system/OpenURI/cdesc-OpenURI.yaml 0000644 00000004170 15217654524 0013532 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::VERB body: " OpenURI is an easy-to-use wrapper for net/http, net/https and net/ftp.\n" - !ruby/struct:SM::Flow::H level: 2 text: Example - !ruby/struct:SM::Flow::VERB body: " It is possible to open http/https/ftp URL as usual like opening a file:\n\n open("http://www.ruby-lang.org/") {|f|\n f.each_line {|line| p line}\n }\n\n The opened file has several methods for meta information as follows since\n it is extended by OpenURI::Meta.\n\n open("http://www.ruby-lang.org/en") {|f|\n f.each_line {|line| p line}\n p f.base_uri # <URI::HTTP:0x40e6ef2 URL:http://www.ruby-lang.org/en/>\n p f.content_type # "text/html"\n p f.charset # "iso-8859-1"\n p f.content_encoding # []\n p f.last_modified # Thu Dec 05 02:45:02 UTC 2002\n }\n\n Additional header fields can be specified by an optional hash argument.\n\n open("http://www.ruby-lang.org/en/",\n "User-Agent" => "Ruby/#{RUBY_VERSION}",\n "From" => "foo@bar.invalid",\n "Referer" => "http://www.ruby-lang.org/") {|f|\n # ...\n }\n\n The environment variables such as http_proxy, https_proxy and ftp_proxy\n are in effect by default. :proxy => nil disables proxy.\n\n open("http://www.ruby-lang.org/en/raa.html", :proxy => nil) {|f|\n # ...\n }\n\n URI objects can be opened in a similar way.\n\n uri = URI.parse("http://www.ruby-lang.org/en/")\n uri.open {|f|\n # ...\n }\n\n URI objects can be read directly. The returned string is also extended by\n OpenURI::Meta.\n\n str = uri.read\n p str.base_uri\n\n Author:: Tanaka Akira <akr@m17n.org>\n" constants: - !ruby/object:RI::Constant comment: name: Options value: "{ :proxy => true, :progress_proc => true, :content_length_proc => true, :http_basic_authentication => true, }" full_name: OpenURI includes: [] instance_methods: [] name: OpenURI superclass: ri/1.8/system/OpenURI/HTTPError/new-c.yaml 0000644 00000000267 15217654524 0013777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: OpenURI::HTTPError::new is_singleton: true name: new params: (message, io) visibility: public ri/1.8/system/OpenURI/HTTPError/cdesc-HTTPError.yaml 0000644 00000000464 15217654524 0015635 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: io rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: OpenURI::HTTPError includes: [] instance_methods: [] name: HTTPError superclass: StandardError ri/1.8/system/OpenURI/Buffer/cdesc-Buffer.yaml 0000644 00000000302 15217654524 0014664 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: OpenURI::Buffer includes: [] instance_methods: [] name: Buffer superclass: Object ri/1.8/system/ThreadsWait/new-c.yaml 0000644 00000000440 15217654524 0013135 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a ThreadsWait object, specifying the threads to wait on. Non-blocking. full_name: ThreadsWait::new is_singleton: true name: new params: (*threads) visibility: public ri/1.8/system/ThreadsWait/all_waits-i.yaml 0000644 00000000756 15217654524 0014343 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: th if block_given? comment: - !ruby/struct:SM::Flow::P body: Waits until all of the specified threads are terminated. If a block is supplied for the method, it is executed for each thread termination. - !ruby/struct:SM::Flow::P body: Raises exceptions in the same manner as next_wait. full_name: ThreadsWait#all_waits is_singleton: false name: all_waits params: () {|th if block_given?| ...} visibility: public ri/1.8/system/ThreadsWait/all_waits-c.yaml 0000644 00000000551 15217654524 0014326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: thread comment: - !ruby/struct:SM::Flow::P body: Waits until all specified threads have terminated. If a block is provided, it is executed for each thread termination. full_name: ThreadsWait::all_waits is_singleton: true name: all_waits params: (*threads) {|thread| ...} visibility: public ri/1.8/system/ThreadsWait/join-i.yaml 0000644 00000000455 15217654524 0013317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Waits for specified threads to terminate, and returns when one of the threads terminated. full_name: ThreadsWait#join is_singleton: false name: join params: (*threads) visibility: public ri/1.8/system/ThreadsWait/join_nowait-i.yaml 0000644 00000000463 15217654524 0014677 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Specifies the threads that this object will wait for, but does not actually wait. full_name: ThreadsWait#join_nowait is_singleton: false name: join_nowait params: (*threads) visibility: public ri/1.8/system/ThreadsWait/cdesc-ThreadsWait.yaml 0000644 00000002504 15217654524 0015425 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Returns the array of threads in the wait queue. name: threads rw: R class_methods: - !ruby/object:RI::MethodSummary name: all_waits - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: This class watches for termination of multiple threads. Basic functionality (wait until specified threads have terminated) can be accessed through the class method ThreadsWait::all_waits. Finer control can be gained using instance methods. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " ThreadsWait.all_wait(thr1, thr2, ...) do |t|\n STDERR.puts "Thread #{t} has terminated."\n end\n" constants: - !ruby/object:RI::Constant comment: name: RCS_ID value: "'-$Id: thwait.rb,v 1.3 1998/06/26 03:19:34 keiju Exp keiju $-'" full_name: ThreadsWait includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: all_waits - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: finished? - !ruby/object:RI::MethodSummary name: join - !ruby/object:RI::MethodSummary name: join_nowait - !ruby/object:RI::MethodSummary name: next_wait name: ThreadsWait superclass: Object ri/1.8/system/ThreadsWait/empty%3f-i.yaml 0000644 00000000421 15217654524 0014005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if there are no threads to be synchronized. full_name: ThreadsWait#empty? is_singleton: false name: empty? params: () visibility: public ri/1.8/system/ThreadsWait/next_wait-i.yaml 0000644 00000001010 15217654524 0014346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Waits until any of the specified threads has terminated, and returns the one that does. - !ruby/struct:SM::Flow::P body: If there is no thread to wait, raises ErrNoWaitingThread. If nonblock is true, and there is no terminated thread, raises ErrNoFinishedThread. full_name: ThreadsWait#next_wait is_singleton: false name: next_wait params: (nonblock = nil) visibility: public ri/1.8/system/ThreadsWait/finished%3f-i.yaml 0000644 00000000411 15217654524 0014437 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if any thread has terminated. full_name: ThreadsWait#finished? is_singleton: false name: finished? params: () visibility: public ri/1.8/system/SortedSet/cdesc-SortedSet.yaml 0000644 00000000450 15217654524 0014615 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: SortedSet implements a set which elements are sorted in order. See Set. constants: [] full_name: SortedSet includes: [] instance_methods: [] name: SortedSet superclass: Set ri/1.8/system/SizedQueue/pop-i.yaml 0000644 00000000541 15217654524 0013016 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: shift - !ruby/object:RI::AliasName name: deq block_params: comment: - !ruby/struct:SM::Flow::P body: Retrieves data from the queue and runs a waiting thread, if any. full_name: SizedQueue#pop is_singleton: false name: pop params: (*args) visibility: public ri/1.8/system/SizedQueue/new-c.yaml 0000644 00000000415 15217654524 0013003 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a fixed-length queue with a maximum size of max. full_name: SizedQueue::new is_singleton: true name: new params: (max) visibility: public ri/1.8/system/SizedQueue/%3c%3c-i.yaml 0000644 00000000335 15217654524 0013066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #push" full_name: SizedQueue#<< is_singleton: false name: "<<" params: (obj) visibility: public ri/1.8/system/SizedQueue/deq-i.yaml 0000644 00000000336 15217654524 0012773 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #pop" full_name: SizedQueue#deq is_singleton: false name: deq params: (*args) visibility: public ri/1.8/system/SizedQueue/num_waiting-i.yaml 0000644 00000000414 15217654524 0014540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of threads waiting on the queue. full_name: SizedQueue#num_waiting is_singleton: false name: num_waiting params: () visibility: public ri/1.8/system/SizedQueue/push-i.yaml 0000644 00000000616 15217654524 0013202 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: "<<" - !ruby/object:RI::AliasName name: enq block_params: comment: - !ruby/struct:SM::Flow::P body: Pushes obj to the queue. If there is no space left in the queue, waits until space becomes available. full_name: SizedQueue#push is_singleton: false name: push params: (obj) visibility: public ri/1.8/system/SizedQueue/cdesc-SizedQueue.yaml 0000644 00000001603 15217654524 0015134 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: This class represents queues of specified size capacity. The push operation may be blocked if the capacity is full. - !ruby/struct:SM::Flow::P body: See Queue for an example of how a SizedQueue works. constants: [] full_name: SizedQueue includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: deq - !ruby/object:RI::MethodSummary name: enq - !ruby/object:RI::MethodSummary name: max - !ruby/object:RI::MethodSummary name: max= - !ruby/object:RI::MethodSummary name: num_waiting - !ruby/object:RI::MethodSummary name: pop - !ruby/object:RI::MethodSummary name: push - !ruby/object:RI::MethodSummary name: shift name: SizedQueue superclass: Queue ri/1.8/system/SizedQueue/shift-i.yaml 0000644 00000000342 15217654524 0013334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #pop" full_name: SizedQueue#shift is_singleton: false name: shift params: (*args) visibility: public ri/1.8/system/SizedQueue/max%3d-i.yaml 0000644 00000000361 15217654524 0013301 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the maximum size of the queue. full_name: SizedQueue#max= is_singleton: false name: max= params: (max) visibility: public ri/1.8/system/SizedQueue/enq-i.yaml 0000644 00000000335 15217654524 0013004 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #push" full_name: SizedQueue#enq is_singleton: false name: enq params: (obj) visibility: public ri/1.8/system/SizedQueue/max-i.yaml 0000644 00000000357 15217654524 0013012 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the maximum size of the queue. full_name: SizedQueue#max is_singleton: false name: max params: () visibility: public ri/1.8/system/RDoc/CodeObject/new-c.yaml 0000644 00000000252 15217654524 0013547 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::CodeObject::new is_singleton: true name: new params: () visibility: public ri/1.8/system/RDoc/CodeObject/attr_overridable-c.yaml 0000644 00000001055 15217654524 0016310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: There's a wee trick we pull. Comment blocks can have directives that override the stuff we extract during the parse. So, we have a special class method, attr_overridable, that lets code objects list those directives. Wehn a comment is assigned, we then extract out any matching directives and update our object full_name: RDoc::CodeObject::attr_overridable is_singleton: true name: attr_overridable params: (name, *aliases) visibility: public ri/1.8/system/RDoc/CodeObject/stop_doc-i.yaml 0000644 00000000264 15217654524 0014601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::CodeObject#stop_doc is_singleton: false name: stop_doc params: () visibility: public ri/1.8/system/RDoc/CodeObject/remove_classes_and_modules-i.yaml 0000644 00000000511 15217654524 0020346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Default callbacks to nothing, but this is overridden for classes and modules full_name: RDoc::CodeObject#remove_classes_and_modules is_singleton: false name: remove_classes_and_modules params: () visibility: public ri/1.8/system/RDoc/CodeObject/remove_methods_etc-i.yaml 0000644 00000000310 15217654524 0016632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::CodeObject#remove_methods_etc is_singleton: false name: remove_methods_etc params: () visibility: public ri/1.8/system/RDoc/CodeObject/start_doc-i.yaml 0000644 00000000476 15217654524 0014756 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "set and cleared by :startdoc: and :enddoc:, this is used to toggle the capturing of documentation" full_name: RDoc::CodeObject#start_doc is_singleton: false name: start_doc params: () visibility: public ri/1.8/system/RDoc/CodeObject/document_children%3d-i.yaml 0000644 00000000313 15217654524 0016744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::CodeObject#document_children= is_singleton: false name: document_children= params: (val) visibility: public ri/1.8/system/RDoc/CodeObject/document_self%3d-i.yaml 0000644 00000000303 15217654524 0016104 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::CodeObject#document_self= is_singleton: false name: document_self= params: (val) visibility: public ri/1.8/system/RDoc/CodeObject/cdesc-CodeObject.yaml 0000644 00000004146 15217654524 0015624 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Access the code object's comment name: comment rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: do we document ourselves and our children name: document_children rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: do we document ourselves? name: document_self rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: are we done documenting (ie, did we come across a :enddoc:)? name: done_documenting rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Do we force documentation, even is we wouldn't normally show the entity name: force_documentation rw: RW - !ruby/object:RI::Attribute comment: name: parent rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Which section are we in name: section rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: We are the model of the code, but we know that at some point we will be worked on by viewers. By implementing the Viewable protocol, viewers can associated themselves with these objects. name: viewer rw: RW class_methods: - !ruby/object:RI::MethodSummary name: attr_overridable - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: We contain the common stuff for contexts (which are containers) and other elements (methods, attributes and so on) constants: [] full_name: RDoc::CodeObject includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: comment= - !ruby/object:RI::MethodSummary name: document_children= - !ruby/object:RI::MethodSummary name: document_self= - !ruby/object:RI::MethodSummary name: remove_classes_and_modules - !ruby/object:RI::MethodSummary name: remove_methods_etc - !ruby/object:RI::MethodSummary name: start_doc - !ruby/object:RI::MethodSummary name: stop_doc name: CodeObject superclass: Object ri/1.8/system/RDoc/CodeObject/comment%3d-i.yaml 0000644 00000000450 15217654524 0014722 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Update the comment, but don't overwrite a real comment with an empty one full_name: RDoc::CodeObject#comment= is_singleton: false name: comment= params: (comment) visibility: public ri/1.8/system/RDoc/ClassModule/new-c.yaml 0000644 00000000301 15217654524 0013754 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::ClassModule::new is_singleton: true name: new params: (name, superclass = nil) visibility: public ri/1.8/system/RDoc/ClassModule/to_s-i.yaml 0000644 00000000356 15217654524 0014147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: to_s is simply for debugging full_name: RDoc::ClassModule#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/RDoc/ClassModule/http_url-i.yaml 0000644 00000000273 15217654524 0015042 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::ClassModule#http_url is_singleton: false name: http_url params: (prefix) visibility: public ri/1.8/system/RDoc/ClassModule/find_class_named-i.yaml 0000644 00000000311 15217654524 0016443 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::ClassModule#find_class_named is_singleton: false name: find_class_named params: (name) visibility: public ri/1.8/system/RDoc/ClassModule/full_name-i.yaml 0000644 00000000423 15217654524 0015140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the fully qualified name of this class or module full_name: RDoc::ClassModule#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RDoc/ClassModule/is_module%3f-i.yaml 0000644 00000000425 15217654524 0015456 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return true if this object represents a module full_name: RDoc::ClassModule#is_module? is_singleton: false name: is_module? params: () visibility: public ri/1.8/system/RDoc/ClassModule/cdesc-ClassModule.yaml 0000644 00000001364 15217654524 0016247 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: diagram rw: RW - !ruby/object:RI::Attribute comment: name: superclass rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: ClassModule is the base class for objects representing either a class or a module. constants: [] full_name: RDoc::ClassModule includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: find_class_named - !ruby/object:RI::MethodSummary name: full_name - !ruby/object:RI::MethodSummary name: http_url - !ruby/object:RI::MethodSummary name: is_module? - !ruby/object:RI::MethodSummary name: to_s name: ClassModule superclass: Context ri/1.8/system/RDoc/no_comment-c.yaml 0000644 00000000404 15217654524 0013112 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Report the fact that no doc comment count be found full_name: RDoc::no_comment is_singleton: true name: no_comment params: () visibility: private ri/1.8/system/RDoc/Constant/new-c.yaml 0000644 00000000274 15217654524 0013343 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Constant::new is_singleton: true name: new params: (name, value, comment) visibility: public ri/1.8/system/RDoc/Constant/cdesc-Constant.yaml 0000644 00000000651 15217654524 0015201 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: RW - !ruby/object:RI::Attribute comment: name: value rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Represent a constant constants: [] full_name: RDoc::Constant includes: [] instance_methods: [] name: Constant superclass: CodeObject ri/1.8/system/RDoc/RubyParser/new-c.yaml 0000644 00000000327 15217654524 0013647 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser::new is_singleton: true name: new params: (top_level, file_name, content, options, stats) visibility: public ri/1.8/system/RDoc/RubyParser/scan-i.yaml 0000644 00000000254 15217654524 0014007 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#scan is_singleton: false name: scan params: () visibility: public ri/1.8/system/RDoc/RubyParser/collect_first_comment-i.yaml 0000644 00000000463 15217654524 0017443 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Look for the first comment in a file that isn't a shebang line. full_name: RDoc::RubyParser#collect_first_comment is_singleton: false name: collect_first_comment params: () visibility: private ri/1.8/system/RDoc/RubyParser/parse_yield-i.yaml 0000644 00000000326 15217654524 0015363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#parse_yield is_singleton: false name: parse_yield params: (context, single, tk, method) visibility: private ri/1.8/system/RDoc/RubyParser/get_tk-i.yaml 0000644 00000000261 15217654524 0014336 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#get_tk is_singleton: false name: get_tk params: () visibility: private ri/1.8/system/RDoc/RubyParser/warn-i.yaml 0000644 00000000260 15217654524 0014027 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#warn is_singleton: false name: warn params: (msg) visibility: private ri/1.8/system/RDoc/RubyParser/get_symbol_or_name-i.yaml 0000644 00000000311 15217654524 0016721 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#get_symbol_or_name is_singleton: false name: get_symbol_or_name params: () visibility: private ri/1.8/system/RDoc/RubyParser/read_directive-i.yaml 0000644 00000001154 15217654524 0016034 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Directives are modifier comments that can appear after class, module, or method names. For example - !ruby/struct:SM::Flow::VERB body: " def fred # :yields: a, b\n" - !ruby/struct:SM::Flow::P body: or - !ruby/struct:SM::Flow::VERB body: " class SM # :nodoc:\n" - !ruby/struct:SM::Flow::P body: we return the directive name and any parameters as a two element array full_name: RDoc::RubyParser#read_directive is_singleton: false name: read_directive params: (allowed) visibility: private ri/1.8/system/RDoc/RubyParser/error-i.yaml 0000644 00000000262 15217654524 0014213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#error is_singleton: false name: error params: (msg) visibility: private ri/1.8/system/RDoc/RubyParser/parse_yield_parameters-i.yaml 0000644 00000000321 15217654524 0017601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#parse_yield_parameters is_singleton: false name: parse_yield_parameters params: () visibility: private ri/1.8/system/RDoc/RubyParser/progress-i.yaml 0000644 00000000271 15217654524 0014726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#progress is_singleton: false name: progress params: (char) visibility: private ri/1.8/system/RDoc/RubyParser/get_bool-i.yaml 0000644 00000000265 15217654524 0014657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#get_bool is_singleton: false name: get_bool params: () visibility: private ri/1.8/system/RDoc/RubyParser/parse_alias-i.yaml 0000644 00000000327 15217654524 0015347 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#parse_alias is_singleton: false name: parse_alias params: (context, single, tk, comment) visibility: private ri/1.8/system/RDoc/RubyParser/parse_constant-i.yaml 0000644 00000000337 15217654524 0016110 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#parse_constant is_singleton: false name: parse_constant params: (container, single, tk, comment) visibility: private ri/1.8/system/RDoc/RubyParser/parse_method-i.yaml 0000644 00000000333 15217654524 0015533 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#parse_method is_singleton: false name: parse_method params: (container, single, tk, comment) visibility: private ri/1.8/system/RDoc/RubyParser/parse_attr_accessor-i.yaml 0000644 00000000347 15217654524 0017114 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#parse_attr_accessor is_singleton: false name: parse_attr_accessor params: (context, single, tk, comment) visibility: private ri/1.8/system/RDoc/RubyParser/skip_tkspace-i.yaml 0000644 00000000313 15217654524 0015537 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#skip_tkspace is_singleton: false name: skip_tkspace params: (skip_nl = true) visibility: private ri/1.8/system/RDoc/RubyParser/parse_method_parameters-i.yaml 0000644 00000000734 15217654524 0017763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Capture the method's parameters. Along the way, look for a comment containing - !ruby/struct:SM::Flow::VERB body: " # yields: ....\n" - !ruby/struct:SM::Flow::P body: and add this as the block_params for the method full_name: RDoc::RubyParser#parse_method_parameters is_singleton: false name: parse_method_parameters params: (method) visibility: private ri/1.8/system/RDoc/RubyParser/add_token_listener-i.yaml 0000644 00000000314 15217654524 0016715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#add_token_listener is_singleton: false name: add_token_listener params: (obj) visibility: private ri/1.8/system/RDoc/RubyParser/skip_method-i.yaml 0000644 00000000304 15217654524 0015365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#skip_method is_singleton: false name: skip_method params: (container) visibility: private ri/1.8/system/RDoc/RubyParser/peek_tk-i.yaml 0000644 00000000263 15217654524 0014505 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#peek_tk is_singleton: false name: peek_tk params: () visibility: private ri/1.8/system/RDoc/RubyParser/parse_symbol_arg-i.yaml 0000644 00000000315 15217654524 0016411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#parse_symbol_arg is_singleton: false name: parse_symbol_arg params: (no = nil) visibility: private ri/1.8/system/RDoc/RubyParser/parse_module-i.yaml 0000644 00000000333 15217654524 0015540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#parse_module is_singleton: false name: parse_module params: (container, single, tk, comment) visibility: private ri/1.8/system/RDoc/RubyParser/look_for_directives_in-i.yaml 0000644 00000000746 15217654524 0017612 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Look for directives in a normal comment block:" - !ruby/struct:SM::Flow::VERB body: " #-- - don't display comment from this point forward\n" - !ruby/struct:SM::Flow::P body: This routine modifies it's parameter full_name: RDoc::RubyParser#look_for_directives_in is_singleton: false name: look_for_directives_in params: (context, comment) visibility: private ri/1.8/system/RDoc/RubyParser/parse_method_or_yield_parameters-i.yaml 0000644 00000000413 15217654524 0021643 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#parse_method_or_yield_parameters is_singleton: false name: parse_method_or_yield_parameters params: (method=nil, modifiers=METHOD_MODIFIERS) visibility: private ri/1.8/system/RDoc/RubyParser/parse_statements-i.yaml 0000644 00000000375 15217654524 0016450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#parse_statements is_singleton: false name: parse_statements params: (container, single=NORMAL, current_method=nil, comment='') visibility: private ri/1.8/system/RDoc/RubyParser/parse_attr-i.yaml 0000644 00000000325 15217654524 0015226 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#parse_attr is_singleton: false name: parse_attr params: (context, single, tk, comment) visibility: private ri/1.8/system/RDoc/RubyParser/parse_toplevel_statements-i.yaml 0000644 00000000340 15217654524 0020352 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#parse_toplevel_statements is_singleton: false name: parse_toplevel_statements params: (container) visibility: private ri/1.8/system/RDoc/RubyParser/read_documentation_modifiers-i.yaml 0000644 00000000353 15217654524 0020770 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#read_documentation_modifiers is_singleton: false name: read_documentation_modifiers params: (context, allow) visibility: private ri/1.8/system/RDoc/RubyParser/cdesc-RubyParser.yaml 0000644 00000006264 15217654524 0016021 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: NORMAL value: "\"::\"" - !ruby/object:RI::Constant comment: name: SINGLE value: "\"<<\"" full_name: RDoc::RubyParser includes: - !ruby/object:RI::IncludedModule name: RubyToken - !ruby/object:RI::IncludedModule name: TokenStream instance_methods: - !ruby/object:RI::MethodSummary name: add_token_listener - !ruby/object:RI::MethodSummary name: collect_first_comment - !ruby/object:RI::MethodSummary name: error - !ruby/object:RI::MethodSummary name: get_bool - !ruby/object:RI::MethodSummary name: get_class_or_module - !ruby/object:RI::MethodSummary name: get_class_specification - !ruby/object:RI::MethodSummary name: get_constant - !ruby/object:RI::MethodSummary name: get_constant_with_optional_parens - !ruby/object:RI::MethodSummary name: get_symbol_or_name - !ruby/object:RI::MethodSummary name: get_tk - !ruby/object:RI::MethodSummary name: get_tkread - !ruby/object:RI::MethodSummary name: look_for_directives_in - !ruby/object:RI::MethodSummary name: make_message - !ruby/object:RI::MethodSummary name: parse_alias - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_attr_accessor - !ruby/object:RI::MethodSummary name: parse_call_parameters - !ruby/object:RI::MethodSummary name: parse_class - !ruby/object:RI::MethodSummary name: parse_constant - !ruby/object:RI::MethodSummary name: parse_include - !ruby/object:RI::MethodSummary name: parse_method - !ruby/object:RI::MethodSummary name: parse_method_or_yield_parameters - !ruby/object:RI::MethodSummary name: parse_method_parameters - !ruby/object:RI::MethodSummary name: parse_module - !ruby/object:RI::MethodSummary name: parse_require - !ruby/object:RI::MethodSummary name: parse_statements - !ruby/object:RI::MethodSummary name: parse_symbol_arg - !ruby/object:RI::MethodSummary name: parse_symbol_in_arg - !ruby/object:RI::MethodSummary name: parse_toplevel_statements - !ruby/object:RI::MethodSummary name: parse_visibility - !ruby/object:RI::MethodSummary name: parse_yield - !ruby/object:RI::MethodSummary name: parse_yield_parameters - !ruby/object:RI::MethodSummary name: peek_read - !ruby/object:RI::MethodSummary name: peek_tk - !ruby/object:RI::MethodSummary name: progress - !ruby/object:RI::MethodSummary name: read_directive - !ruby/object:RI::MethodSummary name: read_documentation_modifiers - !ruby/object:RI::MethodSummary name: remove_private_comments - !ruby/object:RI::MethodSummary name: remove_token_listener - !ruby/object:RI::MethodSummary name: scan - !ruby/object:RI::MethodSummary name: skip_for_variable - !ruby/object:RI::MethodSummary name: skip_method - !ruby/object:RI::MethodSummary name: skip_optional_do_after_expression - !ruby/object:RI::MethodSummary name: skip_tkspace - !ruby/object:RI::MethodSummary name: skip_tkspace_comment - !ruby/object:RI::MethodSummary name: unget_tk - !ruby/object:RI::MethodSummary name: warn name: RubyParser superclass: Object ri/1.8/system/RDoc/RubyParser/parse_visibility-i.yaml 0000644 00000000332 15217654524 0016441 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#parse_visibility is_singleton: false name: parse_visibility params: (container, single, tk) visibility: private ri/1.8/system/RDoc/RubyParser/skip_for_variable-i.yaml 0000644 00000000427 15217654524 0016546 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: skip the var [in] part of a 'for' statement full_name: RDoc::RubyParser#skip_for_variable is_singleton: false name: skip_for_variable params: () visibility: private ri/1.8/system/RDoc/RubyParser/parse_include-i.yaml 0000644 00000000317 15217654524 0015700 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#parse_include is_singleton: false name: parse_include params: (context, comment) visibility: private ri/1.8/system/RDoc/RubyParser/skip_optional_do_after_expression-i.yaml 0000644 00000000462 15217654524 0022061 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: while, until, and for have an optional full_name: RDoc::RubyParser#skip_optional_do_after_expression is_singleton: false name: skip_optional_do_after_expression params: () visibility: private ri/1.8/system/RDoc/RubyParser/parse_class-i.yaml 0000644 00000000341 15217654524 0015357 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#parse_class is_singleton: false name: parse_class params: (container, single, tk, comment, &block) visibility: private ri/1.8/system/RDoc/RubyParser/get_class_or_module-i.yaml 0000644 00000001004 15217654524 0017066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "Look for the name of a class of module (optionally with a leading :" body: or - !ruby/struct:SM::Flow::LI label: "with :" body: separated named) and return the ultimate name and container type: :NOTE full_name: RDoc::RubyParser#get_class_or_module is_singleton: false name: get_class_or_module params: (container) visibility: private ri/1.8/system/RDoc/RubyParser/skip_tkspace_comment-i.yaml 0000644 00000000333 15217654524 0017263 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#skip_tkspace_comment is_singleton: false name: skip_tkspace_comment params: (skip_nl = true) visibility: private ri/1.8/system/RDoc/RubyParser/parse_symbol_in_arg-i.yaml 0000644 00000000313 15217654524 0017075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#parse_symbol_in_arg is_singleton: false name: parse_symbol_in_arg params: () visibility: private ri/1.8/system/RDoc/RubyParser/unget_tk-i.yaml 0000644 00000000267 15217654524 0014707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#unget_tk is_singleton: false name: unget_tk params: (tk) visibility: private ri/1.8/system/RDoc/RubyParser/get_tkread-i.yaml 0000644 00000000271 15217654524 0015173 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#get_tkread is_singleton: false name: get_tkread params: () visibility: private ri/1.8/system/RDoc/RubyParser/make_message-i.yaml 0000644 00000000300 15217654524 0015474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#make_message is_singleton: false name: make_message params: (msg) visibility: private ri/1.8/system/RDoc/RubyParser/get_constant-i.yaml 0000644 00000000461 15217654524 0015553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parse a constant, which might be qualified by one or more class or module names full_name: RDoc::RubyParser#get_constant is_singleton: false name: get_constant params: () visibility: private ri/1.8/system/RDoc/RubyParser/get_class_specification-i.yaml 0000644 00000000474 15217654524 0017733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a superclass, which can be either a constant of an expression full_name: RDoc::RubyParser#get_class_specification is_singleton: false name: get_class_specification params: () visibility: private ri/1.8/system/RDoc/RubyParser/remove_token_listener-i.yaml 0000644 00000000322 15217654524 0017461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#remove_token_listener is_singleton: false name: remove_token_listener params: (obj) visibility: private ri/1.8/system/RDoc/RubyParser/parse_require-i.yaml 0000644 00000000317 15217654524 0015731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#parse_require is_singleton: false name: parse_require params: (context, comment) visibility: private ri/1.8/system/RDoc/RubyParser/get_constant_with_optional_parens-i.yaml 0000644 00000000473 15217654524 0022066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get a constant that may be surrounded by parens full_name: RDoc::RubyParser#get_constant_with_optional_parens is_singleton: false name: get_constant_with_optional_parens params: () visibility: private ri/1.8/system/RDoc/RubyParser/remove_private_comments-i.yaml 0000644 00000000332 15217654524 0020014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#remove_private_comments is_singleton: false name: remove_private_comments params: (comment) visibility: private ri/1.8/system/RDoc/RubyParser/peek_read-i.yaml 0000644 00000000267 15217654524 0015006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#peek_read is_singleton: false name: peek_read params: () visibility: private ri/1.8/system/RDoc/RubyParser/parse_call_parameters-i.yaml 0000644 00000000321 15217654524 0017406 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::RubyParser#parse_call_parameters is_singleton: false name: parse_call_parameters params: (tk) visibility: private ri/1.8/system/RDoc/extract_sections-c.yaml 0000644 00000000717 15217654524 0014344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Given an array of flow items and an array of section names, extract those sections from the flow which have headings corresponding to a section name in the list. Return them in the order of names in the sections array. full_name: RDoc::extract_sections is_singleton: true name: extract_sections params: (flow, sections) visibility: private ri/1.8/system/RDoc/gets-c.yaml 0000644 00000000532 15217654524 0011720 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Find the first comment in the file (that isn't a shebang line) If the file doesn't start with a comment, report the fact and return empty string full_name: RDoc::gets is_singleton: true name: gets params: (file) visibility: private ri/1.8/system/RDoc/Alias/new-c.yaml 0000644 00000000306 15217654524 0012577 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Alias::new is_singleton: true name: new params: (text, old_name, new_name, comment) visibility: public ri/1.8/system/RDoc/Alias/to_s-i.yaml 0000644 00000000247 15217654524 0012764 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Alias#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/RDoc/Alias/cdesc-Alias.yaml 0000644 00000001241 15217654524 0013675 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: comment rw: RW - !ruby/object:RI::Attribute comment: name: new_name rw: RW - !ruby/object:RI::Attribute comment: name: old_name rw: RW - !ruby/object:RI::Attribute comment: name: text rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Represent an alias, which is an old_name/ new_name pair associated with a particular context constants: [] full_name: RDoc::Alias includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_s name: Alias superclass: CodeObject ri/1.8/system/RDoc/TopLevel/new-c.yaml 0000644 00000000261 15217654524 0013300 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::TopLevel::new is_singleton: true name: new params: (file_name) visibility: public ri/1.8/system/RDoc/TopLevel/find_class_or_module_named-i.yaml 0000644 00000000334 15217654524 0020034 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::TopLevel#find_class_or_module_named is_singleton: false name: find_class_or_module_named params: (symbol) visibility: public ri/1.8/system/RDoc/TopLevel/all_classes_and_modules-c.yaml 0000644 00000000320 15217654524 0017342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::TopLevel::all_classes_and_modules is_singleton: true name: all_classes_and_modules params: () visibility: public ri/1.8/system/RDoc/TopLevel/cdesc-TopLevel.yaml 0000644 00000002061 15217654524 0015100 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: diagram rw: RW - !ruby/object:RI::Attribute comment: name: file_absolute_name rw: RW - !ruby/object:RI::Attribute comment: name: file_relative_name rw: RW - !ruby/object:RI::Attribute comment: name: file_stat rw: RW class_methods: - !ruby/object:RI::MethodSummary name: all_classes_and_modules - !ruby/object:RI::MethodSummary name: find_class_named - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: reset comment: - !ruby/struct:SM::Flow::P body: A TopLevel context is a source file constants: [] full_name: RDoc::TopLevel includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_class_or_module - !ruby/object:RI::MethodSummary name: find_class_or_module_named - !ruby/object:RI::MethodSummary name: find_local_symbol - !ruby/object:RI::MethodSummary name: find_module_named - !ruby/object:RI::MethodSummary name: full_name name: TopLevel superclass: Context ri/1.8/system/RDoc/TopLevel/find_class_named-c.yaml 0000644 00000000306 15217654524 0015760 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::TopLevel::find_class_named is_singleton: true name: find_class_named params: (name) visibility: public ri/1.8/system/RDoc/TopLevel/reset-c.yaml 0000644 00000000254 15217654524 0013633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::TopLevel::reset is_singleton: true name: reset params: () visibility: public ri/1.8/system/RDoc/TopLevel/find_local_symbol-i.yaml 0000644 00000000312 15217654524 0016171 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::TopLevel#find_local_symbol is_singleton: false name: find_local_symbol params: (symbol) visibility: public ri/1.8/system/RDoc/TopLevel/add_class_or_module-i.yaml 0000644 00000001045 15217654524 0016500 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Adding a class or module to a TopLevel is special, as we only want one copy of a particular top-level class. For example, if both file A and file B implement class C, we only want one ClassModule object for C. This code arranges to share classes and modules between files. full_name: RDoc::TopLevel#add_class_or_module is_singleton: false name: add_class_or_module params: (collection, class_type, name, superclass) visibility: public ri/1.8/system/RDoc/TopLevel/full_name-i.yaml 0000644 00000000264 15217654524 0014462 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::TopLevel#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RDoc/TopLevel/find_module_named-i.yaml 0000644 00000000400 15217654524 0016141 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Find a named module full_name: RDoc::TopLevel#find_module_named is_singleton: false name: find_module_named params: (name) visibility: public ri/1.8/system/RDoc/SingleClass/cdesc-SingleClass.yaml 0000644 00000000404 15217654524 0016231 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Singleton classes constants: [] full_name: RDoc::SingleClass includes: [] instance_methods: [] name: SingleClass superclass: ClassModule ri/1.8/system/RDoc/RDoc/error-i.yaml 0000644 00000000361 15217654524 0012744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Report an error message and exit full_name: RDoc::RDoc#error is_singleton: false name: error params: (msg) visibility: private ri/1.8/system/RDoc/RDoc/setup_output_dir-i.yaml 0000644 00000000665 15217654524 0015240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create an output dir if it doesn't exist. If it does exist, but doesn't contain the flag file created.rid then we refuse to use it, as we may clobber some manually generated documentation full_name: RDoc::RDoc#setup_output_dir is_singleton: false name: setup_output_dir params: (op_dir, force) visibility: private ri/1.8/system/RDoc/RDoc/update_output_dir-i.yaml 0000644 00000000436 15217654524 0015356 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Update the flag file in an output directory. full_name: RDoc::RDoc#update_output_dir is_singleton: false name: update_output_dir params: (op_dir, time) visibility: private ri/1.8/system/RDoc/RDoc/cdesc-RDoc.yaml 0000644 00000002610 15217654524 0013272 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: "Encapsulate the production of rdoc documentation. Basically you can use this as you would invoke rdoc from the command line:" - !ruby/struct:SM::Flow::VERB body: " rdoc = RDoc::RDoc.new\n rdoc.document(args)\n" - !ruby/struct:SM::Flow::P body: where args is an array of strings, each corresponding to an argument you'd give rdoc on the command line. See rdoc/rdoc.rb for details. constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: This is the list of output generators that we support name: Generator value: Struct.new(:file_name, :class_name, :key) - !ruby/object:RI::Constant comment: name: GENERATORS value: "{}" full_name: RDoc::RDoc includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: document - !ruby/object:RI::MethodSummary name: error - !ruby/object:RI::MethodSummary name: list_files_in_directory - !ruby/object:RI::MethodSummary name: normalized_file_list - !ruby/object:RI::MethodSummary name: output_flag_file - !ruby/object:RI::MethodSummary name: parse_dot_doc_file - !ruby/object:RI::MethodSummary name: parse_files - !ruby/object:RI::MethodSummary name: setup_output_dir - !ruby/object:RI::MethodSummary name: update_output_dir name: RDoc superclass: Object ri/1.8/system/RDoc/RDoc/list_files_in_directory-i.yaml 0000644 00000000750 15217654524 0016524 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a list of the files to be processed in a directory. We know that this directory doesn't have a .document file, so we're looking for real files. However we may well contain subdirectories which must be tested for .document files full_name: RDoc::RDoc#list_files_in_directory is_singleton: false name: list_files_in_directory params: (dir, options) visibility: private ri/1.8/system/RDoc/RDoc/normalized_file_list-i.yaml 0000644 00000001433 15217654524 0016012 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Given a list of files and directories, create a list of all the Ruby files they contain. - !ruby/struct:SM::Flow::P body: If force_doc is true, we always add the given files. If false, only add files that we guarantee we can parse It is true when looking at files given on the command line, false when recursing through subdirectories. - !ruby/struct:SM::Flow::P body: The effect of this is that if you want a file with a non- standard extension parsed, you must name it explicity. full_name: RDoc::RDoc#normalized_file_list is_singleton: false name: normalized_file_list params: (options, relative_files, force_doc = false, exclude_pattern=nil) visibility: private ri/1.8/system/RDoc/RDoc/parse_files-i.yaml 0000644 00000000446 15217654524 0014113 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parse each file on the command line, recursively entering directories full_name: RDoc::RDoc#parse_files is_singleton: false name: parse_files params: (options) visibility: private ri/1.8/system/RDoc/RDoc/parse_dot_doc_file-i.yaml 0000644 00000000644 15217654524 0015423 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The .document file contains a list of file and directory name patterns, representing candidates for documentation. It may also contain comments (starting with '#') full_name: RDoc::RDoc#parse_dot_doc_file is_singleton: false name: parse_dot_doc_file params: (in_dir, filename, options) visibility: private ri/1.8/system/RDoc/RDoc/output_flag_file-i.yaml 0000644 00000000447 15217654524 0015150 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the path name of the flag file in an output directory. full_name: RDoc::RDoc#output_flag_file is_singleton: false name: output_flag_file params: (op_dir) visibility: private ri/1.8/system/RDoc/RDoc/document-i.yaml 0000644 00000001351 15217654524 0013431 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Format up one or more files according to the given arguments. For simplicity, argv is an array of strings, equivalent to the strings that would be passed on the command line. (This isn't a coincidence, as we do pass in ARGV when running interactively). For a list of options, see rdoc/rdoc.rb. By default, output will be stored in a directory called doc below the current directory, so make sure you're somewhere writable before invoking. - !ruby/struct:SM::Flow::P body: "Throws: RDocError on error" full_name: RDoc::RDoc#document is_singleton: false name: document params: (argv) visibility: public ri/1.8/system/RDoc/cdesc-RDoc.yaml 0000644 00000011647 15217654524 0012455 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: extract_sections - !ruby/object:RI::MethodSummary name: find_comment - !ruby/object:RI::MethodSummary name: gets - !ruby/object:RI::MethodSummary name: no_comment - !ruby/object:RI::MethodSummary name: usage - !ruby/object:RI::MethodSummary name: usage_no_exit comment: - !ruby/struct:SM::Flow::H level: 1 text: CSS2 RDoc HTML template - !ruby/struct:SM::Flow::P body: This is a template for RDoc that uses XHTML 1.0 Transitional and dictates a bit more of the appearance of the output to cascading stylesheets than the default. It was designed for clean inline code display, and uses DHTMl to toggle the visbility of each method's source with each click on the '[source]' link. - !ruby/struct:SM::Flow::H level: 2 text: Authors - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Michael Granger <ged@FaerieMUD.org> type: :BULLET - !ruby/struct:SM::Flow::P body: Copyright (c) 2002, 2003 The FaerieMUD Consortium. Some rights reserved. - !ruby/struct:SM::Flow::P body: This work is licensed under the Creative Commons Attribution License. To view a copy of this license, visit http://creativecommons.org/licenses/by/1.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Ruby's built-in classes. name: KNOWN_CLASSES value: "{ \"rb_cObject\" => \"Object\", \"rb_cArray\" => \"Array\", \"rb_cBignum\" => \"Bignum\", \"rb_cClass\" => \"Class\", \"rb_cDir\" => \"Dir\", \"rb_cData\" => \"Data\", \"rb_cFalseClass\" => \"FalseClass\", \"rb_cFile\" => \"File\", \"rb_cFixnum\" => \"Fixnum\", \"rb_cFloat\" => \"Float\", \"rb_cHash\" => \"Hash\", \"rb_cInteger\" => \"Integer\", \"rb_cIO\" => \"IO\", \"rb_cModule\" => \"Module\", \"rb_cNilClass\" => \"NilClass\", \"rb_cNumeric\" => \"Numeric\", \"rb_cProc\" => \"Proc\", \"rb_cRange\" => \"Range\", \"rb_cRegexp\" => \"Regexp\", \"rb_cString\" => \"String\", \"rb_cSymbol\" => \"Symbol\", \"rb_cThread\" => \"Thread\", \"rb_cTime\" => \"Time\", \"rb_cTrueClass\" => \"TrueClass\", \"rb_cStruct\" => \"Struct\", \"rb_eException\" => \"Exception\", \"rb_eStandardError\" => \"StandardError\", \"rb_eSystemExit\" => \"SystemExit\", \"rb_eInterrupt\" => \"Interrupt\", \"rb_eSignal\" => \"Signal\", \"rb_eFatal\" => \"Fatal\", \"rb_eArgError\" => \"ArgError\", \"rb_eEOFError\" => \"EOFError\", \"rb_eIndexError\" => \"IndexError\", \"rb_eRangeError\" => \"RangeError\", \"rb_eIOError\" => \"IOError\", \"rb_eRuntimeError\" => \"RuntimeError\", \"rb_eSecurityError\" => \"SecurityError\", \"rb_eSystemCallError\" => \"SystemCallError\", \"rb_eTypeError\" => \"TypeError\", \"rb_eZeroDivError\" => \"ZeroDivError\", \"rb_eNotImpError\" => \"NotImpError\", \"rb_eNoMemError\" => \"NoMemError\", \"rb_eFloatDomainError\" => \"FloatDomainError\", \"rb_eScriptError\" => \"ScriptError\", \"rb_eNameError\" => \"NameError\", \"rb_eSyntaxError\" => \"SyntaxError\", \"rb_eLoadError\" => \"LoadError\", \"rb_mKernel\" => \"Kernel\", \"rb_mComparable\" => \"Comparable\", \"rb_mEnumerable\" => \"Enumerable\", \"rb_mPrecision\" => \"Precision\", \"rb_mErrno\" => \"Errno\", \"rb_mFileTest\" => \"FileTest\", \"rb_mGC\" => \"GC\", \"rb_mMath\" => \"Math\", \"rb_mProcess\" => \"Process\"" - !ruby/object:RI::Constant comment: name: GENERAL_MODIFIERS value: "[ 'nodoc' ].freeze" - !ruby/object:RI::Constant comment: name: CLASS_MODIFIERS value: GENERAL_MODIFIERS - !ruby/object:RI::Constant comment: name: ATTR_MODIFIERS value: GENERAL_MODIFIERS - !ruby/object:RI::Constant comment: name: CONSTANT_MODIFIERS value: GENERAL_MODIFIERS - !ruby/object:RI::Constant comment: name: METHOD_MODIFIERS value: GENERAL_MODIFIERS + [ 'arg', 'args', 'yield', 'yields', 'notnew', 'not-new', 'not_new', 'doc' ] - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Name of the dotfile that contains the description of files to be processed in the current directory name: DOT_DOC_FILENAME value: "\".document\"" full_name: RDoc includes: [] instance_methods: [] name: RDoc superclass: ri/1.8/system/RDoc/Diagram/new-c.yaml 0000644 00000000472 15217654524 0013116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Pass in the set of top level objects. The method also creates the subdirectory to hold the images full_name: RDoc::Diagram::new is_singleton: true name: new params: (info, options) visibility: public ri/1.8/system/RDoc/Diagram/find_full_name-i.yaml 0000644 00000000307 15217654524 0015272 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Diagram#find_full_name is_singleton: false name: find_full_name params: (name, mod) visibility: private ri/1.8/system/RDoc/Diagram/wrap_in_image_map-i.yaml 0000644 00000000642 15217654524 0015770 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Extract the client-side image map from dot, and use it to generate the imagemap proper. Return the whole <map>..<img> combination, suitable for inclusion on the page full_name: RDoc::Diagram#wrap_in_image_map is_singleton: false name: wrap_in_image_map params: (src, dot) visibility: private ri/1.8/system/RDoc/Diagram/find_names-i.yaml 0000644 00000000274 15217654524 0014436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RDoc::Diagram#find_names is_singleton: false name: find_names params: (mod) visibility: private ri/1.8/system/RDoc/Diagram/draw_module-i.yaml 0000644 00000000340 15217654524 0014627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Diagram#draw_module is_singleton: false name: draw_module params: (mod, graph, toplevel = false, file = nil) visibility: private ri/1.8/system/RDoc/Diagram/convert_to_png-i.yaml 0000644 00000000316 15217654524 0015356 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Diagram#convert_to_png is_singleton: false name: convert_to_png params: (file_base, graph) visibility: private ri/1.8/system/RDoc/Diagram/draw-i.yaml 0000644 00000000562 15217654524 0013270 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Draw the diagrams. We traverse the files, drawing a diagram for each. We also traverse each top-level class and module in that file drawing a diagram for these too. full_name: RDoc::Diagram#draw is_singleton: false name: draw params: () visibility: public ri/1.8/system/RDoc/Diagram/add_classes-i.yaml 0000644 00000000325 15217654524 0014575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Diagram#add_classes is_singleton: false name: add_classes params: (container, graph, file = nil ) visibility: private ri/1.8/system/RDoc/Diagram/cdesc-Diagram.yaml 0000644 00000002736 15217654524 0014535 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Draw a set of diagrams representing the modules and classes in the system. We draw one diagram for each file, and one for each toplevel class or module. This means there will be overlap. However, it also means that you'll get better context for objects. - !ruby/struct:SM::Flow::P body: To use, simply - !ruby/struct:SM::Flow::VERB body: " d = Diagram.new(info) # pass in collection of top level infos\n d.draw\n" - !ruby/struct:SM::Flow::P body: The results will be written to the dot subdirectory. The process also sets the diagram attribute in each object it graphs to the name of the file containing the image. This can be used by output generators to insert images. constants: - !ruby/object:RI::Constant comment: name: FONT value: "\"Arial\"" - !ruby/object:RI::Constant comment: name: DOT_PATH value: "\"dot\"" full_name: RDoc::Diagram includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_classes - !ruby/object:RI::MethodSummary name: convert_to_png - !ruby/object:RI::MethodSummary name: draw - !ruby/object:RI::MethodSummary name: draw_module - !ruby/object:RI::MethodSummary name: find_full_name - !ruby/object:RI::MethodSummary name: find_names - !ruby/object:RI::MethodSummary name: wrap_in_image_map name: Diagram superclass: Object ri/1.8/system/RDoc/AnonClass/cdesc-AnonClass.yaml 0000644 00000000400 15217654524 0015351 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Anonymous classes constants: [] full_name: RDoc::AnonClass includes: [] instance_methods: [] name: AnonClass superclass: ClassModule ri/1.8/system/RDoc/Attr/new-c.yaml 0000644 00000000273 15217654524 0012463 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Attr::new is_singleton: true name: new params: (text, name, rw, comment) visibility: public ri/1.8/system/RDoc/Attr/to_s-i.yaml 0000644 00000000246 15217654524 0012644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Attr#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/RDoc/Attr/%3c%3d%3e-i.yaml 0000644 00000000251 15217654524 0013037 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Attr#<=> is_singleton: false name: <=> params: (other) visibility: public ri/1.8/system/RDoc/Attr/cdesc-Attr.yaml 0000644 00000001176 15217654524 0013446 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: RW - !ruby/object:RI::Attribute comment: name: rw rw: RW - !ruby/object:RI::Attribute comment: name: text rw: RW - !ruby/object:RI::Attribute comment: name: visibility rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Represent attributes constants: [] full_name: RDoc::Attr includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: to_s name: Attr superclass: CodeObject ri/1.8/system/RDoc/Include/new-c.yaml 0000644 00000000264 15217654524 0013134 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Include::new is_singleton: true name: new params: (name, comment) visibility: public ri/1.8/system/RDoc/Include/cdesc-Include.yaml 0000644 00000000544 15217654524 0014566 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: an included module constants: [] full_name: RDoc::Include includes: [] instance_methods: [] name: Include superclass: CodeObject ri/1.8/system/RDoc/usage-c.yaml 0000644 00000000642 15217654524 0012064 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Display usage information from the comment at the top of the file. String arguments identify specific sections of the comment to display. An optional integer first argument specifies the exit status (defaults to 0) full_name: RDoc::usage is_singleton: true name: usage params: (*args) visibility: public ri/1.8/system/RDoc/Context/new-c.yaml 0000644 00000000247 15217654524 0013176 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Context::new is_singleton: true name: new params: () visibility: public ri/1.8/system/RDoc/Context/initialize_classes_and_modules-i.yaml 0000644 00000000335 15217654524 0020641 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Context#initialize_classes_and_modules is_singleton: false name: initialize_classes_and_modules params: () visibility: public ri/1.8/system/RDoc/Context/add_to-i.yaml 0000644 00000000271 15217654524 0013642 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Context#add_to is_singleton: false name: add_to params: (array, thing) visibility: public ri/1.8/system/RDoc/Context/Section/new-c.yaml 0000644 00000000276 15217654524 0014604 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Context::Section::new is_singleton: true name: new params: (title, comment) visibility: public ri/1.8/system/RDoc/Context/Section/set_comment-i.yaml 0000644 00000000310 15217654524 0016323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Context::Section#set_comment is_singleton: false name: set_comment params: (comment) visibility: private ri/1.8/system/RDoc/Context/Section/cdesc-Section.yaml 0000644 00000000752 15217654524 0016255 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: comment rw: R - !ruby/object:RI::Attribute comment: name: sequence rw: R - !ruby/object:RI::Attribute comment: name: title rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RDoc::Context::Section includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: set_comment name: Section superclass: Object ri/1.8/system/RDoc/Context/find_method_named-i.yaml 0000644 00000000417 15217654524 0016036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Find a named method, or return nil full_name: RDoc::Context#find_method_named is_singleton: false name: find_method_named params: (name) visibility: private ri/1.8/system/RDoc/Context/each_classmodule-i.yaml 0000644 00000000450 15217654524 0015702 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: m comment: - !ruby/struct:SM::Flow::P body: Iterate over all the classes and modules in this object full_name: RDoc::Context#each_classmodule is_singleton: false name: each_classmodule params: () {|m| ...} visibility: public ri/1.8/system/RDoc/Context/initialize_methods_etc-i.yaml 0000644 00000000315 15217654524 0017126 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Context#initialize_methods_etc is_singleton: false name: initialize_methods_etc params: () visibility: public ri/1.8/system/RDoc/Context/find_instance_method_named-i.yaml 0000644 00000000452 15217654524 0017721 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Find a named instance method, or return nil full_name: RDoc::Context#find_instance_method_named is_singleton: false name: find_instance_method_named params: (name) visibility: private ri/1.8/system/RDoc/Context/%3c%3d%3e-i.yaml 0000644 00000000361 15217654524 0013553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: allow us to sort modules by name full_name: RDoc::Context#<=> is_singleton: false name: <=> params: (other) visibility: public ri/1.8/system/RDoc/Context/add_alias-i.yaml 0000644 00000000273 15217654524 0014313 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Context#add_alias is_singleton: false name: add_alias params: (an_alias) visibility: public ri/1.8/system/RDoc/Context/find_enclosing_module_named-i.yaml 0000644 00000000437 15217654524 0020106 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: find a module at a higher scope full_name: RDoc::Context#find_enclosing_module_named is_singleton: false name: find_enclosing_module_named params: (name) visibility: public ri/1.8/system/RDoc/Context/find_attribute_named-i.yaml 0000644 00000000430 15217654524 0016554 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Find a named attribute, or return nil full_name: RDoc::Context#find_attribute_named is_singleton: false name: find_attribute_named params: (name) visibility: private ri/1.8/system/RDoc/Context/add_attribute-i.yaml 0000644 00000000307 15217654524 0015223 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Context#add_attribute is_singleton: false name: add_attribute params: (an_attribute) visibility: public ri/1.8/system/RDoc/Context/toplevel-i.yaml 0000644 00000000366 15217654524 0014247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the toplevel that owns us full_name: RDoc::Context#toplevel is_singleton: false name: toplevel params: () visibility: public ri/1.8/system/RDoc/Context/set_current_section-i.yaml 0000644 00000000411 15217654524 0016465 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Handle sections full_name: RDoc::Context#set_current_section is_singleton: false name: set_current_section params: (title, comment) visibility: public ri/1.8/system/RDoc/Context/remove_classes_and_modules-i.yaml 0000644 00000000464 15217654524 0020000 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "and remove classes and modules when we see a :nodoc: all" full_name: RDoc::Context#remove_classes_and_modules is_singleton: false name: remove_classes_and_modules params: () visibility: public ri/1.8/system/RDoc/Context/record_location-i.yaml 0000644 00000000430 15217654524 0015553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Record the file that we happen to find it in full_name: RDoc::Context#record_location is_singleton: false name: record_location params: (toplevel) visibility: public ri/1.8/system/RDoc/Context/add_include-i.yaml 0000644 00000000301 15217654524 0014635 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Context#add_include is_singleton: false name: add_include params: (an_include) visibility: public ri/1.8/system/RDoc/Context/defined_in%3f-i.yaml 0000644 00000000447 15217654524 0014777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return true if at least part of this thing was defined in file full_name: RDoc::Context#defined_in? is_singleton: false name: defined_in? params: (file) visibility: public ri/1.8/system/RDoc/Context/each_attribute-i.yaml 0000644 00000000310 15217654524 0015365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: a comment: full_name: RDoc::Context#each_attribute is_singleton: false name: each_attribute params: () {|a| ...} visibility: public ri/1.8/system/RDoc/Context/find_local_symbol-i.yaml 0000644 00000000311 15217654524 0016062 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Context#find_local_symbol is_singleton: false name: find_local_symbol params: (symbol) visibility: public ri/1.8/system/RDoc/Context/add_method-i.yaml 0000644 00000000275 15217654524 0014504 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Context#add_method is_singleton: false name: add_method params: (a_method) visibility: public ri/1.8/system/RDoc/Context/remove_methods_etc-i.yaml 0000644 00000000542 15217654524 0016264 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: If a class's documentation is turned off after we've started collecting methods etc., we need to remove the ones we have full_name: RDoc::Context#remove_methods_etc is_singleton: false name: remove_methods_etc params: () visibility: public ri/1.8/system/RDoc/Context/ongoing_visibility%3d-i.yaml 0000644 00000000434 15217654524 0016614 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Change the default visibility for new methods full_name: RDoc::Context#ongoing_visibility= is_singleton: false name: ongoing_visibility= params: (vis) visibility: public ri/1.8/system/RDoc/Context/find_symbol-i.yaml 0000644 00000000545 15217654524 0014721 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Look up the given symbol. If method is non-nil, then we assume the symbol references a module that contains that method full_name: RDoc::Context#find_symbol is_singleton: false name: find_symbol params: (symbol, method=nil) visibility: public ri/1.8/system/RDoc/Context/add_require-i.yaml 0000644 00000000436 15217654524 0014677 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Requires always get added to the top-level (file) context full_name: RDoc::Context#add_require is_singleton: false name: add_require params: (a_require) visibility: public ri/1.8/system/RDoc/Context/add_class_or_module-i.yaml 0000644 00000000363 15217654524 0016374 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Context#add_class_or_module is_singleton: false name: add_class_or_module params: (collection, class_type, name, superclass=nil) visibility: public ri/1.8/system/RDoc/Context/each_constant-i.yaml 0000644 00000000306 15217654524 0015220 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: c comment: full_name: RDoc::Context#each_constant is_singleton: false name: each_constant params: () {|c| ...} visibility: public ri/1.8/system/RDoc/Context/each_method-i.yaml 0000644 00000000302 15217654524 0014643 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: m comment: full_name: RDoc::Context#each_method is_singleton: false name: each_method params: () {|m| ...} visibility: public ri/1.8/system/RDoc/Context/cdesc-Context.yaml 0000644 00000006064 15217654524 0014673 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: aliases rw: R - !ruby/object:RI::Attribute comment: name: attributes rw: R - !ruby/object:RI::Attribute comment: name: constants rw: R - !ruby/object:RI::Attribute comment: name: in_files rw: R - !ruby/object:RI::Attribute comment: name: includes rw: R - !ruby/object:RI::Attribute comment: name: method_list rw: R - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: requires rw: R - !ruby/object:RI::Attribute comment: name: sections rw: R - !ruby/object:RI::Attribute comment: name: visibility rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A Context is something that can hold modules, classes, methods, attributes, aliases, requires, and includes. Classes, modules, and files are all Contexts. constants: [] full_name: RDoc::Context includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: add_alias - !ruby/object:RI::MethodSummary name: add_attribute - !ruby/object:RI::MethodSummary name: add_class - !ruby/object:RI::MethodSummary name: add_class_or_module - !ruby/object:RI::MethodSummary name: add_constant - !ruby/object:RI::MethodSummary name: add_include - !ruby/object:RI::MethodSummary name: add_method - !ruby/object:RI::MethodSummary name: add_module - !ruby/object:RI::MethodSummary name: add_require - !ruby/object:RI::MethodSummary name: add_to - !ruby/object:RI::MethodSummary name: classes - !ruby/object:RI::MethodSummary name: defined_in? - !ruby/object:RI::MethodSummary name: each_attribute - !ruby/object:RI::MethodSummary name: each_classmodule - !ruby/object:RI::MethodSummary name: each_constant - !ruby/object:RI::MethodSummary name: each_method - !ruby/object:RI::MethodSummary name: find_attribute_named - !ruby/object:RI::MethodSummary name: find_constant_named - !ruby/object:RI::MethodSummary name: find_enclosing_module_named - !ruby/object:RI::MethodSummary name: find_instance_method_named - !ruby/object:RI::MethodSummary name: find_local_symbol - !ruby/object:RI::MethodSummary name: find_method_named - !ruby/object:RI::MethodSummary name: find_module_named - !ruby/object:RI::MethodSummary name: find_symbol - !ruby/object:RI::MethodSummary name: initialize_classes_and_modules - !ruby/object:RI::MethodSummary name: initialize_methods_etc - !ruby/object:RI::MethodSummary name: modules - !ruby/object:RI::MethodSummary name: ongoing_visibility= - !ruby/object:RI::MethodSummary name: record_location - !ruby/object:RI::MethodSummary name: remove_classes_and_modules - !ruby/object:RI::MethodSummary name: remove_methods_etc - !ruby/object:RI::MethodSummary name: set_current_section - !ruby/object:RI::MethodSummary name: set_visibility_for - !ruby/object:RI::MethodSummary name: toplevel name: Context superclass: CodeObject ri/1.8/system/RDoc/Context/classes-i.yaml 0000644 00000000375 15217654524 0014052 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: map the class hash to an array externally full_name: RDoc::Context#classes is_singleton: false name: classes params: () visibility: public ri/1.8/system/RDoc/Context/add_module-i.yaml 0000644 00000000305 15217654524 0014503 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Context#add_module is_singleton: false name: add_module params: (class_type, name) visibility: public ri/1.8/system/RDoc/Context/find_constant_named-i.yaml 0000644 00000000425 15217654524 0016406 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Find a named constant, or return nil full_name: RDoc::Context#find_constant_named is_singleton: false name: find_constant_named params: (name) visibility: private ri/1.8/system/RDoc/Context/set_visibility_for-i.yaml 0000644 00000000560 15217654524 0016321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Given an array methods of method names, set the visibility of the corresponding AnyMethod object full_name: RDoc::Context#set_visibility_for is_singleton: false name: set_visibility_for params: (methods, vis, singleton=false) visibility: public ri/1.8/system/RDoc/Context/add_constant-i.yaml 0000644 00000000276 15217654524 0015056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Context#add_constant is_singleton: false name: add_constant params: (const) visibility: public ri/1.8/system/RDoc/Context/add_class-i.yaml 0000644 00000000317 15217654524 0014326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Context#add_class is_singleton: false name: add_class params: (class_type, name, superclass) visibility: public ri/1.8/system/RDoc/Context/modules-i.yaml 0000644 00000000376 15217654524 0014066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: map the module hash to an array externally full_name: RDoc::Context#modules is_singleton: false name: modules params: () visibility: public ri/1.8/system/RDoc/Context/find_module_named-i.yaml 0000644 00000000377 15217654524 0016050 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Find a named module full_name: RDoc::Context#find_module_named is_singleton: false name: find_module_named params: (name) visibility: public ri/1.8/system/RDoc/NormalClass/cdesc-NormalClass.yaml 0000644 00000000401 15217654524 0016244 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Normal classes constants: [] full_name: RDoc::NormalClass includes: [] instance_methods: [] name: NormalClass superclass: ClassModule ri/1.8/system/RDoc/C_Parser/find_class-i.yaml 0000644 00000000305 15217654524 0014565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::C_Parser#find_class is_singleton: false name: find_class params: (raw_name, name) visibility: private ri/1.8/system/RDoc/C_Parser/new-c.yaml 0000644 00000000420 15217654524 0013241 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: prepare to parse a C file full_name: RDoc::C_Parser::new is_singleton: true name: new params: (top_level, file_name, body, options, stats) visibility: public ri/1.8/system/RDoc/C_Parser/scan-i.yaml 0000644 00000000462 15217654524 0013410 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Extract the classes/modules and methods from a C file and return the corresponding top-level object full_name: RDoc::C_Parser#scan is_singleton: false name: scan params: () visibility: public ri/1.8/system/RDoc/C_Parser/handle_ifdefs_in-i.yaml 0000644 00000000435 15217654524 0015725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Removes #ifdefs that would otherwise confuse us" full_name: RDoc::C_Parser#handle_ifdefs_in is_singleton: false name: handle_ifdefs_in params: (body) visibility: private ri/1.8/system/RDoc/C_Parser/find_override_comment-i.yaml 0000644 00000000331 15217654524 0017020 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RDoc::C_Parser#find_override_comment is_singleton: false name: find_override_comment params: (meth_name) visibility: private ri/1.8/system/RDoc/C_Parser/mangle_comment-i.yaml 0000644 00000000440 15217654524 0015445 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Remove the /*'s and leading asterisks from C comments full_name: RDoc::C_Parser#mangle_comment is_singleton: false name: mangle_comment params: (comment) visibility: private ri/1.8/system/RDoc/C_Parser/find_class_comment-i.yaml 0000644 00000001720 15217654524 0016311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Look for class or module documentation above Init_+class_name+(void), in a Document-class class_name (or module) comment or above an rb_define_class (or module). If a comment is supplied above a matching Init_ and a rb_define_class the Init_ comment is used. - !ruby/struct:SM::Flow::VERB body: " /*\n * This is a comment for Foo\n */\n Init_Foo(void) {\n VALUE cFoo = rb_define_class("Foo", rb_cObject);\n }\n\n /*\n * Document-class: Foo\n * This is a comment for Foo\n */\n Init_foo(void) {\n VALUE cFoo = rb_define_class("Foo", rb_cObject);\n }\n\n /*\n * This is a comment for Foo\n */\n VALUE cFoo = rb_define_class("Foo", rb_cObject);\n" full_name: RDoc::C_Parser#find_class_comment is_singleton: false name: find_class_comment params: (class_name, class_meth) visibility: private ri/1.8/system/RDoc/C_Parser/handle_tab_width-i.yaml 0000644 00000000307 15217654524 0015742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::C_Parser#handle_tab_width is_singleton: false name: handle_tab_width params: (body) visibility: private ri/1.8/system/RDoc/C_Parser/warn-i.yaml 0000644 00000000256 15217654524 0013434 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::C_Parser#warn is_singleton: false name: warn params: (msg) visibility: private ri/1.8/system/RDoc/C_Parser/do_includes-i.yaml 0000644 00000000533 15217654524 0014753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Look for includes of the form:" - !ruby/struct:SM::Flow::VERB body: " rb_include_module(rb_cArray, rb_mEnumerable);\n" full_name: RDoc::C_Parser#do_includes is_singleton: false name: do_includes params: () visibility: private ri/1.8/system/RDoc/C_Parser/progress-i.yaml 0000644 00000000272 15217654524 0014327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RDoc::C_Parser#progress is_singleton: false name: progress params: (char) visibility: private ri/1.8/system/RDoc/C_Parser/handle_method-i.yaml 0000644 00000000404 15217654524 0015253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RDoc::C_Parser#handle_method is_singleton: false name: handle_method params: (type, var_name, meth_name, meth_body, param_count, source_file = nil) visibility: private ri/1.8/system/RDoc/C_Parser/do_aliases-i.yaml 0000644 00000000272 15217654524 0014566 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RDoc::C_Parser#do_aliases is_singleton: false name: do_aliases params: () visibility: private ri/1.8/system/RDoc/C_Parser/find_body-i.yaml 0000644 00000000460 15217654524 0014417 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Find the C code corresponding to a Ruby method full_name: RDoc::C_Parser#find_body is_singleton: false name: find_body params: (meth_name, meth_obj, body, quiet = false) visibility: private ri/1.8/system/RDoc/C_Parser/do_methods-i.yaml 0000644 00000000272 15217654524 0014610 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RDoc::C_Parser#do_methods is_singleton: false name: do_methods params: () visibility: private ri/1.8/system/RDoc/C_Parser/remove_commented_out_lines-i.yaml 0000644 00000000551 15217654524 0020074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: removes lines that are commented out that might otherwise get picked up when scanning for classes and methods full_name: RDoc::C_Parser#remove_commented_out_lines is_singleton: false name: remove_commented_out_lines params: () visibility: private ri/1.8/system/RDoc/C_Parser/handle_constants-i.yaml 0000644 00000001324 15217654524 0016011 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Adds constant comments. By providing some_value: at the start ofthe comment you can override the C value of the comment to give a friendly definition." - !ruby/struct:SM::Flow::VERB body: " /* 300: The perfect score in bowling */\n rb_define_const(cFoo, "PERFECT", INT2FIX(300);\n" - !ruby/struct:SM::Flow::P body: Will override +INT2FIX(300)+ with the value +300+ in the output RDoc. Values may include quotes and escaped colons (\:). full_name: RDoc::C_Parser#handle_constants is_singleton: false name: handle_constants params: (type, var_name, const_name, definition) visibility: private ri/1.8/system/RDoc/C_Parser/find_const_comment-i.yaml 0000644 00000000571 15217654524 0016335 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Finds a comment matching type and const_name either above the comment or in the matching Document- section. full_name: RDoc::C_Parser#find_const_comment is_singleton: false name: find_const_comment params: (type, const_name) visibility: private ri/1.8/system/RDoc/C_Parser/handle_class_module-i.yaml 0000644 00000000373 15217654524 0016452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::C_Parser#handle_class_module is_singleton: false name: handle_class_module params: (var_name, class_mod, class_name, parent, in_module) visibility: private ri/1.8/system/RDoc/C_Parser/do_constants-i.yaml 0000644 00000000276 15217654524 0015165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RDoc::C_Parser#do_constants is_singleton: false name: do_constants params: () visibility: private ri/1.8/system/RDoc/C_Parser/cdesc-C_Parser.yaml 0000644 00000012323 15217654524 0015012 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: progress rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "We attempt to parse C extension files. Basically we look for the standard patterns that you find in extensions: rb_define_class, rb_define_method and so on. We also try to find the corresponding C source for the methods and extract comments, but if we fail we don't worry too much." - !ruby/struct:SM::Flow::P body: "The comments associated with a Ruby method are extracted from the C comment block associated with the routine that implements that method, that is to say the method whose name is given in the rb_define_method call. For example, you might write:" - !ruby/struct:SM::Flow::VERB body: " /*\n * Returns a new array that is a one-dimensional flattening of this\n * array (recursively). That is, for every element that is an array,\n * extract its elements into the new array.\n *\n * s = [ 1, 2, 3 ] #=> [1, 2, 3]\n * t = [ 4, 5, 6, [7, 8] ] #=> [4, 5, 6, [7, 8]]\n * a = [ s, t, 9, 10 ] #=> [[1, 2, 3], [4, 5, 6, [7, 8]], 9, 10]\n * a.flatten #=> [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\n */\n static VALUE\n rb_ary_flatten(ary)\n VALUE ary;\n {\n ary = rb_obj_dup(ary);\n rb_ary_flatten_bang(ary);\n return ary;\n }\n\n ...\n\n void\n Init_Array()\n {\n ...\n rb_define_method(rb_cArray, "flatten", rb_ary_flatten, 0);\n" - !ruby/struct:SM::Flow::P body: Here RDoc will determine from the rb_define_method line that there's a method called "flatten" in class Array, and will look for the implementation in the method rb_ary_flatten. It will then use the comment from that method in the HTML output. This method must be in the same source file as the rb_define_method. - !ruby/struct:SM::Flow::P body: C classes can be diagrammed (see /tc/dl/ruby/ruby/error.c), and RDoc integrates C and Ruby source into one tree - !ruby/struct:SM::Flow::P body: "The comment blocks may include special directives:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "Document-class: name" body: This comment block is documentation for the given class. Use this when the Init_xxx method is not named after the class. - !ruby/struct:SM::Flow::LI label: "Document-method: name" body: This comment documents the named method. Use when RDoc cannot automatically find the method from it's declaration - !ruby/struct:SM::Flow::LI label: "call-seq: text up to an empty line" body: Because C source doesn't give descriptive names to Ruby-level parameters, you need to document the calling sequence explicitly type: :LABELED - !ruby/struct:SM::Flow::P body: In addition, RDoc assumes by default that the C method implementing a Ruby function is in the same source file as the rb_define_method call. If this isn't the case, add the comment - !ruby/struct:SM::Flow::VERB body: " rb_define_method(....); // in: filename\n" - !ruby/struct:SM::Flow::P body: As an example, we might have an extension that defines multiple classes in its Init_xxx method. We could document them using - !ruby/struct:SM::Flow::VERB body: " /*\n * Document-class: MyClass\n *\n * Encapsulate the writing and reading of the configuration\n * file. ...\n */\n\n /*\n * Document-method: read_value\n *\n * call-seq:\n * cfg.read_value(key) -> value\n * cfg.read_value(key} { |key| } -> value\n *\n * Return the value corresponding to key from the configuration.\n * In the second form, if the key isn't found, invoke the\n * block and return its value.\n */\n" constants: [] full_name: RDoc::C_Parser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: do_aliases - !ruby/object:RI::MethodSummary name: do_classes - !ruby/object:RI::MethodSummary name: do_constants - !ruby/object:RI::MethodSummary name: do_includes - !ruby/object:RI::MethodSummary name: do_methods - !ruby/object:RI::MethodSummary name: find_attr_comment - !ruby/object:RI::MethodSummary name: find_body - !ruby/object:RI::MethodSummary name: find_class - !ruby/object:RI::MethodSummary name: find_class_comment - !ruby/object:RI::MethodSummary name: find_const_comment - !ruby/object:RI::MethodSummary name: find_modifiers - !ruby/object:RI::MethodSummary name: find_override_comment - !ruby/object:RI::MethodSummary name: handle_attr - !ruby/object:RI::MethodSummary name: handle_class_module - !ruby/object:RI::MethodSummary name: handle_constants - !ruby/object:RI::MethodSummary name: handle_ifdefs_in - !ruby/object:RI::MethodSummary name: handle_method - !ruby/object:RI::MethodSummary name: handle_tab_width - !ruby/object:RI::MethodSummary name: mangle_comment - !ruby/object:RI::MethodSummary name: progress - !ruby/object:RI::MethodSummary name: remove_commented_out_lines - !ruby/object:RI::MethodSummary name: remove_private_comments - !ruby/object:RI::MethodSummary name: scan - !ruby/object:RI::MethodSummary name: warn name: C_Parser superclass: Object ri/1.8/system/RDoc/C_Parser/find_attr_comment-i.yaml 0000644 00000000321 15217654524 0016152 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RDoc::C_Parser#find_attr_comment is_singleton: false name: find_attr_comment params: (attr_name) visibility: private ri/1.8/system/RDoc/C_Parser/handle_attr-i.yaml 0000644 00000000337 15217654524 0014752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RDoc::C_Parser#handle_attr is_singleton: false name: handle_attr params: (var_name, attr_name, reader, writer) visibility: private ri/1.8/system/RDoc/C_Parser/do_classes-i.yaml 0000644 00000000272 15217654524 0014602 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RDoc::C_Parser#do_classes is_singleton: false name: do_classes params: () visibility: private ri/1.8/system/RDoc/C_Parser/find_modifiers-i.yaml 0000644 00000000571 15217654524 0015446 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "If the comment block contains a section that looks like:" - !ruby/struct:SM::Flow::P body: use it for the parameters. full_name: RDoc::C_Parser#find_modifiers is_singleton: false name: find_modifiers params: | Array.new Array.new(10) visibility: private ri/1.8/system/RDoc/C_Parser/remove_private_comments-i.yaml 0000644 00000000330 15217654524 0017412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::C_Parser#remove_private_comments is_singleton: false name: remove_private_comments params: (comment) visibility: private ri/1.8/system/RDoc/Stats/new-c.yaml 0000644 00000000245 15217654524 0012646 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Stats::new is_singleton: true name: new params: () visibility: public ri/1.8/system/RDoc/Stats/print-i.yaml 0000644 00000000251 15217654524 0013214 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Stats#print is_singleton: false name: print params: () visibility: public ri/1.8/system/RDoc/Stats/cdesc-Stats.yaml 0000644 00000001147 15217654524 0014014 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: num_classes rw: RW - !ruby/object:RI::Attribute comment: name: num_files rw: RW - !ruby/object:RI::Attribute comment: name: num_methods rw: RW - !ruby/object:RI::Attribute comment: name: num_modules rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Simple stats collector constants: [] full_name: RDoc::Stats includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: print name: Stats superclass: Object ri/1.8/system/RDoc/SimpleParser/new-c.yaml 0000644 00000000430 15217654524 0014152 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: prepare to parse a plain file full_name: RDoc::SimpleParser::new is_singleton: true name: new params: (top_level, file_name, body, options, stats) visibility: public ri/1.8/system/RDoc/SimpleParser/scan-i.yaml 0000644 00000000431 15217654524 0014314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Extract the file contents and attach them to the toplevel as a comment full_name: RDoc::SimpleParser#scan is_singleton: false name: scan params: () visibility: public ri/1.8/system/RDoc/SimpleParser/cdesc-SimpleParser.yaml 0000644 00000000644 15217654524 0016635 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: See rdoc/parsers/parse_c.rb constants: [] full_name: RDoc::SimpleParser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: remove_private_comments - !ruby/object:RI::MethodSummary name: scan name: SimpleParser superclass: Object ri/1.8/system/RDoc/SimpleParser/remove_private_comments-i.yaml 0000644 00000000333 15217654524 0020325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::SimpleParser#remove_private_comments is_singleton: false name: remove_private_comments params: (comment) visibility: public ri/1.8/system/RDoc/NormalModule/cdesc-NormalModule.yaml 0000644 00000000455 15217654524 0016615 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Module constants: [] full_name: RDoc::NormalModule includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: is_module? name: NormalModule superclass: ClassModule ri/1.8/system/RDoc/NormalModule/is_module%3f-i.yaml 0000644 00000000272 15217654524 0015641 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::NormalModule#is_module? is_singleton: false name: is_module? params: () visibility: public ri/1.8/system/RDoc/usage_no_exit-c.yaml 0000644 00000000351 15217654524 0013606 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Display usage full_name: RDoc::usage_no_exit is_singleton: true name: usage_no_exit params: (*args) visibility: public ri/1.8/system/RDoc/RDocError/cdesc-RDocError.yaml 0000644 00000000477 15217654524 0015327 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: "Exception thrown by any rdoc error. Only the #message part is of use externally." constants: [] full_name: RDoc::RDocError includes: [] instance_methods: [] name: RDocError superclass: Exception ri/1.8/system/RDoc/Page/cdesc-Page.yaml 0000644 00000177202 15217654524 0013356 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: This is how you define the HTML that RDoc generates. Simply create a file in rdoc/generators/html_templates that creates the module RDoc::Page and populate it as described below. Then invoke rdoc using the --template <name of your file> option, and your template will be used. - !ruby/struct:SM::Flow::P body: "The constants defining pages use a simple templating system:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: The templating system is passed a hash. Keys in the hash correspond to tags on this page. The tag %abc% is looked up in the hash, and is replaced by the corresponding hash value. - !ruby/struct:SM::Flow::LI label: "*" body: Some tags are optional. You can detect this using IF/ENDIF - !ruby/struct:SM::Flow::VERB body: " IF: title\n The value of title is %title%\n ENDIF: title\n" - !ruby/struct:SM::Flow::LI label: "*" body: "Some entries in the hash have values that are arrays, where each entry in the array is itself a hash. These are used to generate lists using the START: construct. For example, given a hash containing" - !ruby/struct:SM::Flow::VERB body: " { 'people' => [ { 'name' => 'Fred', 'age' => '12' },\n { 'name' => 'Mary', 'age' => '21' } ]\n" - !ruby/struct:SM::Flow::P body: You could generate a simple table using - !ruby/struct:SM::Flow::VERB body: " <table>\n START:people\n <tr><td>%name%<td>%age%</tr>\n END:people\n </table>\n" - !ruby/struct:SM::Flow::P body: These lists can be nested to an arbitrary depth - !ruby/struct:SM::Flow::LI label: "*" body: "the construct HREF:url:name: generates <a href="%url%">%name%</a> if url is defined in the hash, or %name% otherwise." type: :BULLET - !ruby/struct:SM::Flow::P body: Your file must contain the following constants - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*FONTS*" body: a list of fonts to be used - !ruby/struct:SM::Flow::LI label: "*STYLE*" body: a CSS section (without the <style> or comments). This is used to generate a style.css file - !ruby/struct:SM::Flow::LI label: "*BODY*" body: "The main body of all non-index RDoc pages. BODY will contain two !INCLUDE!s. The first is used to include a document-type specific header (FILE_PAGE or CLASS_PAGE). The second include is for the method list (METHOD_LIST). THe body is passed:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "%title%:" body: the page's title - !ruby/struct:SM::Flow::LI label: "%style_url%:" body: the url of a style sheet for this page - !ruby/struct:SM::Flow::LI label: "%diagram%:" body: the optional URL of a diagram for this page - !ruby/struct:SM::Flow::LI label: "%description%:" body: a (potentially multi-paragraph) string containing the description for th file/class/module. - !ruby/struct:SM::Flow::LI label: "%requires%:" body: an optional list of %aref%/%name% pairs, one for each module required by this file. - !ruby/struct:SM::Flow::LI label: "%methods%:" body: an optional list of %aref%/%name%, one for each method documented on this page. This is intended to be an index. - !ruby/struct:SM::Flow::LI label: "%attributes%:" body: "An optional list. For each attribute it contains:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "%name%:" body: the attribute name - !ruby/struct:SM::Flow::LI label: "%rw%:" body: r/o, w/o, or r/w - !ruby/struct:SM::Flow::LI label: "%a_desc%:" body: description of the attribute type: :NOTE - !ruby/struct:SM::Flow::LI label: "%classlist%:" body: An optional string containing an already-formatted list of classes and modules documented in this file type: :NOTE - !ruby/struct:SM::Flow::P body: For FILE_PAGE entries, the body will be passed - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "%short_name%:" body: The name of the file - !ruby/struct:SM::Flow::LI label: "%full_path%:" body: The full path to the file - !ruby/struct:SM::Flow::LI label: "%dtm_modified%:" body: The date/time the file was last changed type: :NOTE - !ruby/struct:SM::Flow::P body: For class and module pages, the body will be passed - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "%classmod%:" body: The name of the class or module - !ruby/struct:SM::Flow::LI label: "%files%:" body: "A list. For each file this class is defined in, it contains:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "%full_path_url%:" body: an (optional) URL of the RDoc page for this file - !ruby/struct:SM::Flow::LI label: "%full_path%:" body: the name of the file type: :NOTE - !ruby/struct:SM::Flow::LI label: "%par_url%:" body: The (optional) URL of the RDoc page documenting this class's parent class - !ruby/struct:SM::Flow::LI label: "%parent%:" body: The name of this class's parent. type: :NOTE - !ruby/struct:SM::Flow::P body: "For both files and classes, the body is passed the following information on includes and methods:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "%includes%:" body: Optional list of included modules. For each, it receives - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "%aref%:" body: optional URL to RDoc page for the module - !ruby/struct:SM::Flow::LI label: "%name%:" body: the name of the module type: :NOTE - !ruby/struct:SM::Flow::LI label: "%method_list%:" body: Optional list of methods of a particular class and category. type: :NOTE - !ruby/struct:SM::Flow::P body: "Each method list entry contains:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "%type%:" body: public/private/protected - !ruby/struct:SM::Flow::LI label: "%category%:" body: instance/class - !ruby/struct:SM::Flow::LI label: "%methods%:" body: a list of method descriptions type: :NOTE - !ruby/struct:SM::Flow::P body: "Each method description contains:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "%aref%:" body: a target aref, used when referencing this method description. You should code this as <a name="%aref%"> - !ruby/struct:SM::Flow::LI label: "%codeurl%:" body: the optional URL to the page containing this method's source code. - !ruby/struct:SM::Flow::LI label: "%name%:" body: the method's name - !ruby/struct:SM::Flow::LI label: "%params%:" body: the method's parameters - !ruby/struct:SM::Flow::LI label: "%callseq%:" body: a full calling sequence - !ruby/struct:SM::Flow::LI label: "%m_desc%:" body: the (potentially multi-paragraph) description of this method. type: :NOTE - !ruby/struct:SM::Flow::LI label: "*CLASS_PAGE*" body: Header for pages documenting classes and modules. See BODY above for the available parameters. - !ruby/struct:SM::Flow::LI label: "*FILE_PAGE*" body: Header for pages documenting files. See BODY above for the available parameters. - !ruby/struct:SM::Flow::LI label: "*METHOD_LIST*" body: Controls the display of the listing of methods. See BODY for parameters. - !ruby/struct:SM::Flow::LI label: "*INDEX*" body: The top-level index page. For a browser-like environment define a frame set that includes the file, class, and method indices. Passed - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "%title%:" body: title of page - !ruby/struct:SM::Flow::LI label: "%initial_page% :" body: url of initial page to display type: :NOTE - !ruby/struct:SM::Flow::LI label: "*CLASS_INDEX*" body: "Individual files for the three indexes. Passed:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "%index_url%:" body: URL of main index page - !ruby/struct:SM::Flow::LI label: "%entries%:" body: List of - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "%name%:" body: name of an index entry - !ruby/struct:SM::Flow::LI label: "%href%:" body: url of corresponding page type: :NOTE type: :NOTE - !ruby/struct:SM::Flow::LI label: "*METHOD_INDEX*" body: Same as CLASS_INDEX for methods - !ruby/struct:SM::Flow::LI label: "*FILE_INDEX*" body: Same as CLASS_INDEX for methods - !ruby/struct:SM::Flow::LI label: "*FR_INDEX_BODY*" body: A wrapper around CLASS_INDEX, METHOD_INDEX, and FILE_INDEX. If those index strings contain the complete HTML for the output, then FR_INDEX_BODY can simply be !INCLUDE! - !ruby/struct:SM::Flow::LI label: "*SRC_PAGE*" body: Page used to display source code. Passed %title% and %code%, the latter being a multi-line string of code. type: :LABELED constants: - !ruby/object:RI::Constant comment: name: HPP_FILE value: "%{ [OPTIONS] Auto Index = Yes Compatibility=1.1 or later Compiled file=%opname%.chm Contents file=contents.hhc Full-text search=Yes Index file=index.hhk Language=0x409 English(United States) Title=%title% [FILES] START:all_html_files %html_file_name% END:all_html_files }" - !ruby/object:RI::Constant comment: name: CONTENTS value: "%{ START:contents IF:methods START:methods END:methods ENDIF:methods END:contents }" - !ruby/object:RI::Constant comment: name: CHM_INDEX value: "%{ START:index END:index }" - !ruby/object:RI::Constant comment: name: FONTS value: "\"Verdana,Arial,Helvetica,sans-serif\"" - !ruby/object:RI::Constant comment: name: STYLE value: "%{ body { font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 90%; margin: 0; margin-left: 40px; padding: 0; background: white; } h1,h2,h3,h4 { margin: 0; color: #efefef; background: transparent; } h1 { font-size: 150%; } h2,h3,h4 { margin-top: 1em; } a { background: #eef; color: #039; text-decoration: none; } a:hover { background: #039; color: #eef; } /* Override the base stylesheet's Anchor inside a table cell */ td > a { background: transparent; color: #039; text-decoration: none; } /* and inside a section title */ .section-title > a { background: transparent; color: #eee; text-decoration: none; } /* === Structural elements =================================== */ div#index { margin: 0; margin-left: -40px; padding: 0; font-size: 90%; } div#index a { margin-left: 0.7em; } div#index .section-bar { margin-left: 0px; padding-left: 0.7em; background: #ccc; font-size: small; } div#classHeader, div#fileHeader { width: auto; color: white; padding: 0.5em 1.5em 0.5em 1.5em; margin: 0; margin-left: -40px; border-bottom: 3px solid #006; } div#classHeader a, div#fileHeader a { background: inherit; color: white; } div#classHeader td, div#fileHeader td { background: inherit; color: white; } div#fileHeader { background: #057; } div#classHeader { background: #048; } .class-name-in-header { font-size: 180%; font-weight: bold; } div#bodyContent { padding: 0 1.5em 0 1.5em; } div#description { padding: 0.5em 1.5em; background: #efefef; border: 1px dotted #999; } div#description h1,h2,h3,h4,h5,h6 { color: #125;; background: transparent; } div#validator-badges { text-align: center; } div#validator-badges img { border: 0; } div#copyright { color: #333; background: #efefef; font: 0.75em sans-serif; margin-top: 5em; margin-bottom: 0; padding: 0.5em 2em; } /* === Classes =================================== */ table.header-table { color: white; font-size: small; } .type-note { font-size: small; color: #DEDEDE; } .xxsection-bar { background: #eee; color: #333; padding: 3px; } .section-bar { color: #333; border-bottom: 1px solid #999; margin-left: -20px; } .section-title { background: #79a; color: #eee; padding: 3px; margin-top: 2em; margin-left: -30px; border: 1px solid #999; } .top-aligned-row { vertical-align: top } .bottom-aligned-row { vertical-align: bottom } /* --- Context section classes ----------------------- */ .context-row { } .context-item-name { font-family: monospace; font-weight: bold; color: black; } .context-item-value { font-size: small; color: #448; } .context-item-desc { color: #333; padding-left: 2em; } /* --- Method classes -------------------------- */ .method-detail { background: #efefef; padding: 0; margin-top: 0.5em; margin-bottom: 1em; border: 1px dotted #ccc; } .method-heading { color: black; background: #ccc; border-bottom: 1px solid #666; padding: 0.2em 0.5em 0 0.5em; } .method-signature { color: black; background: inherit; } .method-name { font-weight: bold; } .method-args { font-style: italic; } .method-description { padding: 0 0.5em 0 0.5em; } /* --- Source code sections -------------------- */ a.source-toggle { font-size: 90%; } div.method-source-code { background: #262626; color: #ffdead; margin: 1em; padding: 0.5em; border: 1px dashed #999; overflow: hidden; } div.method-source-code pre { color: #ffdead; overflow: hidden; } /* --- Ruby keyword styles --------------------- */ .standalone-code { background: #221111; color: #ffdead; overflow: hidden; } .ruby-constant { color: #7fffd4; background: transparent; } .ruby-keyword { color: #00ffff; background: transparent; } .ruby-ivar { color: #eedd82; background: transparent; } .ruby-operator { color: #00ffee; background: transparent; } .ruby-identifier { color: #ffdead; background: transparent; } .ruby-node { color: #ffa07a; background: transparent; } .ruby-comment { color: #b22222; font-weight: bold; background: transparent; } .ruby-regexp { color: #ffa07a; background: transparent; } .ruby-value { color: #7fffd4; background: transparent; } }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: H E A D E R T E M P L A T E name: XHTML_PREAMBLE value: "%{ }" - !ruby/object:RI::Constant comment: name: HEADER value: "XHTML_PREAMBLE + %{ %title% }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: C O N T E X T C O N T E N T T E M P L A T E name: CONTEXT_CONTENT value: "%{ }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: F O O T E R T E M P L A T E name: FOOTER value: "%{ [Validate] }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: F I L E P A G E H E A D E R T E M P L A T E name: FILE_PAGE value: "%{ %short_name% Path: %full_path% IF:cvsurl (CVS) ENDIF:cvsurl Last Update: %dtm_modified% }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: C L A S S P A G E H E A D E R T E M P L A T E name: CLASS_PAGE value: "%{ %classmod% %full_name% In: START:infiles IF:full_path_url ENDIF:full_path_url %full_path% IF:full_path_url ENDIF:full_path_url IF:cvsurl (CVS) ENDIF:cvsurl END:infiles IF:parent Parent: IF:par_url ENDIF:par_url %parent% IF:par_url ENDIF:par_url ENDIF:parent }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: M E T H O D L I S T T E M P L A T E name: METHOD_LIST value: "%{ IF:diagram %diagram% ENDIF:diagram IF:description %description% ENDIF:description IF:requires Required files START:requires HREF:aref:name: END:requires ENDIF:requires IF:toc Contents START:toc %secname% END:toc ENDIF:toc IF:methods Methods START:methods HREF:aref:name: END:methods ENDIF:methods IF:includes Included Modules START:includes HREF:aref:name: END:includes ENDIF:includes START:sections IF:sectitle %sectitle% IF:seccomment %seccomment% ENDIF:seccomment ENDIF:sectitle IF:classlist Classes and Modules %classlist% ENDIF:classlist IF:constants Constants START:constants %name% = %value% IF:desc %desc% ENDIF:desc END:constants ENDIF:constants IF:aliases External Aliases START:aliases %old_name% -> %new_name% IF:desc %desc% ENDIF:desc END:aliases ENDIF:aliases IF:attributes Attributes START:attributes %name% IF:rw [%rw%] ENDIF:rw IFNOT:rw ENDIF:rw %a_desc% END:attributes ENDIF:attributes IF:method_list START:method_list IF:methods %type% %category% methods START:methods IF:codeurl ENDIF:codeurl IF:sourcecode ENDIF:sourcecode IF:callseq %callseq% ENDIF:callseq IFNOT:callseq %name%%params% ENDIF:callseq IF:codeurl ENDIF:codeurl IF:sourcecode ENDIF:sourcecode IF:m_desc %m_desc% ENDIF:m_desc IF:sourcecode [Source] %sourcecode% ENDIF:sourcecode END:methods ENDIF:methods END:method_list ENDIF:method_list END:sections }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: B O D Y T E M P L A T E name: BODY value: HEADER + %{ !INCLUDE! } + METHOD_LIST + %{ } + FOOTER - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: S O U R C E C O D E T E M P L A T E name: SRC_PAGE value: XHTML_PREAMBLE + %{ %title% %code% } - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: I N D E X F I L E T E M P L A T E S name: FR_INDEX_BODY value: "%{ !INCLUDE! }" - !ruby/object:RI::Constant comment: name: FILE_INDEX value: XHTML_PREAMBLE + %{ %list_title% %list_title% START:entries %name% END:entries } - !ruby/object:RI::Constant comment: name: CLASS_INDEX value: FILE_INDEX - !ruby/object:RI::Constant comment: name: METHOD_INDEX value: FILE_INDEX - !ruby/object:RI::Constant comment: name: INDEX value: "%{ %title% }" - !ruby/object:RI::Constant comment: name: FONTS value: "\"Verdana, Arial, Helvetica, sans-serif\"" - !ruby/object:RI::Constant comment: name: STYLE value: "%{ body,td,p { font-family: %fonts%; color: #000040; } .attr-rw { font-size: xx-small; color: #444488 } .title-row { background-color: #CCCCFF; color: #000010; } .big-title-font { color: black; font-weight: bold; font-family: %fonts%; font-size: large; height: 60px; padding: 10px 3px 10px 3px; } .small-title-font { color: black; font-family: %fonts%; font-size:10; } .aqua { color: black } .method-name, .attr-name { font-family: font-family: %fonts%; font-weight: bold; font-size: small; margin-left: 20px; color: #000033; } .tablesubtitle, .tablesubsubtitle { width: 100%; margin-top: 1ex; margin-bottom: .5ex; padding: 5px 0px 5px 3px; font-size: large; color: black; background-color: #CCCCFF; border: thin; } .name-list { margin-left: 5px; margin-bottom: 2ex; line-height: 105%; } .description { margin-left: 5px; margin-bottom: 2ex; line-height: 105%; font-size: small; } .methodtitle { font-size: small; font-weight: bold; text-decoration: none; color: #000033; background-color: white; } .srclink { font-size: small; font-weight: bold; text-decoration: none; color: #0000DD; background-color: white; } .paramsig { font-size: small; } .srcbut { float: right } }" - !ruby/object:RI::Constant comment: [] name: BODY value: "%{ %title% !INCLUDE! IF:diagram %diagram% ENDIF:diagram IF:description %description% ENDIF:description IF:requires Required files START:requires HREF:aref:name: END:requires ENDIF:requires IF:methods Methods START:methods HREF:aref:name:, END:methods ENDIF:methods START:sections IF:sectitle %sectitle% IF:seccomment %seccomment% ENDIF:seccomment ENDIF:sectitle IF:attributes Attributes START:attributes IF:rw [%rw%] ENDIF:rw IFNOT:rw ENDIF:rw %name% %a_desc% END:attributes ENDIF:attributes IF:classlist Classes and Modules %classlist% ENDIF:classlist !INCLUDE! END:sections }" - !ruby/object:RI::Constant comment: [] name: FILE_PAGE value: <<_FILE_PAGE_ File%short_name% Path: %full_path% IF:cvsurl (CVS) ENDIF:cvsurl Modified: %dtm_modified% _FILE_PAGE_ - !ruby/object:RI::Constant comment: [] name: CLASS_PAGE value: "%{ %classmod%%full_name% In: START:infiles HREF:full_path_url:full_path: IF:cvsurl (CVS) ENDIF:cvsurl END:infiles IF:parent Parent: IF:par_url ENDIF:par_url %parent% IF:par_url ENDIF:par_url ENDIF:parent }" - !ruby/object:RI::Constant comment: [] name: METHOD_LIST value: "%{ IF:includes Included modules START:includes HREF:aref:name: END:includes ENDIF:includes IF:method_list START:method_list IF:methods %type% %category% methods START:methods IF:callseq %callseq% ENDIF:callseq IFNOT:callseq %name%%params% ENDIF:callseq IF:codeurl src ENDIF:codeurl IF:m_desc %m_desc% ENDIF:m_desc IF:aka This method is also aliased as START:aka %name% END:aka ENDIF:aka IF:sourcecode %sourcecode% ENDIF:sourcecode END:methods ENDIF:methods END:method_list ENDIF:method_list }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: "Source code ##########################" name: SRC_PAGE value: "%{ %title% %code% }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: "Index ################################" name: FR_INDEX_BODY value: "%{ !INCLUDE! }" - !ruby/object:RI::Constant comment: name: FILE_INDEX value: "%{ %list_title% START:entries %name% END:entries }" - !ruby/object:RI::Constant comment: name: CLASS_INDEX value: FILE_INDEX - !ruby/object:RI::Constant comment: name: METHOD_INDEX value: FILE_INDEX - !ruby/object:RI::Constant comment: name: INDEX value: "%{ %title% IF:inline_source ENDIF:inline_source IFNOT:inline_source ENDIF:inline_source Click here for a non-frames version of this page. }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: and a blank page to use as a target name: BLANK value: "%{ }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: The following is used for the -1 option name: CONTENTS_XML value: "%{ IF:description %description% ENDIF:description IF:requires Requires: START:requires IF:aref %name% ENDIF:aref IFNOT:aref %name% ENDIF:aref END:requires ENDIF:requires IF:attributes Attributes START:attributes %name%%rw%%a_desc% END:attributes ENDIF:attributes IF:includes Includes START:includes IF:aref %name% ENDIF:aref IFNOT:aref %name% ENDIF:aref END:includes ENDIF:includes IF:method_list Methods START:method_list IF:methods START:methods %type% %category% method: IF:callseq %callseq% ENDIF:callseq IFNOT:callseq %name%%params% ENDIF:callseq IF:m_desc %m_desc% ENDIF:m_desc IF:sourcecode %sourcecode% ENDIF:sourcecode END:methods ENDIF:methods END:method_list ENDIF:method_list }" - !ruby/object:RI::Constant comment: [] name: ONE_PAGE value: "%{ %title% START:files File: %short_name% Path:%full_path% Modified:%dtm_modified% } + CONTENTS_XML + %{ END:files IF:classes Classes START:classes IF:parent %classmod% %full_name% < HREF:par_url:parent: ENDIF:parent IFNOT:parent %classmod% %full_name% ENDIF:parent IF:infiles (in files START:infiles HREF:full_path_url:full_path: END:infiles ) ENDIF:infiles } + CONTENTS_XML + %{ END:classes ENDIF:classes }" - !ruby/object:RI::Constant comment: name: FONTS value: "\"Verdana, Arial, Helvetica, sans-serif\"" - !ruby/object:RI::Constant comment: name: STYLE value: "%{ body,p { font-family: Verdana, Arial, Helvetica, sans-serif; color: #000040; background: #BBBBBB; } td { font-family: Verdana, Arial, Helvetica, sans-serif; color: #000040; } .attr-rw { font-size: small; color: #444488 } .title-row {color: #eeeeff; background: #BBBBDD; } .big-title-font { color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: large; height: 50px} .small-title-font { color: purple; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small; } .aqua { color: purple } .method-name, attr-name { font-family: monospace; font-weight: bold; } .tablesubtitle { width: 100%; margin-top: 1ex; margin-bottom: .5ex; padding: 5px 0px 5px 20px; font-size: large; color: purple; background: #BBBBCC; } .tablesubsubtitle { width: 100%; margin-top: 1ex; margin-bottom: .5ex; padding: 5px 0px 5px 20px; font-size: medium; color: white; background: #BBBBCC; } .name-list { font-family: monospace; margin-left: 40px; margin-bottom: 2ex; line-height: 140%; } .description { margin-left: 40px; margin-bottom: 2ex; line-height: 140%; } .methodtitle { font-size: medium; text_decoration: none; padding: 3px 3px 3px 20px; color: #0000AA; } .column-title { font-size: medium; font-weight: bold; text_decoration: none; padding: 3px 3px 3px 20px; color: #3333CC; } .variable-name { font-family: monospace; font-size: medium; text_decoration: none; padding: 3px 3px 3px 20px; color: #0000AA; } .row-name { font-size: medium; font-weight: medium; font-family: monospace; text_decoration: none; padding: 3px 3px 3px 20px; } .paramsig { font-size: small; } .srcbut { float: right } }" - !ruby/object:RI::Constant comment: [] name: BODY value: "%{ %title% !INCLUDE! IF:diagram %diagram% ENDIF:diagram IF:description %description% ENDIF:description IF:requires Required files START:requires HREF:aref:name: END:requires ENDIF:requires IF:methods Subroutines and Functions START:methods HREF:aref:name:, END:methods ENDIF:methods IF:attributes Arguments START:attributes IF:rw [%rw%] ENDIF:rw IFNOT:rw ENDIF:rw %name% %a_desc% END:attributes ENDIF:attributes IF:classlist Modules %classlist% ENDIF:classlist !INCLUDE! }" - !ruby/object:RI::Constant comment: [] name: FILE_PAGE value: <<_FILE_PAGE_ File%short_name% Path: %full_path% IF:cvsurl (CVS) ENDIF:cvsurl Modified: %dtm_modified% _FILE_PAGE_ - !ruby/object:RI::Constant comment: [] name: CLASS_PAGE value: "%{ %classmod%%full_name% In: START:infiles HREF:full_path_url:full_path: IF:cvsurl (CVS) ENDIF:cvsurl END:infiles IF:parent Parent: IF:par_url ENDIF:par_url %parent% IF:par_url ENDIF:par_url ENDIF:parent }" - !ruby/object:RI::Constant comment: [] name: METHOD_LIST value: "%{ IF:includes Uses START:includes HREF:aref:name: END:includes ENDIF:includes IF:method_list START:method_list IF:methods %type% %category% methods START:methods %name%%params% IF:codeurl src ENDIF:codeurl IF:m_desc %m_desc% ENDIF:m_desc END:methods ENDIF:methods END:method_list ENDIF:method_list }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: "Source code ##########################" name: SRC_PAGE value: "%{ %title% %code% }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: "Index ################################" name: FR_INDEX_BODY value: "%{ !INCLUDE! }" - !ruby/object:RI::Constant comment: name: FILE_INDEX value: "%{ %list_title% START:entries %name% END:entries }" - !ruby/object:RI::Constant comment: name: CLASS_INDEX value: FILE_INDEX - !ruby/object:RI::Constant comment: name: METHOD_INDEX value: FILE_INDEX - !ruby/object:RI::Constant comment: name: INDEX value: "%{ %title% Click here for a non-frames version of this page. }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: and a blank page to use as a target name: BLANK value: "%{ }" - !ruby/object:RI::Constant comment: name: FONTS value: "\"Verdana, Arial, Helvetica, sans-serif\"" - !ruby/object:RI::Constant comment: name: STYLE value: "%{ body,td,p { font-family: %fonts%; color: #000040; } .attr-rw { font-size: x-small; color: #444488 } .title-row { background: #0000aa; color: #eeeeff; } .big-title-font { color: white; font-family: %fonts%; font-size: large; height: 50px} .small-title-font { color: aqua; font-family: %fonts%; font-size: xx-small; } .aqua { color: aqua } .method-name, attr-name { font-family: monospace; font-weight: bold; } .tablesubtitle, .tablesubsubtitle { width: 100%; margin-top: 1ex; margin-bottom: .5ex; padding: 5px 0px 5px 20px; font-size: large; color: aqua; background: #3333cc; } .name-list { font-family: monospace; margin-left: 40px; margin-bottom: 2ex; line-height: 140%; } .description { margin-left: 40px; margin-top: -2ex; margin-bottom: 2ex; } .description p { line-height: 140%; } .aka { margin-left: 40px; margin-bottom: 2ex; line-height: 100%; font-size: small; color: #808080; } .methodtitle { font-size: medium; text-decoration: none; color: #0000AA; background: white; } .paramsig { font-size: small; } .srcbut { float: right } pre { font-size: 1.2em; } tt { font-size: 1.2em; } pre.source { border-style: groove; background-color: #ddddff; margin-left: 40px; padding: 1em 0em 1em 2em; } .classlist { margin-left: 40px; margin-bottom: 2ex; line-height: 140%; } li { display: list-item; margin-top: .6em; } .ruby-comment { color: green; font-style: italic } .ruby-constant { color: #4433aa; font-weight: bold; } .ruby-identifier { color: #222222; } .ruby-ivar { color: #2233dd; } .ruby-keyword { color: #3333FF; font-weight: bold } .ruby-node { color: #777777; } .ruby-operator { color: #111111; } .ruby-regexp { color: #662222; } .ruby-value { color: #662222; font-style: italic } }" - !ruby/object:RI::Constant comment: [] name: HEADER value: "%{ %title% }" - !ruby/object:RI::Constant comment: [] name: METHOD_LIST value: "%{ IF:includes Included modules START:includes HREF:aref:name: END:includes ENDIF:includes IF:method_list START:method_list IF:methods %type% %category% methods START:methods IF:codeurl ENDIF:codeurl IF:callseq %callseq% ENDIF:callseq IFNOT:callseq %name%%params% ENDIF:callseq IF:codeurl ENDIF:codeurl IF:m_desc %m_desc% ENDIF:m_desc IF:aka This method is also aliased as START:aka %name% END:aka ENDIF:aka IF:sourcecode %sourcecode% ENDIF:sourcecode END:methods ENDIF:methods END:method_list ENDIF:method_list }" - !ruby/object:RI::Constant comment: [] name: CONTEXT_CONTENT value: "%{ IF:diagram %diagram% ENDIF:diagram IF:description %description% ENDIF:description IF:requires Required files START:requires HREF:aref:name: END:requires ENDIF:requires IF:methods Methods START:methods HREF:aref:name: END:methods ENDIF:methods IF:constants Constants START:constants %name%=%value% IF:desc %desc% ENDIF:desc END:constants ENDIF:constants IF:aliases External Aliases START:aliases %old_name% -> %new_name% END:aliases ENDIF:aliases IF:attributes Attributes START:attributes %name% IF:rw [%rw%] ENDIF:rw IFNOT:rw ENDIF:rw %a_desc% END:attributes ENDIF:attributes IF:classlist Classes and Modules %classlist% ENDIF:classlist }" - !ruby/object:RI::Constant comment: [] name: BODY value: HEADER + %{ !INCLUDE! } + CONTEXT_CONTENT + METHOD_LIST + %{ } - !ruby/object:RI::Constant comment: [] name: FILE_PAGE value: <<_FILE_PAGE_ %short_name% Path: %full_path% IF:cvsurl (CVS) ENDIF:cvsurl Modified: %dtm_modified% _FILE_PAGE_ - !ruby/object:RI::Constant comment: [] name: CLASS_PAGE value: "%{ %classmod% %full_name% In: START:infiles IF:full_path_url ENDIF:full_path_url %full_path% IF:full_path_url ENDIF:full_path_url IF:cvsurl (CVS) ENDIF:cvsurl END:infiles IF:parent Parent: IF:par_url ENDIF:par_url %parent% IF:par_url ENDIF:par_url ENDIF:parent }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: "Source code ##########################" name: SRC_PAGE value: "%{ %title% %code% }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: "Index ################################" name: FR_INDEX_BODY value: "%{ !INCLUDE! }" - !ruby/object:RI::Constant comment: name: FILE_INDEX value: "%{ %list_title% %list_title% START:entries %name% END:entries }" - !ruby/object:RI::Constant comment: name: CLASS_INDEX value: FILE_INDEX - !ruby/object:RI::Constant comment: name: METHOD_INDEX value: FILE_INDEX - !ruby/object:RI::Constant comment: name: INDEX value: "%{ %title% Sorry, RDoc currently only generates HTML using frames. }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: The following is used for the -1 option name: CONTENTS_XML value: "%{ IF:description %description% ENDIF:description IF:requires Requires: START:requires IF:aref %name% ENDIF:aref IFNOT:aref %name% ENDIF:aref END:requires ENDIF:requires IF:attributes Attributes START:attributes %name%%rw%%a_desc% END:attributes ENDIF:attributes IF:includes Includes START:includes IF:aref %name% ENDIF:aref IFNOT:aref %name% ENDIF:aref END:includes ENDIF:includes IF:method_list Methods START:method_list IF:methods START:methods %type% %category% method: %name%%params% IF:m_desc %m_desc% ENDIF:m_desc IF:sourcecode %sourcecode% ENDIF:sourcecode END:methods ENDIF:methods END:method_list ENDIF:method_list }" - !ruby/object:RI::Constant comment: name: CONTENTS_XML value: "%{ IF:description %description% ENDIF:description IF:requires START:requires END:requires ENDIF:requires IF:attributes START:attributes IF:rw %rw% ENDIF:rw %a_desc% END:attributes ENDIF:attributes IF:includes START:includes END:includes ENDIF:includes IF:method_list START:method_list IF:methods START:methods %params% IF:m_desc %m_desc% ENDIF:m_desc IF:sourcecode %sourcecode% ENDIF:sourcecode END:methods ENDIF:methods END:method_list ENDIF:method_list }" - !ruby/object:RI::Constant comment: [] name: ONE_PAGE value: "%{ START:files %full_path% %dtm_modified% } + CONTENTS_XML + %{ END:files START:classes <%classmod% name=\"%full_name%\" id=\"%full_name%\"> IF:infiles START:infiles HREF:full_path_url:full_path: END:infiles ENDIF:infiles IF:parent HREF:par_url:parent: ENDIF:parent } + CONTENTS_XML + %{ %classmod%> END:classes }" - !ruby/object:RI::Constant comment: name: CONTENTS_RDF value: "%{ IF:description %description% ENDIF:description IF:requires START:requires END:requires ENDIF:requires IF:attributes START:attributes IF:rw %rw% ENDIF:rw %a_desc% END:attributes ENDIF:attributes IF:includes START:includes END:includes ENDIF:includes IF:method_list START:method_list IF:methods START:methods %params% IF:m_desc %m_desc% ENDIF:m_desc IF:sourcecode %sourcecode% ENDIF:sourcecode END:methods ENDIF:methods END:method_list ENDIF:method_list }" - !ruby/object:RI::Constant comment: [] name: ONE_PAGE value: "%{ START:files %full_path% %dtm_modified% } + CONTENTS_RDF + %{ END:files START:classes <%classmod% rd:name=\"%full_name%\" rd:id=\"%full_name%\"> IF:infiles START:infiles END:infiles ENDIF:infiles IF:parent HREF:par_url:parent: ENDIF:parent } + CONTENTS_RDF + %{ %classmod%> END:classes }" full_name: RDoc::Page includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: write_extra_pages - !ruby/object:RI::MethodSummary name: write_extra_pages name: Page superclass: ri/1.8/system/RDoc/Page/write_extra_pages-i.yaml 0000644 00000000300 15217654524 0015345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Page#write_extra_pages is_singleton: false name: write_extra_pages params: () visibility: public ri/1.8/system/RDoc/find_comment-c.yaml 0000644 00000000265 15217654524 0013423 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::find_comment is_singleton: true name: find_comment params: (file) visibility: private ri/1.8/system/RDoc/Token/new-c.yaml 0000644 00000000265 15217654524 0012632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Token::new is_singleton: true name: new params: (line_no, char_no) visibility: public ri/1.8/system/RDoc/Token/set_text-i.yaml 0000644 00000000506 15217654524 0013704 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Because we're used in contexts that expect to return a token, we set the text string and then return ourselves full_name: RDoc::Token#set_text is_singleton: false name: set_text params: (text) visibility: public ri/1.8/system/RDoc/Token/cdesc-Token.yaml 0000644 00000001047 15217654524 0013757 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: char_no rw: R - !ruby/object:RI::Attribute comment: name: line_no rw: R - !ruby/object:RI::Attribute comment: name: text rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: NO_TEXT value: "\"??\".freeze" full_name: RDoc::Token includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: set_text name: Token superclass: Object ri/1.8/system/RDoc/Require/new-c.yaml 0000644 00000000264 15217654524 0013165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Require::new is_singleton: true name: new params: (name, comment) visibility: public ri/1.8/system/RDoc/Require/cdesc-Require.yaml 0000644 00000000541 15217654524 0014645 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: a required file constants: [] full_name: RDoc::Require includes: [] instance_methods: [] name: Require superclass: CodeObject ri/1.8/system/RDoc/Fortran95parser/new-c.yaml 0000644 00000000440 15217654524 0014553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: prepare to parse a Fortran 95 file full_name: RDoc::Fortran95parser::new is_singleton: true name: new params: (top_level, file_name, body, options, stats) visibility: public ri/1.8/system/RDoc/Fortran95parser/scan-i.yaml 0000644 00000000354 15217654524 0014720 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: define code constructs full_name: RDoc::Fortran95parser#scan is_singleton: false name: scan params: () visibility: public ri/1.8/system/RDoc/Fortran95parser/semicolon_to_linefeed-i.yaml 0000644 00000000442 15217654524 0020317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Semicolons are replaced to line feed. full_name: RDoc::Fortran95parser#semicolon_to_linefeed is_singleton: false name: semicolon_to_linefeed params: (text) visibility: private ri/1.8/system/RDoc/Fortran95parser/parse_program_or_module-i.yaml 0000644 00000000411 15217654524 0020674 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Fortran95parser#parse_program_or_module is_singleton: false name: parse_program_or_module params: (container, code, visibility=:public, external=nil) visibility: private ri/1.8/system/RDoc/Fortran95parser/block_start%3f-i.yaml 0000644 00000000523 15217654524 0016577 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Which "line" is start of block (module, program, block data, subroutine, function) statement ? full_name: RDoc::Fortran95parser#block_start? is_singleton: false name: block_start? params: (line) visibility: private ri/1.8/system/RDoc/Fortran95parser/united_to_one_line-i.yaml 0000644 00000000543 15217654524 0017636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Continuous lines are united. - !ruby/struct:SM::Flow::P body: Comments in continuous lines are removed. full_name: RDoc::Fortran95parser#united_to_one_line is_singleton: false name: united_to_one_line params: (f90src) visibility: private ri/1.8/system/RDoc/Fortran95parser/collect_first_comment-i.yaml 0000644 00000000434 15217654524 0020351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Collect comment for file entity full_name: RDoc::Fortran95parser#collect_first_comment is_singleton: false name: collect_first_comment params: (body) visibility: private ri/1.8/system/RDoc/Fortran95parser/definition_info-i.yaml 0000644 00000000507 15217654524 0017137 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parse string argument "text", and Return Array of Fortran95Definition object full_name: RDoc::Fortran95parser#definition_info is_singleton: false name: definition_info params: (text) visibility: private ri/1.8/system/RDoc/Fortran95parser/check_public_methods-i.yaml 0000644 00000000431 15217654524 0020126 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Check public_methods full_name: RDoc::Fortran95parser#check_public_methods is_singleton: false name: check_public_methods params: (method, parent) visibility: private ri/1.8/system/RDoc/Fortran95parser/find_comments-i.yaml 0000644 00000000625 15217654524 0016622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Comments just after module or subprogram, or arguments are returned. If "COMMENTS_ARE_UPPER" is true, comments just before modules or subprograms are returned full_name: RDoc::Fortran95parser#find_comments is_singleton: false name: find_comments params: (text) visibility: private ri/1.8/system/RDoc/Fortran95parser/progress-i.yaml 0000644 00000000276 15217654524 0015643 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Fortran95parser#progress is_singleton: false name: progress params: (char) visibility: private ri/1.8/system/RDoc/Fortran95parser/check_external_aliases-i.yaml 0000644 00000000463 15217654524 0020455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Check external aliases full_name: RDoc::Fortran95parser#check_external_aliases is_singleton: false name: check_external_aliases params: (subname, params, comment, test=nil) visibility: private ri/1.8/system/RDoc/Fortran95parser/initialize_public_method-i.yaml 0000644 00000000455 15217654524 0021035 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create method for internal alias full_name: RDoc::Fortran95parser#initialize_public_method is_singleton: false name: initialize_public_method params: (method, parent) visibility: private ri/1.8/system/RDoc/Fortran95parser/remove_empty_head_lines-i.yaml 0000644 00000000442 15217654524 0020660 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Empty lines in header are removed full_name: RDoc::Fortran95parser#remove_empty_head_lines is_singleton: false name: remove_empty_head_lines params: (text) visibility: private ri/1.8/system/RDoc/Fortran95parser/set_visibility-i.yaml 0000644 00000000635 15217654524 0017040 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set visibility - !ruby/struct:SM::Flow::P body: ""subname" element of "visibility_info" is deleted." full_name: RDoc::Fortran95parser#set_visibility is_singleton: false name: set_visibility params: (container, subname, visibility_default, visibility_info) visibility: private ri/1.8/system/RDoc/Fortran95parser/remove_header_marker-i.yaml 0000644 00000000467 15217654524 0020147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: header marker "=", "==", ... are removed full_name: RDoc::Fortran95parser#remove_header_marker is_singleton: false name: remove_header_marker params: (text) visibility: private ri/1.8/system/RDoc/Fortran95parser/parse_subprogram-i.yaml 0000644 00000000622 15217654524 0017345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parse arguments, comment, code of subroutine and function. Return AnyMethod object. full_name: RDoc::Fortran95parser#parse_subprogram is_singleton: false name: parse_subprogram params: (subprogram, params, comment, code, before_contains=nil, function=nil, prefix=nil) visibility: private ri/1.8/system/RDoc/Fortran95parser/find_namelists-i.yaml 0000644 00000000457 15217654524 0016777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return comments of definitions of namelists full_name: RDoc::Fortran95parser#find_namelists is_singleton: false name: find_namelists params: (text, before_contains=nil) visibility: private ri/1.8/system/RDoc/Fortran95parser/continuous_line%3f-i.yaml 0000644 00000000412 15217654524 0017502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Continuous line checker full_name: RDoc::Fortran95parser#continuous_line? is_singleton: false name: continuous_line? params: (line) visibility: private ri/1.8/system/RDoc/Fortran95parser/initialize_external_method-i.yaml 0000644 00000000706 15217654524 0021400 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create method for external alias - !ruby/struct:SM::Flow::P body: If argument "internal" is true, file is ignored. full_name: RDoc::Fortran95parser#initialize_external_method is_singleton: false name: initialize_external_method params: (new, old, params, file, comment, token=nil, internal=nil, nolink=nil) visibility: private ri/1.8/system/RDoc/Fortran95parser/parse_visibility-i.yaml 0000644 00000000427 15217654524 0017356 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parse visibility full_name: RDoc::Fortran95parser#parse_visibility is_singleton: false name: parse_visibility params: (code, default, container) visibility: private ri/1.8/system/RDoc/Fortran95parser/block_end%3f-i.yaml 0000644 00000000515 15217654524 0016211 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Which "line" is end of block (module, program, block data, subroutine, function) statement ? full_name: RDoc::Fortran95parser#block_end? is_singleton: false name: block_end? params: (line) visibility: private ri/1.8/system/RDoc/Fortran95parser/find_visibility-i.yaml 0000644 00000000437 15217654524 0017165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Find visibility full_name: RDoc::Fortran95parser#find_visibility is_singleton: false name: find_visibility params: (container, subname, visibility_info) visibility: private ri/1.8/system/RDoc/Fortran95parser/cdesc-Fortran95parser.yaml 0000644 00000004754 15217654524 0017643 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: See rdoc/parsers/parse_f95.rb constants: - !ruby/object:RI::Constant comment: - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "\"false\":" body: Comments are below source code - !ruby/struct:SM::Flow::LI label: "\"true\" :" body: Comments are upper source code type: :NOTE name: COMMENTS_ARE_UPPER value: "false" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Internal alias message name: INTERNAL_ALIAS_MES value: "\"Alias for\"" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: External alias message name: EXTERNAL_ALIAS_MES value: "\"The entity is\"" full_name: RDoc::Fortran95parser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: block_end? - !ruby/object:RI::MethodSummary name: block_start? - !ruby/object:RI::MethodSummary name: check_external_aliases - !ruby/object:RI::MethodSummary name: check_public_methods - !ruby/object:RI::MethodSummary name: collect_first_comment - !ruby/object:RI::MethodSummary name: comment_out? - !ruby/object:RI::MethodSummary name: continuous_line? - !ruby/object:RI::MethodSummary name: definition_info - !ruby/object:RI::MethodSummary name: find_arguments - !ruby/object:RI::MethodSummary name: find_comments - !ruby/object:RI::MethodSummary name: find_namelists - !ruby/object:RI::MethodSummary name: find_visibility - !ruby/object:RI::MethodSummary name: initialize_external_method - !ruby/object:RI::MethodSummary name: initialize_public_method - !ruby/object:RI::MethodSummary name: parse_program_or_module - !ruby/object:RI::MethodSummary name: parse_subprogram - !ruby/object:RI::MethodSummary name: parse_visibility - !ruby/object:RI::MethodSummary name: progress - !ruby/object:RI::MethodSummary name: remove_empty_head_lines - !ruby/object:RI::MethodSummary name: remove_header_marker - !ruby/object:RI::MethodSummary name: remove_private_comments - !ruby/object:RI::MethodSummary name: remove_trailing_alias - !ruby/object:RI::MethodSummary name: scan - !ruby/object:RI::MethodSummary name: semicolon_to_linefeed - !ruby/object:RI::MethodSummary name: set_visibility - !ruby/object:RI::MethodSummary name: united_to_one_line name: Fortran95parser superclass: Object ri/1.8/system/RDoc/Fortran95parser/remove_trailing_alias-i.yaml 0000644 00000000454 15217654524 0020334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Remove "Alias for" in end of comments full_name: RDoc::Fortran95parser#remove_trailing_alias is_singleton: false name: remove_trailing_alias params: (text) visibility: private ri/1.8/system/RDoc/Fortran95parser/Fortran95Definition/new-c.yaml 0000644 00000000377 15217654524 0020366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Fortran95parser::Fortran95Definition::new is_singleton: true name: new params: (varname, types, inivalue, arraysuffix, comment, nodoc=false) visibility: public ri/1.8/system/RDoc/Fortran95parser/Fortran95Definition/to_s-i.yaml 0000644 00000000306 15217654524 0020537 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Fortran95parser::Fortran95Definition#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/RDoc/Fortran95parser/Fortran95Definition/cdesc-Fortran95Definition.yaml 0000644 00000002300 15217654524 0024222 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Suffix of array name: arraysuffix rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Comments name: comment rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Initial Value name: inivalue rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Flag of non documentation name: nodoc rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Types of variable name: types rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Name of variable name: varname rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Information of arguments of subroutines and functions in Fortran95 constants: [] full_name: RDoc::Fortran95parser::Fortran95Definition includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: include_attr? - !ruby/object:RI::MethodSummary name: to_s name: Fortran95Definition superclass: Object ri/1.8/system/RDoc/Fortran95parser/Fortran95Definition/include_attr%3f-i.yaml 0000644 00000000446 15217654524 0022553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: If attr is included, true is returned full_name: RDoc::Fortran95parser::Fortran95Definition#include_attr? is_singleton: false name: include_attr? params: (attr) visibility: public ri/1.8/system/RDoc/Fortran95parser/find_arguments-i.yaml 0000644 00000001115 15217654524 0016775 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return comments of definitions of arguments - !ruby/struct:SM::Flow::P body: If "all" argument is true, information of all arguments are returned. If "modified_params" is true, list of arguments are decorated, for example, optional arguments are parenthetic as "[arg]". full_name: RDoc::Fortran95parser#find_arguments is_singleton: false name: find_arguments params: (args, text, all=nil, indent=nil, modified_params=nil) visibility: private ri/1.8/system/RDoc/Fortran95parser/remove_private_comments-i.yaml 0000644 00000000334 15217654524 0020726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::Fortran95parser#remove_private_comments is_singleton: false name: remove_private_comments params: (body) visibility: private ri/1.8/system/RDoc/Fortran95parser/comment_out%3f-i.yaml 0000644 00000000376 15217654524 0016627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Comment out checker full_name: RDoc::Fortran95parser#comment_out? is_singleton: false name: comment_out? params: (line) visibility: private ri/1.8/system/RDoc/ParserFactory/can_parse-c.yaml 0000644 00000000435 15217654524 0015477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a parser that can handle a particular extension full_name: RDoc::ParserFactory::can_parse is_singleton: true name: can_parse params: (file_name) visibility: public ri/1.8/system/RDoc/ParserFactory/cdesc-ParserFactory.yaml 0000644 00000003452 15217654524 0017171 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: alias_extension - !ruby/object:RI::MethodSummary name: can_parse - !ruby/object:RI::MethodSummary name: parser_for comment: - !ruby/struct:SM::Flow::P body: A parser is simple a class that implements - !ruby/struct:SM::Flow::VERB body: " #initialize(file_name, body, options)\n" - !ruby/struct:SM::Flow::P body: and - !ruby/struct:SM::Flow::VERB body: " #scan\n" - !ruby/struct:SM::Flow::P body: The initialize method takes a file name to be used, the body of the file, and an RDoc::Options object. The scan method is then called to return an appropriately parsed TopLevel code object. - !ruby/struct:SM::Flow::P body: The ParseFactory is used to redirect to the correct parser given a filename extension. This magic works because individual parsers have to register themselves with us as they are loaded in. The do this using the following incantation - !ruby/struct:SM::Flow::VERB body: " require "rdoc/parsers/parsefactory"\n\n module RDoc\n\n class XyzParser\n extend ParseFactory <<<<\n parse_files_matching /\\.xyz$/ <<<<\n\n def initialize(file_name, body, options)\n ...\n end\n\n def scan\n ...\n end\n end\n end\n" - !ruby/struct:SM::Flow::P body: Just to make life interesting, if we suspect a plain text file, we also look for a shebang line just in case it's a potential shell script constants: - !ruby/object:RI::Constant comment: name: Parsers value: Struct.new(:regexp, :parser) full_name: RDoc::ParserFactory includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_files_matching name: ParserFactory superclass: ri/1.8/system/RDoc/ParserFactory/parse_files_matching-i.yaml 0000644 00000000513 15217654524 0017715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Record the fact that a particular class parses files that match a given extension full_name: RDoc::ParserFactory#parse_files_matching is_singleton: false name: parse_files_matching params: (regexp) visibility: public ri/1.8/system/RDoc/ParserFactory/parser_for-c.yaml 0000644 00000000557 15217654524 0015713 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Find the correct parser for a particular file name. Return a SimpleParser for ones that we don't know full_name: RDoc::ParserFactory::parser_for is_singleton: true name: parser_for params: (top_level, file_name, body, options, stats) visibility: public ri/1.8/system/RDoc/ParserFactory/alias_extension-c.yaml 0000644 00000000620 15217654524 0016725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Alias an extension to another extension. After this call, files ending "new_ext" will be parsed using the same parser as "old_ext" full_name: RDoc::ParserFactory::alias_extension is_singleton: true name: alias_extension params: (old_ext, new_ext) visibility: public ri/1.8/system/RDoc/AnyMethod/new-c.yaml 0000644 00000000263 15217654524 0013440 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::AnyMethod::new is_singleton: true name: new params: (text, name) visibility: public ri/1.8/system/RDoc/AnyMethod/to_s-i.yaml 0000644 00000000253 15217654524 0013620 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::AnyMethod#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/RDoc/AnyMethod/cdesc-AnyMethod.yaml 0000644 00000002173 15217654524 0015400 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: aliases rw: R - !ruby/object:RI::Attribute comment: name: block_params rw: RW - !ruby/object:RI::Attribute comment: name: call_seq rw: RW - !ruby/object:RI::Attribute comment: name: dont_rename_initialize rw: RW - !ruby/object:RI::Attribute comment: name: is_alias_for rw: RW - !ruby/object:RI::Attribute comment: name: name rw: RW - !ruby/object:RI::Attribute comment: name: singleton rw: RW - !ruby/object:RI::Attribute comment: name: visibility rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: AnyMethod is the base class for objects representing methods constants: [] full_name: RDoc::AnyMethod includes: - !ruby/object:RI::IncludedModule name: TokenStream instance_methods: - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: add_alias - !ruby/object:RI::MethodSummary name: param_seq - !ruby/object:RI::MethodSummary name: to_s name: AnyMethod superclass: CodeObject ri/1.8/system/RDoc/AnyMethod/%3c%3d%3e-i.yaml 0000644 00000000256 15217654524 0014022 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::AnyMethod#<=> is_singleton: false name: <=> params: (other) visibility: public ri/1.8/system/RDoc/AnyMethod/add_alias-i.yaml 0000644 00000000273 15217654524 0014557 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::AnyMethod#add_alias is_singleton: false name: add_alias params: (method) visibility: public ri/1.8/system/RDoc/AnyMethod/param_seq-i.yaml 0000644 00000000265 15217654524 0014627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RDoc::AnyMethod#param_seq is_singleton: false name: param_seq params: () visibility: public ri/1.8/system/Errno/ECONNABORTED/cdesc-ECONNABORTED.yaml 0000644 00000000325 15217654524 0015561 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Errno::ECONNABORTED includes: [] instance_methods: [] name: ECONNABORTED superclass: SystemCallError ri/1.8/system/Errno/cdesc-Errno.yaml 0000644 00000001055 15217654524 0013141 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: compat.rb -- cross platform compatibility - !ruby/struct:SM::Flow::P body: "Author: IPR -- Internet Programming with Ruby -- writers Copyright (c) 2002 GOTOU Yuuzou Copyright (c) 2002 Internet Programming with Ruby writers. All rights reserved." - !ruby/struct:SM::Flow::P body: "$IPR: compat.rb,v 1.6 2002/10/01 17:16:32 gotoyuzo Exp $" constants: [] full_name: Errno includes: [] instance_methods: [] name: Errno superclass: ri/1.8/system/Errno/EPROTO/cdesc-EPROTO.yaml 0000644 00000000311 15217654524 0014066 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Errno::EPROTO includes: [] instance_methods: [] name: EPROTO superclass: SystemCallError ri/1.8/system/Errno/ECONNRESET/cdesc-ECONNRESET.yaml 0000644 00000000321 15217654524 0015161 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Errno::ECONNRESET includes: [] instance_methods: [] name: ECONNRESET superclass: SystemCallError ri/1.8/system/Marshal/cdesc-Marshal.yaml 0000644 00000004356 15217654524 0013754 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: dump - !ruby/object:RI::MethodSummary name: load - !ruby/object:RI::MethodSummary name: restore comment: - !ruby/struct:SM::Flow::P body: The marshaling library converts collections of Ruby objects into a byte stream, allowing them to be stored outside the currently active script. This data may subsequently be read and the original objects reconstituted. Marshaled data has major and minor version numbers stored along with the object information. In normal use, marshaling can only load data written with the same major version number and an equal or lower minor version number. If Ruby's ``verbose'' flag is set (normally using -d, -v, -w, or --verbose) the major and minor numbers must match exactly. Marshal versioning is independent of Ruby's version numbers. You can extract the version by reading the first two bytes of marshaled data. - !ruby/struct:SM::Flow::VERB body: " str = Marshal.dump("thing")\n RUBY_VERSION #=> "1.8.0"\n str[0] #=> 4\n str[1] #=> 8\n" - !ruby/struct:SM::Flow::P body: "Some objects cannot be dumped: if the objects to be dumped include bindings, procedure or method objects, instances of class IO, or singleton objects, a TypeError will be raised. If your class has special serialization needs (for example, if you want to serialize in some specific format), or if it contains objects that would otherwise not be serializable, you can implement your own serialization strategy by defining two methods, _dump and _load: The instance method _dump should return a String object containing all the information necessary to reconstitute objects of this class and all referenced objects up to a maximum depth given as an integer parameter (a value of -1 implies that you should disable depth checking). The class method _load should take a String and return an object of this class." constants: - !ruby/object:RI::Constant comment: name: MAJOR_VERSION value: INT2FIX(MARSHAL_MAJOR) - !ruby/object:RI::Constant comment: name: MINOR_VERSION value: INT2FIX(MARSHAL_MINOR) full_name: Marshal includes: [] instance_methods: [] name: Marshal superclass: ri/1.8/system/Marshal/load-c.yaml 0000644 00000001046 15217654524 0012436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the result of converting the serialized data in source into a Ruby object (possibly with associated subordinate objects). source may be either an instance of IO or an object that responds to to_str. If proc is specified, it will be passed each object as it is deserialized. full_name: Marshal::load is_singleton: true name: load params: | load( source [, proc] ) => obj restore( source [, proc] ) => obj visibility: public ri/1.8/system/Marshal/restore-c.yaml 0000644 00000001054 15217654524 0013201 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the result of converting the serialized data in source into a Ruby object (possibly with associated subordinate objects). source may be either an instance of IO or an object that responds to to_str. If proc is specified, it will be passed each object as it is deserialized. full_name: Marshal::restore is_singleton: true name: restore params: | load( source [, proc] ) => obj restore( source [, proc] ) => obj visibility: public ri/1.8/system/Marshal/dump-c.yaml 0000644 00000001700 15217654524 0012461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Serializes obj and all descendent objects. If anIO is specified, the serialized data will be written to it, otherwise the data will be returned as a String. If limit is specified, the traversal of subobjects will be limited to that depth. If limit is negative, no checking of depth will be performed. - !ruby/struct:SM::Flow::VERB body: " class Klass\n def initialize(str)\n @str = str\n end\n def sayHello\n @str\n end\n end\n" - !ruby/struct:SM::Flow::P body: (produces no output) - !ruby/struct:SM::Flow::VERB body: " o = Klass.new("hello\\n")\n data = Marshal.dump(o)\n obj = Marshal.load(data)\n obj.sayHello #=> "hello\\n"\n" full_name: Marshal::dump is_singleton: true name: dump params: | dump( obj [, anIO] , limit=--1 ) => anIO visibility: public ri/1.8/system/ObjectSpace/define_finalizer-c.yaml 0000644 00000000550 15217654524 0015606 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Adds aProc as a finalizer, to be called after obj was destroyed. full_name: ObjectSpace::define_finalizer is_singleton: true name: define_finalizer params: | ObjectSpace.define_finalizer(obj, aProc=proc()) visibility: public ri/1.8/system/ObjectSpace/garbage_collect-c.yaml 0000644 00000000613 15217654524 0015406 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Initiates garbage collection, unless manually disabled. full_name: ObjectSpace::garbage_collect is_singleton: true name: garbage_collect params: | GC.start => nil gc.garbage_collect => nil ObjectSpace.garbage_collect => nil visibility: public ri/1.8/system/ObjectSpace/_id2ref-c.yaml 0000644 00000001176 15217654524 0013630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts an object id to a reference to the object. May not be called on an object id passed as a parameter to a finalizer. - !ruby/struct:SM::Flow::VERB body: " s = "I am a string" #=> "I am a string"\n r = ObjectSpace._id2ref(s.object_id) #=> "I am a string"\n r == s #=> true\n" full_name: ObjectSpace::_id2ref is_singleton: true name: _id2ref params: | ObjectSpace._id2ref(object_id) -> an_object visibility: public ri/1.8/system/ObjectSpace/call_finalizer-c.yaml 0000644 00000000354 15217654524 0015271 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: deprecated full_name: ObjectSpace::call_finalizer is_singleton: true name: call_finalizer params: (p1) visibility: public ri/1.8/system/ObjectSpace/undefine_finalizer-c.yaml 0000644 00000000466 15217654524 0016157 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes all finalizers for obj. full_name: ObjectSpace::undefine_finalizer is_singleton: true name: undefine_finalizer params: | ObjectSpace.undefine_finalizer(obj) visibility: public ri/1.8/system/ObjectSpace/each_object-c.yaml 0000644 00000002372 15217654524 0014543 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls the block once for each living, nonimmediate object in this Ruby process. If module is specified, calls the block for only those classes or modules that match (or are a subclass of) module. Returns the number of objects found. Immediate objects (Fixnums, Symbols true, false, and nil) are never returned. In the example below, each_object returns both the numbers we defined and several constants defined in the Math module. - !ruby/struct:SM::Flow::VERB body: " a = 102.7\n b = 95 # Won't be returned\n c = 12345678987654321\n count = ObjectSpace.each_object(Numeric) {|x| p x }\n puts "Total count: #{count}"\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " 12345678987654321\n 102.7\n 2.71828182845905\n 3.14159265358979\n 2.22044604925031e-16\n 1.7976931348623157e+308\n 2.2250738585072e-308\n Total count: 7\n" full_name: ObjectSpace::each_object is_singleton: true name: each_object params: | ObjectSpace.each_object([module]) {|obj| ... } => fixnum visibility: public ri/1.8/system/ObjectSpace/add_finalizer-c.yaml 0000644 00000000352 15217654524 0015104 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: deprecated full_name: ObjectSpace::add_finalizer is_singleton: true name: add_finalizer params: (p1) visibility: public ri/1.8/system/ObjectSpace/remove_finalizer-c.yaml 0000644 00000000360 15217654524 0015650 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: deprecated full_name: ObjectSpace::remove_finalizer is_singleton: true name: remove_finalizer params: (p1) visibility: public ri/1.8/system/ObjectSpace/cdesc-ObjectSpace.yaml 0000644 00000003204 15217654524 0015331 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: _id2ref - !ruby/object:RI::MethodSummary name: add_finalizer - !ruby/object:RI::MethodSummary name: call_finalizer - !ruby/object:RI::MethodSummary name: define_finalizer - !ruby/object:RI::MethodSummary name: each_object - !ruby/object:RI::MethodSummary name: finalizers - !ruby/object:RI::MethodSummary name: garbage_collect - !ruby/object:RI::MethodSummary name: remove_finalizer - !ruby/object:RI::MethodSummary name: undefine_finalizer comment: - !ruby/struct:SM::Flow::P body: The ObjectSpace module contains a number of routines that interact with the garbage collection facility and allow you to traverse all living objects with an iterator. - !ruby/struct:SM::Flow::P body: ObjectSpace also provides support for object finalizers, procs that will be called when a specific object is about to be destroyed by garbage collection. - !ruby/struct:SM::Flow::VERB body: " include ObjectSpace\n\n a = "A"\n b = "B"\n c = "C"\n\n define_finalizer(a, proc {|id| puts "Finalizer one on #{id}" })\n define_finalizer(a, proc {|id| puts "Finalizer two on #{id}" })\n define_finalizer(b, proc {|id| puts "Finalizer three on #{id}" })\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Finalizer three on 537763470\n Finalizer one on 537763480\n Finalizer two on 537763480\n" constants: [] full_name: ObjectSpace includes: [] instance_methods: [] name: ObjectSpace superclass: ri/1.8/system/ObjectSpace/finalizers-c.yaml 0000644 00000000342 15217654524 0014456 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: deprecated full_name: ObjectSpace::finalizers is_singleton: true name: finalizers params: () visibility: public ri/1.8/system/Net/HTTPFatalError/cdesc-HTTPFatalError.yaml 0000644 00000000416 15217654524 0017017 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::HTTPFatalError includes: - !ruby/object:RI::IncludedModule name: HTTPExceptions instance_methods: [] name: HTTPFatalError superclass: ProtoFatalError ri/1.8/system/Net/ProtoUnknownError/cdesc-ProtoUnknownError.yaml 0000644 00000000333 15217654524 0020705 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::ProtoUnknownError includes: [] instance_methods: [] name: ProtoUnknownError superclass: ProtocolError ri/1.8/system/Net/POPBadResponse/cdesc-POPBadResponse.yaml 0000644 00000000431 15217654524 0017062 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Unexpected response from the server. constants: [] full_name: Net::POPBadResponse includes: [] instance_methods: [] name: POPBadResponse superclass: POPError ri/1.8/system/Net/SMTP/auth_method-i.yaml 0000644 00000000270 15217654524 0013746 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#auth_method is_singleton: false name: auth_method params: (type) visibility: private ri/1.8/system/Net/SMTP/new-c.yaml 0000644 00000001162 15217654524 0012231 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new Net::SMTP object. - !ruby/struct:SM::Flow::P body: address is the hostname or ip address of your SMTP server. port is the port to connect to; it defaults to port 25. - !ruby/struct:SM::Flow::P body: This method does not open the TCP connection. You can use SMTP.start instead of SMTP.new if you want to do everything at once. Otherwise, follow SMTP.new with SMTP#start. full_name: Net::SMTP::new is_singleton: true name: new params: (address, port = nil) visibility: public ri/1.8/system/Net/SMTP/capable_plain_auth%3f-i.yaml 0000644 00000000505 15217654524 0015537 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: true if server advertises AUTH PLAIN. You cannot get valid value before opening SMTP session. full_name: Net::SMTP#capable_plain_auth? is_singleton: false name: capable_plain_auth? params: () visibility: public ri/1.8/system/Net/SMTP/check_response-i.yaml 0000644 00000000275 15217654524 0014445 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#check_response is_singleton: false name: check_response params: (res) visibility: private ri/1.8/system/Net/SMTP/check_continue-i.yaml 0000644 00000000275 15217654524 0014433 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#check_continue is_singleton: false name: check_continue params: (res) visibility: private ri/1.8/system/Net/SMTP/disable_starttls-i.yaml 0000644 00000000527 15217654524 0015015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Disables SMTP/TLS (STARTTLS) for this object. Must be called before the connection is established to have any effect. full_name: Net::SMTP#disable_starttls is_singleton: false name: disable_starttls params: () visibility: public ri/1.8/system/Net/SMTP/recv_response-i.yaml 0000644 00000000270 15217654524 0014322 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#recv_response is_singleton: false name: recv_response params: () visibility: private ri/1.8/system/Net/SMTP/enable_starttls_auto-i.yaml 0000644 00000000601 15217654524 0015661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Enables SMTP/TLS (STARTTLS) for this object if server accepts. context is a OpenSSL::SSL::SSLContext object. full_name: Net::SMTP#enable_starttls_auto is_singleton: false name: enable_starttls_auto params: (context = SMTP.default_ssl_context) visibility: public ri/1.8/system/Net/SMTP/starttls%3f-i.yaml 0000644 00000000604 15217654524 0013624 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns truth value if this object uses STARTTLS. If this object always uses STARTTLS, returns :always. If this object uses STARTTLS when the server support TLS, returns :auto. full_name: Net::SMTP#starttls? is_singleton: false name: starttls? params: () visibility: public ri/1.8/system/Net/SMTP/check_auth_args-i.yaml 0000644 00000000310 15217654524 0014552 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#check_auth_args is_singleton: false name: check_auth_args params: (user, secret) visibility: private ri/1.8/system/Net/SMTP/auth_plain-i.yaml 0000644 00000000275 15217654524 0013576 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#auth_plain is_singleton: false name: auth_plain params: (user, secret) visibility: public ri/1.8/system/Net/SMTP/base64_encode-i.yaml 0000644 00000000273 15217654524 0014051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#base64_encode is_singleton: false name: base64_encode params: (str) visibility: private ri/1.8/system/Net/SMTP/disable_tls-i.yaml 0000644 00000000561 15217654524 0013735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: disable_ssl block_params: comment: - !ruby/struct:SM::Flow::P body: Disables SMTP/TLS for this object. Must be called before the connection is established to have any effect. full_name: Net::SMTP#disable_tls is_singleton: false name: disable_tls params: () visibility: public ri/1.8/system/Net/SMTP/esmtp%3d-i.yaml 0000644 00000000732 15217654524 0013074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Set whether to use ESMTP or not. This should be done before calling #start. Note that if #start is called in ESMTP mode, and the connection fails due to a ProtocolError, the SMTP object will automatically switch to plain SMTP mode and retry (but not vice versa)." full_name: Net::SMTP#esmtp= is_singleton: false name: esmtp= params: (bool) visibility: public ri/1.8/system/Net/SMTP/read_timeout%3d-i.yaml 0000644 00000000441 15217654524 0014422 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the number of seconds to wait until timing-out a read(2) call. full_name: Net::SMTP#read_timeout= is_singleton: false name: read_timeout= params: (sec) visibility: public ri/1.8/system/Net/SMTP/ssl%3f-i.yaml 0000644 00000000333 15217654524 0012544 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #tls?" full_name: Net::SMTP#ssl? is_singleton: false name: ssl? params: () visibility: public ri/1.8/system/Net/SMTP/quit-i.yaml 0000644 00000000245 15217654524 0012431 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#quit is_singleton: false name: quit params: () visibility: public ri/1.8/system/Net/SMTP/auth_cram_md5-i.yaml 0000644 00000000303 15217654524 0014152 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#auth_cram_md5 is_singleton: false name: auth_cram_md5 params: (user, secret) visibility: public ri/1.8/system/Net/SMTP/sendmail-i.yaml 0000644 00000000407 15217654524 0013243 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #send_message" full_name: Net::SMTP#sendmail is_singleton: false name: sendmail params: (msgstr, from_addr, *to_addrs) visibility: public ri/1.8/system/Net/SMTP/starttls_auto%3f-i.yaml 0000644 00000000440 15217654524 0014652 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: true if this object uses STARTTLS when server advertises STARTTLS. full_name: Net::SMTP#starttls_auto? is_singleton: false name: starttls_auto? params: () visibility: public ri/1.8/system/Net/SMTP/get_response-i.yaml 0000644 00000000275 15217654524 0014147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#get_response is_singleton: false name: get_response params: (reqline) visibility: private ri/1.8/system/Net/SMTP/Response/new-c.yaml 0000644 00000000273 15217654524 0014031 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP::Response::new is_singleton: true name: new params: (status, string) visibility: public ri/1.8/system/Net/SMTP/Response/capabilities-i.yaml 0000644 00000000277 15217654524 0015703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP::Response#capabilities is_singleton: false name: capabilities params: () visibility: public ri/1.8/system/Net/SMTP/Response/message-i.yaml 0000644 00000000265 15217654524 0014673 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP::Response#message is_singleton: false name: message params: () visibility: public ri/1.8/system/Net/SMTP/Response/cdesc-Response.yaml 0000644 00000001441 15217654524 0015673 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: status rw: R - !ruby/object:RI::Attribute comment: name: string rw: R class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: parse comment: constants: [] full_name: Net::SMTP::Response includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: capabilities - !ruby/object:RI::MethodSummary name: continue? - !ruby/object:RI::MethodSummary name: cram_md5_challenge - !ruby/object:RI::MethodSummary name: exception_class - !ruby/object:RI::MethodSummary name: message - !ruby/object:RI::MethodSummary name: status_type_char - !ruby/object:RI::MethodSummary name: success? name: Response superclass: Object ri/1.8/system/Net/SMTP/Response/success%3f-i.yaml 0000644 00000000267 15217654524 0015217 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP::Response#success? is_singleton: false name: success? params: () visibility: public ri/1.8/system/Net/SMTP/Response/parse-c.yaml 0000644 00000000264 15217654524 0014352 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP::Response::parse is_singleton: true name: parse params: (str) visibility: public ri/1.8/system/Net/SMTP/Response/cram_md5_challenge-i.yaml 0000644 00000000313 15217654524 0016732 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP::Response#cram_md5_challenge is_singleton: false name: cram_md5_challenge params: () visibility: public ri/1.8/system/Net/SMTP/Response/status_type_char-i.yaml 0000644 00000000307 15217654524 0016625 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP::Response#status_type_char is_singleton: false name: status_type_char params: () visibility: public ri/1.8/system/Net/SMTP/Response/continue%3f-i.yaml 0000644 00000000271 15217654524 0015366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP::Response#continue? is_singleton: false name: continue? params: () visibility: public ri/1.8/system/Net/SMTP/Response/exception_class-i.yaml 0000644 00000000305 15217654524 0016425 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP::Response#exception_class is_singleton: false name: exception_class params: () visibility: public ri/1.8/system/Net/SMTP/default_submission_port-c.yaml 0000644 00000000435 15217654524 0016405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The default mail submission port number, 587. full_name: Net::SMTP::default_submission_port is_singleton: true name: default_submission_port params: () visibility: public ri/1.8/system/Net/SMTP/do_finish-i.yaml 0000644 00000000260 15217654524 0013406 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#do_finish is_singleton: false name: do_finish params: () visibility: private ri/1.8/system/Net/SMTP/set_debug_output-i.yaml 0000644 00000000377 15217654524 0015036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #debug_output=" full_name: Net::SMTP#set_debug_output is_singleton: false name: set_debug_output params: (arg) visibility: public ri/1.8/system/Net/SMTP/rcptto-i.yaml 0000644 00000000260 15217654524 0012757 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#rcptto is_singleton: false name: rcptto params: (to_addr) visibility: public ri/1.8/system/Net/SMTP/finish-i.yaml 0000644 00000000441 15217654524 0012725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Finishes the SMTP session and closes TCP connection. Raises IOError if not started. full_name: Net::SMTP#finish is_singleton: false name: finish params: () visibility: public ri/1.8/system/Net/SMTP/open_message_stream-i.yaml 0000644 00000004756 15217654524 0015502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: ready block_params: stream comment: - !ruby/struct:SM::Flow::P body: "Opens a message writer stream and gives it to the block. The stream is valid only in the block, and has these methods:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "puts(str = ''):" body: outputs STR and CR LF. - !ruby/struct:SM::Flow::LI label: "print(str):" body: outputs STR. - !ruby/struct:SM::Flow::LI label: "printf(fmt, *args):" body: outputs sprintf(fmt,*args). - !ruby/struct:SM::Flow::LI label: "write(str):" body: outputs STR and returns the length of written bytes. - !ruby/struct:SM::Flow::LI label: "<<(str):" body: outputs STR and returns self. type: :NOTE - !ruby/struct:SM::Flow::P body: If a single CR ("\r") or LF ("\n") is found in the message, it is converted to the CR LF pair. You cannot send a binary message with this method. - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/struct:SM::Flow::P body: from_addr is a String representing the source mail address. - !ruby/struct:SM::Flow::P body: to_addr is a String or Strings or Array of Strings, representing the destination mail address or addresses. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " Net::SMTP.start('smtp.example.com', 25) do |smtp|\n smtp.open_message_stream('from@example.com', ['dest@example.com']) do |f|\n f.puts 'From: from@example.com'\n f.puts 'To: dest@example.com'\n f.puts 'Subject: test message'\n f.puts\n f.puts 'This is a test message.'\n end\n end\n" - !ruby/struct:SM::Flow::H level: 3 text: Errors - !ruby/struct:SM::Flow::P body: "This method may raise:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPServerBusy - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPSyntaxError - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPFatalError - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPUnknownError - !ruby/struct:SM::Flow::LI label: "*" body: IOError - !ruby/struct:SM::Flow::LI label: "*" body: TimeoutError type: :BULLET full_name: Net::SMTP#open_message_stream is_singleton: false name: open_message_stream params: (from_addr, *to_addrs) {|stream| ...} visibility: public ri/1.8/system/Net/SMTP/enable_tls-i.yaml 0000644 00000000761 15217654524 0013562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: enable_ssl block_params: comment: - !ruby/struct:SM::Flow::P body: "Enables SMTP/TLS (SMTPS: SMTP over direct TLS connection) for this object. Must be called before the connection is established to have any effect. context is a OpenSSL::SSL::SSLContext object." full_name: Net::SMTP#enable_tls is_singleton: false name: enable_tls params: (context = SMTP.default_ssl_context) visibility: public ri/1.8/system/Net/SMTP/rcptto_list-i.yaml 0000644 00000000306 15217654524 0014013 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: full_name: Net::SMTP#rcptto_list is_singleton: false name: rcptto_list params: (to_addrs) {|| ...} visibility: public ri/1.8/system/Net/SMTP/mailfrom-i.yaml 0000644 00000000266 15217654524 0013260 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#mailfrom is_singleton: false name: mailfrom params: (from_addr) visibility: public ri/1.8/system/Net/SMTP/start-c.yaml 0000644 00000005207 15217654524 0012601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: smtp comment: - !ruby/struct:SM::Flow::P body: Creates a new Net::SMTP object and connects to the server. - !ruby/struct:SM::Flow::P body: "This method is equivalent to:" - !ruby/struct:SM::Flow::VERB body: " Net::SMTP.new(address, port).start(helo_domain, account, password, authtype)\n" - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " Net::SMTP.start('your.smtp.server') do |smtp|\n smtp.send_message msgstr, 'from@example.com', ['dest@example.com']\n end\n" - !ruby/struct:SM::Flow::H level: 3 text: Block Usage - !ruby/struct:SM::Flow::P body: If called with a block, the newly-opened Net::SMTP object is yielded to the block, and automatically closed when the block finishes. If called without a block, the newly-opened Net::SMTP object is returned to the caller, and it is the caller's responsibility to close it when finished. - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/struct:SM::Flow::P body: address is the hostname or ip address of your smtp server. - !ruby/struct:SM::Flow::P body: port is the port to connect to; it defaults to port 25. - !ruby/struct:SM::Flow::P body: helo is the HELO domain provided by the client to the server (see overview comments); it defaults to 'localhost.localdomain'. - !ruby/struct:SM::Flow::P body: The remaining arguments are used for SMTP authentication, if required or desired. user is the account name; secret is your password or other authentication token; and authtype is the authentication type, one of :plain, :login, or :cram_md5. See the discussion of SMTP Authentication in the overview notes. - !ruby/struct:SM::Flow::H level: 3 text: Errors - !ruby/struct:SM::Flow::P body: "This method may raise:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPAuthenticationError - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPServerBusy - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPSyntaxError - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPFatalError - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPUnknownError - !ruby/struct:SM::Flow::LI label: "*" body: IOError - !ruby/struct:SM::Flow::LI label: "*" body: TimeoutError type: :BULLET full_name: Net::SMTP::start is_singleton: true name: start params: (address, port = nil, helo = 'localhost.localdomain', user = nil, secret = nil, authtype = nil) {|smtp| ...} visibility: public ri/1.8/system/Net/SMTP/send_message-i.yaml 0000644 00000003365 15217654524 0014112 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: send_mail - !ruby/object:RI::AliasName name: sendmail block_params: comment: - !ruby/struct:SM::Flow::P body: Sends msgstr as a message. Single CR ("\r") and LF ("\n") found in the msgstr, are converted into the CR LF pair. You cannot send a binary message with this method. msgstr should include both the message headers and body. - !ruby/struct:SM::Flow::P body: from_addr is a String representing the source mail address. - !ruby/struct:SM::Flow::P body: to_addr is a String or Strings or Array of Strings, representing the destination mail address or addresses. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " Net::SMTP.start('smtp.example.com') do |smtp|\n smtp.send_message msgstr,\n 'from@example.com',\n ['dest@example.com', 'dest2@example.com']\n end\n" - !ruby/struct:SM::Flow::H level: 3 text: Errors - !ruby/struct:SM::Flow::P body: "This method may raise:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPServerBusy - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPSyntaxError - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPFatalError - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPUnknownError - !ruby/struct:SM::Flow::LI label: "*" body: IOError - !ruby/struct:SM::Flow::LI label: "*" body: TimeoutError type: :BULLET full_name: Net::SMTP#send_message is_singleton: false name: send_message params: (msgstr, from_addr, *to_addrs) visibility: public ri/1.8/system/Net/SMTP/new_internet_message_io-i.yaml 0000644 00000000315 15217654524 0016341 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#new_internet_message_io is_singleton: false name: new_internet_message_io params: (s) visibility: private ri/1.8/system/Net/SMTP/do_helo-i.yaml 0000644 00000000267 15217654524 0013064 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#do_helo is_singleton: false name: do_helo params: (helo_domain) visibility: private ri/1.8/system/Net/SMTP/check_auth_continue-i.yaml 0000644 00000000307 15217654524 0015450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#check_auth_continue is_singleton: false name: check_auth_continue params: (res) visibility: private ri/1.8/system/Net/SMTP/check_auth_method-i.yaml 0000644 00000000304 15217654524 0015101 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#check_auth_method is_singleton: false name: check_auth_method params: (type) visibility: private ri/1.8/system/Net/SMTP/debug_output%3d-i.yaml 0000644 00000001201 15217654524 0014442 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: set_debug_output block_params: comment: - !ruby/struct:SM::Flow::P body: "WARNING: This method causes serious security holes. Use this method for only debugging." - !ruby/struct:SM::Flow::P body: "Set an output stream for debug logging. You must call this before #start." - !ruby/struct:SM::Flow::VERB body: " # example\n smtp = Net::SMTP.new(addr, port)\n smtp.set_debug_output $stderr\n smtp.start do |smtp|\n ....\n end\n" full_name: Net::SMTP#debug_output= is_singleton: false name: debug_output= params: (arg) visibility: public ri/1.8/system/Net/SMTP/default_port-c.yaml 0000644 00000000373 15217654524 0014133 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The default SMTP port number, 25. full_name: Net::SMTP::default_port is_singleton: true name: default_port params: () visibility: public ri/1.8/system/Net/SMTP/auth_capable%3f-i.yaml 0000644 00000000274 15217654524 0014357 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#auth_capable? is_singleton: false name: auth_capable? params: (type) visibility: private ri/1.8/system/Net/SMTP/send_mail-i.yaml 0000644 00000000411 15217654524 0013375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #send_message" full_name: Net::SMTP#send_mail is_singleton: false name: send_mail params: (msgstr, from_addr, *to_addrs) visibility: public ri/1.8/system/Net/SMTP/start-i.yaml 0000644 00000005121 15217654524 0012602 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: smtp comment: - !ruby/struct:SM::Flow::P body: Opens a TCP connection and starts the SMTP session. - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/struct:SM::Flow::P body: helo is the HELO domain that you'll dispatch mails from; see the discussion in the overview notes. - !ruby/struct:SM::Flow::P body: If both of user and secret are given, SMTP authentication will be attempted using the AUTH command. authtype specifies the type of authentication to attempt; it must be one of :login, :plain, and :cram_md5. See the notes on SMTP Authentication in the overview. - !ruby/struct:SM::Flow::H level: 3 text: Block Usage - !ruby/struct:SM::Flow::P body: When this methods is called with a block, the newly-started SMTP object is yielded to the block, and automatically closed after the block call finishes. Otherwise, it is the caller's responsibility to close the session when finished. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::P body: This is very similar to the class method SMTP.start. - !ruby/struct:SM::Flow::VERB body: " require 'net/smtp'\n smtp = Net::SMTP.new('smtp.mail.server', 25)\n smtp.start(helo_domain, account, password, authtype) do |smtp|\n smtp.send_message msgstr, 'from@example.com', ['dest@example.com']\n end\n" - !ruby/struct:SM::Flow::P body: The primary use of this method (as opposed to SMTP.start) is probably to set debugging (#set_debug_output) or ESMTP (#esmtp=), which must be done before the session is started. - !ruby/struct:SM::Flow::H level: 3 text: Errors - !ruby/struct:SM::Flow::P body: If session has already been started, an IOError will be raised. - !ruby/struct:SM::Flow::P body: "This method may raise:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPAuthenticationError - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPServerBusy - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPSyntaxError - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPFatalError - !ruby/struct:SM::Flow::LI label: "*" body: Net::SMTPUnknownError - !ruby/struct:SM::Flow::LI label: "*" body: IOError - !ruby/struct:SM::Flow::LI label: "*" body: TimeoutError type: :BULLET full_name: Net::SMTP#start is_singleton: false name: start params: (helo = 'localhost.localdomain', user = nil, secret = nil, authtype = nil) {|smtp| ...} visibility: public ri/1.8/system/Net/SMTP/getok-i.yaml 0000644 00000000257 15217654524 0012563 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#getok is_singleton: false name: getok params: (reqline) visibility: private ri/1.8/system/Net/SMTP/capable_starttls%3f-i.yaml 0000644 00000000477 15217654524 0015303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: true if server advertises STARTTLS. You cannot get valid value before opening SMTP session. full_name: Net::SMTP#capable_starttls? is_singleton: false name: capable_starttls? params: () visibility: public ri/1.8/system/Net/SMTP/default_ssl_context-c.yaml 0000644 00000000303 15217654524 0015505 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP::default_ssl_context is_singleton: true name: default_ssl_context params: () visibility: public ri/1.8/system/Net/SMTP/inspect-i.yaml 0000644 00000000406 15217654524 0013113 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Provide human-readable stringification of class state. full_name: Net::SMTP#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/Net/SMTP/capable_auth_types-i.yaml 0000644 00000000526 15217654524 0015305 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns supported authentication methods on this server. You cannot get valid value before opening SMTP session. full_name: Net::SMTP#capable_auth_types is_singleton: false name: capable_auth_types params: () visibility: public ri/1.8/system/Net/SMTP/auth_login-i.yaml 0000644 00000000275 15217654524 0013603 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#auth_login is_singleton: false name: auth_login params: (user, secret) visibility: public ri/1.8/system/Net/SMTP/starttls-i.yaml 0000644 00000000351 15217654524 0013325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: SMTP command dispatcher full_name: Net::SMTP#starttls is_singleton: false name: starttls params: () visibility: public ri/1.8/system/Net/SMTP/capable_login_auth%3f-i.yaml 0000644 00000000505 15217654524 0015544 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: true if server advertises AUTH LOGIN. You cannot get valid value before opening SMTP session. full_name: Net::SMTP#capable_login_auth? is_singleton: false name: capable_login_auth? params: () visibility: public ri/1.8/system/Net/SMTP/cdesc-SMTP.yaml 0000644 00000023112 15217654524 0013061 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The address of the SMTP server to connect to. name: address rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Seconds to wait while attempting to open a connection. If the connection cannot be opened within this time, a TimeoutError is raised. name: open_timeout rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The port number of the SMTP server to connect to. name: port rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Seconds to wait while reading one block (by one read(2) call). If the read(2) call does not complete within this time, a TimeoutError is raised. name: read_timeout rw: R class_methods: - !ruby/object:RI::MethodSummary name: default_port - !ruby/object:RI::MethodSummary name: default_ssl_context - !ruby/object:RI::MethodSummary name: default_submission_port - !ruby/object:RI::MethodSummary name: default_tls_port - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: start comment: - !ruby/struct:SM::Flow::H level: 1 text: Net::SMTP - !ruby/struct:SM::Flow::H level: 2 text: What is This Library? - !ruby/struct:SM::Flow::P body: This library provides functionality to send internet mail via SMTP, the Simple Mail Transfer Protocol. For details of SMTP itself, see [RFC2821] (http://www.ietf.org/rfc/rfc2821.txt). - !ruby/struct:SM::Flow::H level: 2 text: What is This Library NOT? - !ruby/struct:SM::Flow::P body: This library does NOT provide functions to compose internet mails. You must create them by yourself. If you want better mail support, try RubyMail or TMail. You can get both libraries from RAA. (http://www.ruby-lang.org/en/raa.html) - !ruby/struct:SM::Flow::P body: "FYI: the official documentation on internet mail is: [RFC2822] (http://www.ietf.org/rfc/rfc2822.txt)." - !ruby/struct:SM::Flow::H level: 2 text: Examples - !ruby/struct:SM::Flow::H level: 3 text: Sending Messages - !ruby/struct:SM::Flow::P body: You must open a connection to an SMTP server before sending messages. The first argument is the address of your SMTP server, and the second argument is the port number. Using SMTP.start with a block is the simplest way to do this. This way, the SMTP connection is closed automatically after the block is executed. - !ruby/struct:SM::Flow::VERB body: " require 'net/smtp'\n Net::SMTP.start('your.smtp.server', 25) do |smtp|\n # Use the SMTP object smtp only in this block.\n end\n" - !ruby/struct:SM::Flow::P body: Replace 'your.smtp.server' with your SMTP server. Normally your system manager or internet provider supplies a server for you. - !ruby/struct:SM::Flow::P body: Then you can send messages. - !ruby/struct:SM::Flow::VERB body: " msgstr = <<END_OF_MESSAGE\n From: Your Name <your@mail.address>\n To: Destination Address <someone@example.com>\n Subject: test message\n Date: Sat, 23 Jun 2001 16:26:43 +0900\n Message-Id: <unique.message.id.string@example.com>\n\n This is a test message.\n END_OF_MESSAGE\n\n require 'net/smtp'\n Net::SMTP.start('your.smtp.server', 25) do |smtp|\n smtp.send_message msgstr,\n 'your@mail.address',\n 'his_addess@example.com'\n end\n" - !ruby/struct:SM::Flow::H level: 3 text: Closing the Session - !ruby/struct:SM::Flow::P body: "You MUST close the SMTP session after sending messages, by calling the #finish method:" - !ruby/struct:SM::Flow::VERB body: " # using SMTP#finish\n smtp = Net::SMTP.start('your.smtp.server', 25)\n smtp.send_message msgstr, 'from@address', 'to@address'\n smtp.finish\n" - !ruby/struct:SM::Flow::P body: "You can also use the block form of SMTP.start/SMTP#start. This closes the SMTP session automatically:" - !ruby/struct:SM::Flow::VERB body: " # using block form of SMTP.start\n Net::SMTP.start('your.smtp.server', 25) do |smtp|\n smtp.send_message msgstr, 'from@address', 'to@address'\n end\n" - !ruby/struct:SM::Flow::P body: I strongly recommend this scheme. This form is simpler and more robust. - !ruby/struct:SM::Flow::H level: 3 text: HELO domain - !ruby/struct:SM::Flow::P body: In almost all situations, you must provide a third argument to SMTP.start/SMTP#start. This is the domain name which you are on (the host to send mail from). It is called the "HELO domain". The SMTP server will judge whether it should send or reject the SMTP session by inspecting the HELO domain. - !ruby/struct:SM::Flow::VERB body: " Net::SMTP.start('your.smtp.server', 25,\n 'mail.from.domain') { |smtp| ... }\n" - !ruby/struct:SM::Flow::H level: 3 text: SMTP Authentication - !ruby/struct:SM::Flow::P body: "The Net::SMTP class supports three authentication schemes; PLAIN, LOGIN and CRAM MD5. (SMTP Authentication: [RFC2554]) To use SMTP authentication, pass extra arguments to SMTP.start/SMTP#start." - !ruby/struct:SM::Flow::VERB body: " # PLAIN\n Net::SMTP.start('your.smtp.server', 25, 'mail.from.domain',\n 'Your Account', 'Your Password', :plain)\n # LOGIN\n Net::SMTP.start('your.smtp.server', 25, 'mail.from.domain',\n 'Your Account', 'Your Password', :login)\n\n # CRAM MD5\n Net::SMTP.start('your.smtp.server', 25, 'mail.from.domain',\n 'Your Account', 'Your Password', :cram_md5)\n" constants: - !ruby/object:RI::Constant comment: name: Revision value: "%q$Revision: 28208 $.split[1]" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Authentication name: DEFAULT_AUTH_TYPE value: ":plain" - !ruby/object:RI::Constant comment: name: IMASK value: "0x36" - !ruby/object:RI::Constant comment: name: OMASK value: "0x5c" - !ruby/object:RI::Constant comment: name: CRAM_BUFSIZE value: "64" full_name: Net::SMTP includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: auth_capable? - !ruby/object:RI::MethodSummary name: auth_cram_md5 - !ruby/object:RI::MethodSummary name: auth_login - !ruby/object:RI::MethodSummary name: auth_method - !ruby/object:RI::MethodSummary name: auth_plain - !ruby/object:RI::MethodSummary name: authenticate - !ruby/object:RI::MethodSummary name: base64_encode - !ruby/object:RI::MethodSummary name: capable? - !ruby/object:RI::MethodSummary name: capable_auth_types - !ruby/object:RI::MethodSummary name: capable_cram_md5_auth? - !ruby/object:RI::MethodSummary name: capable_login_auth? - !ruby/object:RI::MethodSummary name: capable_plain_auth? - !ruby/object:RI::MethodSummary name: capable_starttls? - !ruby/object:RI::MethodSummary name: check_auth_args - !ruby/object:RI::MethodSummary name: check_auth_continue - !ruby/object:RI::MethodSummary name: check_auth_method - !ruby/object:RI::MethodSummary name: check_auth_response - !ruby/object:RI::MethodSummary name: check_continue - !ruby/object:RI::MethodSummary name: check_response - !ruby/object:RI::MethodSummary name: cram_md5_response - !ruby/object:RI::MethodSummary name: cram_secret - !ruby/object:RI::MethodSummary name: critical - !ruby/object:RI::MethodSummary name: data - !ruby/object:RI::MethodSummary name: debug_output= - !ruby/object:RI::MethodSummary name: disable_ssl - !ruby/object:RI::MethodSummary name: disable_starttls - !ruby/object:RI::MethodSummary name: disable_tls - !ruby/object:RI::MethodSummary name: do_finish - !ruby/object:RI::MethodSummary name: do_helo - !ruby/object:RI::MethodSummary name: do_start - !ruby/object:RI::MethodSummary name: ehlo - !ruby/object:RI::MethodSummary name: enable_ssl - !ruby/object:RI::MethodSummary name: enable_starttls - !ruby/object:RI::MethodSummary name: enable_starttls_auto - !ruby/object:RI::MethodSummary name: enable_tls - !ruby/object:RI::MethodSummary name: esmtp - !ruby/object:RI::MethodSummary name: esmtp= - !ruby/object:RI::MethodSummary name: esmtp? - !ruby/object:RI::MethodSummary name: finish - !ruby/object:RI::MethodSummary name: get_response - !ruby/object:RI::MethodSummary name: getok - !ruby/object:RI::MethodSummary name: helo - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: logging - !ruby/object:RI::MethodSummary name: mailfrom - !ruby/object:RI::MethodSummary name: new_internet_message_io - !ruby/object:RI::MethodSummary name: open_message_stream - !ruby/object:RI::MethodSummary name: quit - !ruby/object:RI::MethodSummary name: rcptto - !ruby/object:RI::MethodSummary name: rcptto_list - !ruby/object:RI::MethodSummary name: read_timeout= - !ruby/object:RI::MethodSummary name: ready - !ruby/object:RI::MethodSummary name: recv_response - !ruby/object:RI::MethodSummary name: send_mail - !ruby/object:RI::MethodSummary name: send_message - !ruby/object:RI::MethodSummary name: sendmail - !ruby/object:RI::MethodSummary name: set_debug_output - !ruby/object:RI::MethodSummary name: ssl? - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: started? - !ruby/object:RI::MethodSummary name: starttls - !ruby/object:RI::MethodSummary name: starttls? - !ruby/object:RI::MethodSummary name: starttls_always? - !ruby/object:RI::MethodSummary name: starttls_auto? - !ruby/object:RI::MethodSummary name: tls? - !ruby/object:RI::MethodSummary name: tlsconnect name: SMTP superclass: Object ri/1.8/system/Net/SMTP/critical-i.yaml 0000644 00000000277 15217654524 0013246 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: () comment: full_name: Net::SMTP#critical is_singleton: false name: critical params: (&block) {|| ...} visibility: private ri/1.8/system/Net/SMTP/check_auth_response-i.yaml 0000644 00000000307 15217654524 0015462 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#check_auth_response is_singleton: false name: check_auth_response params: (res) visibility: private ri/1.8/system/Net/SMTP/esmtp-i.yaml 0000644 00000000337 15217654524 0012601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #esmtp?" full_name: Net::SMTP#esmtp is_singleton: false name: esmtp params: () visibility: public ri/1.8/system/Net/SMTP/capable%3f-i.yaml 0000644 00000000261 15217654524 0013332 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#capable? is_singleton: false name: capable? params: (key) visibility: private ri/1.8/system/Net/SMTP/enable_starttls-i.yaml 0000644 00000000545 15217654524 0014640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Enables SMTP/TLS (STARTTLS) for this object. context is a OpenSSL::SSL::SSLContext object. full_name: Net::SMTP#enable_starttls is_singleton: false name: enable_starttls params: (context = SMTP.default_ssl_context) visibility: public ri/1.8/system/Net/SMTP/capable_cram_md5_auth%3f-i.yaml 0000644 00000000516 15217654524 0016125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: true if server advertises AUTH CRAM-MD5. You cannot get valid value before opening SMTP session. full_name: Net::SMTP#capable_cram_md5_auth? is_singleton: false name: capable_cram_md5_auth? params: () visibility: public ri/1.8/system/Net/SMTP/ready-i.yaml 0000644 00000000400 15217654524 0012544 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #open_message_stream" full_name: Net::SMTP#ready is_singleton: false name: ready params: (from_addr, *to_addrs) visibility: public ri/1.8/system/Net/SMTP/do_start-i.yaml 0000644 00000000321 15217654524 0013261 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#do_start is_singleton: false name: do_start params: (helo_domain, user, secret, authtype) visibility: private ri/1.8/system/Net/SMTP/esmtp%3f-i.yaml 0000644 00000000476 15217654524 0013103 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: esmtp block_params: comment: - !ruby/struct:SM::Flow::P body: true if the SMTP object uses ESMTP (which it does by default). full_name: Net::SMTP#esmtp? is_singleton: false name: esmtp? params: () visibility: public ri/1.8/system/Net/SMTP/ehlo-i.yaml 0000644 00000000253 15217654524 0012375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#ehlo is_singleton: false name: ehlo params: (domain) visibility: public ri/1.8/system/Net/SMTP/data-i.yaml 0000644 00000001572 15217654524 0012364 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: stream comment: - !ruby/struct:SM::Flow::P body: This method sends a message. If msgstr is given, sends it as a message. If block is given, yield a message writer stream. You must write message before the block is closed. - !ruby/struct:SM::Flow::VERB body: " # Example 1 (by string)\n smtp.data(<<EndMessage)\n From: john@example.com\n To: betty@example.com\n Subject: I found a bug\n\n Check vm.c:58879.\n EndMessage\n\n # Example 2 (by block)\n smtp.data {|f|\n f.puts "From: john@example.com"\n f.puts "To: betty@example.com"\n f.puts "Subject: I found a bug"\n f.puts ""\n f.puts "Check vm.c:58879."\n }\n" full_name: Net::SMTP#data is_singleton: false name: data params: (msgstr = nil) {|stream| ...} visibility: public ri/1.8/system/Net/SMTP/logging-i.yaml 0000644 00000000257 15217654524 0013100 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#logging is_singleton: false name: logging params: (msg) visibility: private ri/1.8/system/Net/SMTP/cram_md5_response-i.yaml 0000644 00000000413 15217654524 0015051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "CRAM-MD5: [RFC2195]" full_name: Net::SMTP#cram_md5_response is_singleton: false name: cram_md5_response params: (secret, challenge) visibility: private ri/1.8/system/Net/SMTP/starttls_always%3f-i.yaml 0000644 00000000404 15217654524 0015202 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: true if this object uses STARTTLS. full_name: Net::SMTP#starttls_always? is_singleton: false name: starttls_always? params: () visibility: public ri/1.8/system/Net/SMTP/default_tls_port-c.yaml 0000644 00000000405 15217654524 0015011 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The default SMTPS port number, 465. full_name: Net::SMTP::default_tls_port is_singleton: true name: default_tls_port params: () visibility: public ri/1.8/system/Net/SMTP/tlsconnect-i.yaml 0000644 00000000263 15217654524 0013623 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#tlsconnect is_singleton: false name: tlsconnect params: (s) visibility: private ri/1.8/system/Net/SMTP/authenticate-i.yaml 0000644 00000000337 15217654524 0014127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#authenticate is_singleton: false name: authenticate params: (user, secret, authtype = DEFAULT_AUTH_TYPE) visibility: public ri/1.8/system/Net/SMTP/tls%3f-i.yaml 0000644 00000000434 15217654524 0012547 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: ssl? block_params: comment: - !ruby/struct:SM::Flow::P body: true if this object uses SMTP/TLS (SMTPS). full_name: Net::SMTP#tls? is_singleton: false name: tls? params: () visibility: public ri/1.8/system/Net/SMTP/enable_ssl-i.yaml 0000644 00000000417 15217654524 0013557 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #enable_tls" full_name: Net::SMTP#enable_ssl is_singleton: false name: enable_ssl params: (context = SMTP.default_ssl_context) visibility: public ri/1.8/system/Net/SMTP/helo-i.yaml 0000644 00000000253 15217654524 0012375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#helo is_singleton: false name: helo params: (domain) visibility: public ri/1.8/system/Net/SMTP/cram_secret-i.yaml 0000644 00000000300 15217654524 0013726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::SMTP#cram_secret is_singleton: false name: cram_secret params: (secret, mask) visibility: private ri/1.8/system/Net/SMTP/started%3f-i.yaml 0000644 00000000405 15217654524 0013411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: true if the SMTP session has been started. full_name: Net::SMTP#started? is_singleton: false name: started? params: () visibility: public ri/1.8/system/Net/SMTP/disable_ssl-i.yaml 0000644 00000000360 15217654524 0013731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #disable_tls" full_name: Net::SMTP#disable_ssl is_singleton: false name: disable_ssl params: () visibility: public ri/1.8/system/Net/BufferedIO/cdesc-BufferedIO.yaml 0000644 00000000306 15217654524 0015437 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::BufferedIO includes: [] instance_methods: [] name: BufferedIO superclass: Object ri/1.8/system/Net/POPError/cdesc-POPError.yaml 0000644 00000000512 15217654524 0014632 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Non-authentication POP3 protocol error (reply code "-ERR", except authentication). constants: [] full_name: Net::POPError includes: [] instance_methods: [] name: POPError superclass: ProtocolError ri/1.8/system/Net/HTTPError/cdesc-HTTPError.yaml 0000644 00000000402 15217654524 0015072 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::HTTPError includes: - !ruby/object:RI::IncludedModule name: HTTPExceptions instance_methods: [] name: HTTPError superclass: ProtocolError ri/1.8/system/Net/ProtoServerError/cdesc-ProtoServerError.yaml 0000644 00000000331 15217654524 0020321 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::ProtoServerError includes: [] instance_methods: [] name: ProtoServerError superclass: ProtocolError ri/1.8/system/Net/ProtoSyntaxError/cdesc-ProtoSyntaxError.yaml 0000644 00000000331 15217654524 0020361 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::ProtoSyntaxError includes: [] instance_methods: [] name: ProtoSyntaxError superclass: ProtocolError ri/1.8/system/Net/Protocol/cdesc-Protocol.yaml 0000644 00000000302 15217654524 0015111 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::Protocol includes: [] instance_methods: [] name: Protocol superclass: Object ri/1.8/system/Net/cdesc-Net.yaml 0000644 00000000255 15217654524 0012244 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net includes: [] instance_methods: [] name: Net superclass: ri/1.8/system/Net/NetPrivate/cdesc-NetPrivate.yaml 0000644 00000000300 15217654524 0015647 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::NetPrivate includes: [] instance_methods: [] name: NetPrivate superclass: ri/1.8/system/Net/APOP/apop%3f-i.yaml 0000644 00000000340 15217654524 0012654 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Always returns true. full_name: Net::APOP#apop? is_singleton: false name: apop? params: () visibility: public ri/1.8/system/Net/APOP/cdesc-APOP.yaml 0000644 00000000524 15217654524 0013013 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: This class is equivalent to POP3, except that it uses APOP authentication. constants: [] full_name: Net::APOP includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: apop? name: APOP superclass: POP3 ri/1.8/system/Net/HTTPRetriableError/cdesc-HTTPRetriableError.yaml 0000644 00000000432 15217654524 0020561 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::HTTPRetriableError includes: - !ruby/object:RI::IncludedModule name: HTTPExceptions instance_methods: [] name: HTTPRetriableError superclass: ProtoRetriableError ri/1.8/system/Net/HTTPServerException/cdesc-HTTPServerException.yaml 0000644 00000000431 15217654524 0021164 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::HTTPServerException includes: - !ruby/object:RI::IncludedModule name: HTTPExceptions instance_methods: [] name: HTTPServerException superclass: ProtoServerError ri/1.8/system/Net/POP3Command/cdesc-POP3Command.yaml 0000644 00000000310 15217654524 0015546 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::POP3Command includes: [] instance_methods: [] name: POP3Command superclass: Object ri/1.8/system/Net/ProtoRetriableError/cdesc-ProtoRetriableError.yaml 0000644 00000000337 15217654524 0021435 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::ProtoRetriableError includes: [] instance_methods: [] name: ProtoRetriableError superclass: ProtocolError ri/1.8/system/Net/SMTPFatalError/cdesc-SMTPFatalError.yaml 0000644 00000000554 15217654524 0017032 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Represents a fatal SMTP error (error code 5xx, except for 500) constants: [] full_name: Net::SMTPFatalError includes: - !ruby/object:RI::IncludedModule name: SMTPError instance_methods: [] name: SMTPFatalError superclass: ProtoFatalError ri/1.8/system/Net/HTTP/request_get-i.yaml 0000644 00000002156 15217654524 0013775 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: get2 block_params: +response+ comment: - !ruby/struct:SM::Flow::P body: Sends a GET request to the path and gets a response, as an HTTPResponse object. - !ruby/struct:SM::Flow::P body: When called with a block, yields an HTTPResponse object. The body of this response will not have been read yet; the caller can process it using HTTPResponse#read_body, if desired. - !ruby/struct:SM::Flow::P body: Returns the response. - !ruby/struct:SM::Flow::P body: This method never raises Net::* exceptions. - !ruby/struct:SM::Flow::VERB body: " response = http.request_get('/index.html')\n # The entity body is already read here.\n p response['content-type']\n puts response.body\n\n # using block\n http.request_get('/index.html') {|response|\n p response['content-type']\n response.read_body do |str| # read body now\n print str\n end\n }\n" full_name: Net::HTTP#request_get is_singleton: false name: request_get params: (path, initheader = nil) {|+response+| ...} visibility: public ri/1.8/system/Net/HTTP/ssl_timeout%3d-i.yaml 0000644 00000000344 15217654524 0014306 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: timeout= block_params: comment: full_name: Net::HTTP#ssl_timeout= is_singleton: false name: ssl_timeout= params: (sec) visibility: public ri/1.8/system/Net/HTTP/Lock/cdesc-Lock.yaml 0000644 00000000661 15217654524 0014056 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: METHOD value: "'LOCK'" - !ruby/object:RI::Constant comment: name: REQUEST_HAS_BODY value: "true" - !ruby/object:RI::Constant comment: name: RESPONSE_HAS_BODY value: "true" full_name: Net::HTTP::Lock includes: [] instance_methods: [] name: Lock superclass: HTTPRequest ri/1.8/system/Net/HTTP/new-c.yaml 0000644 00000000513 15217654524 0012224 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new Net::HTTP object for the specified address. This method does not open the TCP connection. full_name: Net::HTTP::new is_singleton: true name: new params: (address, port = nil) visibility: public ri/1.8/system/Net/HTTP/peer_cert-i.yaml 0000644 00000000257 15217654524 0013416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTP#peer_cert is_singleton: false name: peer_cert params: () visibility: public ri/1.8/system/Net/HTTP/Delete/cdesc-Delete.yaml 0000644 00000000670 15217654524 0014702 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: METHOD value: "'DELETE'" - !ruby/object:RI::Constant comment: name: REQUEST_HAS_BODY value: "false" - !ruby/object:RI::Constant comment: name: RESPONSE_HAS_BODY value: "true" full_name: Net::HTTP::Delete includes: [] instance_methods: [] name: Delete superclass: HTTPRequest ri/1.8/system/Net/HTTP/use_ssl%3d-i.yaml 0000644 00000000553 15217654524 0013416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Turn on/off SSL. This flag must be set before starting session. If you change use_ssl value after session started, a Net::HTTP object raises IOError. full_name: Net::HTTP#use_ssl= is_singleton: false name: use_ssl= params: (flag) visibility: public ri/1.8/system/Net/HTTP/get-i.yaml 0000644 00000003131 15217654524 0012217 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: +body_segment+ comment: - !ruby/struct:SM::Flow::P body: Gets data from path on the connected-to host. header must be a Hash like { 'Accept' => '*/*', ... }. - !ruby/struct:SM::Flow::P body: In version 1.1 (ruby 1.6), this method returns a pair of objects, a Net::HTTPResponse object and the entity body string. In version 1.2 (ruby 1.8), this method returns a Net::HTTPResponse object. - !ruby/struct:SM::Flow::P body: If called with a block, yields each fragment of the entity body in turn as a string as it is read from the socket. Note that in this case, the returned response object will not contain a (meaningful) body. - !ruby/struct:SM::Flow::P body: dest argument is obsolete. It still works but you must not use it. - !ruby/struct:SM::Flow::P body: In version 1.1, this method might raise an exception for 3xx (redirect). In this case you can get a HTTPResponse object by "anException.response". - !ruby/struct:SM::Flow::P body: In version 1.2, this method never raises exception. - !ruby/struct:SM::Flow::VERB body: " # version 1.1 (bundled with Ruby 1.6)\n response, body = http.get('/index.html')\n\n # version 1.2 (bundled with Ruby 1.8 or later)\n response = http.get('/index.html')\n\n # using block\n File.open('result.txt', 'w') {|f|\n http.get('/~foo/') do |str|\n f.write str\n end\n }\n" full_name: Net::HTTP#get is_singleton: false name: get params: (path, initheader = nil, dest = nil) {|+body_segment+| ...} visibility: public ri/1.8/system/Net/HTTP/ProxyDelta/cdesc-ProxyDelta.yaml 0000644 00000000306 15217654524 0016460 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::HTTP::ProxyDelta includes: [] instance_methods: [] name: ProxyDelta superclass: ri/1.8/system/Net/HTTP/delete-i.yaml 0000644 00000000523 15217654524 0012704 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a DELETE request to the path and gets a response, as an HTTPResponse object. full_name: Net::HTTP#delete is_singleton: false name: delete params: (path, initheader = {'Depth' => 'Infinity'}) visibility: public ri/1.8/system/Net/HTTP/get-c.yaml 0000644 00000001246 15217654524 0012216 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Send a GET request to the target and return the response as a string. The target can either be specified as (uri), or as (host, path, port = 80); so:" - !ruby/struct:SM::Flow::VERB body: " print Net::HTTP.get(URI.parse('http://www.example.com/index.html'))\n" - !ruby/struct:SM::Flow::P body: "or:" - !ruby/struct:SM::Flow::VERB body: " print Net::HTTP.get('www.example.com', '/index.html')\n" full_name: Net::HTTP::get is_singleton: true name: get params: (uri_or_host, path = nil, port = nil) visibility: public ri/1.8/system/Net/HTTP/Copy/cdesc-Copy.yaml 0000644 00000000662 15217654524 0014123 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: METHOD value: "'COPY'" - !ruby/object:RI::Constant comment: name: REQUEST_HAS_BODY value: "false" - !ruby/object:RI::Constant comment: name: RESPONSE_HAS_BODY value: "true" full_name: Net::HTTP::Copy includes: [] instance_methods: [] name: Copy superclass: HTTPRequest ri/1.8/system/Net/HTTP/mkcol-i.yaml 0000644 00000000510 15217654524 0012543 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a MKCOL request to the path and gets a response, as an HTTPResponse object. full_name: Net::HTTP#mkcol is_singleton: false name: mkcol params: (path, body = nil, initheader = nil) visibility: public ri/1.8/system/Net/HTTP/proxy_port-i.yaml 0000644 00000000500 15217654524 0013662 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: proxyport block_params: comment: - !ruby/struct:SM::Flow::P body: Port number of proxy host. If self does not use a proxy, nil. full_name: Net::HTTP#proxy_port is_singleton: false name: proxy_port params: () visibility: public ri/1.8/system/Net/HTTP/Options/cdesc-Options.yaml 0000644 00000000674 15217654524 0015370 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: METHOD value: "'OPTIONS'" - !ruby/object:RI::Constant comment: name: REQUEST_HAS_BODY value: "false" - !ruby/object:RI::Constant comment: name: RESPONSE_HAS_BODY value: "false" full_name: Net::HTTP::Options includes: [] instance_methods: [] name: Options superclass: HTTPRequest ri/1.8/system/Net/HTTP/read_timeout%3d-i.yaml 0000644 00000000405 15217654524 0014416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Setter for the read_timeout attribute. full_name: Net::HTTP#read_timeout= is_singleton: false name: read_timeout= params: (sec) visibility: public ri/1.8/system/Net/HTTP/cdesc-HTTP.yaml 0000644 00000033763 15217654524 0013066 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The host name to connect to. name: address rw: R - !ruby/object:RI::Attribute comment: name: close_on_empty_response rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Seconds to wait until connection is opened. If the HTTP object cannot open a connection in this many seconds, it raises a TimeoutError exception. name: open_timeout rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The port number to connect to. name: port rw: R - !ruby/object:RI::Attribute comment: name: proxy_address rw: R - !ruby/object:RI::Attribute comment: name: proxy_pass rw: R - !ruby/object:RI::Attribute comment: name: proxy_port rw: R - !ruby/object:RI::Attribute comment: name: proxy_user rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Seconds to wait until reading one block (by one read(2) call). If the HTTP object cannot open a connection in this many seconds, it raises a TimeoutError exception. name: read_timeout rw: R class_methods: - !ruby/object:RI::MethodSummary name: Proxy - !ruby/object:RI::MethodSummary name: default_port - !ruby/object:RI::MethodSummary name: get - !ruby/object:RI::MethodSummary name: get_print - !ruby/object:RI::MethodSummary name: get_response - !ruby/object:RI::MethodSummary name: http_default_port - !ruby/object:RI::MethodSummary name: https_default_port - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: post_form - !ruby/object:RI::MethodSummary name: proxy_class? - !ruby/object:RI::MethodSummary name: ssl_context_accessor - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: version_1_1 - !ruby/object:RI::MethodSummary name: version_1_1? - !ruby/object:RI::MethodSummary name: version_1_2 - !ruby/object:RI::MethodSummary name: version_1_2? comment: - !ruby/struct:SM::Flow::H level: 2 text: What Is This Library? - !ruby/struct:SM::Flow::P body: This library provides your program functions to access WWW documents via HTTP, Hyper Text Transfer Protocol version 1.1. For details of HTTP, refer [RFC2616] (http://www.ietf.org/rfc/rfc2616.txt). - !ruby/struct:SM::Flow::H level: 2 text: Examples - !ruby/struct:SM::Flow::H level: 3 text: Getting Document From WWW Server - !ruby/struct:SM::Flow::P body: "Example #1: Simple GET+print" - !ruby/struct:SM::Flow::VERB body: " require 'net/http'\n Net::HTTP.get_print 'www.example.com', '/index.html'\n" - !ruby/struct:SM::Flow::P body: "Example #2: Simple GET+print by URL" - !ruby/struct:SM::Flow::VERB body: " require 'net/http'\n require 'uri'\n Net::HTTP.get_print URI.parse('http://www.example.com/index.html')\n" - !ruby/struct:SM::Flow::P body: "Example #3: More generic GET+print" - !ruby/struct:SM::Flow::VERB body: " require 'net/http'\n require 'uri'\n\n url = URI.parse('http://www.example.com/index.html')\n res = Net::HTTP.start(url.host, url.port) {|http|\n http.get('/index.html')\n }\n puts res.body\n" - !ruby/struct:SM::Flow::P body: "Example #4: More generic GET+print" - !ruby/struct:SM::Flow::VERB body: " require 'net/http'\n\n url = URI.parse('http://www.example.com/index.html')\n req = Net::HTTP::Get.new(url.path)\n res = Net::HTTP.start(url.host, url.port) {|http|\n http.request(req)\n }\n puts res.body\n" - !ruby/struct:SM::Flow::H level: 3 text: Posting Form Data - !ruby/struct:SM::Flow::VERB body: " require 'net/http'\n require 'uri'\n\n #1: Simple POST\n res = Net::HTTP.post_form(URI.parse('http://www.example.com/search.cgi'),\n {'q'=>'ruby', 'max'=>'50'})\n puts res.body\n\n #2: POST with basic authentication\n res = Net::HTTP.post_form(URI.parse('http://jack:pass@www.example.com/todo.cgi'),\n {'from'=>'2005-01-01', 'to'=>'2005-03-31'})\n puts res.body\n\n #3: Detailed control\n url = URI.parse('http://www.example.com/todo.cgi')\n req = Net::HTTP::Post.new(url.path)\n req.basic_auth 'jack', 'pass'\n req.set_form_data({'from'=>'2005-01-01', 'to'=>'2005-03-31'}, ';')\n res = Net::HTTP.new(url.host, url.port).start {|http| http.request(req) }\n case res\n when Net::HTTPSuccess, Net::HTTPRedirection\n # OK\n else\n res.error!\n end\n" - !ruby/struct:SM::Flow::H level: 3 text: Accessing via Proxy - !ruby/struct:SM::Flow::P body: Net::HTTP.Proxy creates http proxy class. It has same methods of Net::HTTP but its instances always connect to proxy, instead of given host. - !ruby/struct:SM::Flow::VERB body: " require 'net/http'\n\n proxy_addr = 'your.proxy.host'\n proxy_port = 8080\n :\n Net::HTTP::Proxy(proxy_addr, proxy_port).start('www.example.com') {|http|\n # always connect to your.proxy.addr:8080\n :\n }\n" - !ruby/struct:SM::Flow::P body: Since Net::HTTP.Proxy returns Net::HTTP itself when proxy_addr is nil, there's no need to change code if there's proxy or not. - !ruby/struct:SM::Flow::P body: "There are two additional parameters in Net::HTTP.Proxy which allow to specify proxy user name and password:" - !ruby/struct:SM::Flow::VERB body: " Net::HTTP::Proxy(proxy_addr, proxy_port, proxy_user = nil, proxy_pass = nil)\n" - !ruby/struct:SM::Flow::P body: "You may use them to work with authorization-enabled proxies:" - !ruby/struct:SM::Flow::VERB body: " require 'net/http'\n require 'uri'\n\n proxy_host = 'your.proxy.host'\n proxy_port = 8080\n uri = URI.parse(ENV['http_proxy'])\n proxy_user, proxy_pass = uri.userinfo.split(/:/) if uri.userinfo\n Net::HTTP::Proxy(proxy_host, proxy_port,\n proxy_user, proxy_pass).start('www.example.com') {|http|\n # always connect to your.proxy.addr:8080 using specified username and password\n :\n }\n" - !ruby/struct:SM::Flow::P body: Note that net/http never rely on HTTP_PROXY environment variable. If you want to use proxy, set it explicitly. - !ruby/struct:SM::Flow::H level: 3 text: Following Redirection - !ruby/struct:SM::Flow::VERB body: " require 'net/http'\n require 'uri'\n\n def fetch(uri_str, limit = 10)\n # You should choose better exception.\n raise ArgumentError, 'HTTP redirect too deep' if limit == 0\n\n response = Net::HTTP.get_response(URI.parse(uri_str))\n case response\n when Net::HTTPSuccess then response\n when Net::HTTPRedirection then fetch(response['location'], limit - 1)\n else\n response.error!\n end\n end\n\n print fetch('http://www.ruby-lang.org')\n" - !ruby/struct:SM::Flow::P body: Net::HTTPSuccess and Net::HTTPRedirection is a HTTPResponse class. All HTTPResponse objects belong to its own response class which indicate HTTP result status. For details of response classes, see section "HTTP Response Classes". - !ruby/struct:SM::Flow::H level: 3 text: Basic Authentication - !ruby/struct:SM::Flow::VERB body: " require 'net/http'\n\n Net::HTTP.start('www.example.com') {|http|\n req = Net::HTTP::Get.new('/secret-page.html')\n req.basic_auth 'account', 'password'\n response = http.request(req)\n print response.body\n }\n" - !ruby/struct:SM::Flow::H level: 3 text: HTTP Request Classes - !ruby/struct:SM::Flow::P body: Here is HTTP request class hierarchy. - !ruby/struct:SM::Flow::VERB body: " Net::HTTPRequest\n Net::HTTP::Get\n Net::HTTP::Head\n Net::HTTP::Post\n Net::HTTP::Put\n Net::HTTP::Proppatch\n Net::HTTP::Lock\n Net::HTTP::Unlock\n Net::HTTP::Options\n Net::HTTP::Propfind\n Net::HTTP::Delete\n Net::HTTP::Move\n Net::HTTP::Copy\n Net::HTTP::Mkcol\n Net::HTTP::Trace\n" - !ruby/struct:SM::Flow::H level: 3 text: HTTP Response Classes - !ruby/struct:SM::Flow::P body: Here is HTTP response class hierarchy. All classes are defined in Net module. - !ruby/struct:SM::Flow::VERB body: " HTTPResponse\n HTTPUnknownResponse\n HTTPInformation # 1xx\n HTTPContinue # 100\n HTTPSwitchProtocl # 101\n HTTPSuccess # 2xx\n HTTPOK # 200\n HTTPCreated # 201\n HTTPAccepted # 202\n HTTPNonAuthoritativeInformation # 203\n HTTPNoContent # 204\n HTTPResetContent # 205\n HTTPPartialContent # 206\n HTTPRedirection # 3xx\n HTTPMultipleChoice # 300\n HTTPMovedPermanently # 301\n HTTPFound # 302\n HTTPSeeOther # 303\n HTTPNotModified # 304\n HTTPUseProxy # 305\n HTTPTemporaryRedirect # 307\n HTTPClientError # 4xx\n HTTPBadRequest # 400\n HTTPUnauthorized # 401\n HTTPPaymentRequired # 402\n HTTPForbidden # 403\n HTTPNotFound # 404\n HTTPMethodNotAllowed # 405\n HTTPNotAcceptable # 406\n HTTPProxyAuthenticationRequired # 407\n HTTPRequestTimeOut # 408\n HTTPConflict # 409\n HTTPGone # 410\n HTTPLengthRequired # 411\n HTTPPreconditionFailed # 412\n HTTPRequestEntityTooLarge # 413\n HTTPRequestURITooLong # 414\n HTTPUnsupportedMediaType # 415\n HTTPRequestedRangeNotSatisfiable # 416\n HTTPExpectationFailed # 417\n HTTPServerError # 5xx\n HTTPInternalServerError # 500\n HTTPNotImplemented # 501\n HTTPBadGateway # 502\n HTTPServiceUnavailable # 503\n HTTPGatewayTimeOut # 504\n HTTPVersionNotSupported # 505\n" - !ruby/struct:SM::Flow::H level: 2 text: Switching Net::HTTP versions - !ruby/struct:SM::Flow::P body: You can use net/http.rb 1.1 features (bundled with Ruby 1.6) by calling HTTP.version_1_1. Calling Net::HTTP.version_1_2 allows you to use 1.2 features again. - !ruby/struct:SM::Flow::VERB body: " # example\n Net::HTTP.start {|http1| ...(http1 has 1.2 features)... }\n\n Net::HTTP.version_1_1\n Net::HTTP.start {|http2| ...(http2 has 1.1 features)... }\n\n Net::HTTP.version_1_2\n Net::HTTP.start {|http3| ...(http3 has 1.2 features)... }\n" - !ruby/struct:SM::Flow::P body: This function is NOT thread-safe. constants: [] full_name: Net::HTTP includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: D - !ruby/object:RI::MethodSummary name: active? - !ruby/object:RI::MethodSummary name: addr_port - !ruby/object:RI::MethodSummary name: begin_transport - !ruby/object:RI::MethodSummary name: conn_address - !ruby/object:RI::MethodSummary name: conn_port - !ruby/object:RI::MethodSummary name: connect - !ruby/object:RI::MethodSummary name: copy - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: do_finish - !ruby/object:RI::MethodSummary name: do_start - !ruby/object:RI::MethodSummary name: edit_path - !ruby/object:RI::MethodSummary name: end_transport - !ruby/object:RI::MethodSummary name: finish - !ruby/object:RI::MethodSummary name: get - !ruby/object:RI::MethodSummary name: get2 - !ruby/object:RI::MethodSummary name: head - !ruby/object:RI::MethodSummary name: head2 - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: keep_alive? - !ruby/object:RI::MethodSummary name: lock - !ruby/object:RI::MethodSummary name: mkcol - !ruby/object:RI::MethodSummary name: move - !ruby/object:RI::MethodSummary name: on_connect - !ruby/object:RI::MethodSummary name: options - !ruby/object:RI::MethodSummary name: peer_cert - !ruby/object:RI::MethodSummary name: post - !ruby/object:RI::MethodSummary name: post2 - !ruby/object:RI::MethodSummary name: propfind - !ruby/object:RI::MethodSummary name: proppatch - !ruby/object:RI::MethodSummary name: proxy? - !ruby/object:RI::MethodSummary name: proxy_address - !ruby/object:RI::MethodSummary name: proxy_pass - !ruby/object:RI::MethodSummary name: proxy_port - !ruby/object:RI::MethodSummary name: proxy_user - !ruby/object:RI::MethodSummary name: proxyaddr - !ruby/object:RI::MethodSummary name: proxyport - !ruby/object:RI::MethodSummary name: read_timeout= - !ruby/object:RI::MethodSummary name: request - !ruby/object:RI::MethodSummary name: request_get - !ruby/object:RI::MethodSummary name: request_head - !ruby/object:RI::MethodSummary name: request_post - !ruby/object:RI::MethodSummary name: send_request - !ruby/object:RI::MethodSummary name: set_debug_output - !ruby/object:RI::MethodSummary name: ssl_timeout - !ruby/object:RI::MethodSummary name: ssl_timeout= - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: started? - !ruby/object:RI::MethodSummary name: timeout= - !ruby/object:RI::MethodSummary name: trace - !ruby/object:RI::MethodSummary name: unlock - !ruby/object:RI::MethodSummary name: use_ssl - !ruby/object:RI::MethodSummary name: use_ssl= - !ruby/object:RI::MethodSummary name: use_ssl? - !ruby/object:RI::MethodSummary name: use_ssl? name: HTTP superclass: Protocol ri/1.8/system/Net/HTTP/conn_port-i.yaml 0000644 00000000260 15217654524 0013441 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTP#conn_port is_singleton: false name: conn_port params: () visibility: private ri/1.8/system/Net/HTTP/Unlock/cdesc-Unlock.yaml 0000644 00000000667 15217654524 0014772 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: METHOD value: "'UNLOCK'" - !ruby/object:RI::Constant comment: name: REQUEST_HAS_BODY value: "true" - !ruby/object:RI::Constant comment: name: RESPONSE_HAS_BODY value: "true" full_name: Net::HTTP::Unlock includes: [] instance_methods: [] name: Unlock superclass: HTTPRequest ri/1.8/system/Net/HTTP/keep_alive%3f-i.yaml 0000644 00000000274 15217654524 0014047 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTP#keep_alive? is_singleton: false name: keep_alive? params: (req, res) visibility: private ri/1.8/system/Net/HTTP/get_response-c.yaml 0000644 00000001412 15217654524 0014127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Send a GET request to the target and return the response as a Net::HTTPResponse object. The target can either be specified as (uri), or as (host, path, port = 80); so:" - !ruby/struct:SM::Flow::VERB body: " res = Net::HTTP.get_response(URI.parse('http://www.example.com/index.html'))\n print res.body\n" - !ruby/struct:SM::Flow::P body: "or:" - !ruby/struct:SM::Flow::VERB body: " res = Net::HTTP.get_response('www.example.com', '/index.html')\n print res.body\n" full_name: Net::HTTP::get_response is_singleton: true name: get_response params: (uri_or_host, path = nil, port = nil, &block) visibility: public ri/1.8/system/Net/HTTP/post_form-c.yaml 0000644 00000001604 15217654524 0013445 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Posts HTML form data to the URL. Form data must be represented as a Hash of String to String, e.g:" - !ruby/struct:SM::Flow::VERB body: " { "cmd" => "search", "q" => "ruby", "max" => "50" }\n" - !ruby/struct:SM::Flow::P body: This method also does Basic Authentication iff URL.user exists. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " require 'net/http'\n require 'uri'\n\n HTTP.post_form URI.parse('http://www.example.com/search.cgi'),\n { "q" => "ruby", "max" => "50" }\n" full_name: Net::HTTP::post_form is_singleton: true name: post_form params: (url, params) visibility: public ri/1.8/system/Net/HTTP/head-i.yaml 0000644 00000001556 15217654524 0012352 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Gets only the header from path on the connected-to host. header is a Hash like { 'Accept' => '*/*', ... }. - !ruby/struct:SM::Flow::P body: This method returns a Net::HTTPResponse object. - !ruby/struct:SM::Flow::P body: In version 1.1, this method might raise an exception for 3xx (redirect). On the case you can get a HTTPResponse object by "anException.response". In version 1.2, this method never raises an exception. - !ruby/struct:SM::Flow::VERB body: " response = nil\n Net::HTTP.start('some.www.server', 80) {|http|\n response = http.head('/index.html')\n }\n p response['content-type']\n" full_name: Net::HTTP#head is_singleton: false name: head params: (path, initheader = nil) visibility: public ri/1.8/system/Net/HTTP/version_1_1-c.yaml 0000644 00000000437 15217654524 0013565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Turns on net/http 1.1 (ruby 1.6) features. Defaults to OFF in ruby 1.8. full_name: Net::HTTP::version_1_1 is_singleton: true name: version_1_1 params: () visibility: public ri/1.8/system/Net/HTTP/active%3f-i.yaml 0000644 00000000345 15217654524 0013215 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #started?" full_name: Net::HTTP#active? is_singleton: false name: active? params: () visibility: public ri/1.8/system/Net/HTTP/do_finish-i.yaml 0000644 00000000260 15217654524 0013402 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTP#do_finish is_singleton: false name: do_finish params: () visibility: private ri/1.8/system/Net/HTTP/set_debug_output-i.yaml 0000644 00000001014 15217654524 0015017 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: WARNING This method causes serious security hole. Never use this method in production code. - !ruby/struct:SM::Flow::P body: Set an output stream for debugging. - !ruby/struct:SM::Flow::VERB body: " http = Net::HTTP.new\n http.set_debug_output $stderr\n http.start { .... }\n" full_name: Net::HTTP#set_debug_output is_singleton: false name: set_debug_output params: (output) visibility: public ri/1.8/system/Net/HTTP/Trace/cdesc-Trace.yaml 0000644 00000000665 15217654524 0014376 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: METHOD value: "'TRACE'" - !ruby/object:RI::Constant comment: name: REQUEST_HAS_BODY value: "false" - !ruby/object:RI::Constant comment: name: RESPONSE_HAS_BODY value: "true" full_name: Net::HTTP::Trace includes: [] instance_methods: [] name: Trace superclass: HTTPRequest ri/1.8/system/Net/HTTP/post-i.yaml 0000644 00000003421 15217654524 0012427 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: +body_segment+ comment: - !ruby/struct:SM::Flow::P body: Posts data (must be a String) to path. header must be a Hash like { 'Accept' => '*/*', ... }. - !ruby/struct:SM::Flow::P body: In version 1.1 (ruby 1.6), this method returns a pair of objects, a Net::HTTPResponse object and an entity body string. In version 1.2 (ruby 1.8), this method returns a Net::HTTPResponse object. - !ruby/struct:SM::Flow::P body: If called with a block, yields each fragment of the entity body in turn as a string as it are read from the socket. Note that in this case, the returned response object will not contain a (meaningful) body. - !ruby/struct:SM::Flow::P body: dest argument is obsolete. It still works but you must not use it. - !ruby/struct:SM::Flow::P body: In version 1.1, this method might raise an exception for 3xx (redirect). In this case you can get an HTTPResponse object by "anException.response". In version 1.2, this method never raises exception. - !ruby/struct:SM::Flow::VERB body: " # version 1.1\n response, body = http.post('/cgi-bin/search.rb', 'query=foo')\n\n # version 1.2\n response = http.post('/cgi-bin/search.rb', 'query=foo')\n\n # using block\n File.open('result.txt', 'w') {|f|\n http.post('/cgi-bin/search.rb', 'query=foo') do |str|\n f.write str\n end\n }\n" - !ruby/struct:SM::Flow::P body: "You should set Content-Type: header field for POST. If no Content-Type: field given, this method uses "application/x-www-form-urlencoded" by default." full_name: Net::HTTP#post is_singleton: false name: post params: (path, data, initheader = nil, dest = nil) {|+body_segment+| ...} visibility: public ri/1.8/system/Net/HTTP/send_request-i.yaml 0000644 00000001147 15217654524 0014146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends an HTTP request to the HTTP server. This method also sends DATA string if DATA is given. - !ruby/struct:SM::Flow::P body: Returns a HTTPResponse object. - !ruby/struct:SM::Flow::P body: This method never raises Net::* exceptions. - !ruby/struct:SM::Flow::VERB body: " response = http.send_request('GET', '/index.html')\n puts response.body\n" full_name: Net::HTTP#send_request is_singleton: false name: send_request params: (name, path, data = nil, header = nil) visibility: public ri/1.8/system/Net/HTTP/finish-i.yaml 0000644 00000000435 15217654524 0012724 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Finishes HTTP session and closes TCP connection. Raises IOError if not started. full_name: Net::HTTP#finish is_singleton: false name: finish params: () visibility: public ri/1.8/system/Net/HTTP/edit_path-i.yaml 0000644 00000000264 15217654524 0013405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTP#edit_path is_singleton: false name: edit_path params: (path) visibility: private ri/1.8/system/Net/HTTP/version_1_2%3f-c.yaml 0000644 00000000424 15217654524 0014060 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: true if net/http is in version 1.2 mode. Defaults to true. full_name: Net::HTTP::version_1_2? is_singleton: true name: version_1_2? params: () visibility: public ri/1.8/system/Net/HTTP/connect-i.yaml 0000644 00000000254 15217654524 0013074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTP#connect is_singleton: false name: connect params: () visibility: private ri/1.8/system/Net/HTTP/Mkcol/cdesc-Mkcol.yaml 0000644 00000000664 15217654524 0014413 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: METHOD value: "'MKCOL'" - !ruby/object:RI::Constant comment: name: REQUEST_HAS_BODY value: "true" - !ruby/object:RI::Constant comment: name: RESPONSE_HAS_BODY value: "true" full_name: Net::HTTP::Mkcol includes: [] instance_methods: [] name: Mkcol superclass: HTTPRequest ri/1.8/system/Net/HTTP/timeout%3d-i.yaml 0000644 00000000356 15217654524 0013430 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #ssl_timeout=" full_name: Net::HTTP#timeout= is_singleton: false name: timeout= params: (sec) visibility: public ri/1.8/system/Net/HTTP/Proppatch/cdesc-Proppatch.yaml 0000644 00000000700 15217654524 0016170 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: METHOD value: "'PROPPATCH'" - !ruby/object:RI::Constant comment: name: REQUEST_HAS_BODY value: "true" - !ruby/object:RI::Constant comment: name: RESPONSE_HAS_BODY value: "true" full_name: Net::HTTP::Proppatch includes: [] instance_methods: [] name: Proppatch superclass: HTTPRequest ri/1.8/system/Net/HTTP/proxy_user-i.yaml 0000644 00000000427 15217654524 0013664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: User name for accessing proxy. If self does not use a proxy, nil. full_name: Net::HTTP#proxy_user is_singleton: false name: proxy_user params: () visibility: public ri/1.8/system/Net/HTTP/lock-i.yaml 0000644 00000000477 15217654524 0012402 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a LOCK request to the path and gets a response, as an HTTPResponse object. full_name: Net::HTTP#lock is_singleton: false name: lock params: (path, body, initheader = nil) visibility: public ri/1.8/system/Net/HTTP/proxy_address-i.yaml 0000644 00000000502 15217654524 0014325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: proxyaddr block_params: comment: - !ruby/struct:SM::Flow::P body: Address of proxy host. If self does not use a proxy, nil. full_name: Net::HTTP#proxy_address is_singleton: false name: proxy_address params: () visibility: public ri/1.8/system/Net/HTTP/proxyport-i.yaml 0000644 00000000353 15217654524 0013531 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #proxy_port" full_name: Net::HTTP#proxyport is_singleton: false name: proxyport params: () visibility: public ri/1.8/system/Net/HTTP/post2-i.yaml 0000644 00000000401 15217654524 0012504 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #request_post" full_name: Net::HTTP#post2 is_singleton: false name: post2 params: (path, data, initheader = nil) visibility: public ri/1.8/system/Net/HTTP/start-c.yaml 0000644 00000001342 15217654524 0012571 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: +http+ comment: - !ruby/struct:SM::Flow::P body: creates a new Net::HTTP object and opens its TCP connection and HTTP session. If the optional block is given, the newly created Net::HTTP object is passed to it and closed when the block finishes. In this case, the return value of this method is the return value of the block. If no block is given, the return value of this method is the newly created Net::HTTP object itself, and the caller is responsible for closing it upon completion. full_name: Net::HTTP::start is_singleton: true name: start params: (address, port = nil, p_addr = nil, p_port = nil, p_user = nil, p_pass = nil) {|+http+| ...} visibility: public ri/1.8/system/Net/HTTP/copy-i.yaml 0000644 00000000471 15217654524 0012416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a COPY request to the path and gets a response, as an HTTPResponse object. full_name: Net::HTTP#copy is_singleton: false name: copy params: (path, initheader = nil) visibility: public ri/1.8/system/Net/HTTP/ssl_context_accessor-c.yaml 0000644 00000000311 15217654524 0015656 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTP::ssl_context_accessor is_singleton: true name: ssl_context_accessor params: (name) visibility: public ri/1.8/system/Net/HTTP/Head/cdesc-Head.yaml 0000644 00000000663 15217654524 0014002 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: METHOD value: "'HEAD'" - !ruby/object:RI::Constant comment: name: REQUEST_HAS_BODY value: "false" - !ruby/object:RI::Constant comment: name: RESPONSE_HAS_BODY value: "false" full_name: Net::HTTP::Head includes: [] instance_methods: [] name: Head superclass: HTTPRequest ri/1.8/system/Net/HTTP/use_ssl%3f-i.yaml 0000644 00000000255 15217654524 0013417 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTP#use_ssl? is_singleton: false name: use_ssl? params: () visibility: public ri/1.8/system/Net/HTTP/trace-i.yaml 0000644 00000000474 15217654524 0012545 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a TRACE request to the path and gets a response, as an HTTPResponse object. full_name: Net::HTTP#trace is_singleton: false name: trace params: (path, initheader = nil) visibility: public ri/1.8/system/Net/HTTP/end_transport-i.yaml 0000644 00000000300 15217654524 0014315 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTP#end_transport is_singleton: false name: end_transport params: (req, res) visibility: private ri/1.8/system/Net/HTTP/ssl_timeout-i.yaml 0000644 00000000263 15217654524 0014012 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTP#ssl_timeout is_singleton: false name: ssl_timeout params: () visibility: public ri/1.8/system/Net/HTTP/addr_port-i.yaml 0000644 00000000332 15217654524 0013416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: utils full_name: Net::HTTP#addr_port is_singleton: false name: addr_port params: () visibility: private ri/1.8/system/Net/HTTP/Proxy-c.yaml 0000644 00000001443 15217654524 0012557 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates an HTTP proxy class. Arguments are address/port of proxy host and username/password if authorization on proxy server is required. You can replace the HTTP class with created proxy class. - !ruby/struct:SM::Flow::P body: If ADDRESS is nil, this method returns self (Net::HTTP). - !ruby/struct:SM::Flow::VERB body: " # Example\n proxy_class = Net::HTTP::Proxy('proxy.example.com', 8080)\n :\n proxy_class.start('www.ruby-lang.org') {|http|\n # connecting proxy.foo.org:8080\n :\n }\n" full_name: Net::HTTP::Proxy is_singleton: true name: Proxy params: (p_addr, p_port = nil, p_user = nil, p_pass = nil) visibility: public ri/1.8/system/Net/HTTP/Put/cdesc-Put.yaml 0000644 00000000656 15217654524 0013622 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: METHOD value: "'PUT'" - !ruby/object:RI::Constant comment: name: REQUEST_HAS_BODY value: "true" - !ruby/object:RI::Constant comment: name: RESPONSE_HAS_BODY value: "true" full_name: Net::HTTP::Put includes: [] instance_methods: [] name: Put superclass: HTTPRequest ri/1.8/system/Net/HTTP/proxy%3f-i.yaml 0000644 00000000361 15217654524 0013121 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: True if self is a HTTP proxy class. full_name: Net::HTTP#proxy? is_singleton: false name: proxy? params: () visibility: public ri/1.8/system/Net/HTTP/default_port-c.yaml 0000644 00000000424 15217654524 0014124 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The default port to use for HTTP requests; defaults to 80. full_name: Net::HTTP::default_port is_singleton: true name: default_port params: () visibility: public ri/1.8/system/Net/HTTP/unlock-i.yaml 0000644 00000000505 15217654524 0012735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a UNLOCK request to the path and gets a response, as an HTTPResponse object. full_name: Net::HTTP#unlock is_singleton: false name: unlock params: (path, body, initheader = nil) visibility: public ri/1.8/system/Net/HTTP/Move/cdesc-Move.yaml 0000644 00000000662 15217654524 0014113 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: METHOD value: "'MOVE'" - !ruby/object:RI::Constant comment: name: REQUEST_HAS_BODY value: "false" - !ruby/object:RI::Constant comment: name: RESPONSE_HAS_BODY value: "true" full_name: Net::HTTP::Move includes: [] instance_methods: [] name: Move superclass: HTTPRequest ri/1.8/system/Net/HTTP/start-i.yaml 0000644 00000001063 15217654524 0012577 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: http comment: - !ruby/struct:SM::Flow::P body: Opens TCP connection and HTTP session. - !ruby/struct:SM::Flow::P body: When this method is called with block, gives a HTTP object to the block and closes the TCP connection / HTTP session after the block executed. - !ruby/struct:SM::Flow::P body: When called with a block, returns the return value of the block; otherwise, returns self. full_name: Net::HTTP#start is_singleton: false name: start params: ( {|http| ...} visibility: public ri/1.8/system/Net/HTTP/version_1_2-c.yaml 0000644 00000000714 15217654524 0013564 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Turns on net/http 1.2 (ruby 1.8) features. Defaults to ON in ruby 1.8. - !ruby/struct:SM::Flow::P body: I strongly recommend to call this method always. - !ruby/struct:SM::Flow::VERB body: " require 'net/http'\n Net::HTTP.version_1_2\n" full_name: Net::HTTP::version_1_2 is_singleton: true name: version_1_2 params: () visibility: public ri/1.8/system/Net/HTTP/https_default_port-c.yaml 0000644 00000000442 15217654524 0015346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The default port to use for HTTPS requests; defaults to 443. full_name: Net::HTTP::https_default_port is_singleton: true name: https_default_port params: () visibility: public ri/1.8/system/Net/HTTP/inspect-i.yaml 0000644 00000000253 15217654524 0013107 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTP#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/Net/HTTP/Get/cdesc-Get.yaml 0000644 00000000760 15217654524 0013534 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: HTTP 1.1 methods --- RFC2616 constants: - !ruby/object:RI::Constant comment: name: METHOD value: "'GET'" - !ruby/object:RI::Constant comment: name: REQUEST_HAS_BODY value: "false" - !ruby/object:RI::Constant comment: name: RESPONSE_HAS_BODY value: "true" full_name: Net::HTTP::Get includes: [] instance_methods: [] name: Get superclass: HTTPRequest ri/1.8/system/Net/HTTP/proxy_pass-i.yaml 0000644 00000000433 15217654524 0013651 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: User password for accessing proxy. If self does not use a proxy, nil. full_name: Net::HTTP#proxy_pass is_singleton: false name: proxy_pass params: () visibility: public ri/1.8/system/Net/HTTP/version_1_1%3f-c.yaml 0000644 00000000437 15217654524 0014063 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: true if net/http is in version 1.1 compatible mode. Defaults to true. full_name: Net::HTTP::version_1_1? is_singleton: true name: version_1_1? params: () visibility: public ri/1.8/system/Net/HTTP/options-i.yaml 0000644 00000000502 15217654524 0013132 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a OPTIONS request to the path and gets a response, as an HTTPResponse object. full_name: Net::HTTP#options is_singleton: false name: options params: (path, initheader = nil) visibility: public ri/1.8/system/Net/HTTP/on_connect-i.yaml 0000644 00000000262 15217654524 0013567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTP#on_connect is_singleton: false name: on_connect params: () visibility: private ri/1.8/system/Net/HTTP/request_post-i.yaml 0000644 00000002274 15217654524 0014204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: post2 block_params: +response+ comment: - !ruby/struct:SM::Flow::P body: Sends a POST request to the path and gets a response, as an HTTPResponse object. - !ruby/struct:SM::Flow::P body: When called with a block, yields an HTTPResponse object. The body of this response will not have been read yet; the caller can process it using HTTPResponse#read_body, if desired. - !ruby/struct:SM::Flow::P body: Returns the response. - !ruby/struct:SM::Flow::P body: This method never raises Net::* exceptions. - !ruby/struct:SM::Flow::VERB body: " # example\n response = http.request_post('/cgi-bin/nice.rb', 'datadatadata...')\n p response.status\n puts response.body # body is already read\n\n # using block\n http.request_post('/cgi-bin/nice.rb', 'datadatadata...') {|response|\n p response.status\n p response['content-type']\n response.read_body do |str| # read body now\n print str\n end\n }\n" full_name: Net::HTTP#request_post is_singleton: false name: request_post params: (path, data, initheader = nil) {|+response+| ...} visibility: public ri/1.8/system/Net/HTTP/request-i.yaml 0000644 00000001432 15217654524 0013132 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: +response+ comment: - !ruby/struct:SM::Flow::P body: Sends an HTTPRequest object REQUEST to the HTTP server. This method also sends DATA string if REQUEST is a post/put request. Giving DATA for get/head request causes ArgumentError. - !ruby/struct:SM::Flow::P body: When called with a block, yields an HTTPResponse object. The body of this response will not have been read yet; the caller can process it using HTTPResponse#read_body, if desired. - !ruby/struct:SM::Flow::P body: Returns a HTTPResponse object. - !ruby/struct:SM::Flow::P body: This method never raises Net::* exceptions. full_name: Net::HTTP#request is_singleton: false name: request params: (req, body = nil) {|+response+| ...} visibility: public ri/1.8/system/Net/HTTP/do_start-i.yaml 0000644 00000000256 15217654524 0013264 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTP#do_start is_singleton: false name: do_start params: () visibility: private ri/1.8/system/Net/HTTP/propfind-i.yaml 0000644 00000000536 15217654524 0013267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a PROPFIND request to the path and gets a response, as an HTTPResponse object. full_name: Net::HTTP#propfind is_singleton: false name: propfind params: (path, body = nil, initheader = {'Depth' => '0'}) visibility: public ri/1.8/system/Net/HTTP/http_default_port-c.yaml 0000644 00000000436 15217654524 0015166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The default port to use for HTTP requests; defaults to 80. full_name: Net::HTTP::http_default_port is_singleton: true name: http_default_port params: () visibility: public ri/1.8/system/Net/HTTP/conn_address-i.yaml 0000644 00000000350 15217654524 0014102 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: without proxy full_name: Net::HTTP#conn_address is_singleton: false name: conn_address params: () visibility: private ri/1.8/system/Net/HTTP/request_head-i.yaml 0000644 00000001177 15217654524 0014121 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: head2 block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a HEAD request to the path and gets a response, as an HTTPResponse object. - !ruby/struct:SM::Flow::P body: Returns the response. - !ruby/struct:SM::Flow::P body: This method never raises Net::* exceptions. - !ruby/struct:SM::Flow::VERB body: " response = http.request_head('/index.html')\n p response['content-type']\n" full_name: Net::HTTP#request_head is_singleton: false name: request_head params: (path, initheader = nil, &block) visibility: public ri/1.8/system/Net/HTTP/move-i.yaml 0000644 00000000471 15217654524 0012412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a MOVE request to the path and gets a response, as an HTTPResponse object. full_name: Net::HTTP#move is_singleton: false name: move params: (path, initheader = nil) visibility: public ri/1.8/system/Net/HTTP/Post/cdesc-Post.yaml 0000644 00000000661 15217654524 0014150 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: METHOD value: "'POST'" - !ruby/object:RI::Constant comment: name: REQUEST_HAS_BODY value: "true" - !ruby/object:RI::Constant comment: name: RESPONSE_HAS_BODY value: "true" full_name: Net::HTTP::Post includes: [] instance_methods: [] name: Post superclass: HTTPRequest ri/1.8/system/Net/HTTP/proppatch-i.yaml 0000644 00000000516 15217654524 0013444 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a PROPPATCH request to the path and gets a response, as an HTTPResponse object. full_name: Net::HTTP#proppatch is_singleton: false name: proppatch params: (path, body, initheader = nil) visibility: public ri/1.8/system/Net/HTTP/Propfind/cdesc-Propfind.yaml 0000644 00000000774 15217654524 0015645 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: WebDAV methods --- RFC2518 constants: - !ruby/object:RI::Constant comment: name: METHOD value: "'PROPFIND'" - !ruby/object:RI::Constant comment: name: REQUEST_HAS_BODY value: "true" - !ruby/object:RI::Constant comment: name: RESPONSE_HAS_BODY value: "true" full_name: Net::HTTP::Propfind includes: [] instance_methods: [] name: Propfind superclass: HTTPRequest ri/1.8/system/Net/HTTP/proxy_class%3f-c.yaml 0000644 00000000433 15217654524 0014300 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: returns true if self is a class which was created by HTTP::Proxy. full_name: Net::HTTP::proxy_class? is_singleton: true name: proxy_class? params: () visibility: public ri/1.8/system/Net/HTTP/get_print-c.yaml 0000644 00000001233 15217654524 0013426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Get body from target and output it to +$stdout+. The target can either be specified as (uri), or as (host, path, port = 80); so:" - !ruby/struct:SM::Flow::VERB body: " Net::HTTP.get_print URI.parse('http://www.example.com/index.html')\n" - !ruby/struct:SM::Flow::P body: "or:" - !ruby/struct:SM::Flow::VERB body: " Net::HTTP.get_print 'www.example.com', '/index.html'\n" full_name: Net::HTTP::get_print is_singleton: true name: get_print params: (uri_or_host, path = nil, port = nil) visibility: public ri/1.8/system/Net/HTTP/proxyaddr-i.yaml 0000644 00000000356 15217654524 0013462 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #proxy_address" full_name: Net::HTTP#proxyaddr is_singleton: false name: proxyaddr params: () visibility: public ri/1.8/system/Net/HTTP/use_ssl-i.yaml 0000644 00000000345 15217654524 0013121 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #use_ssl?" full_name: Net::HTTP#use_ssl is_singleton: false name: use_ssl params: () visibility: public ri/1.8/system/Net/HTTP/head2-i.yaml 0000644 00000000403 15217654524 0012422 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #request_head" full_name: Net::HTTP#head2 is_singleton: false name: head2 params: (path, initheader = nil, &block) visibility: public ri/1.8/system/Net/HTTP/get2-i.yaml 0000644 00000000370 15217654524 0012303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #request_get" full_name: Net::HTTP#get2 is_singleton: false name: get2 params: (path, initheader = nil) visibility: public ri/1.8/system/Net/HTTP/begin_transport-i.yaml 0000644 00000000277 15217654524 0014650 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTP#begin_transport is_singleton: false name: begin_transport params: (req) visibility: private ri/1.8/system/Net/HTTP/started%3f-i.yaml 0000644 00000000451 15217654524 0013406 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: active? block_params: comment: - !ruby/struct:SM::Flow::P body: returns true if the HTTP session is started. full_name: Net::HTTP#started? is_singleton: false name: started? params: () visibility: public ri/1.8/system/Net/HTTP/D-i.yaml 0000644 00000000243 15217654524 0011624 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTP#D is_singleton: false name: D params: (msg) visibility: private ri/1.8/system/Net/ProtoFatalError/cdesc-ProtoFatalError.yaml 0000644 00000000327 15217654524 0017670 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::ProtoFatalError includes: [] instance_methods: [] name: ProtoFatalError superclass: ProtocolError ri/1.8/system/Net/SMTPSyntaxError/cdesc-SMTPSyntaxError.yaml 0000644 00000000551 15217654524 0017525 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Represents an SMTP command syntax error (error code 500) constants: [] full_name: Net::SMTPSyntaxError includes: - !ruby/object:RI::IncludedModule name: SMTPError instance_methods: [] name: SMTPSyntaxError superclass: ProtoSyntaxError ri/1.8/system/Net/ProtocolError/cdesc-ProtocolError.yaml 0000644 00000000323 15217654524 0017140 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::ProtocolError includes: [] instance_methods: [] name: ProtocolError superclass: StandardError ri/1.8/system/Net/Telnet/new-c.yaml 0000644 00000013363 15217654524 0012707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "mesg " comment: - !ruby/struct:SM::Flow::P body: Creates a new Net::Telnet object. - !ruby/struct:SM::Flow::P body: "Attempts to connect to the host (unless the Proxy option is provided: see below). If a block is provided, it is yielded status messages on the attempt to connect to the server, of the form:" - !ruby/struct:SM::Flow::VERB body: " Trying localhost...\n Connected to localhost.\n" - !ruby/struct:SM::Flow::P body: options is a hash of options. The following example lists all options and their default values. - !ruby/struct:SM::Flow::VERB body: " host = Net::Telnet::new(\n "Host" => "localhost", # default: "localhost"\n "Port" => 23, # default: 23\n "Binmode" => false, # default: false\n "Output_log" => "output_log", # default: nil (no output)\n "Dump_log" => "dump_log", # default: nil (no output)\n "Prompt" => /[$%#>] \\z/n, # default: /[$%#>] \\z/n\n "Telnetmode" => true, # default: true\n "Timeout" => 10, # default: 10\n # if ignore timeout then set "Timeout" to false.\n "Waittime" => 0, # default: 0\n "Proxy" => proxy # default: nil\n # proxy is Net::Telnet or IO object\n )\n" - !ruby/struct:SM::Flow::P body: "The options have the following meanings:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "Host:" body: the hostname or IP address of the host to connect to, as a String. Defaults to "localhost". - !ruby/struct:SM::Flow::LI label: "Port:" body: the port to connect to. Defaults to 23. - !ruby/struct:SM::Flow::LI label: "Binmode:" body: "if false (the default), newline substitution is performed. Outgoing LF is converted to CRLF, and incoming CRLF is converted to LF. If true, this substitution is not performed. This value can also be set with the #binmode() method. The outgoing conversion only applies to the #puts() and #print() methods, not the #write() method. The precise nature of the newline conversion is also affected by the telnet options SGA and BIN." - !ruby/struct:SM::Flow::LI label: "Output_log:" body: the name of the file to write connection status messages and all received traffic to. In the case of a proper Telnet session, this will include the client input as echoed by the host; otherwise, it only includes server responses. Output is appended verbatim to this file. By default, no output log is kept. - !ruby/struct:SM::Flow::LI label: "Dump_log:" body: as for Output_log, except that output is written in hexdump format (16 bytes per line as hex pairs, followed by their printable equivalent), with connection status messages preceded by '#', sent traffic preceded by '>', and received traffic preceded by '<'. By default, not dump log is kept. - !ruby/struct:SM::Flow::LI label: "Prompt:" body: a regular expression matching the host's command-line prompt sequence. This is needed by the Telnet class to determine when the output from a command has finished and the host is ready to receive a new command. By default, this regular expression is /[$%#>] \z/n. - !ruby/struct:SM::Flow::LI label: "Telnetmode:" body: "a boolean value, true by default. In telnet mode, traffic received from the host is parsed for special command sequences, and these sequences are escaped in outgoing traffic sent using #puts() or #print() (but not #write()). If you are using the Net::Telnet object to connect to a non-telnet service (such as SMTP or POP), this should be set to "false" to prevent undesired data corruption. This value can also be set by the #telnetmode() method." - !ruby/struct:SM::Flow::LI label: "Timeout:" body: "the number of seconds to wait before timing out both the initial attempt to connect to host (in this constructor), and all attempts to read data from the host (in #waitfor(), #cmd(), and #login()). Exceeding this timeout causes a TimeoutError to be raised. The default value is 10 seconds. You can disable the timeout by setting this value to false. In this case, the connect attempt will eventually timeout on the underlying connect(2) socket call with an Errno::ETIMEDOUT error (but generally only after a few minutes), but other attempts to read data from the host will hand indefinitely if no data is forthcoming." - !ruby/struct:SM::Flow::LI label: "Waittime:" body: the amount of time to wait after seeing what looks like a prompt (that is, received data that matches the Prompt option regular expression) to see if more data arrives. If more data does arrive in this time, Net::Telnet assumes that what it saw was not really a prompt. This is to try to avoid false matches, but it can also lead to missing real prompts (if, for instance, a background process writes to the terminal soon after the prompt is displayed). By default, set to 0, meaning not to wait for more data. - !ruby/struct:SM::Flow::LI label: "Proxy:" body: a proxy object to used instead of opening a direct connection to the host. Must be either another Net::Telnet object or an IO object. If it is another Net::Telnet object, this instance will use that one's socket for communication. If an IO object, it is used directly for communication. Any other kind of object will cause an error to be raised. type: :NOTE full_name: Net::Telnet::new is_singleton: true name: new params: (options) {|mesg| ...} visibility: public ri/1.8/system/Net/Telnet/binmode-i.yaml 0000644 00000000555 15217654524 0013540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Turn newline conversion on (mode == false) or off (mode == true), or return the current value (mode is not specified). full_name: Net::Telnet#binmode is_singleton: false name: binmode params: (mode = nil) visibility: public ri/1.8/system/Net/Telnet/telnetmode-i.yaml 0000644 00000000755 15217654524 0014265 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set telnet command interpretation on (mode == true) or off (mode == false), or return the current value (mode not provided). It should be on for true telnet sessions, off if using Net::Telnet to connect to a non-telnet service such as SMTP. full_name: Net::Telnet#telnetmode is_singleton: false name: telnetmode params: (mode = nil) visibility: public ri/1.8/system/Net/Telnet/cmd-i.yaml 0000644 00000003375 15217654524 0012671 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: recvdata comment: - !ruby/struct:SM::Flow::P body: Send a command to the host. - !ruby/struct:SM::Flow::P body: More exactly, sends a string to the host, and reads in all received data until is sees the prompt or other matched sequence. - !ruby/struct:SM::Flow::P body: If a block is given, the received data will be yielded to it as it is read in. Whether a block is given or not, the received data will be return as a string. Note that the received data includes the prompt and in most cases the host's echo of our command. - !ruby/struct:SM::Flow::P body: "options is either a String, specified the string or command to send to the host; or it is a hash of options. If a hash, the following options can be specified:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "String:" body: the command or other string to send to the host. - !ruby/struct:SM::Flow::LI label: "Match:" body: a regular expression, the sequence to look for in the received data before returning. If not specified, the Prompt option value specified when this instance was created will be used, or, failing that, the default prompt of /[$%#>] \z/n. - !ruby/struct:SM::Flow::LI label: "Timeout:" body: the seconds to wait for data from the host before raising a Timeout error. If not specified, the Timeout option value specified when this instance was created will be used, or, failing that, the default value of 10 seconds. type: :NOTE - !ruby/struct:SM::Flow::P body: The command or other string will have the newline sequence appended to it. full_name: Net::Telnet#cmd is_singleton: false name: cmd params: (options) {|recvdata| ...} visibility: public ri/1.8/system/Net/Telnet/login-i.yaml 0000644 00000002675 15217654524 0013240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: recvdata comment: - !ruby/struct:SM::Flow::P body: Login to the host with a given username and password. - !ruby/struct:SM::Flow::P body: The username and password can either be provided as two string arguments in that order, or as a hash with keys "Name" and "Password". - !ruby/struct:SM::Flow::P body: This method looks for the strings "login" and "Password" from the host to determine when to send the username and password. If the login sequence does not follow this pattern (for instance, you are connecting to a service other than telnet), you will need to handle login yourself. - !ruby/struct:SM::Flow::P body: The password can be omitted, either by only provided one String argument, which will be used as the username, or by providing a has that has no "Password" key. In this case, the method will not look for the "Password:" prompt; if it is sent, it will have to be dealt with by later calls. - !ruby/struct:SM::Flow::P body: The method returns all data received during the login process from the host, including the echoed username but not the password (which the host should not echo). If a block is passed in, this received data is also yielded to the block as it is received. full_name: Net::Telnet#login is_singleton: false name: login params: (options, password = nil) {|recvdata| ...} visibility: public ri/1.8/system/Net/Telnet/cdesc-Telnet.yaml 0000644 00000011743 15217654524 0014210 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The socket the Telnet object is using. Note that this object becomes a delegate of the Telnet object, so normally you invoke its methods directly on the Telnet object. name: sock rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::H level: 2 text: Net::Telnet - !ruby/struct:SM::Flow::P body: Provides telnet client functionality. - !ruby/struct:SM::Flow::P body: This class also has, through delegation, all the methods of a socket object (by default, a TCPSocket, but can be set by the Proxy option to new()). This provides methods such as close() to end the session and sysread() to read data directly from the host, instead of via the waitfor() mechanism. Note that if you do use sysread() directly when in telnet mode, you should probably pass the output through preprocess() to extract telnet command sequences. - !ruby/struct:SM::Flow::H level: 2 text: Overview - !ruby/struct:SM::Flow::P body: "The telnet protocol allows a client to login remotely to a user account on a server and execute commands via a shell. The equivalent is done by creating a Net::Telnet class with the Host option set to your host, calling #login() with your user and password, issuing one or more #cmd() calls, and then calling #close() to end the session. The #waitfor(), #print(), #puts(), and #write() methods, which #cmd() is implemented on top of, are only needed if you are doing something more complicated." - !ruby/struct:SM::Flow::P body: "A Net::Telnet object can also be used to connect to non-telnet services, such as SMTP or HTTP. In this case, you normally want to provide the Port option to specify the port to connect to, and set the Telnetmode option to false to prevent the client from attempting to interpret telnet command sequences. Generally, #login() will not work with other protocols, and you have to handle authentication yourself." - !ruby/struct:SM::Flow::P body: "For some protocols, it will be possible to specify the Prompt option once when you create the Telnet object and use #cmd() calls; for others, you will have to specify the response sequence to look for as the Match option to every #cmd() call, or call #puts() and #waitfor() directly; for yet others, you will have to use #sysread() instead of #waitfor() and parse server responses yourself." - !ruby/struct:SM::Flow::P body: It is worth noting that when you create a new Net::Telnet object, you can supply a proxy IO channel via the Proxy option. This can be used to attach the Telnet object to other Telnet objects, to already open sockets, or to any read-write IO object. This can be useful, for instance, for setting up a test fixture for unit testing. - !ruby/struct:SM::Flow::H level: 2 text: Examples - !ruby/struct:SM::Flow::H level: 3 text: Log in and send a command, echoing all output to stdout - !ruby/struct:SM::Flow::VERB body: " localhost = Net::Telnet::new("Host" => "localhost",\n "Timeout" => 10,\n "Prompt" => /[$%#>] \\z/n)\n localhost.login("username", "password") { |c| print c }\n localhost.cmd("command") { |c| print c }\n localhost.close\n" - !ruby/struct:SM::Flow::H level: 3 text: Check a POP server to see if you have mail - !ruby/struct:SM::Flow::VERB body: " pop = Net::Telnet::new("Host" => "your_destination_host_here",\n "Port" => 110,\n "Telnetmode" => false,\n "Prompt" => /^+OK/n)\n pop.cmd("user " + "your_username_here") { |c| print c }\n pop.cmd("pass " + "your_password_here") { |c| print c }\n pop.cmd("list") { |c| print c }\n" - !ruby/struct:SM::Flow::H level: 2 text: References - !ruby/struct:SM::Flow::P body: There are a large number of RFCs relevant to the Telnet protocol. RFCs 854-861 define the base protocol. For a complete listing of relevant RFCs, see http://www.omnifarious.org/~hopper/technical/telnet-rfc.html constants: [] full_name: Net::Telnet includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: binmode - !ruby/object:RI::MethodSummary name: binmode= - !ruby/object:RI::MethodSummary name: cmd - !ruby/object:RI::MethodSummary name: login - !ruby/object:RI::MethodSummary name: preprocess - !ruby/object:RI::MethodSummary name: print - !ruby/object:RI::MethodSummary name: puts - !ruby/object:RI::MethodSummary name: telnetmode - !ruby/object:RI::MethodSummary name: telnetmode= - !ruby/object:RI::MethodSummary name: waitfor - !ruby/object:RI::MethodSummary name: write name: Telnet superclass: SimpleDelegator ri/1.8/system/Net/Telnet/write-i.yaml 0000644 00000000627 15217654524 0013255 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Write string to the host. - !ruby/struct:SM::Flow::P body: Does not perform any conversions on string. Will log string to the dumplog, if the Dump_log option is set. full_name: Net::Telnet#write is_singleton: false name: write params: (string) visibility: public ri/1.8/system/Net/Telnet/print-i.yaml 0000644 00000000766 15217654524 0013263 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a string to the host. - !ruby/struct:SM::Flow::P body: This does not automatically append a newline to the string. Embedded newlines may be converted and telnet command sequences escaped depending upon the values of telnetmode, binmode, and telnet options set by the host. full_name: Net::Telnet#print is_singleton: false name: print params: (string) visibility: public ri/1.8/system/Net/Telnet/puts-i.yaml 0000644 00000000512 15217654524 0013107 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a string to the host. - !ruby/struct:SM::Flow::P body: "Same as #print(), but appends a newline to the string." full_name: Net::Telnet#puts is_singleton: false name: puts params: (string) visibility: public ri/1.8/system/Net/Telnet/waitfor-i.yaml 0000644 00000004730 15217654524 0013575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: recvdata comment: - !ruby/struct:SM::Flow::P body: Read data from the host until a certain sequence is matched. - !ruby/struct:SM::Flow::P body: If a block is given, the received data will be yielded as it is read in (not necessarily all in one go), or nil if EOF occurs before any data is received. Whether a block is given or not, all data read will be returned in a single string, or again nil if EOF occurs before any data is received. Note that received data includes the matched sequence we were looking for. - !ruby/struct:SM::Flow::P body: "options can be either a regular expression or a hash of options. If a regular expression, this specifies the data to wait for. If a hash, this can specify the following options:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "Match:" body: a regular expression, specifying the data to wait for. - !ruby/struct:SM::Flow::LI label: "Prompt:" body: as for Match; used only if Match is not specified. - !ruby/struct:SM::Flow::LI label: "String:" body: as for Match, except a string that will be converted into a regular expression. Used only if Match and Prompt are not specified. - !ruby/struct:SM::Flow::LI label: "Timeout:" body: the number of seconds to wait for data from the host before raising a TimeoutError. If set to false, no timeout will occur. If not specified, the Timeout option value specified when this instance was created will be used, or, failing that, the default value of 10 seconds. - !ruby/struct:SM::Flow::LI label: "Waittime:" body: the number of seconds to wait after matching against the input data to see if more data arrives. If more data arrives within this time, we will judge ourselves not to have matched successfully, and will continue trying to match. If not specified, the Waittime option value specified when this instance was created will be used, or, failing that, the default value of 0 seconds, which means not to wait for more input. - !ruby/struct:SM::Flow::LI label: "FailEOF:" body: if true, when the remote end closes the connection then an EOFError will be raised. Otherwise, defaults to the old behaviour that the function will return whatever data has been received already, or nil if nothing was received. type: :NOTE full_name: Net::Telnet#waitfor is_singleton: false name: waitfor params: (options) {|recvdata| ...} visibility: public ri/1.8/system/Net/Telnet/preprocess-i.yaml 0000644 00000001034 15217654524 0014301 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Preprocess received data from the host. - !ruby/struct:SM::Flow::P body: "Performs newline conversion and detects telnet command sequences. Called automatically by #waitfor(). You should only use this method yourself if you have read input directly using sysread() or similar, and even then only if in telnet mode." full_name: Net::Telnet#preprocess is_singleton: false name: preprocess params: (string) visibility: public ri/1.8/system/Net/Telnet/telnetmode%3d-i.yaml 0000644 00000000616 15217654524 0014555 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Turn telnet command interpretation on (true) or off (false). It should be on for true telnet sessions, off if using Net::Telnet to connect to a non-telnet service such as SMTP. full_name: Net::Telnet#telnetmode= is_singleton: false name: telnetmode= params: (mode) visibility: public ri/1.8/system/Net/Telnet/binmode%3d-i.yaml 0000644 00000000411 15217654524 0014023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Turn newline conversion on (false) or off (true). full_name: Net::Telnet#binmode= is_singleton: false name: binmode= params: (mode) visibility: public ri/1.8/system/Net/SMTPServerBusy/cdesc-SMTPServerBusy.yaml 0000644 00000000550 15217654524 0017146 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Represents SMTP error code 420 or 450, a temporary error. constants: [] full_name: Net::SMTPServerBusy includes: - !ruby/object:RI::IncludedModule name: SMTPError instance_methods: [] name: SMTPServerBusy superclass: ProtoServerError ri/1.8/system/Net/ProtoCommandError/cdesc-ProtoCommandError.yaml 0000644 00000000333 15217654524 0020543 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::ProtoCommandError includes: [] instance_methods: [] name: ProtoCommandError superclass: ProtocolError ri/1.8/system/Net/WriteAdapter/new-c.yaml 0000644 00000000271 15217654524 0014041 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::WriteAdapter::new is_singleton: true name: new params: (socket, method) visibility: public ri/1.8/system/Net/WriteAdapter/%3c%3c-i.yaml 0000644 00000000256 15217654524 0014126 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::WriteAdapter#<< is_singleton: false name: "<<" params: (str) visibility: public ri/1.8/system/Net/WriteAdapter/cdesc-WriteAdapter.yaml 0000644 00000001120 15217654524 0016474 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: The writer adapter class constants: [] full_name: Net::WriteAdapter includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: print - !ruby/object:RI::MethodSummary name: printf - !ruby/object:RI::MethodSummary name: puts - !ruby/object:RI::MethodSummary name: write name: WriteAdapter superclass: Object ri/1.8/system/Net/WriteAdapter/write-i.yaml 0000644 00000000333 15217654524 0014407 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: print block_params: comment: full_name: Net::WriteAdapter#write is_singleton: false name: write params: (str) visibility: public ri/1.8/system/Net/WriteAdapter/printf-i.yaml 0000644 00000000266 15217654524 0014564 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::WriteAdapter#printf is_singleton: false name: printf params: (*args) visibility: public ri/1.8/system/Net/WriteAdapter/print-i.yaml 0000644 00000000351 15217654524 0014411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #write" full_name: Net::WriteAdapter#print is_singleton: false name: print params: (str) visibility: public ri/1.8/system/Net/WriteAdapter/puts-i.yaml 0000644 00000000265 15217654524 0014254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::WriteAdapter#puts is_singleton: false name: puts params: (str = '') visibility: public ri/1.8/system/Net/WriteAdapter/inspect-i.yaml 0000644 00000000263 15217654524 0014724 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::WriteAdapter#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/Net/HTTPRequest/new-c.yaml 0000644 00000000401 15217654524 0013571 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates HTTP request object. full_name: Net::HTTPRequest::new is_singleton: true name: new params: (path, initheader = nil) visibility: public ri/1.8/system/Net/HTTPRequest/cdesc-HTTPRequest.yaml 0000644 00000000646 15217654524 0016002 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: HTTP request class. This class wraps request header and entity path. You must use its subclass, Net::HTTP::Get, Post, Head. constants: [] full_name: Net::HTTPRequest includes: [] instance_methods: [] name: HTTPRequest superclass: HTTPGenericRequest ri/1.8/system/Net/POPAuthenticationError/cdesc-POPAuthenticationError.yaml 0000644 00000000445 15217654524 0022437 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: POP3 authentication error. constants: [] full_name: Net::POPAuthenticationError includes: [] instance_methods: [] name: POPAuthenticationError superclass: ProtoAuthError ri/1.8/system/Net/IMAP/getacl-i.yaml 0000644 00000000566 15217654524 0012657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Send the GETACL command along with specified mailbox. If this mailbox exists, an array containing objects of Net::IMAP::MailboxACLItem will be returned. full_name: Net::IMAP#getacl is_singleton: false name: getacl params: (mailbox) visibility: public ri/1.8/system/Net/IMAP/store-i.yaml 0000644 00000002232 15217654524 0012544 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Sends a STORE command to alter data associated with messages in the mailbox, in particular their flags. The set parameter is a number or an array of numbers or a Range object. Each number is a message sequence number. attr is the name of a data item to store: 'FLAGS' means to replace the message's flag list with the provided one; '+FLAGS' means to add the provided flags; and '-FLAGS' means to remove them. flags is a list of flags." - !ruby/struct:SM::Flow::P body: "The return value is an array of Net::IMAP::FetchData. For example:" - !ruby/struct:SM::Flow::VERB body: " p imap.store(6..8, "+FLAGS", [:Deleted])\n #=> [#<Net::IMAP::FetchData seqno=6, attr={"FLAGS"=>[:Seen, :Deleted]}>, \\\n #<Net::IMAP::FetchData seqno=7, attr={"FLAGS"=>[:Seen, :Deleted]}>, \\\n #<Net::IMAP::FetchData seqno=8, attr={"FLAGS"=>[:Seen, :Deleted]}>]\n" full_name: Net::IMAP#store is_singleton: false name: store params: (set, attr, flags) visibility: public ri/1.8/system/Net/IMAP/pick_up_tagged_response-i.yaml 0000644 00000000317 15217654524 0016275 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#pick_up_tagged_response is_singleton: false name: pick_up_tagged_response params: (tag) visibility: private ri/1.8/system/Net/IMAP/send_list_data-i.yaml 0000644 00000000276 15217654524 0014373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#send_list_data is_singleton: false name: send_list_data params: (list) visibility: private ri/1.8/system/Net/IMAP/new-c.yaml 0000644 00000003007 15217654524 0012174 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new Net::IMAP object and connects it to the specified port (143 by default) on the named host. If usessl is true, then an attempt will be made to use SSL (now TLS) to connect to the server. For this to work OpenSSL [OSSL] and the Ruby OpenSSL [RSSL] extensions need to be installed. The certs parameter indicates the path or file containing the CA cert of the server, and the verify parameter is for the OpenSSL verification callback. - !ruby/struct:SM::Flow::P body: "The most common errors are:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "Errno::ECONNREFUSED:" body: connection refused by host or an intervening firewall. - !ruby/struct:SM::Flow::LI label: "Errno::ETIMEDOUT:" body: connection timed out (possibly due to packets being dropped by an intervening firewall). - !ruby/struct:SM::Flow::LI label: "Errno::ENETUNREACH:" body: there is no route to that network. - !ruby/struct:SM::Flow::LI label: "SocketError:" body: hostname not known or other socket error. - !ruby/struct:SM::Flow::LI label: "Net::IMAP::ByeResponseError:" body: we connected to the host, but they immediately said goodbye to us. type: :NOTE full_name: Net::IMAP::new is_singleton: true name: new params: (host, port = PORT, usessl = false, certs = nil, verify = false) visibility: public ri/1.8/system/Net/IMAP/generate_tag-i.yaml 0000644 00000000266 15217654524 0014042 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#generate_tag is_singleton: false name: generate_tag params: () visibility: private ri/1.8/system/Net/IMAP/LoginAuthenticator/new-c.yaml 0000644 00000000305 15217654524 0015775 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP::LoginAuthenticator::new is_singleton: true name: new params: (user, password) visibility: public ri/1.8/system/Net/IMAP/LoginAuthenticator/cdesc-LoginAuthenticator.yaml 0000644 00000001115 15217654524 0021646 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "Authenticator for the "LOGIN" authentication type. See #authenticate()." constants: - !ruby/object:RI::Constant comment: name: STATE_USER value: ":USER" - !ruby/object:RI::Constant comment: name: STATE_PASSWORD value: ":PASSWORD" full_name: Net::IMAP::LoginAuthenticator includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: process name: LoginAuthenticator superclass: Object ri/1.8/system/Net/IMAP/LoginAuthenticator/process-i.yaml 0000644 00000000303 15217654524 0016666 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP::LoginAuthenticator#process is_singleton: false name: process params: (data) visibility: public ri/1.8/system/Net/IMAP/DataFormatError/cdesc-DataFormatError.yaml 0000644 00000000454 15217654524 0020335 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Error raised when data is in the incorrect format. constants: [] full_name: Net::IMAP::DataFormatError includes: [] instance_methods: [] name: DataFormatError superclass: Error ri/1.8/system/Net/IMAP/decode_utf7-c.yaml 0000644 00000001137 15217654524 0013575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Decode a string from modified UTF-7 format to UTF-8. - !ruby/struct:SM::Flow::P body: UTF-7 is a 7-bit encoding of Unicode [UTF7]. IMAP uses a slightly modified version of this to encode mailbox names containing non-ASCII characters; see [IMAP] section 5.1.3. - !ruby/struct:SM::Flow::P body: Net::IMAP does not automatically encode and decode mailbox names to and from utf7. full_name: Net::IMAP::decode_utf7 is_singleton: true name: decode_utf7 params: (s) visibility: public ri/1.8/system/Net/IMAP/put_string-i.yaml 0000644 00000000265 15217654524 0013612 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#put_string is_singleton: false name: put_string params: (str) visibility: private ri/1.8/system/Net/IMAP/thread-i.yaml 0000644 00000001670 15217654524 0012664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "As for #search(), but returns message sequence numbers in threaded format, as a Net::IMAP::ThreadMember tree. The supported algorithms are:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "ORDEREDSUBJECT:" body: split into single-level threads according to subject, ordered by date. - !ruby/struct:SM::Flow::LI label: "REFERENCES:" body: split into threads by parent/child relationships determined by which message is a reply to which. type: :NOTE - !ruby/struct:SM::Flow::P body: "Unlike #search(), charset is a required argument. US-ASCII and UTF-8 are sample values." - !ruby/struct:SM::Flow::P body: See [SORT-THREAD-EXT] for more details. full_name: Net::IMAP#thread is_singleton: false name: thread params: (algorithm, search_keys, charset) visibility: public ri/1.8/system/Net/IMAP/thread_internal-i.yaml 0000644 00000000340 15217654524 0014551 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#thread_internal is_singleton: false name: thread_internal params: (cmd, algorithm, search_keys, charset) visibility: private ri/1.8/system/Net/IMAP/send_number_data-i.yaml 0000644 00000000301 15217654524 0014675 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#send_number_data is_singleton: false name: send_number_data params: (num) visibility: private ri/1.8/system/Net/IMAP/delete-i.yaml 0000644 00000000743 15217654524 0012657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a DELETE command to remove the mailbox. - !ruby/struct:SM::Flow::P body: A Net::IMAP::NoResponseError is raised if a mailbox with that name cannot be deleted, either because it does not exist or because the client does not have permission to delete it. full_name: Net::IMAP#delete is_singleton: false name: delete params: (mailbox) visibility: public ri/1.8/system/Net/IMAP/expunge-i.yaml 0000644 00000000517 15217654524 0013067 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a EXPUNGE command to permanently remove from the currently selected mailbox all messages that have the \Deleted flag set. full_name: Net::IMAP#expunge is_singleton: false name: expunge params: () visibility: public ri/1.8/system/Net/IMAP/encode_utf7-c.yaml 0000644 00000000415 15217654524 0013605 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Encode a string from UTF-8 format to modified UTF-7. full_name: Net::IMAP::encode_utf7 is_singleton: true name: encode_utf7 params: (s) visibility: public ri/1.8/system/Net/IMAP/logout-i.yaml 0000644 00000000446 15217654524 0012726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a LOGOUT command to inform the server that the client is done with the connection. full_name: Net::IMAP#logout is_singleton: false name: logout params: () visibility: public ri/1.8/system/Net/IMAP/search-i.yaml 0000644 00000004700 15217654524 0012657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a SEARCH command to search the mailbox for messages that match the given searching criteria, and returns message sequence numbers. keys can either be a string holding the entire search string, or a single-dimension array of search keywords and arguments. The following are some common search criteria; see [IMAP] section 6.4.4 for a full list. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: ":" body: a set of message sequence numbers. ',' indicates an interval, ':' indicates a range. For instance, '2,10:12,15' means "2,10,11,12,15". - !ruby/struct:SM::Flow::LI label: "BEFORE :" body: messages with an internal date strictly before <date>. The date argument has a format similar to 8-Aug-2002. - !ruby/struct:SM::Flow::LI label: "BODY :" body: messages that contain <string> within their body. - !ruby/struct:SM::Flow::LI label: "CC :" body: messages containing <string> in their CC field. - !ruby/struct:SM::Flow::LI label: "FROM :" body: messages that contain <string> in their FROM field. - !ruby/struct:SM::Flow::LI label: "NEW:" body: messages with the \Recent, but not the \Seen, flag set. - !ruby/struct:SM::Flow::LI label: "NOT :" body: negate the following search key. - !ruby/struct:SM::Flow::LI label: "OR :" body: ""or" two search keys together." - !ruby/struct:SM::Flow::LI label: "ON :" body: messages with an internal date exactly equal to <date>, which has a format similar to 8-Aug-2002. - !ruby/struct:SM::Flow::LI label: "SINCE :" body: messages with an internal date on or after <date>. - !ruby/struct:SM::Flow::LI label: "SUBJECT :" body: messages with <string> in their subject. - !ruby/struct:SM::Flow::LI label: "TO :" body: messages with <string> in their TO field. type: :NOTE - !ruby/struct:SM::Flow::P body: "For example:" - !ruby/struct:SM::Flow::VERB body: " p imap.search(["SUBJECT", "hello", "NOT", "NEW"])\n #=> [1, 6, 7, 8]\n" full_name: Net::IMAP#search is_singleton: false name: search params: (keys, charset = nil) visibility: public ri/1.8/system/Net/IMAP/BodyTypeMultipart/cdesc-BodyTypeMultipart.yaml 0000644 00000003246 15217654524 0021351 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::BodyTypeMultipart represents multipart body structures of messages. - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "media_type:" body: Returns the content media type name as defined in [MIME-IMB]. - !ruby/struct:SM::Flow::LI label: "subtype:" body: Returns the content subtype name as defined in [MIME-IMB]. - !ruby/struct:SM::Flow::LI label: "parts:" body: Returns multiple parts. - !ruby/struct:SM::Flow::LI label: "param:" body: Returns a hash that represents parameters as defined in [MIME-IMB]. - !ruby/struct:SM::Flow::LI label: "disposition:" body: Returns a Net::IMAP::ContentDisposition object giving the content disposition. - !ruby/struct:SM::Flow::LI label: "language:" body: Returns a string or an array of strings giving the body language value as defined in [LANGUAGE-TAGS]. - !ruby/struct:SM::Flow::LI label: "extension:" body: Returns extension data. - !ruby/struct:SM::Flow::LI label: "multipart?:" body: Returns true. type: :NOTE constants: [] full_name: Net::IMAP::BodyTypeMultipart includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: media_subtype - !ruby/object:RI::MethodSummary name: multipart? name: BodyTypeMultipart superclass: Struct.new(:media_type, :subtype, :parts, :param, :disposition, :language, :extension) ri/1.8/system/Net/IMAP/BodyTypeMultipart/multipart%3f-i.yaml 0000644 00000000304 15217654524 0017366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP::BodyTypeMultipart#multipart? is_singleton: false name: multipart? params: () visibility: public ri/1.8/system/Net/IMAP/BodyTypeMultipart/media_subtype-i.yaml 0000644 00000000604 15217654524 0017704 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Obsolete: use subtype instead. Calling this will generate a warning message to stderr, then return the value of subtype." full_name: Net::IMAP::BodyTypeMultipart#media_subtype is_singleton: false name: media_subtype params: () visibility: public ri/1.8/system/Net/IMAP/send_string_data-i.yaml 0000644 00000000301 15217654524 0014713 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#send_string_data is_singleton: false name: send_string_data params: (str) visibility: private ri/1.8/system/Net/IMAP/BodyTypeText/cdesc-BodyTypeText.yaml 0000644 00000002042 15217654524 0017250 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::BodyTypeText represents TEXT body structures of messages. - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "lines:" body: Returns the size of the body in text lines. type: :NOTE - !ruby/struct:SM::Flow::P body: And Net::IMAP::BodyTypeText has all fields of Net::IMAP::BodyTypeBasic. constants: [] full_name: Net::IMAP::BodyTypeText includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: media_subtype - !ruby/object:RI::MethodSummary name: multipart? name: BodyTypeText superclass: Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :extension) ri/1.8/system/Net/IMAP/BodyTypeText/multipart%3f-i.yaml 0000644 00000000277 15217654524 0016342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP::BodyTypeText#multipart? is_singleton: false name: multipart? params: () visibility: public ri/1.8/system/Net/IMAP/BodyTypeText/media_subtype-i.yaml 0000644 00000000577 15217654524 0016660 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Obsolete: use subtype instead. Calling this will generate a warning message to stderr, then return the value of subtype." full_name: Net::IMAP::BodyTypeText#media_subtype is_singleton: false name: media_subtype params: () visibility: public ri/1.8/system/Net/IMAP/subscribe-i.yaml 0000644 00000001047 15217654524 0013374 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Sends a SUBSCRIBE command to add the specified mailbox name to the server's set of "active" or "subscribed" mailboxes as returned by #lsub()." - !ruby/struct:SM::Flow::P body: A Net::IMAP::NoResponseError is raised if mailbox cannot be subscribed to, for instance because it does not exist. full_name: Net::IMAP#subscribe is_singleton: false name: subscribe params: (mailbox) visibility: public ri/1.8/system/Net/IMAP/uid_thread-i.yaml 0000644 00000000514 15217654524 0013521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "As for #thread(), but returns unique identifiers instead of message sequence numbers." full_name: Net::IMAP#uid_thread is_singleton: false name: uid_thread params: (algorithm, search_keys, charset) visibility: public ri/1.8/system/Net/IMAP/append-i.yaml 0000644 00000002006 15217654524 0012656 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Sends a APPEND command to append the message to the end of the mailbox. The optional flags argument is an array of flags to initially passing to the new message. The optional date_time argument specifies the creation time to assign to the new message; it defaults to the current time. For example:" - !ruby/struct:SM::Flow::VERB body: " imap.append("inbox", <<EOF.gsub(/\\n/, "\\r\\n"), [:Seen], Time.now)\n Subject: hello\n From: shugo@ruby-lang.org\n To: shugo@ruby-lang.org\n\n hello world\n EOF\n" - !ruby/struct:SM::Flow::P body: A Net::IMAP::NoResponseError is raised if the mailbox does not exist (it is not created automatically), or if the flags, date_time, or message arguments contain errors. full_name: Net::IMAP#append is_singleton: false name: append params: (mailbox, message, flags = nil, date_time = nil) visibility: public ri/1.8/system/Net/IMAP/u8tou16-c.yaml 0000644 00000000255 15217654524 0012640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP::u8tou16 is_singleton: true name: u8tou16 params: (s) visibility: private ri/1.8/system/Net/IMAP/uid_copy-i.yaml 0000644 00000000435 15217654524 0013226 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "As for #copy(), but set contains unique identifiers." full_name: Net::IMAP#uid_copy is_singleton: false name: uid_copy params: (set, mailbox) visibility: public ri/1.8/system/Net/IMAP/debug-c.yaml 0000644 00000000343 15217654524 0012471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the debug mode. full_name: Net::IMAP::debug is_singleton: true name: debug params: () visibility: public ri/1.8/system/Net/IMAP/uid_search-i.yaml 0000644 00000000434 15217654524 0013520 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "As for #search(), but returns unique identifiers." full_name: Net::IMAP#uid_search is_singleton: false name: uid_search params: (keys, charset = nil) visibility: public ri/1.8/system/Net/IMAP/send_quoted_string-i.yaml 0000644 00000000305 15217654524 0015307 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#send_quoted_string is_singleton: false name: send_quoted_string params: (str) visibility: private ri/1.8/system/Net/IMAP/login-i.yaml 0000644 00000001114 15217654524 0012516 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Sends a LOGIN command to identify the client and carries the plaintext password authenticating this user. Note that, unlike calling #authenticate() with an auth_type of "LOGIN", #login() does not use the login authenticator." - !ruby/struct:SM::Flow::P body: A Net::IMAP::NoResponseError is raised if authentication fails. full_name: Net::IMAP#login is_singleton: false name: login params: (user, password) visibility: public ri/1.8/system/Net/IMAP/get_response-i.yaml 0000644 00000000266 15217654524 0014112 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#get_response is_singleton: false name: get_response params: () visibility: private ri/1.8/system/Net/IMAP/Literal/cdesc-Literal.yaml 0000644 00000000306 15217654524 0015231 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::IMAP::Literal includes: [] instance_methods: [] name: Literal superclass: Object ri/1.8/system/Net/IMAP/ResponseError/cdesc-ResponseError.yaml 0000644 00000000516 15217654524 0017664 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Superclass of all errors used to encapsulate "fail" responses from the server. constants: [] full_name: Net::IMAP::ResponseError includes: [] instance_methods: [] name: ResponseError superclass: Error ri/1.8/system/Net/IMAP/ByeResponseError/cdesc-ByeResponseError.yaml 0000644 00000000644 15217654524 0020766 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Error raised upon a "BYE" response from the server, indicating that the client is not being allowed to login, or has been timed out due to inactivity. constants: [] full_name: Net::IMAP::ByeResponseError includes: [] instance_methods: [] name: ByeResponseError superclass: ResponseError ri/1.8/system/Net/IMAP/unsubscribe-i.yaml 0000644 00000001070 15217654524 0013733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a UNSUBSCRIBE command to remove the specified mailbox name from the server's set of "active" or "subscribed" mailboxes. - !ruby/struct:SM::Flow::P body: A Net::IMAP::NoResponseError is raised if mailbox cannot be unsubscribed from, for instance because the client is not currently subscribed to it. full_name: Net::IMAP#unsubscribe is_singleton: false name: unsubscribe params: (mailbox) visibility: public ri/1.8/system/Net/IMAP/u16tou8-c.yaml 0000644 00000000255 15217654524 0012640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP::u16tou8 is_singleton: true name: u16tou8 params: (s) visibility: private ri/1.8/system/Net/IMAP/select-i.yaml 0000644 00000001515 15217654524 0012672 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a SELECT command to select a mailbox so that messages in the mailbox can be accessed. - !ruby/struct:SM::Flow::P body: "After you have selected a mailbox, you may retrieve the number of items in that mailbox from @responses["EXISTS"][-1], and the number of recent messages from @responses["RECENT"][-1]. Note that these values can change if new messages arrive during a session; see #add_response_handler() for a way of detecting this event." - !ruby/struct:SM::Flow::P body: A Net::IMAP::NoResponseError is raised if the mailbox does not exist or is for some reason non-selectable. full_name: Net::IMAP#select is_singleton: false name: select params: (mailbox) visibility: public ri/1.8/system/Net/IMAP/close-i.yaml 0000644 00000000557 15217654524 0012525 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a CLOSE command to close the currently selected mailbox. The CLOSE command permanently removes from the mailbox all messages that have the \Deleted flag set. full_name: Net::IMAP#close is_singleton: false name: close params: () visibility: public ri/1.8/system/Net/IMAP/copy_internal-i.yaml 0000644 00000000311 15217654524 0014252 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#copy_internal is_singleton: false name: copy_internal params: (cmd, set, mailbox) visibility: private ri/1.8/system/Net/IMAP/uid_fetch-i.yaml 0000644 00000000435 15217654524 0013345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "As for #fetch(), but set contains unique identifiers." full_name: Net::IMAP#uid_fetch is_singleton: false name: uid_fetch params: (set, attr) visibility: public ri/1.8/system/Net/IMAP/add_response_handler-i.yaml 0000644 00000001323 15217654524 0015553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Adds a response handler. For example, to detect when the server sends us a new EXISTS response (which normally indicates new messages being added to the mail box), you could add the following handler after selecting the mailbox. - !ruby/struct:SM::Flow::VERB body: " imap.add_response_handler { |resp|\n if resp.kind_of?(Net::IMAP::UntaggedResponse) and resp.name == "EXISTS"\n puts "Mailbox now has #{resp.data} messages"\n end\n }\n" full_name: Net::IMAP#add_response_handler is_singleton: false name: add_response_handler params: (handler = Proc.new) visibility: public ri/1.8/system/Net/IMAP/status-i.yaml 0000644 00000002072 15217654524 0012735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Sends a STATUS command, and returns the status of the indicated mailbox. attr is a list of one or more attributes that we are request the status of. Supported attributes include:" - !ruby/struct:SM::Flow::VERB body: " MESSAGES:: the number of messages in the mailbox.\n RECENT:: the number of recent messages in the mailbox.\n UNSEEN:: the number of unseen messages in the mailbox.\n" - !ruby/struct:SM::Flow::P body: "The return value is a hash of attributes. For example:" - !ruby/struct:SM::Flow::VERB body: " p imap.status("inbox", ["MESSAGES", "RECENT"])\n #=> {"RECENT"=>0, "MESSAGES"=>44}\n" - !ruby/struct:SM::Flow::P body: A Net::IMAP::NoResponseError is raised if status values for mailbox cannot be returned, for instance because it does not exist. full_name: Net::IMAP#status is_singleton: false name: status params: (mailbox, attr) visibility: public ri/1.8/system/Net/IMAP/sort-i.yaml 0000644 00000001275 15217654524 0012405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Sends a SORT command to sort messages in the mailbox. Returns an array of message sequence numbers. For example:" - !ruby/struct:SM::Flow::VERB body: " p imap.sort(["FROM"], ["ALL"], "US-ASCII")\n #=> [1, 2, 3, 5, 6, 7, 8, 4, 9]\n p imap.sort(["DATE"], ["SUBJECT", "hello"], "US-ASCII")\n #=> [6, 7, 8, 1]\n" - !ruby/struct:SM::Flow::P body: See [SORT-THREAD-EXT] for more details. full_name: Net::IMAP#sort is_singleton: false name: sort params: (sort_keys, search_keys, charset) visibility: public ri/1.8/system/Net/IMAP/normalize_searching_criteria-i.yaml 0000644 00000000332 15217654524 0017314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#normalize_searching_criteria is_singleton: false name: normalize_searching_criteria params: (keys) visibility: private ri/1.8/system/Net/IMAP/fetch_internal-i.yaml 0000644 00000000310 15217654524 0014370 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#fetch_internal is_singleton: false name: fetch_internal params: (cmd, set, attr) visibility: private ri/1.8/system/Net/IMAP/setacl-i.yaml 0000644 00000000761 15217654524 0012670 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends the SETACL command along with mailbox, user and the rights that user is to have on that mailbox. If rights is nil, then that user will be stripped of any rights to that mailbox. The IMAP ACL commands are described in [RFC-2086]. full_name: Net::IMAP#setacl is_singleton: false name: setacl params: (mailbox, user, rights) visibility: public ri/1.8/system/Net/IMAP/noop-i.yaml 0000644 00000000376 15217654524 0012372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a NOOP command to the server. It does nothing. full_name: Net::IMAP#noop is_singleton: false name: noop params: () visibility: public ri/1.8/system/Net/IMAP/BodyTypeBasic/multipart%3f-i.yaml 0000644 00000000300 15217654524 0016422 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP::BodyTypeBasic#multipart? is_singleton: false name: multipart? params: () visibility: public ri/1.8/system/Net/IMAP/BodyTypeBasic/media_subtype-i.yaml 0000644 00000000600 15217654524 0016740 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Obsolete: use subtype instead. Calling this will generate a warning message to stderr, then return the value of subtype." full_name: Net::IMAP::BodyTypeBasic#media_subtype is_singleton: false name: media_subtype params: () visibility: public ri/1.8/system/Net/IMAP/BodyTypeBasic/cdesc-BodyTypeBasic.yaml 0000644 00000004425 15217654524 0017451 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::BodyTypeBasic represents basic body structures of messages. - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "media_type:" body: Returns the content media type name as defined in [MIME-IMB]. - !ruby/struct:SM::Flow::LI label: "subtype:" body: Returns the content subtype name as defined in [MIME-IMB]. - !ruby/struct:SM::Flow::LI label: "param:" body: Returns a hash that represents parameters as defined in [MIME-IMB]. - !ruby/struct:SM::Flow::LI label: "content_id:" body: Returns a string giving the content id as defined in [MIME-IMB]. - !ruby/struct:SM::Flow::LI label: "description:" body: Returns a string giving the content description as defined in [MIME-IMB]. - !ruby/struct:SM::Flow::LI label: "encoding:" body: Returns a string giving the content transfer encoding as defined in [MIME-IMB]. - !ruby/struct:SM::Flow::LI label: "size:" body: Returns a number giving the size of the body in octets. - !ruby/struct:SM::Flow::LI label: "md5:" body: Returns a string giving the body MD5 value as defined in [MD5]. - !ruby/struct:SM::Flow::LI label: "disposition:" body: Returns a Net::IMAP::ContentDisposition object giving the content disposition. - !ruby/struct:SM::Flow::LI label: "language:" body: Returns a string or an array of strings giving the body language value as defined in [LANGUAGE-TAGS]. - !ruby/struct:SM::Flow::LI label: "extension:" body: Returns extension data. - !ruby/struct:SM::Flow::LI label: "multipart?:" body: Returns false. type: :NOTE constants: [] full_name: Net::IMAP::BodyTypeBasic includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: media_subtype - !ruby/object:RI::MethodSummary name: multipart? name: BodyTypeBasic superclass: Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :md5, :disposition, :language, :extension) ri/1.8/system/Net/IMAP/cdesc-IMAP.yaml 0000644 00000075513 15217654524 0013003 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The thread to receive exceptions. name: client_thread rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Returns an initial greeting response from the server. name: greeting rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Returns all response handlers. name: response_handlers rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: "Returns recorded untagged responses. For example:" - !ruby/struct:SM::Flow::VERB body: " imap.select("inbox")\n p imap.responses["EXISTS"][-1]\n #=> 2\n p imap.responses["UIDVALIDITY"][-1]\n #=> 968263756\n" name: responses rw: R class_methods: - !ruby/object:RI::MethodSummary name: add_authenticator - !ruby/object:RI::MethodSummary name: debug - !ruby/object:RI::MethodSummary name: debug= - !ruby/object:RI::MethodSummary name: decode_utf7 - !ruby/object:RI::MethodSummary name: encode_utf7 - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: u16tou8 - !ruby/object:RI::MethodSummary name: u8tou16 comment: - !ruby/struct:SM::Flow::P body: Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality. The protocol is described in [IMAP]. - !ruby/struct:SM::Flow::H level: 2 text: IMAP Overview - !ruby/struct:SM::Flow::P body: "An IMAP client connects to a server, and then authenticates itself using either #authenticate() or #login(). Having authenticated itself, there is a range of commands available to it. Most work with mailboxes, which may be arranged in an hierarchical namespace, and each of which contains zero or more messages. How this is implemented on the server is implementation-dependent; on a UNIX server, it will frequently be implemented as a files in mailbox format within a hierarchy of directories." - !ruby/struct:SM::Flow::P body: "To work on the messages within a mailbox, the client must first select that mailbox, using either #select() or (for read-only access) #examine(). Once the client has successfully selected a mailbox, they enter selected state, and that mailbox becomes the current mailbox, on which mail-item related commands implicitly operate." - !ruby/struct:SM::Flow::P body: "Messages have two sorts of identifiers: message sequence numbers, and UIDs." - !ruby/struct:SM::Flow::P body: Message sequence numbers number messages within a mail box from 1 up to the number of items in the mail box. If new message arrives during a session, it receives a sequence number equal to the new size of the mail box. If messages are expunged from the mailbox, remaining messages have their sequence numbers "shuffled down" to fill the gaps. - !ruby/struct:SM::Flow::P body: UIDs, on the other hand, are permanently guaranteed not to identify another message within the same mailbox, even if the existing message is deleted. UIDs are required to be assigned in ascending (but not necessarily sequential) order within a mailbox; this means that if a non-IMAP client rearranges the order of mailitems within a mailbox, the UIDs have to be reassigned. An IMAP client cannot thus rearrange message orders. - !ruby/struct:SM::Flow::H level: 2 text: Examples of Usage - !ruby/struct:SM::Flow::H level: 3 text: List sender and subject of all recent messages in the default mailbox - !ruby/struct:SM::Flow::VERB body: " imap = Net::IMAP.new('mail.example.com')\n imap.authenticate('LOGIN', 'joe_user', 'joes_password')\n imap.examine('INBOX')\n imap.search(["RECENT"]).each do |message_id|\n envelope = imap.fetch(message_id, "ENVELOPE")[0].attr["ENVELOPE"]\n puts "#{envelope.from[0].name}: \\t#{envelope.subject}"\n end\n" - !ruby/struct:SM::Flow::H level: 3 text: Move all messages from April 2003 from "Mail/sent-mail" to "Mail/sent-apr03" - !ruby/struct:SM::Flow::VERB body: " imap = Net::IMAP.new('mail.example.com')\n imap.authenticate('LOGIN', 'joe_user', 'joes_password')\n imap.select('Mail/sent-mail')\n if not imap.list('Mail/', 'sent-apr03')\n imap.create('Mail/sent-apr03')\n end\n imap.search(["BEFORE", "30-Apr-2003", "SINCE", "1-Apr-2003"]).each do |message_id|\n imap.copy(message_id, "Mail/sent-apr03")\n imap.store(message_id, "+FLAGS", [:Deleted])\n end\n imap.expunge\n" - !ruby/struct:SM::Flow::H level: 2 text: Thread Safety - !ruby/struct:SM::Flow::P body: Net::IMAP supports concurrent threads. For example, - !ruby/struct:SM::Flow::VERB body: " imap = Net::IMAP.new("imap.foo.net", "imap2")\n imap.authenticate("cram-md5", "bar", "password")\n imap.select("inbox")\n fetch_thread = Thread.start { imap.fetch(1..-1, "UID") }\n search_result = imap.search(["BODY", "hello"])\n fetch_result = fetch_thread.value\n imap.disconnect\n" - !ruby/struct:SM::Flow::P body: This script invokes the FETCH command and the SEARCH command concurrently. - !ruby/struct:SM::Flow::H level: 2 text: Errors - !ruby/struct:SM::Flow::P body: "An IMAP server can send three different types of responses to indicate failure:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "NO:" body: the attempted command could not be successfully completed. For instance, the username/password used for logging in are incorrect; the selected mailbox does not exists; etc. - !ruby/struct:SM::Flow::LI label: "BAD:" body: the request from the client does not follow the server's understanding of the IMAP protocol. This includes attempting commands from the wrong client state; for instance, attempting to perform a SEARCH command without having SELECTed a current mailbox. It can also signal an internal server failure (such as a disk crash) has occurred. - !ruby/struct:SM::Flow::LI label: "BYE:" body: the server is saying goodbye. This can be part of a normal logout sequence, and can be used as part of a login sequence to indicate that the server is (for some reason) unwilling to accept our connection. As a response to any other command, it indicates either that the server is shutting down, or that the server is timing out the client connection due to inactivity. type: :NOTE - !ruby/struct:SM::Flow::P body: These three error response are represented by the errors Net::IMAP::NoResponseError, Net::IMAP::BadResponseError, and Net::IMAP::ByeResponseError, all of which are subclasses of Net::IMAP::ResponseError. Essentially, all methods that involve sending a request to the server can generate one of these errors. Only the most pertinent instances have been documented below. - !ruby/struct:SM::Flow::P body: Because the IMAP class uses Sockets for communication, its methods are also susceptible to the various errors that can occur when working with sockets. These are generally represented as Errno errors. For instance, any method that involves sending a request to the server and/or receiving a response from it could raise an Errno::EPIPE error if the network connection unexpectedly goes down. See the socket(7), ip(7), tcp(7), socket(2), connect(2), and associated man pages. - !ruby/struct:SM::Flow::P body: Finally, a Net::IMAP::DataFormatError is thrown if low-level data is found to be in an incorrect format (for instance, when converting between UTF-8 and UTF-16), and Net::IMAP::ResponseParseError is thrown if a server response is non-parseable. - !ruby/struct:SM::Flow::H level: 2 text: References - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "[IMAP]" body: "M. Crispin, "INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1", RFC 2060, December 1996. (Note: since obsoleted by RFC 3501)" - !ruby/struct:SM::Flow::LI label: "[LANGUAGE-TAGS]" body: Alvestrand, H., "Tags for the Identification of Languages", RFC 1766, March 1995. - !ruby/struct:SM::Flow::LI label: "[MD5]" body: Myers, J., and M. Rose, "The Content-MD5 Header Field", RFC 1864, October 1995. - !ruby/struct:SM::Flow::LI label: "[MIME-IMB]" body: "Freed, N., and N. Borenstein, "MIME (Multipurpose Internet Mail Extensions) Part One: Format of Internet Message Bodies", RFC 2045, November 1996." - !ruby/struct:SM::Flow::LI label: "[RFC-822]" body: Crocker, D., "Standard for the Format of ARPA Internet Text Messages", STD 11, RFC 822, University of Delaware, August 1982. - !ruby/struct:SM::Flow::LI label: "[RFC-2087]" body: Myers, J., "IMAP4 QUOTA extension", RFC 2087, January 1997. - !ruby/struct:SM::Flow::LI label: "[RFC-2086]" body: Myers, J., "IMAP4 ACL extension", RFC 2086, January 1997. - !ruby/struct:SM::Flow::LI label: "[RFC-2195]" body: Klensin, J., Catoe, R., and Krumviede, P., "IMAP/POP AUTHorize Extension for Simple Challenge/Response", RFC 2195, September 1997. - !ruby/struct:SM::Flow::LI label: "[SORT-THREAD-EXT]" body: Crispin, M., "INTERNET MESSAGE ACCESS PROTOCOL - SORT and THREAD Extensions", draft-ietf-imapext-sort, May 2003. - !ruby/struct:SM::Flow::LI label: "[OSSL]" body: http://www.openssl.org - !ruby/struct:SM::Flow::LI label: "[RSSL]" body: http://savannah.gnu.org/projects/rubypki - !ruby/struct:SM::Flow::LI label: "[UTF7]" body: "Goldsmith, D. and Davis, M., "UTF-7: A Mail-Safe Transformation Format of Unicode", RFC 2152, May 1997." type: :LABELED constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Flag indicating a message has been seen name: SEEN value: ":Seen" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Flag indicating a message has been answered name: ANSWERED value: ":Answered" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Flag indicating a message has been flagged for special or urgent attention name: FLAGGED value: ":Flagged" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Flag indicating a message has been marked for deletion. This will occur when the mailbox is closed or expunged. name: DELETED value: ":Deleted" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Flag indicating a message is only a draft or work-in-progress version. name: DRAFT value: ":Draft" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Flag indicating that the message is "recent", meaning that this session is the first session in which the client has been notified of this message. name: RECENT value: ":Recent" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Flag indicating that a mailbox context name cannot contain children. name: NOINFERIORS value: ":Noinferiors" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Flag indicating that a mailbox is not selected. name: NOSELECT value: ":Noselect" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Flag indicating that a mailbox has been marked "interesting" by the server; this commonly indicates that the mailbox contains new messages. name: MARKED value: ":Marked" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Flag indicating that the mailbox does not contains new messages. name: UNMARKED value: ":Unmarked" - !ruby/object:RI::Constant comment: name: DATE_MONTH value: "%w(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec)" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::ContinuationRequest represents command continuation requests. - !ruby/struct:SM::Flow::P body: The command continuation request response is indicated by a "+" token instead of a tag. This form of response indicates that the server is ready to accept the continuation of a command from the client. The remainder of this response is a line of text. - !ruby/struct:SM::Flow::VERB body: " continue_req ::= "+" SPACE (resp_text / base64)\n" - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "data:" body: Returns the data (Net::IMAP::ResponseText). - !ruby/struct:SM::Flow::LI label: "raw_data:" body: Returns the raw data string. type: :NOTE name: ContinuationRequest value: Struct.new(:data, :raw_data) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::UntaggedResponse represents untagged responses. - !ruby/struct:SM::Flow::P body: Data transmitted by the server to the client and status responses that do not indicate command completion are prefixed with the token "*", and are called untagged responses. - !ruby/struct:SM::Flow::VERB body: " response_data ::= "*" SPACE (resp_cond_state / resp_cond_bye /\n mailbox_data / message_data / capability_data)\n" - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "name:" body: Returns the name such as "FLAGS", "LIST", "FETCH".... - !ruby/struct:SM::Flow::LI label: "data:" body: Returns the data such as an array of flag symbols, - !ruby/struct:SM::Flow::VERB body: " a ((<Net::IMAP::MailboxList>)) object....\n" - !ruby/struct:SM::Flow::LI label: "raw_data:" body: Returns the raw data string. type: :NOTE name: UntaggedResponse value: Struct.new(:name, :data, :raw_data) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::TaggedResponse represents tagged responses. - !ruby/struct:SM::Flow::P body: The server completion result response indicates the success or failure of the operation. It is tagged with the same tag as the client command which began the operation. - !ruby/struct:SM::Flow::VERB body: " response_tagged ::= tag SPACE resp_cond_state CRLF\n\n tag ::= 1*<any ATOM_CHAR except "+">\n\n resp_cond_state ::= ("OK" / "NO" / "BAD") SPACE resp_text\n" - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "tag:" body: Returns the tag. - !ruby/struct:SM::Flow::LI label: "name:" body: Returns the name. the name is one of "OK", "NO", "BAD". - !ruby/struct:SM::Flow::LI label: "data:" body: Returns the data. See ((<Net::IMAP::ResponseText>)). - !ruby/struct:SM::Flow::LI label: "raw_data:" body: Returns the raw data string. type: :NOTE name: TaggedResponse value: Struct.new(:tag, :name, :data, :raw_data) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::ResponseText represents texts of responses. The text may be prefixed by the response code. - !ruby/struct:SM::Flow::VERB body: " resp_text ::= ["[" resp_text_code "]" SPACE] (text_mime2 / text)\n ;; text SHOULD NOT begin with "[" or "="\n" - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "code:" body: Returns the response code. See ((<Net::IMAP::ResponseCode>)). - !ruby/struct:SM::Flow::LI label: "text:" body: Returns the text. type: :NOTE name: ResponseText value: Struct.new(:code, :text) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::ResponseCode represents response codes. - !ruby/struct:SM::Flow::VERB body: " resp_text_code ::= "ALERT" / "PARSE" /\n "PERMANENTFLAGS" SPACE "(" #(flag / "*") ")" /\n "READ-ONLY" / "READ-WRITE" / "TRYCREATE" /\n "UIDVALIDITY" SPACE nz_number /\n "UNSEEN" SPACE nz_number /\n atom [SPACE 1*<any TEXT_CHAR except "]">]\n" - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "name:" body: Returns the name such as "ALERT", "PERMANENTFLAGS", "UIDVALIDITY".... - !ruby/struct:SM::Flow::LI label: "data:" body: Returns the data if it exists. type: :NOTE name: ResponseCode value: Struct.new(:name, :data) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::MailboxList represents contents of the LIST response. - !ruby/struct:SM::Flow::VERB body: " mailbox_list ::= "(" #("\\Marked" / "\\Noinferiors" /\n "\\Noselect" / "\\Unmarked" / flag_extension) ")"\n SPACE (<"> QUOTED_CHAR <"> / nil) SPACE mailbox\n" - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "attr:" body: Returns the name attributes. Each name attribute is a symbol capitalized by String#capitalize, such as :Noselect (not :NoSelect). - !ruby/struct:SM::Flow::LI label: "delim:" body: Returns the hierarchy delimiter - !ruby/struct:SM::Flow::LI label: "name:" body: Returns the mailbox name. type: :NOTE name: MailboxList value: Struct.new(:attr, :delim, :name) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::MailboxQuota represents contents of GETQUOTA response. This object can also be a response to GETQUOTAROOT. In the syntax specification below, the delimiter used with the "#" construct is a single space (SPACE). - !ruby/struct:SM::Flow::VERB body: " quota_list ::= "(" #quota_resource ")"\n\n quota_resource ::= atom SPACE number SPACE number\n\n quota_response ::= "QUOTA" SPACE astring SPACE quota_list\n" - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "mailbox:" body: The mailbox with the associated quota. - !ruby/struct:SM::Flow::LI label: "usage:" body: Current storage usage of mailbox. - !ruby/struct:SM::Flow::LI label: "quota:" body: Quota limit imposed on mailbox. type: :NOTE name: MailboxQuota value: Struct.new(:mailbox, :usage, :quota) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::MailboxQuotaRoot represents part of the GETQUOTAROOT response. (GETQUOTAROOT can also return Net::IMAP::MailboxQuota.) - !ruby/struct:SM::Flow::VERB body: " quotaroot_response ::= "QUOTAROOT" SPACE astring *(SPACE astring)\n" - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "mailbox:" body: The mailbox with the associated quota. - !ruby/struct:SM::Flow::LI label: "quotaroots:" body: Zero or more quotaroots that effect the quota on the specified mailbox. type: :NOTE name: MailboxQuotaRoot value: Struct.new(:mailbox, :quotaroots) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::MailboxACLItem represents response from GETACL. - !ruby/struct:SM::Flow::VERB body: " acl_data ::= "ACL" SPACE mailbox *(SPACE identifier SPACE rights)\n\n identifier ::= astring\n\n rights ::= astring\n" - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "user:" body: Login name that has certain rights to the mailbox that was specified with the getacl command. - !ruby/struct:SM::Flow::LI label: "rights:" body: The access rights the indicated user has to the mailbox. type: :NOTE name: MailboxACLItem value: Struct.new(:user, :rights) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::StatusData represents contents of the STATUS response. - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "mailbox:" body: Returns the mailbox name. - !ruby/struct:SM::Flow::LI label: "attr:" body: Returns a hash. Each key is one of "MESSAGES", "RECENT", "UIDNEXT", "UIDVALIDITY", "UNSEEN". Each value is a number. type: :NOTE name: StatusData value: Struct.new(:mailbox, :attr) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::FetchData represents contents of the FETCH response. - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "seqno:" body: "Returns the message sequence number. (Note: not the unique identifier, even for the UID command response.)" - !ruby/struct:SM::Flow::LI label: "attr:" body: Returns a hash. Each key is a data item name, and each value is its value. - !ruby/struct:SM::Flow::P body: "The current data items are:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: BODY body: A form of BODYSTRUCTURE without extension data. - !ruby/struct:SM::Flow::LI label: BODY[]<> body: A string expressing the body contents of the specified section. - !ruby/struct:SM::Flow::LI label: BODYSTRUCTURE body: An object that describes the [MIME-IMB] body structure of a message. See Net::IMAP::BodyTypeBasic, Net::IMAP::BodyTypeText, Net::IMAP::BodyTypeMessage, Net::IMAP::BodyTypeMultipart. - !ruby/struct:SM::Flow::LI label: ENVELOPE body: A Net::IMAP::Envelope object that describes the envelope structure of a message. - !ruby/struct:SM::Flow::LI label: FLAGS body: A array of flag symbols that are set for this message. flag symbols are capitalized by String#capitalize. - !ruby/struct:SM::Flow::LI label: INTERNALDATE body: A string representing the internal date of the message. - !ruby/struct:SM::Flow::LI label: RFC822 body: Equivalent to BODY[]. - !ruby/struct:SM::Flow::LI label: RFC822.HEADER body: Equivalent to BODY.PEEK[HEADER]. - !ruby/struct:SM::Flow::LI label: RFC822.SIZE body: A number expressing the [RFC-822] size of the message. - !ruby/struct:SM::Flow::LI label: RFC822.TEXT body: Equivalent to BODY[TEXT]. - !ruby/struct:SM::Flow::LI label: UID body: A number expressing the unique identifier of the message. type: :LABELED type: :NOTE name: FetchData value: Struct.new(:seqno, :attr) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::Envelope represents envelope structures of messages. - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "date:" body: Returns a string that represents the date. - !ruby/struct:SM::Flow::LI label: "subject:" body: Returns a string that represents the subject. - !ruby/struct:SM::Flow::LI label: "from:" body: Returns an array of Net::IMAP::Address that represents the from. - !ruby/struct:SM::Flow::LI label: "sender:" body: Returns an array of Net::IMAP::Address that represents the sender. - !ruby/struct:SM::Flow::LI label: "reply_to:" body: Returns an array of Net::IMAP::Address that represents the reply-to. - !ruby/struct:SM::Flow::LI label: "to:" body: Returns an array of Net::IMAP::Address that represents the to. - !ruby/struct:SM::Flow::LI label: "cc:" body: Returns an array of Net::IMAP::Address that represents the cc. - !ruby/struct:SM::Flow::LI label: "bcc:" body: Returns an array of Net::IMAP::Address that represents the bcc. - !ruby/struct:SM::Flow::LI label: "in_reply_to:" body: Returns a string that represents the in-reply-to. - !ruby/struct:SM::Flow::LI label: "message_id:" body: Returns a string that represents the message-id. type: :NOTE name: Envelope value: Struct.new(:date, :subject, :from, :sender, :reply_to, :to, :cc, :bcc, :in_reply_to, :message_id) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::Address represents electronic mail addresses. - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "name:" body: Returns the phrase from [RFC-822] mailbox. - !ruby/struct:SM::Flow::LI label: "route:" body: Returns the route from [RFC-822] route-addr. - !ruby/struct:SM::Flow::LI label: "mailbox:" body: nil indicates end of [RFC-822] group. If non-nil and host is nil, returns [RFC-822] group name. Otherwise, returns [RFC-822] local-part - !ruby/struct:SM::Flow::LI label: "host:" body: nil indicates [RFC-822] group syntax. Otherwise, returns [RFC-822] domain name. type: :NOTE name: Address value: Struct.new(:name, :route, :mailbox, :host) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::ContentDisposition represents Content-Disposition fields. - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "dsp_type:" body: Returns the disposition type. - !ruby/struct:SM::Flow::LI label: "param:" body: Returns a hash that represents parameters of the Content-Disposition field. type: :NOTE name: ContentDisposition value: Struct.new(:dsp_type, :param) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::ThreadMember represents a thread-node returned by Net::IMAP#thread - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "seqno:" body: The sequence number of this message. - !ruby/struct:SM::Flow::LI label: "children:" body: an array of Net::IMAP::ThreadMember objects for mail type: :NOTE - !ruby/struct:SM::Flow::P body: items that are children of this in the thread. name: ThreadMember value: Struct.new(:seqno, :children) full_name: Net::IMAP includes: - !ruby/object:RI::IncludedModule name: MonitorMixin - !ruby/object:RI::IncludedModule name: OpenSSL - !ruby/object:RI::IncludedModule name: SSL instance_methods: - !ruby/object:RI::MethodSummary name: add_response_handler - !ruby/object:RI::MethodSummary name: append - !ruby/object:RI::MethodSummary name: authenticate - !ruby/object:RI::MethodSummary name: capability - !ruby/object:RI::MethodSummary name: check - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: copy - !ruby/object:RI::MethodSummary name: copy_internal - !ruby/object:RI::MethodSummary name: create - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: disconnect - !ruby/object:RI::MethodSummary name: disconnected? - !ruby/object:RI::MethodSummary name: examine - !ruby/object:RI::MethodSummary name: expunge - !ruby/object:RI::MethodSummary name: fetch - !ruby/object:RI::MethodSummary name: fetch_internal - !ruby/object:RI::MethodSummary name: generate_tag - !ruby/object:RI::MethodSummary name: get_response - !ruby/object:RI::MethodSummary name: get_tagged_response - !ruby/object:RI::MethodSummary name: getacl - !ruby/object:RI::MethodSummary name: getquota - !ruby/object:RI::MethodSummary name: getquotaroot - !ruby/object:RI::MethodSummary name: list - !ruby/object:RI::MethodSummary name: login - !ruby/object:RI::MethodSummary name: logout - !ruby/object:RI::MethodSummary name: lsub - !ruby/object:RI::MethodSummary name: noop - !ruby/object:RI::MethodSummary name: normalize_searching_criteria - !ruby/object:RI::MethodSummary name: pick_up_tagged_response - !ruby/object:RI::MethodSummary name: put_string - !ruby/object:RI::MethodSummary name: receive_responses - !ruby/object:RI::MethodSummary name: record_response - !ruby/object:RI::MethodSummary name: remove_response_handler - !ruby/object:RI::MethodSummary name: rename - !ruby/object:RI::MethodSummary name: search - !ruby/object:RI::MethodSummary name: search_internal - !ruby/object:RI::MethodSummary name: select - !ruby/object:RI::MethodSummary name: send_command - !ruby/object:RI::MethodSummary name: send_data - !ruby/object:RI::MethodSummary name: send_list_data - !ruby/object:RI::MethodSummary name: send_literal - !ruby/object:RI::MethodSummary name: send_number_data - !ruby/object:RI::MethodSummary name: send_quoted_string - !ruby/object:RI::MethodSummary name: send_string_data - !ruby/object:RI::MethodSummary name: send_symbol_data - !ruby/object:RI::MethodSummary name: send_time_data - !ruby/object:RI::MethodSummary name: setacl - !ruby/object:RI::MethodSummary name: setquota - !ruby/object:RI::MethodSummary name: sort - !ruby/object:RI::MethodSummary name: sort_internal - !ruby/object:RI::MethodSummary name: status - !ruby/object:RI::MethodSummary name: store - !ruby/object:RI::MethodSummary name: store_internal - !ruby/object:RI::MethodSummary name: subscribe - !ruby/object:RI::MethodSummary name: thread - !ruby/object:RI::MethodSummary name: thread_internal - !ruby/object:RI::MethodSummary name: uid_copy - !ruby/object:RI::MethodSummary name: uid_fetch - !ruby/object:RI::MethodSummary name: uid_search - !ruby/object:RI::MethodSummary name: uid_sort - !ruby/object:RI::MethodSummary name: uid_store - !ruby/object:RI::MethodSummary name: uid_thread - !ruby/object:RI::MethodSummary name: unsubscribe name: IMAP superclass: Object ri/1.8/system/Net/IMAP/uid_sort-i.yaml 0000644 00000000456 15217654524 0013246 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "As for #sort(), but returns an array of unique identifiers." full_name: Net::IMAP#uid_sort is_singleton: false name: uid_sort params: (sort_keys, search_keys, charset) visibility: public ri/1.8/system/Net/IMAP/send_data-i.yaml 0000644 00000000264 15217654524 0013335 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#send_data is_singleton: false name: send_data params: (data) visibility: private ri/1.8/system/Net/IMAP/copy-i.yaml 0000644 00000000677 15217654524 0012375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a COPY command to copy the specified message(s) to the end of the specified destination mailbox. The set parameter is a number or an array of numbers or a Range object. The number is a message sequence number. full_name: Net::IMAP#copy is_singleton: false name: copy params: (set, mailbox) visibility: public ri/1.8/system/Net/IMAP/Error/cdesc-Error.yaml 0000644 00000000410 15217654524 0014417 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Superclass of IMAP errors. constants: [] full_name: Net::IMAP::Error includes: [] instance_methods: [] name: Error superclass: StandardError ri/1.8/system/Net/IMAP/check-i.yaml 0000644 00000000625 15217654524 0012471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a CHECK command to request a checkpoint of the currently selected mailbox. This performs implementation-specific housekeeping, for instance, reconciling the mailbox's in-memory and on-disk state. full_name: Net::IMAP#check is_singleton: false name: check params: () visibility: public ri/1.8/system/Net/IMAP/capability-i.yaml 0000644 00000001172 15217654524 0013533 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a CAPABILITY command, and returns an array of capabilities that the server supports. Each capability is a string. See [IMAP] for a list of possible capabilities. - !ruby/struct:SM::Flow::P body: Note that the Net::IMAP class does not modify its behaviour according to the capabilities of the server; it is up to the user of the class to ensure that a certain capability is supported by a server before using it. full_name: Net::IMAP#capability is_singleton: false name: capability params: () visibility: public ri/1.8/system/Net/IMAP/ResponseParseError/cdesc-ResponseParseError.yaml 0000644 00000000476 15217654524 0021657 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Error raised when a response from the server is non-parseable. constants: [] full_name: Net::IMAP::ResponseParseError includes: [] instance_methods: [] name: ResponseParseError superclass: Error ri/1.8/system/Net/IMAP/send_command-i.yaml 0000644 00000000310 15217654524 0014032 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#send_command is_singleton: false name: send_command params: (cmd, *args, &block) visibility: private ri/1.8/system/Net/IMAP/CramMD5Authenticator/new-c.yaml 0000644 00000000307 15217654524 0016117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP::CramMD5Authenticator::new is_singleton: true name: new params: (user, password) visibility: public ri/1.8/system/Net/IMAP/CramMD5Authenticator/process-i.yaml 0000644 00000000312 15217654524 0017006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP::CramMD5Authenticator#process is_singleton: false name: process params: (challenge) visibility: public ri/1.8/system/Net/IMAP/CramMD5Authenticator/hmac_md5-i.yaml 0000644 00000000315 15217654524 0017010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP::CramMD5Authenticator#hmac_md5 is_singleton: false name: hmac_md5 params: (text, key) visibility: private ri/1.8/system/Net/IMAP/CramMD5Authenticator/cdesc-CramMD5Authenticator.yaml 0000644 00000000750 15217654524 0022112 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "Authenticator for the "CRAM-MD5" authentication type. See #authenticate()." constants: [] full_name: Net::IMAP::CramMD5Authenticator includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: hmac_md5 - !ruby/object:RI::MethodSummary name: process name: CramMD5Authenticator superclass: Object ri/1.8/system/Net/IMAP/getquotaroot-i.yaml 0000644 00000000725 15217654524 0014152 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends the GETQUOTAROOT command along with specified mailbox. This command is generally available to both admin and user. If mailbox exists, returns an array containing objects of Net::IMAP::MailboxQuotaRoot and Net::IMAP::MailboxQuota. full_name: Net::IMAP#getquotaroot is_singleton: false name: getquotaroot params: (mailbox) visibility: public ri/1.8/system/Net/IMAP/uid_store-i.yaml 0000644 00000000444 15217654524 0013410 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "As for #store(), but set contains unique identifiers." full_name: Net::IMAP#uid_store is_singleton: false name: uid_store params: (set, attr, flags) visibility: public ri/1.8/system/Net/IMAP/send_symbol_data-i.yaml 0000644 00000000304 15217654524 0014715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#send_symbol_data is_singleton: false name: send_symbol_data params: (symbol) visibility: private ri/1.8/system/Net/IMAP/lsub-i.yaml 0000644 00000000767 15217654524 0012370 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Sends a LSUB command, and returns a subset of names from the set of names that the user has declared as being "active" or "subscribed". refname and mailbox are interpreted as for #list(). The return value is an array of +Net::IMAP::MailboxList+." full_name: Net::IMAP#lsub is_singleton: false name: lsub params: (refname, mailbox) visibility: public ri/1.8/system/Net/IMAP/RawData/cdesc-RawData.yaml 0000644 00000000306 15217654524 0015107 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::IMAP::RawData includes: [] instance_methods: [] name: RawData superclass: Object ri/1.8/system/Net/IMAP/fetch-i.yaml 0000644 00000002642 15217654524 0012506 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Sends a FETCH command to retrieve data associated with a message in the mailbox. The set parameter is a number or an array of numbers or a Range object. The number is a message sequence number. attr is a list of attributes to fetch; see the documentation for Net::IMAP::FetchData for a list of valid attributes. The return value is an array of Net::IMAP::FetchData. For example:" - !ruby/struct:SM::Flow::VERB body: " p imap.fetch(6..8, "UID")\n #=> [#<Net::IMAP::FetchData seqno=6, attr={"UID"=>98}>, \\\n #<Net::IMAP::FetchData seqno=7, attr={"UID"=>99}>, \\\n #<Net::IMAP::FetchData seqno=8, attr={"UID"=>100}>]\n p imap.fetch(6, "BODY[HEADER.FIELDS (SUBJECT)]")\n #=> [#<Net::IMAP::FetchData seqno=6, attr={"BODY[HEADER.FIELDS (SUBJECT)]"=>"Subject: test\\r\\n\\r\\n"}>]\n data = imap.uid_fetch(98, ["RFC822.SIZE", "INTERNALDATE"])[0]\n p data.seqno\n #=> 6\n p data.attr["RFC822.SIZE"]\n #=> 611\n p data.attr["INTERNALDATE"]\n #=> "12-Oct-2000 22:40:59 +0900"\n p data.attr["UID"]\n #=> 98\n" full_name: Net::IMAP#fetch is_singleton: false name: fetch params: (set, attr) visibility: public ri/1.8/system/Net/IMAP/receive_responses-i.yaml 0000644 00000000300 15217654524 0015125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#receive_responses is_singleton: false name: receive_responses params: () visibility: private ri/1.8/system/Net/IMAP/search_internal-i.yaml 0000644 00000000316 15217654524 0014552 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#search_internal is_singleton: false name: search_internal params: (cmd, keys, charset) visibility: private ri/1.8/system/Net/IMAP/getquota-i.yaml 0000644 00000000663 15217654524 0013247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends the GETQUOTA command along with specified mailbox. If this mailbox exists, then an array containing a Net::IMAP::MailboxQuota object is returned. This command generally is only available to server admin. full_name: Net::IMAP#getquota is_singleton: false name: getquota params: (mailbox) visibility: public ri/1.8/system/Net/IMAP/get_tagged_response-i.yaml 0000644 00000000307 15217654524 0015421 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#get_tagged_response is_singleton: false name: get_tagged_response params: (tag) visibility: private ri/1.8/system/Net/IMAP/disconnected%3f-i.yaml 0000644 00000000411 15217654524 0014345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if disconnected from the server. full_name: Net::IMAP#disconnected? is_singleton: false name: disconnected? params: () visibility: public ri/1.8/system/Net/IMAP/store_internal-i.yaml 0000644 00000000317 15217654524 0014442 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#store_internal is_singleton: false name: store_internal params: (cmd, set, attr, flags) visibility: private ri/1.8/system/Net/IMAP/ResponseParser/cdesc-ResponseParser.yaml 0000644 00000000324 15217654524 0020167 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::IMAP::ResponseParser includes: [] instance_methods: [] name: ResponseParser superclass: Object ri/1.8/system/Net/IMAP/NoResponseError/cdesc-NoResponseError.yaml 0000644 00000000606 15217654524 0020456 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Error raised upon a "NO" response from the server, indicating that the client command could not be completed successfully. constants: [] full_name: Net::IMAP::NoResponseError includes: [] instance_methods: [] name: NoResponseError superclass: ResponseError ri/1.8/system/Net/IMAP/BadResponseError/cdesc-BadResponseError.yaml 0000644 00000000654 15217654524 0020705 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Error raised upon a "BAD" response from the server, indicating that the client command violated the IMAP protocol, or an internal server failure has occurred. constants: [] full_name: Net::IMAP::BadResponseError includes: [] instance_methods: [] name: BadResponseError superclass: ResponseError ri/1.8/system/Net/IMAP/Atom/cdesc-Atom.yaml 0000644 00000000300 15217654524 0014033 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::IMAP::Atom includes: [] instance_methods: [] name: Atom superclass: Object ri/1.8/system/Net/IMAP/sort_internal-i.yaml 0000644 00000000334 15217654524 0014274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#sort_internal is_singleton: false name: sort_internal params: (cmd, sort_keys, search_keys, charset) visibility: private ri/1.8/system/Net/IMAP/QuotedString/cdesc-QuotedString.yaml 0000644 00000000320 15217654524 0017315 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::IMAP::QuotedString includes: [] instance_methods: [] name: QuotedString superclass: Object ri/1.8/system/Net/IMAP/remove_response_handler-i.yaml 0000644 00000000424 15217654524 0016321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes the response handler. full_name: Net::IMAP#remove_response_handler is_singleton: false name: remove_response_handler params: (handler) visibility: public ri/1.8/system/Net/IMAP/create-i.yaml 0000644 00000000607 15217654524 0012657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a CREATE command to create a new mailbox. - !ruby/struct:SM::Flow::P body: A Net::IMAP::NoResponseError is raised if a mailbox with that name cannot be created. full_name: Net::IMAP#create is_singleton: false name: create params: (mailbox) visibility: public ri/1.8/system/Net/IMAP/rename-i.yaml 0000644 00000001143 15217654524 0012657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a RENAME command to change the name of the mailbox to newname. - !ruby/struct:SM::Flow::P body: A Net::IMAP::NoResponseError is raised if a mailbox with the name mailbox cannot be renamed to newname for whatever reason; for instance, because mailbox does not exist, or because there is already a mailbox with the name newname. full_name: Net::IMAP#rename is_singleton: false name: rename params: (mailbox, newname) visibility: public ri/1.8/system/Net/IMAP/BodyTypeMessage/multipart%3f-i.yaml 0000644 00000000302 15217654524 0016767 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP::BodyTypeMessage#multipart? is_singleton: false name: multipart? params: () visibility: public ri/1.8/system/Net/IMAP/BodyTypeMessage/cdesc-BodyTypeMessage.yaml 0000644 00000002326 15217654524 0020355 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Net::IMAP::BodyTypeMessage represents MESSAGE/RFC822 body structures of messages. - !ruby/struct:SM::Flow::H level: 4 text: "Fields:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "envelope:" body: Returns a Net::IMAP::Envelope giving the envelope structure. - !ruby/struct:SM::Flow::LI label: "body:" body: Returns an object giving the body structure. type: :NOTE - !ruby/struct:SM::Flow::P body: And Net::IMAP::BodyTypeMessage has all methods of Net::IMAP::BodyTypeText. constants: [] full_name: Net::IMAP::BodyTypeMessage includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: media_subtype - !ruby/object:RI::MethodSummary name: multipart? name: BodyTypeMessage superclass: Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :extension) ri/1.8/system/Net/IMAP/BodyTypeMessage/media_subtype-i.yaml 0000644 00000000602 15217654524 0017305 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Obsolete: use subtype instead. Calling this will generate a warning message to stderr, then return the value of subtype." full_name: Net::IMAP::BodyTypeMessage#media_subtype is_singleton: false name: media_subtype params: () visibility: public ri/1.8/system/Net/IMAP/send_time_data-i.yaml 0000644 00000000276 15217654524 0014356 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#send_time_data is_singleton: false name: send_time_data params: (time) visibility: private ri/1.8/system/Net/IMAP/send_literal-i.yaml 0000644 00000000271 15217654524 0014056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#send_literal is_singleton: false name: send_literal params: (str) visibility: private ri/1.8/system/Net/IMAP/authenticate-i.yaml 0000644 00000002746 15217654524 0014100 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Sends an AUTHENTICATE command to authenticate the client. The auth_type parameter is a string that represents the authentication mechanism to be used. Currently Net::IMAP supports authentication mechanisms:" - !ruby/struct:SM::Flow::VERB body: " LOGIN:: login using cleartext user and password.\n CRAM-MD5:: login with cleartext user and encrypted password\n (see [RFC-2195] for a full description). This\n mechanism requires that the server have the user's\n password stored in clear-text password.\n" - !ruby/struct:SM::Flow::P body: "For both these mechanisms, there should be two args: username and (cleartext) password. A server may not support one or other of these mechanisms; check #capability() for a capability of the form "AUTH=LOGIN" or "AUTH=CRAM-MD5"." - !ruby/struct:SM::Flow::P body: "Authentication is done using the appropriate authenticator object: see @@authenticators for more information on plugging in your own authenticator." - !ruby/struct:SM::Flow::P body: "For example:" - !ruby/struct:SM::Flow::VERB body: " imap.authenticate('LOGIN', user, password)\n" - !ruby/struct:SM::Flow::P body: A Net::IMAP::NoResponseError is raised if authentication fails. full_name: Net::IMAP#authenticate is_singleton: false name: authenticate params: (auth_type, *args) visibility: public ri/1.8/system/Net/IMAP/MessageSet/cdesc-MessageSet.yaml 0000644 00000000314 15217654524 0016340 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::IMAP::MessageSet includes: [] instance_methods: [] name: MessageSet superclass: Object ri/1.8/system/Net/IMAP/add_authenticator-c.yaml 0000644 00000001347 15217654524 0015072 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Adds an authenticator for Net::IMAP#authenticate. auth_type is the type of authentication this authenticator supports (for instance, "LOGIN"). The authenticator is an object which defines a process() method to handle authentication with the server. See Net::IMAP::LoginAuthenticator and Net::IMAP::CramMD5Authenticator for examples. - !ruby/struct:SM::Flow::P body: If auth_type refers to an existing authenticator, it will be replaced by the new one. full_name: Net::IMAP::add_authenticator is_singleton: true name: add_authenticator params: (auth_type, authenticator) visibility: public ri/1.8/system/Net/IMAP/examine-i.yaml 0000644 00000001073 15217654524 0013040 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Sends a EXAMINE command to select a mailbox so that messages in the mailbox can be accessed. Behaves the same as #select(), except that the selected mailbox is identified as read-only." - !ruby/struct:SM::Flow::P body: A Net::IMAP::NoResponseError is raised if the mailbox does not exist or is for some reason non-examinable. full_name: Net::IMAP#examine is_singleton: false name: examine params: (mailbox) visibility: public ri/1.8/system/Net/IMAP/disconnect-i.yaml 0000644 00000000362 15217654524 0013543 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Disconnects from the server. full_name: Net::IMAP#disconnect is_singleton: false name: disconnect params: () visibility: public ri/1.8/system/Net/IMAP/setquota-i.yaml 0000644 00000000766 15217654524 0013267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a SETQUOTA command along with the specified mailbox and quota. If quota is nil, then quota will be unset for that mailbox. Typically one needs to be logged in as server admin for this to work. The IMAP quota commands are described in [RFC-2087]. full_name: Net::IMAP#setquota is_singleton: false name: setquota params: (mailbox, quota) visibility: public ri/1.8/system/Net/IMAP/debug%3d-c.yaml 0000644 00000000345 15217654524 0012767 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the debug mode. full_name: Net::IMAP::debug= is_singleton: true name: debug= params: (val) visibility: public ri/1.8/system/Net/IMAP/list-i.yaml 0000644 00000003161 15217654524 0012365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Sends a LIST command, and returns a subset of names from the complete set of all names available to the client. refname provides a context (for instance, a base directory in a directory-based mailbox hierarchy). mailbox specifies a mailbox or (via wildcards) mailboxes under that context. Two wildcards may be used in mailbox: '*', which matches all characters including the hierarchy delimiter (for instance, '/' on a UNIX-hosted directory-based mailbox hierarchy); and '%', which matches all characters except the hierarchy delimiter." - !ruby/struct:SM::Flow::P body: If refname is empty, mailbox is used directly to determine which mailboxes to match. If mailbox is empty, the root name of refname and the hierarchy delimiter are returned. - !ruby/struct:SM::Flow::P body: "The return value is an array of +Net::IMAP::MailboxList+. For example:" - !ruby/struct:SM::Flow::VERB body: " imap.create("foo/bar")\n imap.create("foo/baz")\n p imap.list("", "foo/%")\n #=> [#<Net::IMAP::MailboxList attr=[:Noselect], delim="/", name="foo/">, \\\n #<Net::IMAP::MailboxList attr=[:Noinferiors, :Marked], delim="/", name="foo/bar">, \\\n #<Net::IMAP::MailboxList attr=[:Noinferiors], delim="/", name="foo/baz">]\n" full_name: Net::IMAP#list is_singleton: false name: list params: (refname, mailbox) visibility: public ri/1.8/system/Net/IMAP/record_response-i.yaml 0000644 00000000306 15217654524 0014604 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::IMAP#record_response is_singleton: false name: record_response params: (name, data) visibility: private ri/1.8/system/Net/SMTPUnknownError/cdesc-SMTPUnknownError.yaml 0000644 00000000537 15217654524 0020053 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Unexpected reply code returned from server. constants: [] full_name: Net::SMTPUnknownError includes: - !ruby/object:RI::IncludedModule name: SMTPError instance_methods: [] name: SMTPUnknownError superclass: ProtoUnknownError ri/1.8/system/Net/SMTPAuthenticationError/cdesc-SMTPAuthenticationError.yaml 0000644 00000000547 15217654524 0022714 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Represents an SMTP authentication error. constants: [] full_name: Net::SMTPAuthenticationError includes: - !ruby/object:RI::IncludedModule name: SMTPError instance_methods: [] name: SMTPAuthenticationError superclass: ProtoAuthError ri/1.8/system/Net/ReadAdapter/cdesc-ReadAdapter.yaml 0000644 00000000310 15217654524 0016036 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::ReadAdapter includes: [] instance_methods: [] name: ReadAdapter superclass: Object ri/1.8/system/Net/ProtoAuthError/cdesc-ProtoAuthError.yaml 0000644 00000000325 15217654524 0017412 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::ProtoAuthError includes: [] instance_methods: [] name: ProtoAuthError superclass: ProtocolError ri/1.8/system/Net/SMTPError/cdesc-SMTPError.yaml 0000644 00000000414 15217654524 0015105 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Module mixed in to all SMTP error classes constants: [] full_name: Net::SMTPError includes: [] instance_methods: [] name: SMTPError superclass: ri/1.8/system/Net/HTTPResponse/procdest-i.yaml 0000644 00000000301 15217654524 0014776 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPResponse#procdest is_singleton: false name: procdest params: (dest, block) visibility: private ri/1.8/system/Net/HTTPResponse/read_status_line-c.yaml 0000644 00000000312 15217654524 0016474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPResponse::read_status_line is_singleton: true name: read_status_line params: (sock) visibility: private ri/1.8/system/Net/HTTPResponse/cdesc-HTTPResponse.yaml 0000644 00000012422 15217654524 0016311 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: HTTP result code string. For example, '302'. You can also determine the response type by which response subclass the response object is an instance of. name: code rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The HTTP version supported by the server. name: http_version rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: HTTP result message. For example, 'Not Found'. name: message rw: R class_methods: - !ruby/object:RI::MethodSummary name: body_permitted? - !ruby/object:RI::MethodSummary name: each_response_header - !ruby/object:RI::MethodSummary name: read_status_line - !ruby/object:RI::MethodSummary name: response_class comment: - !ruby/struct:SM::Flow::P body: HTTP response class. This class wraps response header and entity. Mixes in the HTTPHeader module, which provides access to response header values both via hash-like methods and individual readers. Note that each possible HTTP response code defines its own HTTPResponse subclass. These are listed below. All classes are defined under the Net module. Indentation indicates inheritance. - !ruby/struct:SM::Flow::VERB body: " xxx HTTPResponse\n\n 1xx HTTPInformation\n 100 HTTPContinue\n 101 HTTPSwitchProtocol\n\n 2xx HTTPSuccess\n 200 HTTPOK\n 201 HTTPCreated\n 202 HTTPAccepted\n 203 HTTPNonAuthoritativeInformation\n 204 HTTPNoContent\n 205 HTTPResetContent\n 206 HTTPPartialContent\n\n 3xx HTTPRedirection\n 300 HTTPMultipleChoice\n 301 HTTPMovedPermanently\n 302 HTTPFound\n 303 HTTPSeeOther\n 304 HTTPNotModified\n 305 HTTPUseProxy\n 307 HTTPTemporaryRedirect\n\n 4xx HTTPClientError\n 400 HTTPBadRequest\n 401 HTTPUnauthorized\n 402 HTTPPaymentRequired\n 403 HTTPForbidden\n 404 HTTPNotFound\n 405 HTTPMethodNotAllowed\n 406 HTTPNotAcceptable\n 407 HTTPProxyAuthenticationRequired\n 408 HTTPRequestTimeOut\n 409 HTTPConflict\n 410 HTTPGone\n 411 HTTPLengthRequired\n 412 HTTPPreconditionFailed\n 413 HTTPRequestEntityTooLarge\n 414 HTTPRequestURITooLong\n 415 HTTPUnsupportedMediaType\n 416 HTTPRequestedRangeNotSatisfiable\n 417 HTTPExpectationFailed\n\n 5xx HTTPServerError\n 500 HTTPInternalServerError\n 501 HTTPNotImplemented\n 502 HTTPBadGateway\n 503 HTTPServiceUnavailable\n 504 HTTPGatewayTimeOut\n 505 HTTPVersionNotSupported\n\n xxx HTTPUnknownResponse\n" constants: - !ruby/object:RI::Constant comment: name: CODE_CLASS_TO_OBJ value: "{ '1' => HTTPInformation, '2' => HTTPSuccess, '3' => HTTPRedirection, '4' => HTTPClientError, '5' => HTTPServerError" - !ruby/object:RI::Constant comment: name: CODE_TO_OBJ value: "{ '100' => HTTPContinue, '101' => HTTPSwitchProtocol, '200' => HTTPOK, '201' => HTTPCreated, '202' => HTTPAccepted, '203' => HTTPNonAuthoritativeInformation, '204' => HTTPNoContent, '205' => HTTPResetContent, '206' => HTTPPartialContent, '300' => HTTPMultipleChoice, '301' => HTTPMovedPermanently, '302' => HTTPFound, '303' => HTTPSeeOther, '304' => HTTPNotModified, '305' => HTTPUseProxy, '307' => HTTPTemporaryRedirect, '400' => HTTPBadRequest, '401' => HTTPUnauthorized, '402' => HTTPPaymentRequired, '403' => HTTPForbidden, '404' => HTTPNotFound, '405' => HTTPMethodNotAllowed, '406' => HTTPNotAcceptable, '407' => HTTPProxyAuthenticationRequired, '408' => HTTPRequestTimeOut, '409' => HTTPConflict, '410' => HTTPGone, '411' => HTTPLengthRequired, '412' => HTTPPreconditionFailed, '413' => HTTPRequestEntityTooLarge, '414' => HTTPRequestURITooLong, '415' => HTTPUnsupportedMediaType, '416' => HTTPRequestedRangeNotSatisfiable, '417' => HTTPExpectationFailed, '500' => HTTPInternalServerError, '501' => HTTPNotImplemented, '502' => HTTPBadGateway, '503' => HTTPServiceUnavailable, '504' => HTTPGatewayTimeOut, '505' => HTTPVersionNotSupported" full_name: Net::HTTPResponse includes: - !ruby/object:RI::IncludedModule name: HTTPHeader instance_methods: - !ruby/object:RI::MethodSummary name: body - !ruby/object:RI::MethodSummary name: entity - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: procdest - !ruby/object:RI::MethodSummary name: read_body - !ruby/object:RI::MethodSummary name: read_body_0 - !ruby/object:RI::MethodSummary name: read_chunked - !ruby/object:RI::MethodSummary name: stream_check - !ruby/object:RI::MethodSummary name: to_ary - !ruby/object:RI::MethodSummary name: value name: HTTPResponse superclass: Object ri/1.8/system/Net/HTTPResponse/entity-i.yaml 0000644 00000000347 15217654524 0014501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #body" full_name: Net::HTTPResponse#entity is_singleton: false name: entity params: () visibility: public ri/1.8/system/Net/HTTPResponse/body_permitted%3f-c.yaml 0000644 00000000406 15217654524 0016463 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: true if the response has body. full_name: Net::HTTPResponse::body_permitted? is_singleton: true name: body_permitted? params: () visibility: public ri/1.8/system/Net/HTTPResponse/read_body_0-i.yaml 0000644 00000000300 15217654524 0015321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPResponse#read_body_0 is_singleton: false name: read_body_0 params: (dest) visibility: private ri/1.8/system/Net/HTTPResponse/inspect-i.yaml 0000644 00000000263 15217654524 0014627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPResponse#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/Net/HTTPResponse/each_response_header-c.yaml 0000644 00000000377 15217654524 0017310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: m[1], m.post_match comment: full_name: Net::HTTPResponse::each_response_header is_singleton: true name: each_response_header params: (sock) {|m[1], m.post_match| ...} visibility: private ri/1.8/system/Net/HTTPResponse/body-i.yaml 0000644 00000001172 15217654524 0014117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: entity block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the entity body. - !ruby/struct:SM::Flow::P body: Calling this method a second or subsequent time will return the already read string. - !ruby/struct:SM::Flow::VERB body: " http.request_get('/index.html') {|res|\n puts res.body\n }\n\n http.request_get('/index.html') {|res|\n p res.body.object_id # 538149362\n p res.body.object_id # 538149362\n }\n" full_name: Net::HTTPResponse#body is_singleton: false name: body params: () visibility: public ri/1.8/system/Net/HTTPResponse/stream_check-i.yaml 0000644 00000000276 15217654524 0015616 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPResponse#stream_check is_singleton: false name: stream_check params: () visibility: private ri/1.8/system/Net/HTTPResponse/read_chunked-i.yaml 0000644 00000000302 15217654524 0015570 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPResponse#read_chunked is_singleton: false name: read_chunked params: (dest) visibility: private ri/1.8/system/Net/HTTPResponse/response_class-c.yaml 0000644 00000000306 15217654524 0016175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPResponse::response_class is_singleton: true name: response_class params: (code) visibility: private ri/1.8/system/Net/HTTPResponse/to_ary-i.yaml 0000644 00000000561 15217654524 0014460 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: For backward compatibility. To allow Net::HTTP 1.1 style assignment e.g. - !ruby/struct:SM::Flow::VERB body: " response, body = Net::HTTP.get(....)\n" full_name: Net::HTTPResponse#to_ary is_singleton: false name: to_ary params: () visibility: public ri/1.8/system/Net/HTTPResponse/read_body-i.yaml 0000644 00000001555 15217654524 0015117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Gets entity body. If the block given, yields it to block. The body is provided in fragments, as it is read in from the socket. - !ruby/struct:SM::Flow::P body: Calling this method a second or subsequent time will return the already read string. - !ruby/struct:SM::Flow::VERB body: " http.request_get('/index.html') {|res|\n puts res.read_body\n }\n\n http.request_get('/index.html') {|res|\n p res.read_body.object_id # 538149362\n p res.read_body.object_id # 538149362\n }\n\n # using iterator\n http.request_get('/index.html') {|res|\n res.read_body do |segment|\n print segment\n end\n }\n" full_name: Net::HTTPResponse#read_body is_singleton: false name: read_body params: (dest = nil, &block) visibility: public ri/1.8/system/Net/HTTPResponse/value-i.yaml 0000644 00000000401 15217654524 0014270 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Raises HTTP error if the response is not 2xx. full_name: Net::HTTPResponse#value is_singleton: false name: value params: () visibility: public ri/1.8/system/Net/POP3/command-i.yaml 0000644 00000000254 15217654524 0013023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::POP3#command is_singleton: false name: command params: () visibility: private ri/1.8/system/Net/POP3/new-c.yaml 0000644 00000001304 15217654524 0012165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new POP3 object. - !ruby/struct:SM::Flow::P body: address is the hostname or ip address of your POP3 server. - !ruby/struct:SM::Flow::P body: The optional port is the port to connect to. - !ruby/struct:SM::Flow::P body: The optional isapop specifies whether this connection is going to use APOP authentication; it defaults to false. - !ruby/struct:SM::Flow::P body: This method does not open the TCP connection. full_name: Net::POP3::new is_singleton: true name: new params: (addr, port = nil, isapop = false) visibility: public ri/1.8/system/Net/POP3/disable_ssl-c.yaml 0000644 00000000372 15217654524 0013664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Disable SSL for all new instances. full_name: Net::POP3::disable_ssl is_singleton: true name: disable_ssl params: () visibility: public ri/1.8/system/Net/POP3/foreach-c.yaml 0000644 00000001705 15217654524 0013010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: message comment: - !ruby/struct:SM::Flow::P body: "Starts a POP3 session and iterates over each POPMail object, yielding it to the block. This method is equivalent to:" - !ruby/struct:SM::Flow::VERB body: " Net::POP3.start(address, port, account, password) do |pop|\n pop.each_mail do |m|\n yield m\n end\n end\n" - !ruby/struct:SM::Flow::P body: This method raises a POPAuthenticationError if authentication fails. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " Net::POP3.foreach('pop.example.com', 110,\n 'YourAccount', 'YourPassword') do |m|\n file.write m.pop\n m.delete if $DELETE\n end\n" full_name: Net::POP3::foreach is_singleton: true name: foreach params: (address, port = nil, account = nil, password = nil, isapop = false) {|message| ...} visibility: public ri/1.8/system/Net/POP3/apop%3f-i.yaml 0000644 00000000367 15217654524 0012647 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Does this instance use APOP authentication? full_name: Net::POP3#apop? is_singleton: false name: apop? params: () visibility: public ri/1.8/system/Net/POP3/create_ssl_params-c.yaml 0000644 00000000341 15217654524 0015063 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::POP3::create_ssl_params is_singleton: true name: create_ssl_params params: (verify_or_params = {}, certs = nil) visibility: public ri/1.8/system/Net/POP3/port-i.yaml 0000644 00000000350 15217654524 0012366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The port number to connect to. full_name: Net::POP3#port is_singleton: false name: port params: () visibility: public ri/1.8/system/Net/POP3/read_timeout%3d-i.yaml 0000644 00000000364 15217654524 0014364 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the read timeout. full_name: Net::POP3#read_timeout= is_singleton: false name: read_timeout= params: (sec) visibility: public ri/1.8/system/Net/POP3/verify-c.yaml 0000644 00000000251 15217654524 0012700 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::POP3::verify is_singleton: true name: verify params: () visibility: public ri/1.8/system/Net/POP3/cdesc-POP3.yaml 0000644 00000020450 15217654524 0012757 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The address to connect to. name: address rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Seconds to wait until a connection is opened. If the POP3 object cannot open a connection within this time, it raises a TimeoutError exception. name: open_timeout rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Seconds to wait until reading one block (by one read(1) call). If the POP3 object cannot complete a read() within this time, it raises a TimeoutError exception. name: read_timeout rw: R class_methods: - !ruby/object:RI::MethodSummary name: APOP - !ruby/object:RI::MethodSummary name: auth_only - !ruby/object:RI::MethodSummary name: certs - !ruby/object:RI::MethodSummary name: create_ssl_params - !ruby/object:RI::MethodSummary name: default_pop3_port - !ruby/object:RI::MethodSummary name: default_pop3s_port - !ruby/object:RI::MethodSummary name: default_port - !ruby/object:RI::MethodSummary name: delete_all - !ruby/object:RI::MethodSummary name: disable_ssl - !ruby/object:RI::MethodSummary name: enable_ssl - !ruby/object:RI::MethodSummary name: foreach - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: ssl_params - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: use_ssl? - !ruby/object:RI::MethodSummary name: verify comment: - !ruby/struct:SM::Flow::H level: 1 text: Net::POP3 - !ruby/struct:SM::Flow::H level: 2 text: What is This Library? - !ruby/struct:SM::Flow::P body: This library provides functionality for retrieving email via POP3, the Post Office Protocol version 3. For details of POP3, see [RFC1939] (http://www.ietf.org/rfc/rfc1939.txt). - !ruby/struct:SM::Flow::H level: 2 text: Examples - !ruby/struct:SM::Flow::H level: 3 text: Retrieving Messages - !ruby/struct:SM::Flow::P body: This example retrieves messages from the server and deletes them on the server. - !ruby/struct:SM::Flow::P body: Messages are written to files named 'inbox/1', 'inbox/2', .... Replace 'pop.example.com' with your POP3 server address, and 'YourAccount' and 'YourPassword' with the appropriate account details. - !ruby/struct:SM::Flow::VERB body: " require 'net/pop'\n\n pop = Net::POP3.new('pop.example.com')\n pop.start('YourAccount', 'YourPassword') # (1)\n if pop.mails.empty?\n puts 'No mail.'\n else\n i = 0\n pop.each_mail do |m| # or "pop.mails.each ..." # (2)\n File.open("inbox/#{i}", 'w') do |f|\n f.write m.pop\n end\n m.delete\n i += 1\n end\n puts "#{pop.mails.size} mails popped."\n end\n pop.finish # (3)\n" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "1." body: Call Net::POP3#start and start POP session. - !ruby/struct:SM::Flow::LI label: "2." body: Access messages by using POP3#each_mail and/or POP3#mails. - !ruby/struct:SM::Flow::LI label: "3." body: "Close POP session by calling POP3#finish or use the block form of #start." type: :NUMBER - !ruby/struct:SM::Flow::H level: 3 text: Shortened Code - !ruby/struct:SM::Flow::P body: The example above is very verbose. You can shorten the code by using some utility methods. First, the block form of Net::POP3.start can be used instead of POP3.new, POP3#start and POP3#finish. - !ruby/struct:SM::Flow::VERB body: " require 'net/pop'\n\n Net::POP3.start('pop.example.com', 110,\n 'YourAccount', 'YourPassword') do |pop|\n if pop.mails.empty?\n puts 'No mail.'\n else\n i = 0\n pop.each_mail do |m| # or "pop.mails.each ..."\n File.open("inbox/#{i}", 'w') do |f|\n f.write m.pop\n end\n m.delete\n i += 1\n end\n puts "#{pop.mails.size} mails popped."\n end\n end\n" - !ruby/struct:SM::Flow::P body: "POP3#delete_all is an alternative for #each_mail and #delete." - !ruby/struct:SM::Flow::VERB body: " require 'net/pop'\n\n Net::POP3.start('pop.example.com', 110,\n 'YourAccount', 'YourPassword') do |pop|\n if pop.mails.empty?\n puts 'No mail.'\n else\n i = 1\n pop.delete_all do |m|\n File.open("inbox/#{i}", 'w') do |f|\n f.write m.pop\n end\n i += 1\n end\n end\n end\n" - !ruby/struct:SM::Flow::P body: And here is an even shorter example. - !ruby/struct:SM::Flow::VERB body: " require 'net/pop'\n\n i = 0\n Net::POP3.delete_all('pop.example.com', 110,\n 'YourAccount', 'YourPassword') do |m|\n File.open("inbox/#{i}", 'w') do |f|\n f.write m.pop\n end\n i += 1\n end\n" - !ruby/struct:SM::Flow::H level: 3 text: Memory Space Issues - !ruby/struct:SM::Flow::P body: All the examples above get each message as one big string. This example avoids this. - !ruby/struct:SM::Flow::VERB body: " require 'net/pop'\n\n i = 1\n Net::POP3.delete_all('pop.example.com', 110,\n 'YourAccount', 'YourPassword') do |m|\n File.open("inbox/#{i}", 'w') do |f|\n m.pop do |chunk| # get a message little by little.\n f.write chunk\n end\n i += 1\n end\n end\n" - !ruby/struct:SM::Flow::H level: 3 text: Using APOP - !ruby/struct:SM::Flow::P body: "The net/pop library supports APOP authentication. To use APOP, use the Net::APOP class instead of the Net::POP3 class. You can use the utility method, Net::POP3.APOP(). For example:" - !ruby/struct:SM::Flow::VERB body: " require 'net/pop'\n\n # Use APOP authentication if $isapop == true\n pop = Net::POP3.APOP($is_apop).new('apop.example.com', 110)\n pop.start(YourAccount', 'YourPassword') do |pop|\n # Rest of the code is the same.\n end\n" - !ruby/struct:SM::Flow::H level: 3 text: Fetch Only Selected Mail Using 'UIDL' POP Command - !ruby/struct:SM::Flow::P body: If your POP server provides UIDL functionality, you can grab only selected mails from the POP server. e.g. - !ruby/struct:SM::Flow::VERB body: " def need_pop?( id )\n # determine if we need pop this mail...\n end\n\n Net::POP3.start('pop.example.com', 110,\n 'Your account', 'Your password') do |pop|\n pop.mails.select { |m| need_pop?(m.unique_id) }.each do |m|\n do_something(m.pop)\n end\n end\n" - !ruby/struct:SM::Flow::P body: The POPMail#unique_id() method returns the unique-id of the message as a String. Normally the unique-id is a hash of the message. constants: - !ruby/object:RI::Constant comment: name: Revision value: "%q$Revision: 29903 $.split[1]" full_name: Net::POP3 includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: active? - !ruby/object:RI::MethodSummary name: apop? - !ruby/object:RI::MethodSummary name: auth_only - !ruby/object:RI::MethodSummary name: command - !ruby/object:RI::MethodSummary name: delete_all - !ruby/object:RI::MethodSummary name: disable_ssl - !ruby/object:RI::MethodSummary name: do_finish - !ruby/object:RI::MethodSummary name: do_start - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: each_mail - !ruby/object:RI::MethodSummary name: enable_ssl - !ruby/object:RI::MethodSummary name: finish - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: logging - !ruby/object:RI::MethodSummary name: mails - !ruby/object:RI::MethodSummary name: n_bytes - !ruby/object:RI::MethodSummary name: n_mails - !ruby/object:RI::MethodSummary name: on_connect - !ruby/object:RI::MethodSummary name: port - !ruby/object:RI::MethodSummary name: read_timeout= - !ruby/object:RI::MethodSummary name: reset - !ruby/object:RI::MethodSummary name: set_debug_output - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: started? - !ruby/object:RI::MethodSummary name: use_ssl? name: POP3 superclass: Protocol ri/1.8/system/Net/POP3/certs-c.yaml 0000644 00000000247 15217654524 0012521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::POP3::certs is_singleton: true name: certs params: () visibility: public ri/1.8/system/Net/POP3/active%3f-i.yaml 0000644 00000000345 15217654524 0013157 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #started?" full_name: Net::POP3#active? is_singleton: false name: active? params: () visibility: public ri/1.8/system/Net/POP3/do_finish-i.yaml 0000644 00000000260 15217654524 0013344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::POP3#do_finish is_singleton: false name: do_finish params: () visibility: private ri/1.8/system/Net/POP3/set_debug_output-i.yaml 0000644 00000001151 15217654524 0014763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "WARNING: This method causes a serious security hole. Use this method only for debugging." - !ruby/struct:SM::Flow::P body: Set an output stream for debugging. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " pop = Net::POP.new(addr, port)\n pop.set_debug_output $stderr\n pop.start(account, passwd) do |pop|\n ....\n end\n" full_name: Net::POP3#set_debug_output is_singleton: false name: set_debug_output params: (arg) visibility: public ri/1.8/system/Net/POP3/delete_all-i.yaml 0000644 00000001301 15217654524 0013471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: message comment: - !ruby/struct:SM::Flow::P body: Deletes all messages on the server. - !ruby/struct:SM::Flow::P body: If called with a block, yields each message in turn before deleting it. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " n = 1\n pop.delete_all do |m|\n File.open("inbox/#{n}") do |f|\n f.write m.pop\n end\n n += 1\n end\n" - !ruby/struct:SM::Flow::P body: This method raises a POPError if an error occurs. full_name: Net::POP3#delete_all is_singleton: false name: delete_all params: ( {|message| ...} visibility: public ri/1.8/system/Net/POP3/n_bytes-i.yaml 0000644 00000000426 15217654524 0013051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the total size in bytes of all the messages on the POP server. full_name: Net::POP3#n_bytes is_singleton: false name: n_bytes params: () visibility: public ri/1.8/system/Net/POP3/use_ssl%3f-c.yaml 0000644 00000000255 15217654524 0013353 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::POP3::use_ssl? is_singleton: true name: use_ssl? params: () visibility: public ri/1.8/system/Net/POP3/finish-i.yaml 0000644 00000000400 15217654524 0012656 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Finishes a POP3 session and closes TCP connection. full_name: Net::POP3#finish is_singleton: false name: finish params: () visibility: public ri/1.8/system/Net/POP3/n_mails-i.yaml 0000644 00000000401 15217654524 0013021 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of messages on the POP server. full_name: Net::POP3#n_mails is_singleton: false name: n_mails params: () visibility: public ri/1.8/system/Net/POP3/enable_ssl-c.yaml 0000644 00000000527 15217654524 0013511 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Enable SSL for all new instances. params is passed to OpenSSL::SSLContext#set_params. full_name: Net::POP3::enable_ssl is_singleton: true name: enable_ssl params: | Net::POP.enable_ssl(params = {}) visibility: public ri/1.8/system/Net/POP3/each_mail-i.yaml 0000644 00000001010 15217654524 0013276 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: each block_params: message comment: - !ruby/struct:SM::Flow::P body: "Yields each message to the passed-in block in turn. Equivalent to:" - !ruby/struct:SM::Flow::VERB body: " pop3.mails.each do |popmail|\n ....\n end\n" - !ruby/struct:SM::Flow::P body: This method raises a POPError if an error occurs. full_name: Net::POP3#each_mail is_singleton: false name: each_mail params: () {|message| ...} visibility: public ri/1.8/system/Net/POP3/auth_only-i.yaml 0000644 00000000637 15217654524 0013414 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Starts a pop3 session, attempts authentication, and quits. This method must not be called while POP3 session is opened. This method raises POPAuthenticationError if authentication fails. full_name: Net::POP3#auth_only is_singleton: false name: auth_only params: (account, password) visibility: public ri/1.8/system/Net/POP3/reset-i.yaml 0000644 00000000556 15217654524 0012534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Resets the session. This clears all "deleted" marks from messages. - !ruby/struct:SM::Flow::P body: This method raises a POPError if an error occurs. full_name: Net::POP3#reset is_singleton: false name: reset params: () visibility: public ri/1.8/system/Net/POP3/start-c.yaml 0000644 00000001541 15217654524 0012534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: pop comment: - !ruby/struct:SM::Flow::P body: Creates a new POP3 object and open the connection. Equivalent to - !ruby/struct:SM::Flow::VERB body: " Net::POP3.new(address, port, isapop).start(account, password)\n" - !ruby/struct:SM::Flow::P body: If block is provided, yields the newly-opened POP3 object to it, and automatically closes it at the end of the session. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " Net::POP3.start(addr, port, account, password) do |pop|\n pop.each_mail do |m|\n file.write m.pop\n m.delete\n end\n end\n" full_name: Net::POP3::start is_singleton: true name: start params: (address, port = nil, account = nil, password = nil, isapop = false) {|pop| ...} visibility: public ri/1.8/system/Net/POP3/use_ssl%3f-i.yaml 0000644 00000000355 15217654524 0013362 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: does this instance use SSL? full_name: Net::POP3#use_ssl? is_singleton: false name: use_ssl? params: () visibility: public ri/1.8/system/Net/POP3/default_port-c.yaml 0000644 00000000352 15217654524 0014066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Class Parameters full_name: Net::POP3::default_port is_singleton: true name: default_port params: () visibility: public ri/1.8/system/Net/POP3/start-i.yaml 0000644 00000000772 15217654524 0012547 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: pop comment: - !ruby/struct:SM::Flow::P body: Starts a POP3 session. - !ruby/struct:SM::Flow::P body: When called with block, gives a POP3 object to the block and closes the session after block call finishes. - !ruby/struct:SM::Flow::P body: This method raises a POPAuthenticationError if authentication fails. full_name: Net::POP3#start is_singleton: false name: start params: (account, password) {|pop| ...} visibility: public ri/1.8/system/Net/POP3/each-i.yaml 0000644 00000000340 15217654524 0012301 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #each_mail" full_name: Net::POP3#each is_singleton: false name: each params: () visibility: public ri/1.8/system/Net/POP3/ssl_params-c.yaml 0000644 00000000261 15217654524 0013541 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::POP3::ssl_params is_singleton: true name: ssl_params params: () visibility: public ri/1.8/system/Net/POP3/inspect-i.yaml 0000644 00000000406 15217654524 0013051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Provide human-readable stringification of class state. full_name: Net::POP3#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/Net/POP3/default_pop3_port-c.yaml 0000644 00000000423 15217654524 0015026 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The default port for POP3 connections, port 110 full_name: Net::POP3::default_pop3_port is_singleton: true name: default_pop3_port params: () visibility: public ri/1.8/system/Net/POP3/APOP-c.yaml 0000644 00000001005 15217654524 0012131 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns the APOP class if isapop is true; otherwise, returns the POP class. For example:" - !ruby/struct:SM::Flow::VERB body: " # Example 1\n pop = Net::POP3::APOP($is_apop).new(addr, port)\n\n # Example 2\n Net::POP3::APOP($is_apop).start(addr, port) do |pop|\n ....\n end\n" full_name: Net::POP3::APOP is_singleton: true name: APOP params: (isapop) visibility: public ri/1.8/system/Net/POP3/on_connect-i.yaml 0000644 00000000262 15217654524 0013531 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::POP3#on_connect is_singleton: false name: on_connect params: () visibility: private ri/1.8/system/Net/POP3/do_start-i.yaml 0000644 00000000277 15217654524 0013231 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::POP3#do_start is_singleton: false name: do_start params: (account, password) visibility: private ri/1.8/system/Net/POP3/delete_all-c.yaml 0000644 00000001412 15217654524 0013466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Starts a POP3 session and deletes all messages on the server. If a block is given, each POPMail object is yielded to it before being deleted. - !ruby/struct:SM::Flow::P body: This method raises a POPAuthenticationError if authentication fails. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " Net::POP3.delete_all('pop.example.com', 110,\n 'YourAccount', 'YourPassword') do |m|\n file.write m.pop\n end\n" full_name: Net::POP3::delete_all is_singleton: true name: delete_all params: (address, port = nil, account = nil, password = nil, isapop = false, &block) visibility: public ri/1.8/system/Net/POP3/logging-i.yaml 0000644 00000000256 15217654524 0013035 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::POP3#logging is_singleton: false name: logging params: (msg) visibility: public ri/1.8/system/Net/POP3/enable_ssl-i.yaml 0000644 00000000770 15217654524 0013517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Enables SSL for this instance. Must be called before the connection is established to have any effect. +params[:port]+ is port to establish the SSL connection on; Defaults to 995. params (except :port) is passed to OpenSSL::SSLContext#set_params. full_name: Net::POP3#enable_ssl is_singleton: false name: enable_ssl params: | Net::POP#enable_ssl(params = {}) visibility: public ri/1.8/system/Net/POP3/default_pop3s_port-c.yaml 0000644 00000000426 15217654524 0015214 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The default port for POP3S connections, port 995 full_name: Net::POP3::default_pop3s_port is_singleton: true name: default_pop3s_port params: () visibility: public ri/1.8/system/Net/POP3/auth_only-c.yaml 0000644 00000001547 15217654524 0013407 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Opens a POP3 session, attempts authentication, and quits. - !ruby/struct:SM::Flow::P body: This method raises POPAuthenticationError if authentication fails. - !ruby/struct:SM::Flow::H level: 3 text: "Example: normal POP3" - !ruby/struct:SM::Flow::VERB body: " Net::POP3.auth_only('pop.example.com', 110,\n 'YourAccount', 'YourPassword')\n" - !ruby/struct:SM::Flow::H level: 3 text: "Example: APOP" - !ruby/struct:SM::Flow::VERB body: " Net::POP3.auth_only('pop.example.com', 110,\n 'YourAccount', 'YourPassword', true)\n" full_name: Net::POP3::auth_only is_singleton: true name: auth_only params: (address, port = nil, account = nil, password = nil, isapop = false) visibility: public ri/1.8/system/Net/POP3/mails-i.yaml 0000644 00000001034 15217654524 0012507 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array of Net::POPMail objects, representing all the messages on the server. This array is renewed when the session restarts; otherwise, it is fetched from the server the first time this method is called (directly or indirectly) and cached. - !ruby/struct:SM::Flow::P body: This method raises a POPError if an error occurs. full_name: Net::POP3#mails is_singleton: false name: mails params: () visibility: public ri/1.8/system/Net/POP3/started%3f-i.yaml 0000644 00000000453 15217654524 0013352 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: active? block_params: comment: - !ruby/struct:SM::Flow::P body: true if the POP3 session has started. full_name: Net::POP3#started? is_singleton: false name: started? params: () visibility: public ri/1.8/system/Net/POP3/disable_ssl-i.yaml 0000644 00000000263 15217654524 0013671 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::POP3#disable_ssl is_singleton: false name: disable_ssl params: () visibility: public ri/1.8/system/Net/HTTPGenericRequest/new-c.yaml 0000644 00000000334 15217654524 0015073 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPGenericRequest::new is_singleton: true name: new params: (m, reqbody, resbody, path, initheader = nil) visibility: public ri/1.8/system/Net/HTTPGenericRequest/supply_default_content_type-i.yaml 0000644 00000000342 15217654524 0022142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPGenericRequest#supply_default_content_type is_singleton: false name: supply_default_content_type params: () visibility: private ri/1.8/system/Net/HTTPGenericRequest/response_body_permitted%3f-i.yaml 0000644 00000000333 15217654524 0021535 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPGenericRequest#response_body_permitted? is_singleton: false name: response_body_permitted? params: () visibility: public ri/1.8/system/Net/HTTPGenericRequest/body_stream%3d-i.yaml 0000644 00000000310 15217654524 0017106 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPGenericRequest#body_stream= is_singleton: false name: body_stream= params: (input) visibility: public ri/1.8/system/Net/HTTPGenericRequest/send_request_with_body_stream-i.yaml 0000644 00000000370 15217654524 0022434 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPGenericRequest#send_request_with_body_stream is_singleton: false name: send_request_with_body_stream params: (sock, ver, path, f) visibility: private ri/1.8/system/Net/HTTPGenericRequest/inspect-i.yaml 0000644 00000000271 15217654524 0015755 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPGenericRequest#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/Net/HTTPGenericRequest/cdesc-HTTPGenericRequest.yaml 0000644 00000002622 15217654524 0020570 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: body rw: R - !ruby/object:RI::Attribute comment: name: body_stream rw: R - !ruby/object:RI::Attribute comment: name: method rw: R - !ruby/object:RI::Attribute comment: name: path rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Parent of HTTPRequest class. Do not use this directly; use a subclass of HTTPRequest. - !ruby/struct:SM::Flow::P body: Mixes in the HTTPHeader module. constants: - !ruby/object:RI::Constant comment: name: BUFSIZE value: 16*1024 full_name: Net::HTTPGenericRequest includes: - !ruby/object:RI::IncludedModule name: HTTPHeader instance_methods: - !ruby/object:RI::MethodSummary name: body= - !ruby/object:RI::MethodSummary name: body_exist? - !ruby/object:RI::MethodSummary name: body_stream= - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: request_body_permitted? - !ruby/object:RI::MethodSummary name: response_body_permitted? - !ruby/object:RI::MethodSummary name: send_request_with_body - !ruby/object:RI::MethodSummary name: send_request_with_body_stream - !ruby/object:RI::MethodSummary name: supply_default_content_type - !ruby/object:RI::MethodSummary name: write_header name: HTTPGenericRequest superclass: Object ri/1.8/system/Net/HTTPGenericRequest/send_request_with_body-i.yaml 0000644 00000000355 15217654524 0021064 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPGenericRequest#send_request_with_body is_singleton: false name: send_request_with_body params: (sock, ver, path, body) visibility: private ri/1.8/system/Net/HTTPGenericRequest/write_header-i.yaml 0000644 00000000323 15217654524 0016750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPGenericRequest#write_header is_singleton: false name: write_header params: (sock, ver, path) visibility: private ri/1.8/system/Net/HTTPGenericRequest/body_exist%3f-i.yaml 0000644 00000000301 15217654524 0016751 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPGenericRequest#body_exist? is_singleton: false name: body_exist? params: () visibility: public ri/1.8/system/Net/HTTPGenericRequest/request_body_permitted%3f-i.yaml 0000644 00000000331 15217654524 0021365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPGenericRequest#request_body_permitted? is_singleton: false name: request_body_permitted? params: () visibility: public ri/1.8/system/Net/HTTPGenericRequest/body%3d-i.yaml 0000644 00000000270 15217654524 0015540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPGenericRequest#body= is_singleton: false name: body= params: (str) visibility: public ri/1.8/system/Net/POPMail/pop-i.yaml 0000644 00000003043 15217654524 0012722 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: all - !ruby/object:RI::AliasName name: mail block_params: message_chunk comment: - !ruby/struct:SM::Flow::P body: This method fetches the message. If called with a block, the message is yielded to the block one chunk at a time. If called without a block, the message is returned as a String. The optional dest argument will be prepended to the returned String; this argument is essentially obsolete. - !ruby/struct:SM::Flow::H level: 3 text: Example without block - !ruby/struct:SM::Flow::VERB body: " POP3.start('pop.example.com', 110,\n 'YourAccount, 'YourPassword') do |pop|\n n = 1\n pop.mails.each do |popmail|\n File.open("inbox/#{n}", 'w') do |f|\n f.write popmail.pop\n end\n popmail.delete\n n += 1\n end\n end\n" - !ruby/struct:SM::Flow::H level: 3 text: Example with block - !ruby/struct:SM::Flow::VERB body: " POP3.start('pop.example.com', 110,\n 'YourAccount, 'YourPassword') do |pop|\n n = 1\n pop.mails.each do |popmail|\n File.open("inbox/#{n}", 'w') do |f|\n popmail.pop do |chunk| ####\n f.write chunk\n end\n end\n n += 1\n end\n end\n" - !ruby/struct:SM::Flow::P body: This method raises a POPError if an error occurs. full_name: Net::POPMail#pop is_singleton: false name: pop params: ( dest = '' ) {|message_chunk| ...} visibility: public ri/1.8/system/Net/POPMail/uidl-i.yaml 0000644 00000000343 15217654524 0013061 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #unique_id" full_name: Net::POPMail#uidl is_singleton: false name: uidl params: () visibility: public ri/1.8/system/Net/POPMail/delete-i.yaml 0000644 00000001654 15217654524 0013374 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: delete! block_params: comment: - !ruby/struct:SM::Flow::P body: Marks a message for deletion on the server. Deletion does not actually occur until the end of the session; deletion may be cancelled for all marked messages by calling POP3#reset(). - !ruby/struct:SM::Flow::P body: This method raises a POPError if an error occurs. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " POP3.start('pop.example.com', 110,\n 'YourAccount, 'YourPassword') do |pop|\n n = 1\n pop.mails.each do |popmail|\n File.open("inbox/#{n}", 'w') do |f|\n f.write popmail.pop\n end\n popmail.delete ####\n n += 1\n end\n end\n" full_name: Net::POPMail#delete is_singleton: false name: delete params: () visibility: public ri/1.8/system/Net/POPMail/all-i.yaml 0000644 00000000346 15217654524 0012677 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #pop" full_name: Net::POPMail#all is_singleton: false name: all params: ( dest = '' ) visibility: public ri/1.8/system/Net/POPMail/deleted%3f-i.yaml 0000644 00000000367 15217654524 0014036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: True if the mail has been deleted. full_name: Net::POPMail#deleted? is_singleton: false name: deleted? params: () visibility: public ri/1.8/system/Net/POPMail/unique_id-i.yaml 0000644 00000000662 15217654524 0014112 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: uidl block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the unique-id of the message. Normally the unique-id is a hash string of the message. - !ruby/struct:SM::Flow::P body: This method raises a POPError if an error occurs. full_name: Net::POPMail#unique_id is_singleton: false name: unique_id params: () visibility: public ri/1.8/system/Net/POPMail/mail-i.yaml 0000644 00000000350 15217654524 0013044 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #pop" full_name: Net::POPMail#mail is_singleton: false name: mail params: ( dest = '' ) visibility: public ri/1.8/system/Net/POPMail/top-i.yaml 0000644 00000000702 15217654524 0012725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Fetches the message header and lines lines of body. - !ruby/struct:SM::Flow::P body: The optional dest argument is obsolete. - !ruby/struct:SM::Flow::P body: This method raises a POPError if an error occurs. full_name: Net::POPMail#top is_singleton: false name: top params: (lines, dest = '') visibility: public ri/1.8/system/Net/POPMail/inspect-i.yaml 0000644 00000000411 15217654524 0013565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Provide human-readable stringification of class state. full_name: Net::POPMail#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/Net/POPMail/cdesc-POPMail.yaml 0000644 00000002304 15217654524 0014215 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The length of the message in octets. name: length rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The sequence number of the message on the server. name: number rw: R class_methods: [] comment: - !ruby/struct:SM::Flow::P body: This class represents a message which exists on the POP server. Instances of this class are created by the POP3 class; they should not be directly created by the user. constants: [] full_name: Net::POPMail includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: all - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: delete! - !ruby/object:RI::MethodSummary name: deleted? - !ruby/object:RI::MethodSummary name: header - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: mail - !ruby/object:RI::MethodSummary name: pop - !ruby/object:RI::MethodSummary name: top - !ruby/object:RI::MethodSummary name: uidl - !ruby/object:RI::MethodSummary name: unique_id name: POPMail superclass: Object ri/1.8/system/Net/POPMail/header-i.yaml 0000644 00000000640 15217654524 0013354 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Fetches the message header. - !ruby/struct:SM::Flow::P body: The optional dest argument is obsolete. - !ruby/struct:SM::Flow::P body: This method raises a POPError if an error occurs. full_name: Net::POPMail#header is_singleton: false name: header params: (dest = '') visibility: public ri/1.8/system/Net/POPMail/delete%21-i.yaml 0000644 00000000346 15217654524 0013601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #delete" full_name: Net::POPMail#delete! is_singleton: false name: delete! params: () visibility: public ri/1.8/system/Net/HTTPExceptions/cdesc-HTTPExceptions.yaml 0000644 00000000537 15217654524 0017163 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: response rw: R class_methods: [] comment: - !ruby/struct:SM::Flow::P body: HTTP exception class. You must use its subclasses. constants: [] full_name: Net::HTTPExceptions includes: [] instance_methods: [] name: HTTPExceptions superclass: ri/1.8/system/Net/FTP/pwd-i.yaml 0000644 00000000426 15217654524 0012110 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: getdir block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the current remote directory. full_name: Net::FTP#pwd is_singleton: false name: pwd params: () visibility: public ri/1.8/system/Net/FTP/new-c.yaml 0000644 00000000737 15217654524 0012106 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Creates and returns a new FTP object. If a host is given, a connection is made. Additionally, if the user is given, the given user name, password, and (optionally) account are used to log in. See #login." full_name: Net::FTP::new is_singleton: true name: new params: (host = nil, user = nil, passwd = nil, acct = nil) visibility: public ri/1.8/system/Net/FTP/getmultiline-i.yaml 0000644 00000000265 15217654524 0014021 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::FTP#getmultiline is_singleton: false name: getmultiline params: () visibility: private ri/1.8/system/Net/FTP/open-c.yaml 0000644 00000000763 15217654524 0012255 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: ftp comment: - !ruby/struct:SM::Flow::P body: A synonym for FTP.new, but with a mandatory host parameter. - !ruby/struct:SM::Flow::P body: If a block is given, it is passed the FTP object, which will be closed when the block finishes, or when an exception is raised. full_name: Net::FTP::open is_singleton: true name: open params: (host, user = nil, passwd = nil, acct = nil) {|ftp| ...} visibility: public ri/1.8/system/Net/FTP/help-i.yaml 0000644 00000000352 15217654524 0012244 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Issues the HELP command. full_name: Net::FTP#help is_singleton: false name: help params: (arg = nil) visibility: public ri/1.8/system/Net/FTP/get-i.yaml 0000644 00000000642 15217654524 0012075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: data comment: - !ruby/struct:SM::Flow::P body: "Retrieves remotefile in whatever mode the session is set (text or binary). See #gettextfile and #getbinaryfile." full_name: Net::FTP#get is_singleton: false name: get params: (remotefile, localfile = File.basename(remotefile), blocksize = DEFAULT_BLOCKSIZE) {|data| ...} visibility: public ri/1.8/system/Net/FTP/mdtm-i.yaml 0000644 00000000374 15217654524 0012261 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Issues the MDTM command. TODO: more info." full_name: Net::FTP#mdtm is_singleton: false name: mdtm params: (filename) visibility: public ri/1.8/system/Net/FTP/put-i.yaml 0000644 00000000645 15217654524 0012131 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Transfers localfile to the server in whatever mode the session is set (text or binary). See #puttextfile and #putbinaryfile." full_name: Net::FTP#put is_singleton: false name: put params: (localfile, remotefile = File.basename(localfile), blocksize = DEFAULT_BLOCKSIZE, &block) visibility: public ri/1.8/system/Net/FTP/delete-i.yaml 0000644 00000000362 15217654524 0012557 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes a file on the server. full_name: Net::FTP#delete is_singleton: false name: delete params: (filename) visibility: public ri/1.8/system/Net/FTP/getresp-i.yaml 0000644 00000000253 15217654524 0012765 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::FTP#getresp is_singleton: false name: getresp params: () visibility: private ri/1.8/system/Net/FTP/storbinary-i.yaml 0000644 00000001060 15217654524 0013505 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: data comment: - !ruby/struct:SM::Flow::P body: Puts the connection into binary (image) mode, issues the given server-side command (such as "STOR myfile"), and sends the contents of the file named file to the server. If the optional block is given, it also passes it the data, in chunks of blocksize characters. full_name: Net::FTP#storbinary is_singleton: false name: storbinary params: (cmd, file, blocksize, rest_offset = nil) {|data| ...} visibility: public ri/1.8/system/Net/FTP/voidcmd-i.yaml 0000644 00000000413 15217654524 0012737 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a command and expect a response beginning with '2'. full_name: Net::FTP#voidcmd is_singleton: false name: voidcmd params: (cmd) visibility: public ri/1.8/system/Net/FTP/parse257-i.yaml 0000644 00000000261 15217654524 0012663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::FTP#parse257 is_singleton: false name: parse257 params: (resp) visibility: private ri/1.8/system/Net/FTP/parse227-i.yaml 0000644 00000000261 15217654524 0012660 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::FTP#parse227 is_singleton: false name: parse227 params: (resp) visibility: private ri/1.8/system/Net/FTP/closed%3f-i.yaml 0000644 00000000402 15217654524 0013057 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true iff the connection is closed. full_name: Net::FTP#closed? is_singleton: false name: closed? params: () visibility: public ri/1.8/system/Net/FTP/getline-i.yaml 0000644 00000000253 15217654524 0012743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::FTP#getline is_singleton: false name: getline params: () visibility: private ri/1.8/system/Net/FTP/sanitize-i.yaml 0000644 00000000256 15217654524 0013145 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::FTP#sanitize is_singleton: false name: sanitize params: (s) visibility: private ri/1.8/system/Net/FTP/return_code%3d-i.yaml 0000644 00000000342 15217654524 0014120 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Obsolete full_name: Net::FTP#return_code= is_singleton: false name: return_code= params: (s) visibility: public ri/1.8/system/Net/FTP/getaddress-i.yaml 0000644 00000000261 15217654524 0013440 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::FTP#getaddress is_singleton: false name: getaddress params: () visibility: private ri/1.8/system/Net/FTP/quit-i.yaml 0000644 00000000337 15217654524 0012301 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Exits the FTP session. full_name: Net::FTP#quit is_singleton: false name: quit params: () visibility: public ri/1.8/system/Net/FTP/makepasv-i.yaml 0000644 00000000255 15217654524 0013125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::FTP#makepasv is_singleton: false name: makepasv params: () visibility: private ri/1.8/system/Net/FTP/mtime-i.yaml 0000644 00000000571 15217654524 0012432 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the last modification time of the (remote) file. If local is true, it is returned as a local time, otherwise it's a UTC time. full_name: Net::FTP#mtime is_singleton: false name: mtime params: (filename, local = false) visibility: public ri/1.8/system/Net/FTP/transfercmd-i.yaml 0000644 00000000311 15217654524 0013617 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::FTP#transfercmd is_singleton: false name: transfercmd params: (cmd, rest_offset = nil) visibility: private ri/1.8/system/Net/FTP/nlst-i.yaml 0000644 00000000410 15217654524 0012267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array of filenames in the remote directory. full_name: Net::FTP#nlst is_singleton: false name: nlst params: (dir = nil) visibility: public ri/1.8/system/Net/FTP/login-i.yaml 0000644 00000001211 15217654524 0012417 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Logs in to the remote host. The session must have been previously connected. If user is the string "anonymous" and the password is nil, a password of user@host is synthesized. If the acct parameter is not nil, an FTP ACCT command is sent following the successful login. Raises an exception on error (typically Net::FTPPermError). full_name: Net::FTP#login is_singleton: false name: login params: (user = "anonymous", passwd = nil, acct = nil) visibility: public ri/1.8/system/Net/FTP/close-i.yaml 0000644 00000000464 15217654524 0012425 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Closes the connection. Further operations are impossible until you open a new connection with #connect." full_name: Net::FTP#close is_singleton: false name: close params: () visibility: public ri/1.8/system/Net/FTP/system-i.yaml 0000644 00000000350 15217654524 0012636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns system information. full_name: Net::FTP#system is_singleton: false name: system params: () visibility: public ri/1.8/system/Net/FTP/retrbinary-i.yaml 0000644 00000001012 15217654524 0013467 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: data comment: - !ruby/struct:SM::Flow::P body: Puts the connection into binary (image) mode, issues the given command, and fetches the data returned, passing it to the associated block in chunks of blocksize characters. Note that cmd is a server command (such as "RETR myfile"). full_name: Net::FTP#retrbinary is_singleton: false name: retrbinary params: (cmd, blocksize, rest_offset = nil) {|data| ...} visibility: public ri/1.8/system/Net/FTP/dir-i.yaml 0000644 00000000335 15217654524 0012073 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #list" full_name: Net::FTP#dir is_singleton: false name: dir params: (*args) visibility: public ri/1.8/system/Net/FTP/mkdir-i.yaml 0000644 00000000355 15217654524 0012425 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a remote directory. full_name: Net::FTP#mkdir is_singleton: false name: mkdir params: (dirname) visibility: public ri/1.8/system/Net/FTP/status-i.yaml 0000644 00000000357 15217654524 0012644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the status (STAT command). full_name: Net::FTP#status is_singleton: false name: status params: () visibility: public ri/1.8/system/Net/FTP/parse229-i.yaml 0000644 00000000261 15217654524 0012662 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::FTP#parse229 is_singleton: false name: parse229 params: (resp) visibility: private ri/1.8/system/Net/FTP/connect-i.yaml 0000644 00000001000 15217654524 0012734 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Establishes an FTP connection to host, optionally overriding the default port. If the environment variable SOCKS_SERVER is set, sets up the connection through a SOCKS proxy. Raises an exception (typically Errno::ECONNREFUSED) if the connection cannot be established. full_name: Net::FTP#connect is_singleton: false name: connect params: (host, port = FTP_PORT) visibility: public ri/1.8/system/Net/FTP/set_socket-i.yaml 0000644 00000000405 15217654524 0013456 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: WRITEME or make private full_name: Net::FTP#set_socket is_singleton: false name: set_socket params: (sock, get_greeting = true) visibility: public ri/1.8/system/Net/FTP/noop-i.yaml 0000644 00000000337 15217654524 0012272 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Issues a NOOP command. full_name: Net::FTP#noop is_singleton: false name: noop params: () visibility: public ri/1.8/system/Net/FTP/ls-i.yaml 0000644 00000000333 15217654524 0011731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #list" full_name: Net::FTP#ls is_singleton: false name: ls params: (*args) visibility: public ri/1.8/system/Net/FTP/site-i.yaml 0000644 00000000342 15217654524 0012257 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Issues a SITE command. full_name: Net::FTP#site is_singleton: false name: site params: (arg) visibility: public ri/1.8/system/Net/FTP/abort-i.yaml 0000644 00000000366 15217654524 0012430 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Aborts the previous command (ABOR command). full_name: Net::FTP#abort is_singleton: false name: abort params: () visibility: public ri/1.8/system/Net/FTP/voidresp-i.yaml 0000644 00000000255 15217654524 0013151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::FTP#voidresp is_singleton: false name: voidresp params: () visibility: private ri/1.8/system/Net/FTP/gettextfile-i.yaml 0000644 00000000702 15217654524 0013637 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: line comment: - !ruby/struct:SM::Flow::P body: Retrieves remotefile in ASCII (text) mode, storing the result in localfile. If a block is supplied, it is passed the retrieved data one line at a time. full_name: Net::FTP#gettextfile is_singleton: false name: gettextfile params: (remotefile, localfile = File.basename(remotefile)) {|line| ...} visibility: public ri/1.8/system/Net/FTP/chdir-i.yaml 0000644 00000000361 15217654524 0012405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Changes the (remote) directory. full_name: Net::FTP#chdir is_singleton: false name: chdir params: (dirname) visibility: public ri/1.8/system/Net/FTP/size-i.yaml 0000644 00000000401 15217654524 0012261 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the size of the given (remote) filename. full_name: Net::FTP#size is_singleton: false name: size params: (filename) visibility: public ri/1.8/system/Net/FTP/open_socket-i.yaml 0000644 00000000275 15217654524 0013631 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::FTP#open_socket is_singleton: false name: open_socket params: (host, port) visibility: private ri/1.8/system/Net/FTP/storlines-i.yaml 0000644 00000000767 15217654524 0013350 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: line comment: - !ruby/struct:SM::Flow::P body: Puts the connection into ASCII (text) mode, issues the given server-side command (such as "STOR myfile"), and sends the contents of the file named file to the server, one line at a time. If the optional block is given, it also passes it the lines. full_name: Net::FTP#storlines is_singleton: false name: storlines params: (cmd, file) {|line| ...} visibility: public ri/1.8/system/Net/FTP/sendcmd-i.yaml 0000644 00000000373 15217654524 0012734 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends a command and returns the response. full_name: Net::FTP#sendcmd is_singleton: false name: sendcmd params: (cmd) visibility: public ri/1.8/system/Net/FTP/getbinaryfile-i.yaml 0000644 00000000751 15217654524 0014143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: data comment: - !ruby/struct:SM::Flow::P body: Retrieves remotefile in binary mode, storing the result in localfile. If a block is supplied, it is passed the retrieved data in blocksize chunks. full_name: Net::FTP#getbinaryfile is_singleton: false name: getbinaryfile params: (remotefile, localfile = File.basename(remotefile), blocksize = DEFAULT_BLOCKSIZE) {|data| ...} visibility: public ri/1.8/system/Net/FTP/acct-i.yaml 0000644 00000000372 15217654524 0012230 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Sends the ACCT command. TODO: more info." full_name: Net::FTP#acct is_singleton: false name: acct params: (account) visibility: public ri/1.8/system/Net/FTP/parse228-i.yaml 0000644 00000000261 15217654524 0012661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::FTP#parse228 is_singleton: false name: parse228 params: (resp) visibility: private ri/1.8/system/Net/FTP/return_code-i.yaml 0000644 00000000337 15217654524 0013630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Obsolete full_name: Net::FTP#return_code is_singleton: false name: return_code params: () visibility: public ri/1.8/system/Net/FTP/sendport-i.yaml 0000644 00000000267 15217654524 0013157 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::FTP#sendport is_singleton: false name: sendport params: (host, port) visibility: private ri/1.8/system/Net/FTP/retrlines-i.yaml 0000644 00000000756 15217654524 0013333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: line comment: - !ruby/struct:SM::Flow::P body: Puts the connection into ASCII (text) mode, issues the given command, and passes the resulting data, one line at a time, to the associated block. If no block is given, prints the lines. Note that cmd is a server command (such as "RETR myfile"). full_name: Net::FTP#retrlines is_singleton: false name: retrlines params: (cmd) {|line| ...} visibility: public ri/1.8/system/Net/FTP/putline-i.yaml 0000644 00000000257 15217654524 0013000 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::FTP#putline is_singleton: false name: putline params: (line) visibility: private ri/1.8/system/Net/FTP/rmdir-i.yaml 0000644 00000000355 15217654524 0012434 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes a remote directory. full_name: Net::FTP#rmdir is_singleton: false name: rmdir params: (dirname) visibility: public ri/1.8/system/Net/FTP/rename-i.yaml 0000644 00000000372 15217654524 0012565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Renames a file on the server. full_name: Net::FTP#rename is_singleton: false name: rename params: (fromname, toname) visibility: public ri/1.8/system/Net/FTP/putbinaryfile-i.yaml 0000644 00000001000 15217654524 0014160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: data comment: - !ruby/struct:SM::Flow::P body: Transfers localfile to the server in binary mode, storing the result in remotefile. If a block is supplied, calls it, passing in the transmitted data in blocksize chunks. full_name: Net::FTP#putbinaryfile is_singleton: false name: putbinaryfile params: (localfile, remotefile = File.basename(localfile), blocksize = DEFAULT_BLOCKSIZE) {|data| ...} visibility: public ri/1.8/system/Net/FTP/makeport-i.yaml 0000644 00000000255 15217654524 0013140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::FTP#makeport is_singleton: false name: makeport params: () visibility: private ri/1.8/system/Net/FTP/puttextfile-i.yaml 0000644 00000000761 15217654524 0013675 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: line comment: - !ruby/struct:SM::Flow::P body: Transfers localfile to the server in ASCII (text) mode, storing the result in remotefile. If callback or an associated block is supplied, calls it, passing in the transmitted data one line at a time. full_name: Net::FTP#puttextfile is_singleton: false name: puttextfile params: (localfile, remotefile = File.basename(localfile)) {|line| ...} visibility: public ri/1.8/system/Net/FTP/getdir-i.yaml 0000644 00000000335 15217654524 0012573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #pwd" full_name: Net::FTP#getdir is_singleton: false name: getdir params: () visibility: public ri/1.8/system/Net/FTP/cdesc-FTP.yaml 0000644 00000014315 15217654524 0012602 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: "When true, transfers are performed in binary mode. Default: true." name: binary rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: "When true, all traffic to and from the server is written to +$stdout+. Default: false." name: debug_mode rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The server's last response. name: last_response rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The server's last response code. name: last_response_code rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: "When true, the connection is in passive mode. Default: false." name: passive rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: "Sets or retrieves the resume status, which decides whether incomplete transfers are resumed or restarted. Default: false." name: resume rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The server's welcome message. name: welcome rw: R class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: open comment: - !ruby/struct:SM::Flow::P body: This class implements the File Transfer Protocol. If you have used a command-line FTP program, and are familiar with the commands, you will be able to use this class easily. Some extra features are included to take advantage of Ruby's style and strengths. - !ruby/struct:SM::Flow::H level: 2 text: Example - !ruby/struct:SM::Flow::VERB body: " require 'net/ftp'\n" - !ruby/struct:SM::Flow::H level: 3 text: Example 1 - !ruby/struct:SM::Flow::VERB body: " ftp = Net::FTP.new('ftp.netlab.co.jp')\n ftp.login\n files = ftp.chdir('pub/lang/ruby/contrib')\n files = ftp.list('n*')\n ftp.getbinaryfile('nif.rb-0.91.gz', 'nif.gz', 1024)\n ftp.close\n" - !ruby/struct:SM::Flow::H level: 3 text: Example 2 - !ruby/struct:SM::Flow::VERB body: " Net::FTP.open('ftp.netlab.co.jp') do |ftp|\n ftp.login\n files = ftp.chdir('pub/lang/ruby/contrib')\n files = ftp.list('n*')\n ftp.getbinaryfile('nif.rb-0.91.gz', 'nif.gz', 1024)\n end\n" - !ruby/struct:SM::Flow::H level: 2 text: Major Methods - !ruby/struct:SM::Flow::P body: "The following are the methods most likely to be useful to users:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: FTP.open - !ruby/struct:SM::Flow::LI label: "-" body: "#getbinaryfile" - !ruby/struct:SM::Flow::LI label: "-" body: "#gettextfile" - !ruby/struct:SM::Flow::LI label: "-" body: "#putbinaryfile" - !ruby/struct:SM::Flow::LI label: "-" body: "#puttextfile" - !ruby/struct:SM::Flow::LI label: "-" body: "#chdir" - !ruby/struct:SM::Flow::LI label: "-" body: "#nlst" - !ruby/struct:SM::Flow::LI label: "-" body: "#size" - !ruby/struct:SM::Flow::LI label: "-" body: "#rename" - !ruby/struct:SM::Flow::LI label: "-" body: "#delete" type: :BULLET constants: [] full_name: Net::FTP includes: - !ruby/object:RI::IncludedModule name: MonitorMixin instance_methods: - !ruby/object:RI::MethodSummary name: abort - !ruby/object:RI::MethodSummary name: acct - !ruby/object:RI::MethodSummary name: chdir - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: closed? - !ruby/object:RI::MethodSummary name: connect - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: dir - !ruby/object:RI::MethodSummary name: get - !ruby/object:RI::MethodSummary name: getaddress - !ruby/object:RI::MethodSummary name: getbinaryfile - !ruby/object:RI::MethodSummary name: getdir - !ruby/object:RI::MethodSummary name: getline - !ruby/object:RI::MethodSummary name: getmultiline - !ruby/object:RI::MethodSummary name: getresp - !ruby/object:RI::MethodSummary name: gettextfile - !ruby/object:RI::MethodSummary name: help - !ruby/object:RI::MethodSummary name: list - !ruby/object:RI::MethodSummary name: login - !ruby/object:RI::MethodSummary name: ls - !ruby/object:RI::MethodSummary name: makepasv - !ruby/object:RI::MethodSummary name: makeport - !ruby/object:RI::MethodSummary name: mdtm - !ruby/object:RI::MethodSummary name: mkdir - !ruby/object:RI::MethodSummary name: mtime - !ruby/object:RI::MethodSummary name: nlst - !ruby/object:RI::MethodSummary name: noop - !ruby/object:RI::MethodSummary name: open_socket - !ruby/object:RI::MethodSummary name: parse227 - !ruby/object:RI::MethodSummary name: parse228 - !ruby/object:RI::MethodSummary name: parse229 - !ruby/object:RI::MethodSummary name: parse257 - !ruby/object:RI::MethodSummary name: put - !ruby/object:RI::MethodSummary name: putbinaryfile - !ruby/object:RI::MethodSummary name: putline - !ruby/object:RI::MethodSummary name: puttextfile - !ruby/object:RI::MethodSummary name: pwd - !ruby/object:RI::MethodSummary name: quit - !ruby/object:RI::MethodSummary name: rename - !ruby/object:RI::MethodSummary name: retrbinary - !ruby/object:RI::MethodSummary name: retrlines - !ruby/object:RI::MethodSummary name: return_code - !ruby/object:RI::MethodSummary name: return_code= - !ruby/object:RI::MethodSummary name: rmdir - !ruby/object:RI::MethodSummary name: sanitize - !ruby/object:RI::MethodSummary name: sendcmd - !ruby/object:RI::MethodSummary name: sendport - !ruby/object:RI::MethodSummary name: set_socket - !ruby/object:RI::MethodSummary name: site - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: status - !ruby/object:RI::MethodSummary name: storbinary - !ruby/object:RI::MethodSummary name: storlines - !ruby/object:RI::MethodSummary name: system - !ruby/object:RI::MethodSummary name: transfercmd - !ruby/object:RI::MethodSummary name: voidcmd - !ruby/object:RI::MethodSummary name: voidresp name: FTP superclass: Object ri/1.8/system/Net/FTP/list-i.yaml 0000644 00000000670 15217654524 0012272 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: ls - !ruby/object:RI::AliasName name: dir block_params: line comment: - !ruby/struct:SM::Flow::P body: Returns an array of file information in the directory (the output is like `ls -l`). If a block is given, it iterates through the listing. full_name: Net::FTP#list is_singleton: false name: list params: (*args) {|line| ...} visibility: public ri/1.8/system/Net/HTTPHeader/type_params-i.yaml 0000644 00000000504 15217654524 0015076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns content type parameters as a Hash as like {"charset" => "iso-2022-jp"}. full_name: Net::HTTPHeader#type_params is_singleton: false name: type_params params: () visibility: public ri/1.8/system/Net/HTTPHeader/each_name-i.yaml 0000644 00000000470 15217654524 0014454 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: each_key block_params: +key+ comment: - !ruby/struct:SM::Flow::P body: Iterates for each header names. full_name: Net::HTTPHeader#each_name is_singleton: false name: each_name params: () {|+key+| ...} visibility: public ri/1.8/system/Net/HTTPHeader/add_field-i.yaml 0000644 00000001673 15217654524 0014455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "[Ruby 1.8.3] Adds header field instead of replace. Second argument val must be a String. See also #[]=, #[] and #get_fields." - !ruby/struct:SM::Flow::VERB body: " request.add_field 'X-My-Header', 'a'\n p request['X-My-Header'] #=> "a"\n p request.get_fields('X-My-Header') #=> ["a"]\n request.add_field 'X-My-Header', 'b'\n p request['X-My-Header'] #=> "a, b"\n p request.get_fields('X-My-Header') #=> ["a", "b"]\n request.add_field 'X-My-Header', 'c'\n p request['X-My-Header'] #=> "a, b, c"\n p request.get_fields('X-My-Header') #=> ["a", "b", "c"]\n" full_name: Net::HTTPHeader#add_field is_singleton: false name: add_field params: (key, val) visibility: public ri/1.8/system/Net/HTTPHeader/content_length-i.yaml 0000644 00000000540 15217654524 0015565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns an Integer object which represents the Content-Length: header field or nil if that field is not provided." full_name: Net::HTTPHeader#content_length is_singleton: false name: content_length params: () visibility: public ri/1.8/system/Net/HTTPHeader/urlencode-i.yaml 0000644 00000000271 15217654524 0014533 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPHeader#urlencode is_singleton: false name: urlencode params: (str) visibility: private ri/1.8/system/Net/HTTPHeader/sub_type-i.yaml 0000644 00000000626 15217654524 0014411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns a content type string such as "html". This method returns nil if Content-Type: header field does not exist or sub-type is not given (e.g. "Content-Type: text")." full_name: Net::HTTPHeader#sub_type is_singleton: false name: sub_type params: () visibility: public ri/1.8/system/Net/HTTPHeader/delete-i.yaml 0000644 00000000356 15217654524 0014021 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes a header field. full_name: Net::HTTPHeader#delete is_singleton: false name: delete params: (key) visibility: public ri/1.8/system/Net/HTTPHeader/each_header-i.yaml 0000644 00000000524 15217654524 0014764 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: each block_params: +key+, +value+ comment: - !ruby/struct:SM::Flow::P body: Iterates for each header names and values. full_name: Net::HTTPHeader#each_header is_singleton: false name: each_header params: ( {|+key+, +value+| ...} visibility: public ri/1.8/system/Net/HTTPHeader/get_fields-i.yaml 0000644 00000001454 15217654524 0014664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "[Ruby 1.8.3] Returns an array of header field strings corresponding to the case-insensitive key. This method allows you to get duplicated header fields without any processing. See also #[]." - !ruby/struct:SM::Flow::VERB body: " p response.get_fields('Set-Cookie')\n #=> ["session=al98axx; expires=Fri, 31-Dec-1999 23:58:23",\n "query=rubyscript; expires=Fri, 31-Dec-1999 23:58:23"]\n p response['Set-Cookie']\n #=> "session=al98axx; expires=Fri, 31-Dec-1999 23:58:23, query=rubyscript; expires=Fri, 31-Dec-1999 23:58:23"\n" full_name: Net::HTTPHeader#get_fields is_singleton: false name: get_fields params: (key) visibility: public ri/1.8/system/Net/HTTPHeader/key%3f-i.yaml 0000644 00000000366 15217654524 0013646 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: true if key header exists. full_name: Net::HTTPHeader#key? is_singleton: false name: key? params: (key) visibility: public ri/1.8/system/Net/HTTPHeader/set_content_type-i.yaml 0000644 00000000660 15217654524 0016143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: content_type= block_params: comment: - !ruby/struct:SM::Flow::P body: "Set Content-Type: header field by type and params. type must be a String, params must be a Hash." full_name: Net::HTTPHeader#set_content_type is_singleton: false name: set_content_type params: (type, params = {}) visibility: public ri/1.8/system/Net/HTTPHeader/proxy_basic_auth-i.yaml 0000644 00000000477 15217654524 0016126 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Set Proxy-Authorization: header for "Basic" authorization." full_name: Net::HTTPHeader#proxy_basic_auth is_singleton: false name: proxy_basic_auth params: (account, password) visibility: public ri/1.8/system/Net/HTTPHeader/canonical_each-i.yaml 0000644 00000000401 15217654524 0015455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #each_capitalized" full_name: Net::HTTPHeader#canonical_each is_singleton: false name: canonical_each params: () visibility: public ri/1.8/system/Net/HTTPHeader/main_type-i.yaml 0000644 00000000531 15217654524 0014537 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns a content type string such as "text". This method returns nil if Content-Type: header field does not exist." full_name: Net::HTTPHeader#main_type is_singleton: false name: main_type params: () visibility: public ri/1.8/system/Net/HTTPHeader/capitalize-i.yaml 0000644 00000000274 15217654524 0014703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPHeader#capitalize is_singleton: false name: capitalize params: (name) visibility: private ri/1.8/system/Net/HTTPHeader/each_value-i.yaml 0000644 00000000422 15217654524 0014645 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: +value+ comment: - !ruby/struct:SM::Flow::P body: Iterates for each header values. full_name: Net::HTTPHeader#each_value is_singleton: false name: each_value params: ( {|+value+| ...} visibility: public ri/1.8/system/Net/HTTPHeader/content_type-i.yaml 0000644 00000000544 15217654524 0015271 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns a content type string such as "text/html". This method returns nil if Content-Type: header field does not exist." full_name: Net::HTTPHeader#content_type is_singleton: false name: content_type params: () visibility: public ri/1.8/system/Net/HTTPHeader/content_length%3d-i.yaml 0000644 00000000304 15217654524 0016057 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPHeader#content_length= is_singleton: false name: content_length= params: (len) visibility: public ri/1.8/system/Net/HTTPHeader/%5b%5d%3d-i.yaml 0000644 00000000430 15217654524 0013715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the header field corresponding to the case-insensitive key. full_name: Net::HTTPHeader#[]= is_singleton: false name: "[]=" params: (key, val) visibility: public ri/1.8/system/Net/HTTPHeader/content_type%3d-i.yaml 0000644 00000000420 15217654524 0015556 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #set_content_type" full_name: Net::HTTPHeader#content_type= is_singleton: false name: content_type= params: (type, params = {}) visibility: public ri/1.8/system/Net/HTTPHeader/set_range-i.yaml 0000644 00000000711 15217654524 0014521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: range= block_params: comment: - !ruby/struct:SM::Flow::P body: "Set Range: header from Range (arg r) or beginning index and length from it (arg idx&len)." - !ruby/struct:SM::Flow::VERB body: " req.range = (0..1023)\n req.set_range 0, 1023\n" full_name: Net::HTTPHeader#set_range is_singleton: false name: set_range params: (r, e = nil) visibility: public ri/1.8/system/Net/HTTPHeader/%5b%5d-i.yaml 0000644 00000000546 15217654524 0013431 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the header field corresponding to the case-insensitive key. For example, a key of "Content-Type" might return "text/html" full_name: Net::HTTPHeader#[] is_singleton: false name: "[]" params: (key) visibility: public ri/1.8/system/Net/HTTPHeader/basic_auth-i.yaml 0000644 00000000461 15217654524 0014656 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Set the Authorization: header for "Basic" authorization." full_name: Net::HTTPHeader#basic_auth is_singleton: false name: basic_auth params: (account, password) visibility: public ri/1.8/system/Net/HTTPHeader/to_hash-i.yaml 0000644 00000000410 15217654524 0014173 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a Hash consist of header names and values. full_name: Net::HTTPHeader#to_hash is_singleton: false name: to_hash params: () visibility: public ri/1.8/system/Net/HTTPHeader/cdesc-HTTPHeader.yaml 0000644 00000004714 15217654524 0015302 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Header module. - !ruby/struct:SM::Flow::P body: Provides access to @header in the mixed-into class as a hash-like object, except with case-insensitive keys. Also provides methods for accessing commonly-used header values in a more convenient format. constants: [] full_name: Net::HTTPHeader includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: add_field - !ruby/object:RI::MethodSummary name: basic_auth - !ruby/object:RI::MethodSummary name: basic_encode - !ruby/object:RI::MethodSummary name: canonical_each - !ruby/object:RI::MethodSummary name: capitalize - !ruby/object:RI::MethodSummary name: chunked? - !ruby/object:RI::MethodSummary name: content_length - !ruby/object:RI::MethodSummary name: content_length= - !ruby/object:RI::MethodSummary name: content_range - !ruby/object:RI::MethodSummary name: content_type - !ruby/object:RI::MethodSummary name: content_type= - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: each_capitalized - !ruby/object:RI::MethodSummary name: each_capitalized_name - !ruby/object:RI::MethodSummary name: each_header - !ruby/object:RI::MethodSummary name: each_key - !ruby/object:RI::MethodSummary name: each_name - !ruby/object:RI::MethodSummary name: each_value - !ruby/object:RI::MethodSummary name: fetch - !ruby/object:RI::MethodSummary name: form_data= - !ruby/object:RI::MethodSummary name: get_fields - !ruby/object:RI::MethodSummary name: initialize_http_header - !ruby/object:RI::MethodSummary name: key? - !ruby/object:RI::MethodSummary name: main_type - !ruby/object:RI::MethodSummary name: proxy_basic_auth - !ruby/object:RI::MethodSummary name: range - !ruby/object:RI::MethodSummary name: range= - !ruby/object:RI::MethodSummary name: range_length - !ruby/object:RI::MethodSummary name: set_content_type - !ruby/object:RI::MethodSummary name: set_form_data - !ruby/object:RI::MethodSummary name: set_range - !ruby/object:RI::MethodSummary name: sub_type - !ruby/object:RI::MethodSummary name: to_hash - !ruby/object:RI::MethodSummary name: type_params - !ruby/object:RI::MethodSummary name: urlencode name: HTTPHeader superclass: ri/1.8/system/Net/HTTPHeader/each-i.yaml 0000644 00000000347 15217654524 0013457 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #each_header" full_name: Net::HTTPHeader#each is_singleton: false name: each params: ( visibility: public ri/1.8/system/Net/HTTPHeader/content_range-i.yaml 0000644 00000000643 15217654524 0015404 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns a Range object which represents Content-Range: header field. This indicates, for a partial entity body, where this fragment fits inside the full entity body, as range of byte offsets." full_name: Net::HTTPHeader#content_range is_singleton: false name: content_range params: () visibility: public ri/1.8/system/Net/HTTPHeader/each_capitalized-i.yaml 0000644 00000000641 15217654524 0016025 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: canonical_each block_params: capitalize(k), v.join(', ') comment: - !ruby/struct:SM::Flow::P body: "As for #each_header, except the keys are provided in capitalized form." full_name: Net::HTTPHeader#each_capitalized is_singleton: false name: each_capitalized params: () {|capitalize(k), v.join(', ')| ...} visibility: public ri/1.8/system/Net/HTTPHeader/fetch-i.yaml 0000644 00000000664 15217654524 0013652 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: +key+ comment: - !ruby/struct:SM::Flow::P body: Returns the header field corresponding to the case-insensitive key. Returns the default value args, or the result of the block, or nil, if there's no header field named key. See Hash#fetch full_name: Net::HTTPHeader#fetch is_singleton: false name: fetch params: (key, *args) {|+key+| ...} visibility: public ri/1.8/system/Net/HTTPHeader/form_data%3d-i.yaml 0000644 00000000407 15217654524 0015004 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #set_form_data" full_name: Net::HTTPHeader#form_data= is_singleton: false name: form_data= params: (params, sep = '&') visibility: public ri/1.8/system/Net/HTTPHeader/range-i.yaml 0000644 00000000507 15217654524 0013651 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns an Array of Range objects which represents Range: header field, or nil if there is no such header." full_name: Net::HTTPHeader#range is_singleton: false name: range params: () visibility: public ri/1.8/system/Net/HTTPHeader/range%3d-i.yaml 0000644 00000000364 15217654524 0014146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #set_range" full_name: Net::HTTPHeader#range= is_singleton: false name: range= params: (r, e = nil) visibility: public ri/1.8/system/Net/HTTPHeader/chunked%3f-i.yaml 0000644 00000000727 15217654524 0014500 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns "true" if the "transfer-encoding" header is present and set to "chunked". This is an HTTP/1.1 feature, allowing the the content to be sent in "chunks" without at the outset stating the entire content length. full_name: Net::HTTPHeader#chunked? is_singleton: false name: chunked? params: () visibility: public ri/1.8/system/Net/HTTPHeader/each_capitalized_name-i.yaml 0000644 00000000460 15217654524 0017024 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: +key+ comment: - !ruby/struct:SM::Flow::P body: Iterates for each capitalized header names. full_name: Net::HTTPHeader#each_capitalized_name is_singleton: false name: each_capitalized_name params: () {|+key+| ...} visibility: public ri/1.8/system/Net/HTTPHeader/each_key-i.yaml 0000644 00000000356 15217654524 0014327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #each_name" full_name: Net::HTTPHeader#each_key is_singleton: false name: each_key params: () visibility: public ri/1.8/system/Net/HTTPHeader/range_length-i.yaml 0000644 00000000437 15217654524 0015214 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "The length of the range represented in Content-Range: header." full_name: Net::HTTPHeader#range_length is_singleton: false name: range_length params: () visibility: public ri/1.8/system/Net/HTTPHeader/initialize_http_header-i.yaml 0000644 00000000331 15217654524 0017260 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPHeader#initialize_http_header is_singleton: false name: initialize_http_header params: (initheader) visibility: public ri/1.8/system/Net/HTTPHeader/basic_encode-i.yaml 0000644 00000000315 15217654524 0015150 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Net::HTTPHeader#basic_encode is_singleton: false name: basic_encode params: (account, password) visibility: private ri/1.8/system/Net/HTTPHeader/set_form_data-i.yaml 0000644 00000001106 15217654524 0015360 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: form_data= block_params: comment: - !ruby/struct:SM::Flow::P body: Set header fields and a body from HTML form data. params should be a Hash containing HTML form data. Optional argument sep means data record separator. - !ruby/struct:SM::Flow::P body: "This method also set Content-Type: header field to application/x-www-form-urlencoded." full_name: Net::HTTPHeader#set_form_data is_singleton: false name: set_form_data params: (params, sep = '&') visibility: public ri/1.8/system/Net/InternetMessageIO/cdesc-InternetMessageIO.yaml 0000644 00000000330 15217654524 0020362 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Net::InternetMessageIO includes: [] instance_methods: [] name: InternetMessageIO superclass: BufferedIO ri/1.8/system/Net/SMTPUnsupportedCommand/cdesc-SMTPUnsupportedCommand.yaml 0000644 00000000537 15217654524 0022407 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Command is not supported on server. constants: [] full_name: Net::SMTPUnsupportedCommand includes: - !ruby/object:RI::IncludedModule name: SMTPError instance_methods: [] name: SMTPUnsupportedCommand superclass: ProtocolError ri/1.8/system/SystemExit/new-c.yaml 0000644 00000000466 15217654524 0013044 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new SystemExit exception with the given status. full_name: SystemExit::new is_singleton: true name: new params: | SystemExit.new(status=0) => system_exit visibility: public ri/1.8/system/SystemExit/status-i.yaml 0000644 00000000451 15217654524 0013576 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the status value associated with this system exit. full_name: SystemExit#status is_singleton: false name: status params: | system_exit.status => fixnum visibility: public ri/1.8/system/SystemExit/success%3f-i.yaml 0000644 00000000477 15217654524 0014231 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if exiting successful, false if not. full_name: SystemExit#success? is_singleton: false name: success? params: | system_exit.success? => true or false visibility: public ri/1.8/system/SystemExit/cdesc-SystemExit.yaml 0000644 00000001406 15217654524 0015223 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: SystemExit includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: status - !ruby/object:RI::MethodSummary name: success? name: SystemExit superclass: Exception ri/1.8/system/ThreadError/cdesc-ThreadError.yaml 0000644 00000001064 15217654524 0015431 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Thread encapsulates the behavior of a thread of execution, including the main thread of the Ruby script. - !ruby/struct:SM::Flow::P body: In the descriptions of the methods in this class, the parameter sym refers to a symbol, which is either a quoted string or a Symbol (such as :name). constants: [] full_name: ThreadError includes: [] instance_methods: [] name: ThreadError superclass: StandardError ri/1.8/system/TSort/each_strongly_connected_component_from-i.yaml 0000644 00000001074 15217654524 0021202 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: nodes comment: - !ruby/struct:SM::Flow::P body: Iterates over strongly connected component in the subgraph reachable from node. - !ruby/struct:SM::Flow::P body: Return value is unspecified. - !ruby/struct:SM::Flow::P body: "#each_strongly_connected_component_from doesn't call #tsort_each_node." full_name: TSort#each_strongly_connected_component_from is_singleton: false name: each_strongly_connected_component_from params: (node, id_map={}, stack=[]) {|nodes| ...} visibility: public ri/1.8/system/TSort/tsort_each-i.yaml 0000644 00000001053 15217654524 0013342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: node comment: - !ruby/struct:SM::Flow::P body: "The iterator version of the #tsort method. obj.tsort_each is similar to obj.tsort.each, but modification of obj during the iteration may lead to unexpected results." - !ruby/struct:SM::Flow::P body: "#tsort_each returns nil. If there is a cycle, TSort::Cyclic is raised." full_name: TSort#tsort_each is_singleton: false name: tsort_each params: ( {|node| ...} visibility: public ri/1.8/system/TSort/each_strongly_connected_component-i.yaml 0000644 00000001213 15217654524 0020152 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: nodes comment: - !ruby/struct:SM::Flow::P body: "The iterator version of the #strongly_connected_components method. obj.each_strongly_connected_component is similar to obj.strongly_connected_components.each, but modification of obj during the iteration may lead to unexpected results." - !ruby/struct:SM::Flow::P body: "#each_strongly_connected_component returns nil." full_name: TSort#each_strongly_connected_component is_singleton: false name: each_strongly_connected_component params: ( {|nodes| ...} visibility: public ri/1.8/system/TSort/tsort_each_node-i.yaml 0000644 00000000574 15217654524 0014356 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: node comment: - !ruby/struct:SM::Flow::P body: Should be implemented by a extended class. - !ruby/struct:SM::Flow::P body: "#tsort_each_node is used to iterate for all nodes over a graph." full_name: TSort#tsort_each_node is_singleton: false name: tsort_each_node params: ( {|node| ...} visibility: public ri/1.8/system/TSort/tsort-i.yaml 0000644 00000000673 15217654524 0012371 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a topologically sorted array of nodes. The array is sorted from children to parents, i.e. the first element has no child and the last node has no parent. - !ruby/struct:SM::Flow::P body: If there is a cycle, TSort::Cyclic is raised. full_name: TSort#tsort is_singleton: false name: tsort params: () visibility: public ri/1.8/system/TSort/Cyclic/cdesc-Cyclic.yaml 0000644 00000000307 15217654524 0014455 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: TSort::Cyclic includes: [] instance_methods: [] name: Cyclic superclass: StandardError ri/1.8/system/TSort/strongly_connected_components-i.yaml 0000644 00000000661 15217654524 0017363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns strongly connected components as an array of arrays of nodes. The array is sorted from children to parents. Each elements of the array represents a strongly connected component. full_name: TSort#strongly_connected_components is_singleton: false name: strongly_connected_components params: () visibility: public ri/1.8/system/TSort/cdesc-TSort.yaml 0000644 00000011641 15217654524 0013117 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: TSort implements topological sorting using Tarjan's algorithm for strongly connected components. - !ruby/struct:SM::Flow::P body: TSort is designed to be able to be used with any object which can be interpreted as a directed graph. - !ruby/struct:SM::Flow::P body: TSort requires two methods to interpret an object as a graph, tsort_each_node and tsort_each_child. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: tsort_each_node is used to iterate for all nodes over a graph. - !ruby/struct:SM::Flow::LI label: "*" body: tsort_each_child is used to iterate for child nodes of a given node. type: :BULLET - !ruby/struct:SM::Flow::P body: The equality of nodes are defined by eql? and hash since TSort uses Hash internally. - !ruby/struct:SM::Flow::H level: 2 text: A Simple Example - !ruby/struct:SM::Flow::P body: "The following example demonstrates how to mix the TSort module into an existing class (in this case, Hash). Here, we're treating each key in the hash as a node in the graph, and so we simply alias the required #tsort_each_node method to Hash's #each_key method. For each key in the hash, the associated value is an array of the node's child nodes. This choice in turn leads to our implementation of the required #tsort_each_child method, which fetches the array of child nodes and then iterates over that array using the user-supplied block." - !ruby/struct:SM::Flow::VERB body: " require 'tsort'\n\n class Hash\n include TSort\n alias tsort_each_node each_key\n def tsort_each_child(node, &block)\n fetch(node).each(&block)\n end\n end\n\n {1=>[2, 3], 2=>[3], 3=>[], 4=>[]}.tsort\n #=> [3, 2, 1, 4]\n\n {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}.strongly_connected_components\n #=> [[4], [2, 3], [1]]\n" - !ruby/struct:SM::Flow::H level: 2 text: A More Realistic Example - !ruby/struct:SM::Flow::P body: "A very simple `make' like tool can be implemented as follows:" - !ruby/struct:SM::Flow::VERB body: " require 'tsort'\n\n class Make\n def initialize\n @dep = {}\n @dep.default = []\n end\n\n def rule(outputs, inputs=[], &block)\n triple = [outputs, inputs, block]\n outputs.each {|f| @dep[f] = [triple]}\n @dep[triple] = inputs\n end\n\n def build(target)\n each_strongly_connected_component_from(target) {|ns|\n if ns.length != 1\n fs = ns.delete_if {|n| Array === n}\n raise TSort::Cyclic.new("cyclic dependencies: #{fs.join ', '}")\n end\n n = ns.first\n if Array === n\n outputs, inputs, block = n\n inputs_time = inputs.map {|f| File.mtime f}.max\n begin\n outputs_time = outputs.map {|f| File.mtime f}.min\n rescue Errno::ENOENT\n outputs_time = nil\n end\n if outputs_time == nil ||\n inputs_time != nil && outputs_time <= inputs_time\n sleep 1 if inputs_time != nil && inputs_time.to_i == Time.now.to_i\n block.call\n end\n end\n }\n end\n\n def tsort_each_child(node, &block)\n @dep[node].each(&block)\n end\n include TSort\n end\n\n def command(arg)\n print arg, "\\n"\n system arg\n end\n\n m = Make.new\n m.rule(%w[t1]) { command 'date > t1' }\n m.rule(%w[t2]) { command 'date > t2' }\n m.rule(%w[t3]) { command 'date > t3' }\n m.rule(%w[t4], %w[t1 t3]) { command 'cat t1 t3 > t4' }\n m.rule(%w[t5], %w[t4 t2]) { command 'cat t4 t2 > t5' }\n m.build('t5')\n" - !ruby/struct:SM::Flow::H level: 2 text: Bugs - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: "'tsort.rb' is wrong name because this library uses Tarjan's algorithm for strongly connected components. Although 'strongly_connected_components.rb' is correct but too long." type: :BULLET - !ruby/struct:SM::Flow::H level: 2 text: References - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: R. body: E. Tarjan, "Depth First Search and Linear Graph Algorithms", type: :UPPERALPHA - !ruby/struct:SM::Flow::P body: SIAM Journal on Computing, Vol. 1, No. 2, pp. 146-160, June 1972. constants: [] full_name: TSort includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: each_strongly_connected_component - !ruby/object:RI::MethodSummary name: each_strongly_connected_component_from - !ruby/object:RI::MethodSummary name: strongly_connected_components - !ruby/object:RI::MethodSummary name: tsort - !ruby/object:RI::MethodSummary name: tsort_each - !ruby/object:RI::MethodSummary name: tsort_each_child - !ruby/object:RI::MethodSummary name: tsort_each_node name: TSort superclass: ri/1.8/system/TSort/tsort_each_child-i.yaml 0000644 00000000614 15217654524 0014507 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: child comment: - !ruby/struct:SM::Flow::P body: Should be implemented by a extended class. - !ruby/struct:SM::Flow::P body: "#tsort_each_child is used to iterate for child nodes of node." full_name: TSort#tsort_each_child is_singleton: false name: tsort_each_child params: (node) {|child| ...} visibility: public ri/1.8/system/Sync_m/new-c.yaml 0000644 00000000245 15217654524 0012151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Sync_m::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/Sync_m/sync_locked%3f-i.yaml 0000644 00000000340 15217654524 0014155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: accessing full_name: Sync_m#sync_locked? is_singleton: false name: sync_locked? params: () visibility: public ri/1.8/system/Sync_m/define_aliases-c.yaml 0000644 00000000270 15217654524 0014311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Sync_m::define_aliases is_singleton: true name: define_aliases params: (cl) visibility: public ri/1.8/system/Sync_m/extend_object-c.yaml 0000644 00000000267 15217654524 0014201 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Sync_m::extend_object is_singleton: true name: extend_object params: (obj) visibility: public ri/1.8/system/Sync_m/sync_extended-i.yaml 0000644 00000000264 15217654524 0014223 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Sync_m#sync_extended is_singleton: false name: sync_extended params: () visibility: public ri/1.8/system/Sync_m/sync_synchronize-i.yaml 0000644 00000000316 15217654524 0014774 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: full_name: Sync_m#sync_synchronize is_singleton: false name: sync_synchronize params: (mode = EX) {|| ...} visibility: public ri/1.8/system/Sync_m/sync_shared%3f-i.yaml 0000644 00000000262 15217654524 0014165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Sync_m#sync_shared? is_singleton: false name: sync_shared? params: () visibility: public ri/1.8/system/Sync_m/sync_lock-i.yaml 0000644 00000000262 15217654524 0013351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Sync_m#sync_lock is_singleton: false name: sync_lock params: (m = EX) visibility: public ri/1.8/system/Sync_m/cdesc-Sync_m.yaml 0000644 00000003270 15217654524 0013450 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: sync_ex_count rw: RW - !ruby/object:RI::Attribute comment: name: sync_ex_locker rw: RW - !ruby/object:RI::Attribute comment: name: sync_mode rw: RW - !ruby/object:RI::Attribute comment: name: sync_sh_locker rw: RW - !ruby/object:RI::Attribute comment: name: sync_upgrade_waiting rw: RW - !ruby/object:RI::Attribute comment: name: sync_waiting rw: RW class_methods: - !ruby/object:RI::MethodSummary name: append_features - !ruby/object:RI::MethodSummary name: define_aliases - !ruby/object:RI::MethodSummary name: extend_object - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: RCS_ID value: "'-$Header$-'" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: lock mode name: UN value: ":UN" - !ruby/object:RI::Constant comment: name: SH value: ":SH" - !ruby/object:RI::Constant comment: name: EX value: ":EX" full_name: Sync_m includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: sync_exclusive? - !ruby/object:RI::MethodSummary name: sync_extended - !ruby/object:RI::MethodSummary name: sync_initialize - !ruby/object:RI::MethodSummary name: sync_lock - !ruby/object:RI::MethodSummary name: sync_locked? - !ruby/object:RI::MethodSummary name: sync_shared? - !ruby/object:RI::MethodSummary name: sync_synchronize - !ruby/object:RI::MethodSummary name: sync_try_lock - !ruby/object:RI::MethodSummary name: sync_try_lock_sub - !ruby/object:RI::MethodSummary name: sync_unlock name: Sync_m superclass: ri/1.8/system/Sync_m/sync_initialize-i.yaml 0000644 00000000271 15217654524 0014562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Sync_m#sync_initialize is_singleton: false name: sync_initialize params: () visibility: private ri/1.8/system/Sync_m/sync_exclusive%3f-i.yaml 0000644 00000000270 15217654524 0014725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Sync_m#sync_exclusive? is_singleton: false name: sync_exclusive? params: () visibility: public ri/1.8/system/Sync_m/sync_try_lock-i.yaml 0000644 00000000362 15217654524 0014250 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: locking methods. full_name: Sync_m#sync_try_lock is_singleton: false name: sync_try_lock params: (mode = EX) visibility: public ri/1.8/system/Sync_m/sync_try_lock_sub-i.yaml 0000644 00000000276 15217654524 0015125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Sync_m#sync_try_lock_sub is_singleton: false name: sync_try_lock_sub params: (m) visibility: private ri/1.8/system/Sync_m/Err/UnknownLocker/Fail-c.yaml 0000644 00000000270 15217654524 0015560 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Sync_m::Err::UnknownLocker::Fail is_singleton: true name: Fail params: (th) visibility: public ri/1.8/system/Sync_m/Err/UnknownLocker/cdesc-UnknownLocker.yaml 0000644 00000000531 15217654524 0020343 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: Fail comment: constants: - !ruby/object:RI::Constant comment: name: Message value: "\"Thread(%s) not locked.\"" full_name: Sync_m::Err::UnknownLocker includes: [] instance_methods: [] name: UnknownLocker superclass: Err ri/1.8/system/Sync_m/Err/LockModeFailer/cdesc-LockModeFailer.yaml 0000644 00000000532 15217654524 0020406 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: Fail comment: constants: - !ruby/object:RI::Constant comment: name: Message value: "\"Unknown lock mode(%s)\"" full_name: Sync_m::Err::LockModeFailer includes: [] instance_methods: [] name: LockModeFailer superclass: Err ri/1.8/system/Sync_m/Err/LockModeFailer/Fail-c.yaml 0000644 00000000273 15217654524 0015604 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Sync_m::Err::LockModeFailer::Fail is_singleton: true name: Fail params: (mode) visibility: public ri/1.8/system/Sync_m/Err/cdesc-Err.yaml 0000644 00000000435 15217654524 0013500 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: Fail comment: - !ruby/struct:SM::Flow::P body: exceptions constants: [] full_name: Sync_m::Err includes: [] instance_methods: [] name: Err superclass: StandardError ri/1.8/system/Sync_m/Err/Fail-c.yaml 0000644 00000000253 15217654524 0012762 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Sync_m::Err::Fail is_singleton: true name: Fail params: (*opt) visibility: public ri/1.8/system/Sync_m/sync_unlock-i.yaml 0000644 00000000266 15217654524 0013720 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Sync_m#sync_unlock is_singleton: false name: sync_unlock params: (m = EX) visibility: public ri/1.8/system/Sync_m/append_features-c.yaml 0000644 00000000272 15217654524 0014525 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Sync_m::append_features is_singleton: true name: append_features params: (cl) visibility: public ri/1.8/system/String/kconv-i.yaml 0000644 00000001037 15217654524 0012524 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert self to out_code. out_code and in_code are given as constants of Kconv. - !ruby/struct:SM::Flow::P body: Note This method decode MIME encoded string and convert halfwidth katakana to fullwidth katakana. If you don't want to decode them, use NKF.nkf. full_name: String#kconv is_singleton: false name: kconv params: | String#kconv(out_code, in_code = Kconv::AUTO) visibility: public ri/1.8/system/String/shellescape-i.yaml 0000644 00000000556 15217654524 0013701 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Escapes str so that it can be safely used in a Bourne shell command line. See +Shellwords::shellescape+ for details. full_name: String#shellescape is_singleton: false name: shellescape params: | str.shellescape => string visibility: public ri/1.8/system/String/new-c.yaml 0000644 00000000445 15217654524 0012171 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new string object containing a copy of str. full_name: String::new is_singleton: true name: new params: | String.new(str="") => new_str visibility: public ri/1.8/system/String/scan-i.yaml 0000644 00000003043 15217654524 0012327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Both forms iterate through str, matching the pattern (which may be a Regexp or a String). For each match, a result is generated and either added to the result array or passed to the block. If the pattern contains no groups, each individual result consists of the matched string, $&. If the pattern contains groups, each individual result is itself an array containing one entry per group. - !ruby/struct:SM::Flow::VERB body: " a = "cruel world"\n a.scan(/\\w+/) #=> ["cruel", "world"]\n a.scan(/.../) #=> ["cru", "el ", "wor"]\n a.scan(/(...)/) #=> [["cru"], ["el "], ["wor"]]\n a.scan(/(..)(..)/) #=> [["cr", "ue"], ["l ", "wo"]]\n" - !ruby/struct:SM::Flow::P body: "And the block form:" - !ruby/struct:SM::Flow::VERB body: " a.scan(/\\w+/) {|w| print "<<#{w}>> " }\n print "\\n"\n a.scan(/(.)(.)/) {|x,y| print y, x }\n print "\\n"\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " <<cruel>> <<world>>\n rceu lowlr\n" full_name: String#scan is_singleton: false name: scan params: | str.scan(pattern) => array str.scan(pattern) {|match, ...| block } => str visibility: public ri/1.8/system/String/concat-i.yaml 0000644 00000001237 15217654524 0012655 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Append---Concatenates the given object to str. If the object is a Fixnum between 0 and 255, it is converted to a character before concatenation. - !ruby/struct:SM::Flow::VERB body: " a = "hello "\n a << "world" #=> "hello world"\n a.concat(33) #=> "hello world!"\n" full_name: String#concat is_singleton: false name: concat params: | str << fixnum => str str.concat(fixnum) => str str << obj => str str.concat(obj) => str visibility: public ri/1.8/system/String/_regex_quote-i.yaml 0000644 00000000266 15217654524 0014075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: String#_regex_quote is_singleton: false name: _regex_quote params: (str) visibility: private ri/1.8/system/String/to_s-i.yaml 0000644 00000000410 15217654524 0012342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the receiver. full_name: String#to_s is_singleton: false name: to_s params: | str.to_s => str str.to_str => str visibility: public ri/1.8/system/String/tr%21-i.yaml 0000644 00000000575 15217654524 0012247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Translates str in place, using the same rules as String#tr. Returns str, or nil if no changes were made. full_name: String#tr! is_singleton: false name: tr! params: | str.tr!(from_str, to_str) => str or nil visibility: public ri/1.8/system/String/%2b-i.yaml 0000644 00000000700 15217654524 0011750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Concatenation---Returns a new String containing other_str concatenated to str. - !ruby/struct:SM::Flow::VERB body: " "Hello from " + self.to_s #=> "Hello from main"\n" full_name: String#+ is_singleton: false name: + params: | str + other_str => new_str visibility: public ri/1.8/system/String/sub%21-i.yaml 0000644 00000000676 15217654524 0012415 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Performs the substitutions of String#sub in place, returning str, or nil if no substitutions were performed. full_name: String#sub! is_singleton: false name: sub! params: | str.sub!(pattern, replacement) => str or nil str.sub!(pattern) {|match| block } => str or nil visibility: public ri/1.8/system/String/crypt-i.yaml 0000644 00000000723 15217654524 0012546 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Applies a one-way cryptographic hash to str by invoking the standard library function crypt. The argument is the salt string, which should be two characters long, each character drawn from [a-zA-Z0-9./]. full_name: String#crypt is_singleton: false name: crypt params: | str.crypt(other_str) => new_str visibility: public ri/1.8/system/String/delete-i.yaml 0000644 00000001431 15217654524 0012644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a copy of str with all characters in the intersection of its arguments deleted. Uses the same rules for building the set of characters as String#count. - !ruby/struct:SM::Flow::VERB body: " "hello".delete "l","lo" #=> "heo"\n "hello".delete "lo" #=> "he"\n "hello".delete "aeiou", "^e" #=> "hell"\n "hello".delete "ej-m" #=> "ho"\n" full_name: String#delete is_singleton: false name: delete params: | str.delete([other_str]+) => new_str visibility: public ri/1.8/system/String/%3c%3c-i.yaml 0000644 00000001231 15217654524 0012245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Append---Concatenates the given object to str. If the object is a Fixnum between 0 and 255, it is converted to a character before concatenation. - !ruby/struct:SM::Flow::VERB body: " a = "hello "\n a << "world" #=> "hello world"\n a.concat(33) #=> "hello world!"\n" full_name: String#<< is_singleton: false name: "<<" params: | str << fixnum => str str.concat(fixnum) => str str << obj => str str.concat(obj) => str visibility: public ri/1.8/system/String/isutf8-i.yaml 0000644 00000000601 15217654524 0012622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns whether self's encoding is UTF-8 or not. - !ruby/struct:SM::Flow::P body: Note don't expect this return value is MatchData. full_name: String#isutf8 is_singleton: false name: isutf8 params: | String#isutf8 -> obj or nil visibility: public ri/1.8/system/String/chomp-i.yaml 0000644 00000002063 15217654524 0012512 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new String with the given record separator removed from the end of str (if present). If $/ has not been changed from the default Ruby record separator, then chomp also removes carriage return characters (that is it will remove \n, \r, and \r\n). - !ruby/struct:SM::Flow::VERB body: " "hello".chomp #=> "hello"\n "hello\\n".chomp #=> "hello"\n "hello\\r\\n".chomp #=> "hello"\n "hello\\n\\r".chomp #=> "hello\\n"\n "hello\\r".chomp #=> "hello"\n "hello \\n there".chomp #=> "hello \\n there"\n "hello".chomp("llo") #=> "he"\n" full_name: String#chomp is_singleton: false name: chomp params: | str.chomp(separator=$/) => new_str visibility: public ri/1.8/system/String/jcount-i.yaml 0000644 00000000251 15217654524 0012703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: String#jcount is_singleton: false name: jcount params: (str) visibility: public ri/1.8/system/String/each_line-i.yaml 0000644 00000002322 15217654524 0013311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Splits str using the supplied parameter as the record separator ($/ by default), passing each substring in turn to the supplied block. If a zero-length record separator is supplied, the string is split into paragraphs delimited by multiple successive newlines. - !ruby/struct:SM::Flow::VERB body: " print "Example one\\n"\n "hello\\nworld".each {|s| p s}\n print "Example two\\n"\n "hello\\nworld".each('l') {|s| p s}\n print "Example three\\n"\n "hello\\n\\n\\nworld".each('') {|s| p s}\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Example one\n "hello\\n"\n "world"\n Example two\n "hel"\n "l"\n "o\\nworl"\n "d"\n Example three\n "hello\\n\\n\\n"\n "world"\n" full_name: String#each_line is_singleton: false name: each_line params: | str.each(separator=$/) {|substr| block } => str str.each_line(separator=$/) {|substr| block } => str visibility: public ri/1.8/system/String/index-i.yaml 0000644 00000001673 15217654524 0012521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the index of the first occurrence of the given substring, character (fixnum), or pattern (regexp) in str. Returns nil if not found. If the second parameter is present, it specifies the position in the string to begin the search. - !ruby/struct:SM::Flow::VERB body: " "hello".index('e') #=> 1\n "hello".index('lo') #=> 3\n "hello".index('a') #=> nil\n "hello".index(101) #=> 1\n "hello".index(/[aeiou]/, -3) #=> 4\n" full_name: String#index is_singleton: false name: index params: | str.index(substring [, offset]) => fixnum or nil str.index(fixnum [, offset]) => fixnum or nil str.index(regexp [, offset]) => fixnum or nil visibility: public ri/1.8/system/String/insert-i.yaml 0000644 00000001570 15217654524 0012712 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Inserts other_str before the character at the given index, modifying str. Negative indices count from the end of the string, and insert after the given character. The intent is insert aString so that it starts at the given index. - !ruby/struct:SM::Flow::VERB body: " "abcd".insert(0, 'X') #=> "Xabcd"\n "abcd".insert(3, 'X') #=> "abcXd"\n "abcd".insert(4, 'X') #=> "abcdX"\n "abcd".insert(-3, 'X') #=> "abXcd"\n "abcd".insert(-1, 'X') #=> "abcdX"\n" full_name: String#insert is_singleton: false name: insert params: | str.insert(index, other_str) => str visibility: public ri/1.8/system/String/chop-i.yaml 0000644 00000000242 15217654524 0012332 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: String#chop is_singleton: false name: chop params: () visibility: public ri/1.8/system/String/upcase%21-i.yaml 0000644 00000000500 15217654524 0013066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Upcases the contents of str, returning nil if no changes were made. full_name: String#upcase! is_singleton: false name: upcase! params: | str.upcase! => str or nil visibility: public ri/1.8/system/String/tr_s-i.yaml 0000644 00000000252 15217654524 0012351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: String#tr_s is_singleton: false name: tr_s params: (from, to) visibility: public ri/1.8/system/String/end_regexp-i.yaml 0000644 00000000256 15217654524 0013526 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: String#end_regexp is_singleton: false name: end_regexp params: () visibility: public ri/1.8/system/String/ljust-i.yaml 0000644 00000001343 15217654524 0012545 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: If integer is greater than the length of str, returns a new String of length integer with str left justified and padded with padstr; otherwise, returns str. - !ruby/struct:SM::Flow::VERB body: " "hello".ljust(4) #=> "hello"\n "hello".ljust(20) #=> "hello "\n "hello".ljust(20, '1234') #=> "hello123412341234123"\n" full_name: String#ljust is_singleton: false name: ljust params: | str.ljust(integer, padstr=' ') => new_str visibility: public ri/1.8/system/String/mbchar%3f-i.yaml 0000644 00000000250 15217654524 0013132 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: String#mbchar? is_singleton: false name: mbchar? params: () visibility: public ri/1.8/system/String/tr-i.yaml 0000644 00000001664 15217654524 0012037 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a copy of str with the characters in from_str replaced by the corresponding characters in to_str. If to_str is shorter than from_str, it is padded with its last character. Both strings may use the c1--c2 notation to denote ranges of characters, and from_str may start with a ^, which denotes all characters except those listed. - !ruby/struct:SM::Flow::VERB body: " "hello".tr('aeiou', '*') #=> "h*ll*"\n "hello".tr('^aeiou', '*') #=> "e*o"\n "hello".tr('el', 'ip') #=> "hippo"\n "hello".tr('a-y', 'b-z') #=> "ifmmp"\n" full_name: String#tr is_singleton: false name: tr params: | str.tr(from_str, to_str) => new_str visibility: public ri/1.8/system/String/original_succ%21-i.yaml 0000644 00000000356 15217654524 0014440 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #succ!" full_name: String#original_succ! is_singleton: false name: original_succ! params: () visibility: private ri/1.8/system/String/capitalize-i.yaml 0000644 00000001101 15217654524 0013521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a copy of str with the first character converted to uppercase and the remainder to lowercase. - !ruby/struct:SM::Flow::VERB body: " "hello".capitalize #=> "Hello"\n "HELLO".capitalize #=> "Hello"\n "123ABC".capitalize #=> "123abc"\n" full_name: String#capitalize is_singleton: false name: capitalize params: | str.capitalize => new_str visibility: public ri/1.8/system/String/is_binary_data%3f-i.yaml 0000644 00000000270 15217654524 0014650 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: String#is_binary_data? is_singleton: false name: is_binary_data? params: () visibility: public ri/1.8/system/String/lstrip-i.yaml 0000644 00000001003 15217654524 0012712 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a copy of str with leading whitespace removed. See also String#rstrip and String#strip. - !ruby/struct:SM::Flow::VERB body: " " hello ".lstrip #=> "hello "\n "hello".lstrip #=> "hello"\n" full_name: String#lstrip is_singleton: false name: lstrip params: | str.lstrip => new_str visibility: public ri/1.8/system/String/unpack-i.yaml 0000644 00000017523 15217654524 0012674 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Decodes str (which may contain binary data) according to the format string, returning an array of each value extracted. The format string consists of a sequence of single-character directives, summarized in the table at the end of this entry. Each directive may be followed by a number, indicating the number of times to repeat with this directive. An asterisk (``*'') will use up all remaining elements. The directives sSiIlL may each be followed by an underscore (``_'') to use the underlying platform's native size for the specified type; otherwise, it uses a platform-independent consistent size. Spaces are ignored in the format string. See also Array#pack. - !ruby/struct:SM::Flow::VERB body: " "abc \\0\\0abc \\0\\0".unpack('A6Z6') #=> ["abc", "abc "]\n "abc \\0\\0".unpack('a3a3') #=> ["abc", " \\000\\000"]\n "abc \\0abc \\0".unpack('Z*Z*') #=> ["abc ", "abc "]\n "aa".unpack('b8B8') #=> ["10000110", "01100001"]\n "aaa".unpack('h2H2c') #=> ["16", "61", 97]\n "\\xfe\\xff\\xfe\\xff".unpack('sS') #=> [-2, 65534]\n "now=20is".unpack('M*') #=> ["now is"]\n "whole".unpack('xax2aX2aX1aX2a') #=> ["h", "e", "l", "l", "o"]\n" - !ruby/struct:SM::Flow::P body: This table summarizes the various formats and the Ruby classes returned by each. - !ruby/struct:SM::Flow::VERB body: " Format | Returns | Function\n -------+---------+-----------------------------------------\n A | String | with trailing nulls and spaces removed\n -------+---------+-----------------------------------------\n a | String | string\n -------+---------+-----------------------------------------\n B | String | extract bits from each character (msb first)\n -------+---------+-----------------------------------------\n b | String | extract bits from each character (lsb first)\n -------+---------+-----------------------------------------\n C | Fixnum | extract a character as an unsigned integer\n -------+---------+-----------------------------------------\n c | Fixnum | extract a character as an integer\n -------+---------+-----------------------------------------\n d,D | Float | treat sizeof(double) characters as\n | | a native double\n -------+---------+-----------------------------------------\n E | Float | treat sizeof(double) characters as\n | | a double in little-endian byte order\n -------+---------+-----------------------------------------\n e | Float | treat sizeof(float) characters as\n | | a float in little-endian byte order\n -------+---------+-----------------------------------------\n f,F | Float | treat sizeof(float) characters as\n | | a native float\n -------+---------+-----------------------------------------\n G | Float | treat sizeof(double) characters as\n | | a double in network byte order\n -------+---------+-----------------------------------------\n g | Float | treat sizeof(float) characters as a\n | | float in network byte order\n -------+---------+-----------------------------------------\n H | String | extract hex nibbles from each character\n | | (most significant first)\n -------+---------+-----------------------------------------\n h | String | extract hex nibbles from each character\n | | (least significant first)\n -------+---------+-----------------------------------------\n I | Integer | treat sizeof(int) (modified by _)\n | | successive characters as an unsigned\n | | native integer\n -------+---------+-----------------------------------------\n i | Integer | treat sizeof(int) (modified by _)\n | | successive characters as a signed\n | | native integer\n -------+---------+-----------------------------------------\n L | Integer | treat four (modified by _) successive\n | | characters as an unsigned native\n | | long integer\n -------+---------+-----------------------------------------\n l | Integer | treat four (modified by _) successive\n | | characters as a signed native\n | | long integer\n -------+---------+-----------------------------------------\n M | String | quoted-printable\n -------+---------+-----------------------------------------\n m | String | base64-encoded\n -------+---------+-----------------------------------------\n N | Integer | treat four characters as an unsigned\n | | long in network byte order\n -------+---------+-----------------------------------------\n n | Fixnum | treat two characters as an unsigned\n | | short in network byte order\n -------+---------+-----------------------------------------\n P | String | treat sizeof(char *) characters as a\n | | pointer, and return \\emph{len} characters\n | | from the referenced location\n -------+---------+-----------------------------------------\n p | String | treat sizeof(char *) characters as a\n | | pointer to a null-terminated string\n -------+---------+-----------------------------------------\n Q | Integer | treat 8 characters as an unsigned\n | | quad word (64 bits)\n -------+---------+-----------------------------------------\n q | Integer | treat 8 characters as a signed\n | | quad word (64 bits)\n -------+---------+-----------------------------------------\n S | Fixnum | treat two (different if _ used)\n | | successive characters as an unsigned\n | | short in native byte order\n -------+---------+-----------------------------------------\n s | Fixnum | Treat two (different if _ used)\n | | successive characters as a signed short\n | | in native byte order\n -------+---------+-----------------------------------------\n U | Integer | UTF-8 characters as unsigned integers\n -------+---------+-----------------------------------------\n u | String | UU-encoded\n -------+---------+-----------------------------------------\n V | Fixnum | treat four characters as an unsigned\n | | long in little-endian byte order\n -------+---------+-----------------------------------------\n v | Fixnum | treat two characters as an unsigned\n | | short in little-endian byte order\n -------+---------+-----------------------------------------\n w | Integer | BER-compressed integer (see Array.pack)\n -------+---------+-----------------------------------------\n X | --- | skip backward one character\n -------+---------+-----------------------------------------\n x | --- | skip forward one character\n -------+---------+-----------------------------------------\n Z | String | with trailing nulls removed\n | | upto first null with *\n -------+---------+-----------------------------------------\n @ | --- | skip to the offset given by the\n | | length argument\n -------+---------+-----------------------------------------\n" full_name: String#unpack is_singleton: false name: unpack params: | str.unpack(format) => anArray visibility: public ri/1.8/system/String/bytes-i.yaml 0000644 00000000772 15217654524 0012537 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an enumerator that gives each byte in the string. If a block is given, it iterates over each byte in the string. - !ruby/struct:SM::Flow::VERB body: " "hello".bytes.to_a #=> [104, 101, 108, 108, 111]\n" full_name: String#bytes is_singleton: false name: bytes params: | str.bytes => anEnumerator str.bytes {|fixnum| block } => str visibility: public ri/1.8/system/String/intern-i.yaml 0000644 00000001560 15217654524 0012704 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the Symbol corresponding to str, creating the symbol if it did not previously exist. See Symbol#id2name. - !ruby/struct:SM::Flow::VERB body: " "Koala".intern #=> :Koala\n s = 'cat'.to_sym #=> :cat\n s == :cat #=> true\n s = '@cat'.to_sym #=> :@cat\n s == :@cat #=> true\n" - !ruby/struct:SM::Flow::P body: This can also be used to create symbols that cannot be represented using the :xxx notation. - !ruby/struct:SM::Flow::VERB body: " 'cat and dog'.to_sym #=> :"cat and dog"\n" full_name: String#intern is_singleton: false name: intern params: | str.intern => symbol str.to_sym => symbol visibility: public ri/1.8/system/String/%25-i.yaml 0000644 00000001357 15217654524 0011704 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Format---Uses str as a format specification, and returns the result of applying it to arg. If the format specification contains more than one substitution, then arg must be an Array containing the values to be substituted. See Kernel::sprintf for details of the format string. - !ruby/struct:SM::Flow::VERB body: " "%05d" % 123 #=> "00123"\n "%-5s: %08x" % [ "ID", self.id ] #=> "ID : 200e14d6"\n" full_name: String#% is_singleton: false name: "%" params: | str % arg => new_str visibility: public ri/1.8/system/String/downcase%21-i.yaml 0000644 00000000510 15217654524 0013412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Downcases the contents of str, returning nil if no changes were made. full_name: String#downcase! is_singleton: false name: downcase! params: | str.downcase! => str or nil visibility: public ri/1.8/system/String/hash-i.yaml 0000644 00000000425 15217654524 0012327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a hash based on the string's length and content. full_name: String#hash is_singleton: false name: hash params: | str.hash => fixnum visibility: public ri/1.8/system/String/to_i-i.yaml 0000644 00000002024 15217654524 0012333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the result of interpreting leading characters in str as an integer base base (between 2 and 36). Extraneous characters past the end of a valid number are ignored. If there is not a valid number at the start of str, 0 is returned. This method never raises an exception. - !ruby/struct:SM::Flow::VERB body: " "12345".to_i #=> 12345\n "99 red balloons".to_i #=> 99\n "0a".to_i #=> 0\n "0a".to_i(16) #=> 10\n "hello".to_i #=> 0\n "1100101".to_i(2) #=> 101\n "1100101".to_i(8) #=> 294977\n "1100101".to_i(10) #=> 1100101\n "1100101".to_i(16) #=> 17826049\n" full_name: String#to_i is_singleton: false name: to_i params: | str.to_i(base=10) => integer visibility: public ri/1.8/system/String/yaml_new-c.yaml 0000644 00000000273 15217654524 0013212 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: String::yaml_new is_singleton: true name: yaml_new params: ( klass, tag, val ) visibility: public ri/1.8/system/String/_expand_ch-i.yaml 0000644 00000000262 15217654524 0013473 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: String#_expand_ch is_singleton: false name: _expand_ch params: (str) visibility: private ri/1.8/system/String/%3c%3d%3e-i.yaml 0000644 00000002621 15217654524 0012547 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Comparison---Returns -1 if other_str is less than, 0 if other_str is equal to, and +1 if other_str is greater than str. If the strings are of different lengths, and the strings are equal when compared up to the shortest length, then the longer string is considered greater than the shorter one. If the variable $= is false, the comparison is based on comparing the binary values of each character in the string. In older versions of Ruby, setting $= allowed case-insensitive comparisons; this is now deprecated in favor of using String#casecmp. - !ruby/struct:SM::Flow::P body: <=> is the basis for the methods <, <=, >, >=, and between?, included from module Comparable. The method String#== does not use Comparable#==. - !ruby/struct:SM::Flow::VERB body: " "abcdef" <=> "abcde" #=> 1\n "abcdef" <=> "abcdef" #=> 0\n "abcdef" <=> "abcdefg" #=> -1\n "abcdef" <=> "ABCDEF" #=> 1\n" full_name: String#<=> is_singleton: false name: <=> params: | str <=> other_str => -1, 0, +1 visibility: public ri/1.8/system/String/block_scanf-i.yaml 0000644 00000000320 15217654524 0013642 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (current) comment: full_name: String#block_scanf is_singleton: false name: block_scanf params: (fstr,&b) {|current| ...} visibility: public ri/1.8/system/String/rindex-i.yaml 0000644 00000001762 15217654524 0012702 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the index of the last occurrence of the given substring, character (fixnum), or pattern (regexp) in str. Returns nil if not found. If the second parameter is present, it specifies the position in the string to end the search---characters beyond this point will not be considered. - !ruby/struct:SM::Flow::VERB body: " "hello".rindex('e') #=> 1\n "hello".rindex('l') #=> 3\n "hello".rindex('a') #=> nil\n "hello".rindex(101) #=> 1\n "hello".rindex(/[aeiou]/, -2) #=> 1\n" full_name: String#rindex is_singleton: false name: rindex params: | str.rindex(substring [, fixnum]) => fixnum or nil str.rindex(fixnum [, fixnum]) => fixnum or nil str.rindex(regexp [, fixnum]) => fixnum or nil visibility: public ri/1.8/system/String/tojis-i.yaml 0000644 00000000706 15217654524 0012536 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert self to ISO-2022-JP - !ruby/struct:SM::Flow::P body: Note This method decode MIME encoded string and convert halfwidth katakana to fullwidth katakana. If you don't want it, use NKF.nkf('-jxm0', str). full_name: String#tojis is_singleton: false name: tojis params: | String#tojis -> string visibility: public ri/1.8/system/String/each_char-i.yaml 0000644 00000001001 15217654524 0013270 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes each character in str to the given block. - !ruby/struct:SM::Flow::VERB body: " "hello".each_char {|c| print c, ' ' }\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " h e l l o\n" full_name: String#each_char is_singleton: false name: each_char params: | str.each_char {|cstr| block } => str visibility: public ri/1.8/system/String/is_complex_yaml%3f-i.yaml 0000644 00000000272 15217654524 0015066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: String#is_complex_yaml? is_singleton: false name: is_complex_yaml? params: () visibility: public ri/1.8/system/String/%5b%5d%3d-i.yaml 0000644 00000002331 15217654524 0012547 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Element Assignment---Replaces some or all of the content of str. The portion of the string affected is determined using the same criteria as String#[]. If the replacement string is not the same length as the text it is replacing, the string will be adjusted accordingly. If the regular expression or string is used as the index doesn't match a position in the string, IndexError is raised. If the regular expression form is used, the optional second Fixnum allows you to specify which portion of the match to replace (effectively using the MatchData indexing rules. The forms that take a Fixnum will raise an IndexError if the value is out of range; the Range form will raise a RangeError, and the Regexp and String forms will silently ignore the assignment. full_name: String#[]= is_singleton: false name: "[]=" params: | str[fixnum] = fixnum str[fixnum] = new_str str[fixnum, fixnum] = new_str str[range] = aString str[regexp] = new_str str[regexp, fixnum] = new_str str[other_str] = new_str visibility: public ri/1.8/system/String/each_byte-i.yaml 0000644 00000001010 15217654524 0013316 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes each byte in str to the given block. - !ruby/struct:SM::Flow::VERB body: " "hello".each_byte {|c| print c, ' ' }\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " 104 101 108 108 111\n" full_name: String#each_byte is_singleton: false name: each_byte params: | str.each_byte {|fixnum| block } => str visibility: public ri/1.8/system/String/to_sym-i.yaml 0000644 00000001560 15217654524 0012717 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the Symbol corresponding to str, creating the symbol if it did not previously exist. See Symbol#id2name. - !ruby/struct:SM::Flow::VERB body: " "Koala".intern #=> :Koala\n s = 'cat'.to_sym #=> :cat\n s == :cat #=> true\n s = '@cat'.to_sym #=> :@cat\n s == :@cat #=> true\n" - !ruby/struct:SM::Flow::P body: This can also be used to create symbols that cannot be represented using the :xxx notation. - !ruby/struct:SM::Flow::VERB body: " 'cat and dog'.to_sym #=> :"cat and dog"\n" full_name: String#to_sym is_singleton: false name: to_sym params: | str.intern => symbol str.to_sym => symbol visibility: public ri/1.8/system/String/shellsplit-i.yaml 0000644 00000000556 15217654524 0013574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Splits str into an array of tokens in the same way the UNIX Bourne shell does. See +Shellwords::shellsplit+ for details. full_name: String#shellsplit is_singleton: false name: shellsplit params: | str.shellsplit => array visibility: public ri/1.8/system/String/sub-i.yaml 0000644 00000003306 15217654524 0012176 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a copy of str with the first occurrence of pattern replaced with either replacement or the value of the block. The pattern will typically be a Regexp; if it is a String then no regular expression metacharacters will be interpreted (that is /\d/ will match a digit, but '\d' will match a backslash followed by a 'd'). - !ruby/struct:SM::Flow::P body: If the method call specifies replacement, special variables such as $& will not be useful, as substitution into the string occurs before the pattern match starts. However, the sequences \1, \2, etc., may be used. - !ruby/struct:SM::Flow::P body: In the block form, the current match string is passed in as a parameter, and variables such as $1, $2, $`, $&, and $' will be set appropriately. The value returned by the block will be substituted for the match on each call. - !ruby/struct:SM::Flow::P body: The result inherits any tainting in the original string or any supplied replacement string. - !ruby/struct:SM::Flow::VERB body: " "hello".sub(/[aeiou]/, '*') #=> "h*llo"\n "hello".sub(/([aeiou])/, '<\\1>') #=> "h<e>llo"\n "hello".sub(/./) {|s| s[0].to_s + ' ' } #=> "104 ello"\n" full_name: String#sub is_singleton: false name: sub params: | str.sub(pattern, replacement) => new_str str.sub(pattern) {|match| block } => new_str visibility: public ri/1.8/system/String/%5b%5d-i.yaml 0000644 00000004570 15217654524 0012262 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Element Reference---If passed a single Fixnum, returns the code of the character at that position. If passed two Fixnum objects, returns a substring starting at the offset given by the first, and a length given by the second. If given a range, a substring containing characters at offsets given by the range is returned. In all three cases, if an offset is negative, it is counted from the end of str. Returns nil if the initial offset falls outside the string, the length is negative, or the beginning of the range is greater than the end. - !ruby/struct:SM::Flow::P body: If a Regexp is supplied, the matching portion of str is returned. If a numeric parameter follows the regular expression, that component of the MatchData is returned instead. If a String is given, that string is returned if it occurs in str. In both cases, nil is returned if there is no match. - !ruby/struct:SM::Flow::VERB body: " a = "hello there"\n a[1] #=> 101\n a[1,3] #=> "ell"\n a[1..3] #=> "ell"\n a[-3,2] #=> "er"\n a[-4..-2] #=> "her"\n a[12..-1] #=> nil\n a[-2..-4] #=> ""\n a[/[aeiou](.)\\1/] #=> "ell"\n a[/[aeiou](.)\\1/, 0] #=> "ell"\n a[/[aeiou](.)\\1/, 1] #=> "l"\n a[/[aeiou](.)\\1/, 2] #=> nil\n a["lo"] #=> "lo"\n a["bye"] #=> nil\n" full_name: String#[] is_singleton: false name: "[]" params: | str[fixnum] => fixnum or nil str[fixnum, fixnum] => new_str or nil str[range] => new_str or nil str[regexp] => new_str or nil str[regexp, fixnum] => new_str or nil str[other_str] => new_str or nil str.slice(fixnum) => fixnum or nil str.slice(fixnum, fixnum) => new_str or nil str.slice(range) => new_str or nil str.slice(regexp) => new_str or nil str.slice(regexp, fixnum) => new_str or nil str.slice(other_str) => new_str or nil visibility: public ri/1.8/system/String/upcase-i.yaml 0000644 00000000777 15217654524 0012676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a copy of str with all lowercase letters replaced with their uppercase counterparts. The operation is locale insensitive---only characters ``a'' to ``z'' are affected. - !ruby/struct:SM::Flow::VERB body: " "hEllO".upcase #=> "HELLO"\n" full_name: String#upcase is_singleton: false name: upcase params: | str.upcase => new_str visibility: public ri/1.8/system/String/rstrip-i.yaml 0000644 00000001004 15217654524 0012721 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a copy of str with trailing whitespace removed. See also String#lstrip and String#strip. - !ruby/struct:SM::Flow::VERB body: " " hello ".rstrip #=> " hello"\n "hello".rstrip #=> "hello"\n" full_name: String#rstrip is_singleton: false name: rstrip params: | str.rstrip => new_str visibility: public ri/1.8/system/String/cdesc-String.yaml 0000644 00000020464 15217654524 0013510 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: yaml_new comment: - !ruby/struct:SM::Flow::P body: A String object holds and manipulates an arbitrary sequence of bytes, typically representing characters. String objects may be created using String::new or as literals. - !ruby/struct:SM::Flow::P body: Because of aliasing issues, users of strings should be aware of the methods that modify the contents of a String object. Typically, methods with names ending in ``!'' modify their receiver, while those without a ``!'' return a new String. However, there are exceptions, such as String#[]=. constants: - !ruby/object:RI::Constant comment: name: PATTERN_SJIS value: "'[\\x81-\\x9f\\xe0-\\xef][\\x40-\\x7e\\x80-\\xfc]'" - !ruby/object:RI::Constant comment: name: PATTERN_EUC value: "'[\\xa1-\\xfe][\\xa1-\\xfe]'" - !ruby/object:RI::Constant comment: name: PATTERN_UTF8 value: "'[\\xc0-\\xdf][\\x80-\\xbf]|[\\xe0-\\xef][\\x80-\\xbf][\\x80-\\xbf]'" - !ruby/object:RI::Constant comment: name: RE_SJIS value: Regexp.new(PATTERN_SJIS, 0, 'n') - !ruby/object:RI::Constant comment: name: RE_EUC value: Regexp.new(PATTERN_EUC, 0, 'n') - !ruby/object:RI::Constant comment: name: RE_UTF8 value: Regexp.new(PATTERN_UTF8, 0, 'n') - !ruby/object:RI::Constant comment: name: SUCC value: "{}" - !ruby/object:RI::Constant comment: name: HashCache value: "{}" - !ruby/object:RI::Constant comment: name: TrPatternCache value: "{}" - !ruby/object:RI::Constant comment: name: DeletePatternCache value: "{}" - !ruby/object:RI::Constant comment: name: SqueezePatternCache value: "{}" full_name: String includes: - !ruby/object:RI::IncludedModule name: Comparable - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: "%" - !ruby/object:RI::MethodSummary name: "*" - !ruby/object:RI::MethodSummary name: + - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: =~ - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: _expand_ch - !ruby/object:RI::MethodSummary name: _regex_quote - !ruby/object:RI::MethodSummary name: block_scanf - !ruby/object:RI::MethodSummary name: bytes - !ruby/object:RI::MethodSummary name: bytesize - !ruby/object:RI::MethodSummary name: capitalize - !ruby/object:RI::MethodSummary name: capitalize! - !ruby/object:RI::MethodSummary name: casecmp - !ruby/object:RI::MethodSummary name: center - !ruby/object:RI::MethodSummary name: chars - !ruby/object:RI::MethodSummary name: chomp - !ruby/object:RI::MethodSummary name: chomp! - !ruby/object:RI::MethodSummary name: chop - !ruby/object:RI::MethodSummary name: chop - !ruby/object:RI::MethodSummary name: chop! - !ruby/object:RI::MethodSummary name: chop! - !ruby/object:RI::MethodSummary name: concat - !ruby/object:RI::MethodSummary name: count - !ruby/object:RI::MethodSummary name: crypt - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: delete! - !ruby/object:RI::MethodSummary name: delete! - !ruby/object:RI::MethodSummary name: downcase - !ruby/object:RI::MethodSummary name: downcase! - !ruby/object:RI::MethodSummary name: dump - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: each_byte - !ruby/object:RI::MethodSummary name: each_char - !ruby/object:RI::MethodSummary name: each_char - !ruby/object:RI::MethodSummary name: each_line - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: end_regexp - !ruby/object:RI::MethodSummary name: end_with? - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: expand_ch_hash - !ruby/object:RI::MethodSummary name: gsub - !ruby/object:RI::MethodSummary name: gsub! - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: hex - !ruby/object:RI::MethodSummary name: include? - !ruby/object:RI::MethodSummary name: index - !ruby/object:RI::MethodSummary name: initialize_copy - !ruby/object:RI::MethodSummary name: insert - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: intern - !ruby/object:RI::MethodSummary name: is_binary_data? - !ruby/object:RI::MethodSummary name: is_complex_yaml? - !ruby/object:RI::MethodSummary name: iseuc - !ruby/object:RI::MethodSummary name: issjis - !ruby/object:RI::MethodSummary name: isutf8 - !ruby/object:RI::MethodSummary name: jcount - !ruby/object:RI::MethodSummary name: jlength - !ruby/object:RI::MethodSummary name: jsize - !ruby/object:RI::MethodSummary name: kconv - !ruby/object:RI::MethodSummary name: length - !ruby/object:RI::MethodSummary name: lines - !ruby/object:RI::MethodSummary name: ljust - !ruby/object:RI::MethodSummary name: lstrip - !ruby/object:RI::MethodSummary name: lstrip! - !ruby/object:RI::MethodSummary name: match - !ruby/object:RI::MethodSummary name: mbchar? - !ruby/object:RI::MethodSummary name: next - !ruby/object:RI::MethodSummary name: next! - !ruby/object:RI::MethodSummary name: oct - !ruby/object:RI::MethodSummary name: original_succ - !ruby/object:RI::MethodSummary name: original_succ! - !ruby/object:RI::MethodSummary name: partition - !ruby/object:RI::MethodSummary name: replace - !ruby/object:RI::MethodSummary name: reverse - !ruby/object:RI::MethodSummary name: reverse! - !ruby/object:RI::MethodSummary name: rindex - !ruby/object:RI::MethodSummary name: rjust - !ruby/object:RI::MethodSummary name: rpartition - !ruby/object:RI::MethodSummary name: rstrip - !ruby/object:RI::MethodSummary name: rstrip! - !ruby/object:RI::MethodSummary name: scan - !ruby/object:RI::MethodSummary name: scanf - !ruby/object:RI::MethodSummary name: shellescape - !ruby/object:RI::MethodSummary name: shellsplit - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: slice - !ruby/object:RI::MethodSummary name: slice! - !ruby/object:RI::MethodSummary name: split - !ruby/object:RI::MethodSummary name: squeeze - !ruby/object:RI::MethodSummary name: squeeze - !ruby/object:RI::MethodSummary name: squeeze! - !ruby/object:RI::MethodSummary name: squeeze! - !ruby/object:RI::MethodSummary name: start_with? - !ruby/object:RI::MethodSummary name: strip - !ruby/object:RI::MethodSummary name: strip! - !ruby/object:RI::MethodSummary name: sub - !ruby/object:RI::MethodSummary name: sub! - !ruby/object:RI::MethodSummary name: succ - !ruby/object:RI::MethodSummary name: succ - !ruby/object:RI::MethodSummary name: succ! - !ruby/object:RI::MethodSummary name: succ! - !ruby/object:RI::MethodSummary name: sum - !ruby/object:RI::MethodSummary name: swapcase - !ruby/object:RI::MethodSummary name: swapcase! - !ruby/object:RI::MethodSummary name: to_f - !ruby/object:RI::MethodSummary name: to_i - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_str - !ruby/object:RI::MethodSummary name: to_sym - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: toeuc - !ruby/object:RI::MethodSummary name: tojis - !ruby/object:RI::MethodSummary name: tosjis - !ruby/object:RI::MethodSummary name: toutf16 - !ruby/object:RI::MethodSummary name: toutf8 - !ruby/object:RI::MethodSummary name: tr - !ruby/object:RI::MethodSummary name: tr - !ruby/object:RI::MethodSummary name: tr! - !ruby/object:RI::MethodSummary name: tr! - !ruby/object:RI::MethodSummary name: tr_s - !ruby/object:RI::MethodSummary name: tr_s - !ruby/object:RI::MethodSummary name: tr_s! - !ruby/object:RI::MethodSummary name: tr_s! - !ruby/object:RI::MethodSummary name: unpack - !ruby/object:RI::MethodSummary name: upcase - !ruby/object:RI::MethodSummary name: upcase! - !ruby/object:RI::MethodSummary name: upto name: String superclass: Object ri/1.8/system/String/partition-i.yaml 0000644 00000001376 15217654524 0013423 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Searches the string for sep and returns the part before it, the sep, and the part after it. If sep is not found, returns str and two empty strings. If no argument is given, Enumerable#partition is called. - !ruby/struct:SM::Flow::VERB body: " "hello".partition("l") #=> ["he", "l", "lo"]\n "hello".partition("x") #=> ["hello", "", ""]\n" full_name: String#partition is_singleton: false name: partition params: | str.partition(sep) => [head, sep, tail] visibility: public ri/1.8/system/String/jsize-i.yaml 0000644 00000000335 15217654524 0012530 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #jlength" full_name: String#jsize is_singleton: false name: jsize params: () visibility: public ri/1.8/system/String/iseuc-i.yaml 0000644 00000000577 15217654524 0012524 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns whether self's encoding is EUC-JP or not. - !ruby/struct:SM::Flow::P body: Note don't expect this return value is MatchData. full_name: String#iseuc is_singleton: false name: iseuc params: | String#iseuc -> obj or nil visibility: public ri/1.8/system/String/strip%21-i.yaml 0000644 00000000530 15217654524 0012752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes leading and trailing whitespace from str. Returns nil if str was not altered. full_name: String#strip! is_singleton: false name: strip! params: | str.strip! => str or nil visibility: public ri/1.8/system/String/swapcase%21-i.yaml 0000644 00000000575 15217654524 0013430 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to String#swapcase, but modifies the receiver in place, returning str, or nil if no changes were made. full_name: String#swapcase! is_singleton: false name: swapcase! params: | str.swapcase! => str or nil visibility: public ri/1.8/system/String/reverse-i.yaml 0000644 00000000635 15217654524 0013062 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new string with the characters from str in reverse order. - !ruby/struct:SM::Flow::VERB body: " "stressed".reverse #=> "desserts"\n" full_name: String#reverse is_singleton: false name: reverse params: | str.reverse => new_str visibility: public ri/1.8/system/String/bytesize-i.yaml 0000644 00000000414 15217654524 0013240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the length of str. full_name: String#bytesize is_singleton: false name: bytesize params: | str.length => integer visibility: public ri/1.8/system/String/swapcase-i.yaml 0000644 00000001051 15217654524 0013206 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a copy of str with uppercase alphabetic characters converted to lowercase and lowercase characters converted to uppercase. - !ruby/struct:SM::Flow::VERB body: " "Hello".swapcase #=> "hELLO"\n "cYbEr_PuNk11".swapcase #=> "CyBeR_pUnK11"\n" full_name: String#swapcase is_singleton: false name: swapcase params: | str.swapcase => new_str visibility: public ri/1.8/system/String/squeeze-i.yaml 0000644 00000001602 15217654524 0013063 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Builds a set of characters from the other_str parameter(s) using the procedure described for String#count. Returns a new string where runs of the same character that occur in this set are replaced by a single character. If no arguments are given, all runs of identical characters are replaced by a single character. - !ruby/struct:SM::Flow::VERB body: " "yellow moon".squeeze #=> "yelow mon"\n " now is the".squeeze(" ") #=> " now is the"\n "putters shoot balls".squeeze("m-z") #=> "puters shot balls"\n" full_name: String#squeeze is_singleton: false name: squeeze params: | str.squeeze([other_str]*) => new_str visibility: public ri/1.8/system/String/oct-i.yaml 0000644 00000001116 15217654524 0012167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Treats leading characters of str as a string of octal digits (with an optional sign) and returns the corresponding number. Returns 0 if the conversion fails. - !ruby/struct:SM::Flow::VERB body: " "123".oct #=> 83\n "-377".oct #=> -255\n "bad".oct #=> 0\n "0377bad".oct #=> 255\n" full_name: String#oct is_singleton: false name: oct params: | str.oct => integer visibility: public ri/1.8/system/String/size-i.yaml 0000644 00000000404 15217654524 0012353 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the length of str. full_name: String#size is_singleton: false name: size params: | str.length => integer visibility: public ri/1.8/system/String/toutf16-i.yaml 0000644 00000000711 15217654524 0012712 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert self to UTF-16 - !ruby/struct:SM::Flow::P body: Note This method decode MIME encoded string and convert halfwidth katakana to fullwidth katakana. If you don't want it, use NKF.nkf('-w16xm0', str). full_name: String#toutf16 is_singleton: false name: toutf16 params: | String#toutf16 -> string visibility: public ri/1.8/system/String/each-i.yaml 0000644 00000002310 15217654524 0012277 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Splits str using the supplied parameter as the record separator ($/ by default), passing each substring in turn to the supplied block. If a zero-length record separator is supplied, the string is split into paragraphs delimited by multiple successive newlines. - !ruby/struct:SM::Flow::VERB body: " print "Example one\\n"\n "hello\\nworld".each {|s| p s}\n print "Example two\\n"\n "hello\\nworld".each('l') {|s| p s}\n print "Example three\\n"\n "hello\\n\\n\\nworld".each('') {|s| p s}\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Example one\n "hello\\n"\n "world"\n Example two\n "hel"\n "l"\n "o\\nworl"\n "d"\n Example three\n "hello\\n\\n\\n"\n "world"\n" full_name: String#each is_singleton: false name: each params: | str.each(separator=$/) {|substr| block } => str str.each_line(separator=$/) {|substr| block } => str visibility: public ri/1.8/system/String/succ%21-i.yaml 0000644 00000000554 15217654524 0012554 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: original_succ! block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to String#succ, but modifies the receiver in place. full_name: String#succ! is_singleton: false name: succ! params: | str.succ! => str str.next! => str visibility: public ri/1.8/system/String/inspect-i.yaml 0000644 00000000674 15217654524 0013057 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a printable version of str, with special characters escaped. - !ruby/struct:SM::Flow::VERB body: " str = "hello"\n str[3] = 8\n str.inspect #=> "hel\\010o"\n" full_name: String#inspect is_singleton: false name: inspect params: | str.inspect => string visibility: public ri/1.8/system/String/original_succ-i.yaml 0000644 00000000353 15217654524 0014225 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #succ" full_name: String#original_succ is_singleton: false name: original_succ params: () visibility: private ri/1.8/system/String/jlength-i.yaml 0000644 00000000321 15217654524 0013032 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: jsize block_params: comment: full_name: String#jlength is_singleton: false name: jlength params: () visibility: public ri/1.8/system/String/chop%21-i.yaml 0000644 00000000244 15217654524 0012544 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: String#chop! is_singleton: false name: chop! params: () visibility: public ri/1.8/system/String/slice-i.yaml 0000644 00000004574 15217654524 0012514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Element Reference---If passed a single Fixnum, returns the code of the character at that position. If passed two Fixnum objects, returns a substring starting at the offset given by the first, and a length given by the second. If given a range, a substring containing characters at offsets given by the range is returned. In all three cases, if an offset is negative, it is counted from the end of str. Returns nil if the initial offset falls outside the string, the length is negative, or the beginning of the range is greater than the end. - !ruby/struct:SM::Flow::P body: If a Regexp is supplied, the matching portion of str is returned. If a numeric parameter follows the regular expression, that component of the MatchData is returned instead. If a String is given, that string is returned if it occurs in str. In both cases, nil is returned if there is no match. - !ruby/struct:SM::Flow::VERB body: " a = "hello there"\n a[1] #=> 101\n a[1,3] #=> "ell"\n a[1..3] #=> "ell"\n a[-3,2] #=> "er"\n a[-4..-2] #=> "her"\n a[12..-1] #=> nil\n a[-2..-4] #=> ""\n a[/[aeiou](.)\\1/] #=> "ell"\n a[/[aeiou](.)\\1/, 0] #=> "ell"\n a[/[aeiou](.)\\1/, 1] #=> "l"\n a[/[aeiou](.)\\1/, 2] #=> nil\n a["lo"] #=> "lo"\n a["bye"] #=> nil\n" full_name: String#slice is_singleton: false name: slice params: | str[fixnum] => fixnum or nil str[fixnum, fixnum] => new_str or nil str[range] => new_str or nil str[regexp] => new_str or nil str[regexp, fixnum] => new_str or nil str[other_str] => new_str or nil str.slice(fixnum) => fixnum or nil str.slice(fixnum, fixnum) => new_str or nil str.slice(range) => new_str or nil str.slice(regexp) => new_str or nil str.slice(regexp, fixnum) => new_str or nil str.slice(other_str) => new_str or nil visibility: public ri/1.8/system/String/gsub%21-i.yaml 0000644 00000000677 15217654524 0012565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Performs the substitutions of String#gsub in place, returning str, or nil if no substitutions were performed. full_name: String#gsub! is_singleton: false name: gsub! params: | str.gsub!(pattern, replacement) => str or nil str.gsub!(pattern) {|match| block } => str or nil visibility: public ri/1.8/system/String/lines-i.yaml 0000644 00000001202 15217654524 0012510 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an enumerator that gives each line in the string. If a block is given, it iterates over each line in the string. - !ruby/struct:SM::Flow::VERB body: " "foo\\nbar\\n".lines.to_a #=> ["foo\\n", "bar\\n"]\n "foo\\nb ar".lines.sort #=> ["b ar", "foo\\n"]\n" full_name: String#lines is_singleton: false name: lines params: | str.lines(separator=$/) => anEnumerator str.lines(separator=$/) {|substr| block } => str visibility: public ri/1.8/system/String/reverse%21-i.yaml 0000644 00000000406 15217654524 0013266 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reverses str in place. full_name: String#reverse! is_singleton: false name: reverse! params: | str.reverse! => str visibility: public ri/1.8/system/String/expand_ch_hash-i.yaml 0000644 00000000277 15217654524 0014345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: String#expand_ch_hash is_singleton: false name: expand_ch_hash params: (from, to) visibility: private ri/1.8/system/String/slice%21-i.yaml 0000644 00000002133 15217654524 0012711 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes the specified portion from str, and returns the portion deleted. The forms that take a Fixnum will raise an IndexError if the value is out of range; the Range form will raise a RangeError, and the Regexp and String forms will silently ignore the assignment. - !ruby/struct:SM::Flow::VERB body: " string = "this is a string"\n string.slice!(2) #=> 105\n string.slice!(3..6) #=> " is "\n string.slice!(/s.*t/) #=> "sa st"\n string.slice!("r") #=> "r"\n string #=> "thing"\n" full_name: String#slice! is_singleton: false name: slice! params: | str.slice!(fixnum) => fixnum or nil str.slice!(fixnum, fixnum) => new_str or nil str.slice!(range) => new_str or nil str.slice!(regexp) => new_str or nil str.slice!(other_str) => new_str or nil visibility: public ri/1.8/system/String/scanf-i.yaml 0000644 00000000253 15217654524 0012475 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: String#scanf is_singleton: false name: scanf params: (fstr,&b) visibility: public ri/1.8/system/String/issjis-i.yaml 0000644 00000000605 15217654524 0012710 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns whether self's encoding is Shift_JIS or not. - !ruby/struct:SM::Flow::P body: Note don't expect this return value is MatchData. full_name: String#issjis is_singleton: false name: issjis params: | String#issjis -> obj or nil visibility: public ri/1.8/system/String/downcase-i.yaml 0000644 00000001007 15217654524 0013204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a copy of str with all uppercase letters replaced with their lowercase counterparts. The operation is locale insensitive---only characters ``A'' to ``Z'' are affected. - !ruby/struct:SM::Flow::VERB body: " "hEllO".downcase #=> "hello"\n" full_name: String#downcase is_singleton: false name: downcase params: | str.downcase => new_str visibility: public ri/1.8/system/String/split-i.yaml 0000644 00000005520 15217654524 0012540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Divides str into substrings based on a delimiter, returning an array of these substrings. - !ruby/struct:SM::Flow::P body: If pattern is a String, then its contents are used as the delimiter when splitting str. If pattern is a single space, str is split on whitespace, with leading whitespace and runs of contiguous whitespace characters ignored. - !ruby/struct:SM::Flow::P body: If pattern is a Regexp, str is divided where the pattern matches. Whenever the pattern matches a zero-length string, str is split into individual characters. - !ruby/struct:SM::Flow::P body: If pattern is omitted, the value of $; is used. If $; is nil (which is the default), str is split on whitespace as if ` ' were specified. - !ruby/struct:SM::Flow::P body: If the limit parameter is omitted, trailing null fields are suppressed. If limit is a positive number, at most that number of fields will be returned (if limit is 1, the entire string is returned as the only entry in an array). If negative, there is no limit to the number of fields returned, and trailing null fields are not suppressed. - !ruby/struct:SM::Flow::VERB body: " " now's the time".split #=> ["now's", "the", "time"]\n " now's the time".split(' ') #=> ["now's", "the", "time"]\n " now's the time".split(/ /) #=> ["", "now's", "", "the", "time"]\n "1, 2.34,56, 7".split(%r{,\\s*}) #=> ["1", "2.34", "56", "7"]\n "hello".split(//) #=> ["h", "e", "l", "l", "o"]\n "hello".split(//, 3) #=> ["h", "e", "llo"]\n "hi mom".split(%r{\\s*}) #=> ["h", "i", "m", "o", "m"]\n\n "mellow yellow".split("ello") #=> ["m", "w y", "w"]\n "1,2,,3,4,,".split(',') #=> ["1", "2", "", "3", "4"]\n "1,2,,3,4,,".split(',', 4) #=> ["1", "2", "", "3,4,,"]\n "1,2,,3,4,,".split(',', -4) #=> ["1", "2", "", "3", "4", "", ""]\n" full_name: String#split is_singleton: false name: split params: | str.split(pattern=$;, [limit]) => anArray visibility: public ri/1.8/system/String/%2a-i.yaml 0000644 00000000635 15217654524 0011756 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Copy---Returns a new String containing integer copies of the receiver. - !ruby/struct:SM::Flow::VERB body: " "Ho! " * 3 #=> "Ho! Ho! Ho! "\n" full_name: String#* is_singleton: false name: "*" params: | str * integer => new_str visibility: public ri/1.8/system/String/strip-i.yaml 0000644 00000000733 15217654524 0012547 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a copy of str with leading and trailing whitespace removed. - !ruby/struct:SM::Flow::VERB body: " " hello ".strip #=> "hello"\n "\\tgoodbye\\r\\n".strip #=> "goodbye"\n" full_name: String#strip is_singleton: false name: strip params: | str.strip => new_str visibility: public ri/1.8/system/String/toutf8-i.yaml 0000644 00000000703 15217654524 0012634 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert self to UTF-8 - !ruby/struct:SM::Flow::P body: Note This method decode MIME encoded string and convert halfwidth katakana to fullwidth katakana. If you don't want it, use NKF.nkf('-wxm0', str). full_name: String#toutf8 is_singleton: false name: toutf8 params: | String#toutf8 -> string visibility: public ri/1.8/system/String/next-i.yaml 0000644 00000002426 15217654524 0012365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the successor to str. The successor is calculated by incrementing characters starting from the rightmost alphanumeric (or the rightmost character if there are no alphanumerics) in the string. Incrementing a digit always results in another digit, and incrementing a letter results in another letter of the same case. Incrementing nonalphanumerics uses the underlying character set's collating sequence. - !ruby/struct:SM::Flow::P body: If the increment generates a ``carry,'' the character to the left of it is incremented. This process repeats until there is no carry, adding an additional character if necessary. - !ruby/struct:SM::Flow::VERB body: " "abcd".succ #=> "abce"\n "THX1138".succ #=> "THX1139"\n "<<koala>>".succ #=> "<<koalb>>"\n "1999zzz".succ #=> "2000aaa"\n "ZZZ9999".succ #=> "AAAA0000"\n "***".succ #=> "**+"\n" full_name: String#next is_singleton: false name: next params: | str.succ => new_str str.next => new_str visibility: public ri/1.8/system/String/capitalize%21-i.yaml 0000644 00000001105 15217654524 0013735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Modifies str by converting the first character to uppercase and the remainder to lowercase. Returns nil if no changes are made. - !ruby/struct:SM::Flow::VERB body: " a = "hello"\n a.capitalize! #=> "Hello"\n a #=> "Hello"\n a.capitalize! #=> nil\n" full_name: String#capitalize! is_singleton: false name: capitalize! params: | str.capitalize! => str or nil visibility: public ri/1.8/system/String/lstrip%21-i.yaml 0000644 00000001032 15217654524 0013124 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes leading whitespace from str, returning nil if no change was made. See also String#rstrip! and String#strip!. - !ruby/struct:SM::Flow::VERB body: " " hello ".lstrip #=> "hello "\n "hello".lstrip! #=> nil\n" full_name: String#lstrip! is_singleton: false name: lstrip! params: | str.lstrip! => self or nil visibility: public ri/1.8/system/String/gsub-i.yaml 0000644 00000003450 15217654524 0012345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a copy of str with all occurrences of pattern replaced with either replacement or the value of the block. The pattern will typically be a Regexp; if it is a String then no regular expression metacharacters will be interpreted (that is /\d/ will match a digit, but '\d' will match a backslash followed by a 'd'). - !ruby/struct:SM::Flow::P body: If a string is used as the replacement, special variables from the match (such as $& and $1) cannot be substituted into it, as substitution into the string occurs before the pattern match starts. However, the sequences \1, \2, and so on may be used to interpolate successive groups in the match. - !ruby/struct:SM::Flow::P body: In the block form, the current match string is passed in as a parameter, and variables such as $1, $2, $`, $&, and $' will be set appropriately. The value returned by the block will be substituted for the match on each call. - !ruby/struct:SM::Flow::P body: The result inherits any tainting in the original string or any supplied replacement string. - !ruby/struct:SM::Flow::VERB body: " "hello".gsub(/[aeiou]/, '*') #=> "h*ll*"\n "hello".gsub(/([aeiou])/, '<\\1>') #=> "h<e>ll<o>"\n "hello".gsub(/./) {|s| s[0].to_s + ' '} #=> "104 101 108 108 111 "\n" full_name: String#gsub is_singleton: false name: gsub params: | str.gsub(pattern, replacement) => new_str str.gsub(pattern) {|match| block } => new_str visibility: public ri/1.8/system/String/to_f-i.yaml 0000644 00000001275 15217654524 0012337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the result of interpreting leading characters in str as a floating point number. Extraneous characters past the end of a valid number are ignored. If there is not a valid number at the start of str, 0.0 is returned. This method never raises an exception. - !ruby/struct:SM::Flow::VERB body: " "123.45e1".to_f #=> 1234.5\n "45.67 degrees".to_f #=> 45.67\n "thx1138".to_f #=> 0.0\n" full_name: String#to_f is_singleton: false name: to_f params: | str.to_f => float visibility: public ri/1.8/system/String/sum-i.yaml 0000644 00000001017 15217654524 0012206 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a basic n-bit checksum of the characters in str, where n is the optional Fixnum parameter, defaulting to 16. The result is simply the sum of the binary value of each character in str modulo 2n - 1. This is not a particularly good checksum. full_name: String#sum is_singleton: false name: sum params: | str.sum(n=16) => integer visibility: public ri/1.8/system/String/length-i.yaml 0000644 00000000410 15217654524 0012657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the length of str. full_name: String#length is_singleton: false name: length params: | str.length => integer visibility: public ri/1.8/system/String/initialize_copy-i.yaml 0000644 00000001011 15217654524 0014567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Replaces the contents and taintedness of str with the corresponding values in other_str. - !ruby/struct:SM::Flow::VERB body: " s = "hello" #=> "hello"\n s.replace "world" #=> "world"\n" full_name: String#initialize_copy is_singleton: false name: initialize_copy params: | str.replace(other_str) => str visibility: public ri/1.8/system/String/upto-i.yaml 0000644 00000001650 15217654524 0012374 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates through successive values, starting at str and ending at other_str inclusive, passing each value in turn to the block. The String#succ method is used to generate each value. If optional second argument exclusive is omitted or is false, the last value will be included; otherwise it will be excluded. - !ruby/struct:SM::Flow::VERB body: " "a8".upto("b6") {|s| print s, ' ' }\n for s in "a8".."b6"\n print s, ' '\n end\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " a8 a9 b0 b1 b2 b3 b4 b5 b6\n a8 a9 b0 b1 b2 b3 b4 b5 b6\n" full_name: String#upto is_singleton: false name: upto params: | str.upto(other_str, exclusive=false) {|s| block } => str visibility: public ri/1.8/system/String/%3d%3d-i.yaml 0000644 00000000616 15217654524 0012255 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equality---If obj is not a String, returns false. Otherwise, returns true if str <=> obj returns zero. full_name: String#== is_singleton: false name: == params: | str == obj => true or false visibility: public ri/1.8/system/String/end_with%3f-i.yaml 0000644 00000000467 15217654524 0013511 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if str ends with the suffix given. full_name: String#end_with? is_singleton: false name: end_with? params: | str.end_with?([suffix]+) => true or false visibility: public ri/1.8/system/String/replace-i.yaml 0000644 00000000771 15217654524 0013023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Replaces the contents and taintedness of str with the corresponding values in other_str. - !ruby/struct:SM::Flow::VERB body: " s = "hello" #=> "hello"\n s.replace "world" #=> "world"\n" full_name: String#replace is_singleton: false name: replace params: | str.replace(other_str) => str visibility: public ri/1.8/system/String/tr_s%21-i.yaml 0000644 00000000572 15217654524 0012566 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Performs String#tr_s processing on str in place, returning str, or nil if no changes were made. full_name: String#tr_s! is_singleton: false name: tr_s! params: | str.tr_s!(from_str, to_str) => str or nil visibility: public ri/1.8/system/String/empty%3f-i.yaml 0000644 00000000647 15217654524 0013046 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if str has a length of zero. - !ruby/struct:SM::Flow::VERB body: " "hello".empty? #=> false\n "".empty? #=> true\n" full_name: String#empty? is_singleton: false name: empty? params: | str.empty? => true or false visibility: public ri/1.8/system/String/delete%21-i.yaml 0000644 00000000253 15217654525 0013056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: String#delete! is_singleton: false name: delete! params: (del) visibility: public ri/1.8/system/String/chars-i.yaml 0000644 00000001034 15217654525 0012502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an enumerator that gives each character in the string. If a block is given, it iterates over each character in the string. - !ruby/struct:SM::Flow::VERB body: " "foo".chars.to_a #=> ["f","o","o"]\n" full_name: String#chars is_singleton: false name: chars params: | str.chars => anEnumerator str.chars {|substr| block } => str visibility: public ri/1.8/system/String/hex-i.yaml 0000644 00000001145 15217654525 0012171 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Treats leading characters from str as a string of hexadecimal digits (with an optional sign and an optional 0x) and returns the corresponding number. Zero is returned on error. - !ruby/struct:SM::Flow::VERB body: " "0x0a".hex #=> 10\n "-1234".hex #=> -4660\n "0".hex #=> 0\n "wombat".hex #=> 0\n" full_name: String#hex is_singleton: false name: hex params: | str.hex => integer visibility: public ri/1.8/system/String/tosjis-i.yaml 0000644 00000000707 15217654525 0012723 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert self to Shift_JIS - !ruby/struct:SM::Flow::P body: Note This method decode MIME encoded string and convert halfwidth katakana to fullwidth katakana. If you don't want it, use NKF.nkf('-sxm0', str). full_name: String#tosjis is_singleton: false name: tosjis params: | String#tosjis -> string visibility: public ri/1.8/system/String/rpartition-i.yaml 0000644 00000001343 15217654525 0013600 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Searches sep in the string from the end of the string, and returns the part before it, the sep, and the part after it. If sep is not found, returns two empty strings and str. - !ruby/struct:SM::Flow::VERB body: " "hello".rpartition("l") #=> ["hel", "l", "o"]\n "hello".rpartition("x") #=> ["", "", "hello"]\n" full_name: String#rpartition is_singleton: false name: rpartition params: | str.rpartition(sep) => [head, sep, tail] visibility: public ri/1.8/system/String/casecmp-i.yaml 0000644 00000001122 15217654525 0013013 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Case-insensitive version of String#<=>. - !ruby/struct:SM::Flow::VERB body: " "abcdef".casecmp("abcde") #=> 1\n "aBcDeF".casecmp("abcdef") #=> 0\n "abcdef".casecmp("abcdefg") #=> -1\n "abcdef".casecmp("ABCDEF") #=> 0\n" full_name: String#casecmp is_singleton: false name: casecmp params: | str.casecmp(other_str) => -1, 0, +1 visibility: public ri/1.8/system/String/chomp%21-i.yaml 0000644 00000000603 15217654525 0012721 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Modifies str in place as described for String#chomp, returning str, or nil if no modifications were made. full_name: String#chomp! is_singleton: false name: chomp! params: | str.chomp!(separator=$/) => str or nil visibility: public ri/1.8/system/String/center-i.yaml 0000644 00000001326 15217654525 0012666 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: If integer is greater than the length of str, returns a new String of length integer with str centered and padded with padstr; otherwise, returns str. - !ruby/struct:SM::Flow::VERB body: " "hello".center(4) #=> "hello"\n "hello".center(20) #=> " hello "\n "hello".center(20, '123') #=> "1231231hello12312312"\n" full_name: String#center is_singleton: false name: center params: | str.center(integer, padstr) => new_str visibility: public ri/1.8/system/String/include%3f-i.yaml 0000644 00000001111 15217654525 0013317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if str contains the given string or character. - !ruby/struct:SM::Flow::VERB body: " "hello".include? "lo" #=> true\n "hello".include? "ol" #=> false\n "hello".include? ?h #=> true\n" full_name: String#include? is_singleton: false name: include? params: | str.include? other_str => true or false str.include? fixnum => true or false visibility: public ri/1.8/system/String/squeeze%21-i.yaml 0000644 00000000261 15217654525 0013274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: String#squeeze! is_singleton: false name: squeeze! params: (del=nil) visibility: public ri/1.8/system/String/rstrip%21-i.yaml 0000644 00000001033 15217654525 0013134 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes trailing whitespace from str, returning nil if no change was made. See also String#lstrip! and String#strip!. - !ruby/struct:SM::Flow::VERB body: " " hello ".rstrip #=> " hello"\n "hello".rstrip! #=> nil\n" full_name: String#rstrip! is_singleton: false name: rstrip! params: | str.rstrip! => self or nil visibility: public ri/1.8/system/String/to_yaml-i.yaml 0000644 00000000263 15217654525 0013051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: String#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/String/next%21-i.yaml 0000644 00000000472 15217654525 0012575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to String#succ, but modifies the receiver in place. full_name: String#next! is_singleton: false name: next! params: | str.succ! => str str.next! => str visibility: public ri/1.8/system/String/match-i.yaml 0000644 00000001176 15217654525 0012505 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts pattern to a Regexp (if it isn't already one), then invokes its match method on str. - !ruby/struct:SM::Flow::VERB body: " 'hello'.match('(.)\\1') #=> #<MatchData:0x401b3d30>\n 'hello'.match('(.)\\1')[0] #=> "ll"\n 'hello'.match(/(.)\\1/)[0] #=> "ll"\n 'hello'.match('xx') #=> nil\n" full_name: String#match is_singleton: false name: match params: | str.match(pattern) => matchdata or nil visibility: public ri/1.8/system/String/start_with%3f-i.yaml 0000644 00000000477 15217654525 0014102 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if str starts with the prefix given. full_name: String#start_with? is_singleton: false name: start_with? params: | str.start_with?([prefix]+) => true or false visibility: public ri/1.8/system/String/succ-i.yaml 0000644 00000000242 15217654525 0012337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: String#succ is_singleton: false name: succ params: () visibility: public ri/1.8/system/String/to_str-i.yaml 0000644 00000000414 15217654525 0012715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the receiver. full_name: String#to_str is_singleton: false name: to_str params: | str.to_s => str str.to_str => str visibility: public ri/1.8/system/String/count-i.yaml 0000644 00000001434 15217654525 0012536 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Each other_str parameter defines a set of characters to count. The intersection of these sets defines the characters to count in str. Any other_str that starts with a caret (^) is negated. The sequence c1--c2 means all characters between c1 and c2. - !ruby/struct:SM::Flow::VERB body: " a = "hello world"\n a.count "lo" #=> 5\n a.count "lo", "o" #=> 2\n a.count "hello", "^l" #=> 4\n a.count "ej-m" #=> 4\n" full_name: String#count is_singleton: false name: count params: | str.count([other_str]+) => fixnum visibility: public ri/1.8/system/String/eql%3f-i.yaml 0000644 00000000452 15217654525 0012464 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Two strings are equal if the have the same length and content. full_name: String#eql? is_singleton: false name: eql? params: | str.eql?(other) => true or false visibility: public ri/1.8/system/String/rjust-i.yaml 0000644 00000001344 15217654525 0012555 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: If integer is greater than the length of str, returns a new String of length integer with str right justified and padded with padstr; otherwise, returns str. - !ruby/struct:SM::Flow::VERB body: " "hello".rjust(4) #=> "hello"\n "hello".rjust(20) #=> " hello"\n "hello".rjust(20, '1234') #=> "123412341234123hello"\n" full_name: String#rjust is_singleton: false name: rjust params: | str.rjust(integer, padstr=' ') => new_str visibility: public ri/1.8/system/String/%3d%7e-i.yaml 0000644 00000001262 15217654525 0012261 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Match---If obj is a Regexp, use it as a pattern to match against str,and returns the position the match starts, or nil if there is no match. Otherwise, invokes obj.=~, passing str as an argument. The default =~ in Object returns false. - !ruby/struct:SM::Flow::VERB body: " "cat o' 9 tails" =~ /\\d/ #=> 7\n "cat o' 9 tails" =~ 9 #=> false\n" full_name: String#=~ is_singleton: false name: =~ params: | str =~ obj => fixnum or nil visibility: public ri/1.8/system/String/dump-i.yaml 0000644 00000000550 15217654525 0012351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Produces a version of str with all nonprinting characters replaced by \nnn notation and all special characters escaped. full_name: String#dump is_singleton: false name: dump params: | str.dump => new_str visibility: public ri/1.8/system/String/toeuc-i.yaml 0000644 00000000701 15217654525 0012521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert self to EUC-JP - !ruby/struct:SM::Flow::P body: Note This method decode MIME encoded string and convert halfwidth katakana to fullwidth katakana. If you don't want it, use NKF.nkf('-exm0', str). full_name: String#toeuc is_singleton: false name: toeuc params: | String#toeuc -> string visibility: public ri/1.8/system/BasicSocket/cdesc-BasicSocket.yaml 0000644 00000003406 15217654525 0015356 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Class Socket provides access to the underlying operating system socket implementations. It can be used to provide more operating system specific functionality than the protocol-specific socket classes but at the expense of greater complexity. In particular, the class handles addresses using +struct sockaddr+ structures packed into Ruby strings, which can be a joy to manipulate. - !ruby/struct:SM::Flow::H level: 3 text: Exception Handling - !ruby/struct:SM::Flow::P body: Ruby's implementation of Socket causes an exception to be raised based on the error generated by the system dependent implementation. This is why the methods are documented in a way that isolate Unix-based system exceptions from Windows based exceptions. If more information on particular exception is needed please refer to the Unix manual pages or the Windows WinSock reference. - !ruby/struct:SM::Flow::H level: 3 text: Documentation by - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Zach Dennis - !ruby/struct:SM::Flow::LI label: "*" body: Sam Roberts - !ruby/struct:SM::Flow::LI label: "*" body: Programming Ruby from The Pragmatic Bookshelf. type: :BULLET - !ruby/struct:SM::Flow::P body: Much material in this documentation is taken with permission from Programming Ruby from The Pragmatic Bookshelf. constants: [] full_name: BasicSocket includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: getsockopt - !ruby/object:RI::MethodSummary name: recv_nonblock - !ruby/object:RI::MethodSummary name: setsockopt name: BasicSocket superclass: IO ri/1.8/system/BasicSocket/recv_nonblock-i.yaml 0000644 00000003614 15217654525 0015160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Receives up to maxlen bytes from socket using recvfrom(2) after O_NONBLOCK is set for the underlying file descriptor. flags is zero or more of the MSG_ options. The result, mesg, is the data received. - !ruby/struct:SM::Flow::P body: "When recvfrom(2) returns 0, Socket#recv_nonblock returns an empty string as data. The meaning depends on the socket: EOF on TCP, empty packet on UDP, etc." - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: maxlen - the number of bytes to receive from the socket - !ruby/struct:SM::Flow::LI label: "*" body: flags - zero or more of the MSG_ options type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " serv = TCPServer.new("127.0.0.1", 0)\n af, port, host, addr = serv.addr\n c = TCPSocket.new(addr, port)\n s = serv.accept\n c.send "aaa", 0\n IO.select([s])\n p s.recv_nonblock(10) #=> "aaa"\n" - !ruby/struct:SM::Flow::P body: Refer to Socket#recvfrom for the exceptions that may be thrown if the call to recv_nonblock fails. - !ruby/struct:SM::Flow::P body: BasicSocket#recv_nonblock may raise any error corresponding to recvfrom(2) failure, including Errno::EAGAIN. - !ruby/struct:SM::Flow::H level: 3 text: See - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Socket#recvfrom type: :BULLET full_name: BasicSocket#recv_nonblock is_singleton: false name: recv_nonblock params: | basicsocket.recv_nonblock(maxlen) => mesg basicsocket.recv_nonblock(maxlen, flags) => mesg visibility: public ri/1.8/system/BasicSocket/setsockopt-i.yaml 0000644 00000005426 15217654525 0014535 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets a socket option. These are protocol and system specific, see your local sytem documentation for details. - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: level is an integer, usually one of the SOL_ constants such as Socket::SOL_SOCKET, or a protocol level. - !ruby/struct:SM::Flow::LI label: "*" body: optname is an integer, usually one of the SO_ constants, such as Socket::SO_REUSEADDR. - !ruby/struct:SM::Flow::LI label: "*" body: "optval is the value of the option, it is passed to the underlying setsockopt() as a pointer to a certain number of bytes. How this is done depends on the type:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "Fixnum: value is assigned to an int, and a pointer to the int is passed, with length of sizeof(int)." - !ruby/struct:SM::Flow::LI label: "-" body: "true or false: 1 or 0 (respectively) is assigned to an int, and the int is passed as for a Fixnum. Note that false must be passed, not nil." - !ruby/struct:SM::Flow::LI label: "-" body: "String: the string's data and length is passed to the socket." type: :BULLET type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Examples - !ruby/struct:SM::Flow::P body: "Some socket options are integers with boolean values, in this case #setsockopt could be called like this:" - !ruby/struct:SM::Flow::VERB body: " sock.setsockopt(Socket::SOL_SOCKET,Socket::SO_REUSEADDR, true)\n" - !ruby/struct:SM::Flow::P body: "Some socket options are integers with numeric values, in this case #setsockopt could be called like this:" - !ruby/struct:SM::Flow::VERB body: " sock.setsockopt(Socket::IPPROTO_IP, Socket::IP_TTL, 255)\n" - !ruby/struct:SM::Flow::P body: "Option values may be structs. Passing them can be complex as it involves examining your system headers to determine the correct definition. An example is an ip_mreq, which may be defined in your system headers as:" - !ruby/struct:SM::Flow::VERB body: " struct ip_mreq {\n struct in_addr imr_multiaddr;\n struct in_addr imr_interface;\n };\n" - !ruby/struct:SM::Flow::P body: "In this case #setsockopt could be called like this:" - !ruby/struct:SM::Flow::VERB body: " optval = IPAddr.new("224.0.0.251") + Socket::INADDR_ANY\n sock.setsockopt(Socket::IPPROTO_IP, Socket::IP_ADD_MEMBERSHIP, optval)\n" full_name: BasicSocket#setsockopt is_singleton: false name: setsockopt params: " setsockopt(level, optname, optval)\n" visibility: public ri/1.8/system/BasicSocket/getsockopt-i.yaml 0000644 00000004214 15217654525 0014513 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Gets a socket option. These are protocol and system specific, see your local sytem documentation for details. The option is returned as a String with the data being the binary value of the socket option. - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: level is an integer, usually one of the SOL_ constants such as Socket::SOL_SOCKET, or a protocol level. - !ruby/struct:SM::Flow::LI label: "*" body: optname is an integer, usually one of the SO_ constants, such as Socket::SO_REUSEADDR. type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Examples - !ruby/struct:SM::Flow::P body: "Some socket options are integers with boolean values, in this case #getsockopt could be called like this:" - !ruby/struct:SM::Flow::VERB body: " optval = sock.getsockopt(Socket::SOL_SOCKET,Socket::SO_REUSEADDR)\n optval = optval.unpack "i"\n reuseaddr = optval[0] == 0 ? false : true\n" - !ruby/struct:SM::Flow::P body: "Some socket options are integers with numeric values, in this case #getsockopt could be called like this:" - !ruby/struct:SM::Flow::VERB body: " optval = sock.getsockopt(Socket::IPPROTO_IP, Socket::IP_TTL)\n ipttl = optval.unpack("i")[0]\n" - !ruby/struct:SM::Flow::P body: "Option values may be structs. Decoding them can be complex as it involves examining your system headers to determine the correct definition. An example is a +struct linger+, which may be defined in your system headers as:" - !ruby/struct:SM::Flow::VERB body: " struct linger {\n int l_onoff;\n int l_linger;\n };\n" - !ruby/struct:SM::Flow::P body: "In this case #getsockopt could be called like this:" - !ruby/struct:SM::Flow::VERB body: " optval = sock.getsockopt(Socket::SOL_SOCKET, Socket::SO_LINGER)\n onoff, linger = optval.unpack "ii"\n" full_name: BasicSocket#getsockopt is_singleton: false name: getsockopt params: " getsockopt(level, optname)\n" visibility: public ri/1.8/system/Scanf/FormatSpecifier/new-c.yaml 0000644 00000000263 15217654525 0015036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatSpecifier::new is_singleton: true name: new params: (str) visibility: public ri/1.8/system/Scanf/FormatSpecifier/to_s-i.yaml 0000644 00000000262 15217654525 0015216 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatSpecifier#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/Scanf/FormatSpecifier/mid_match%3f-i.yaml 0000644 00000000276 15217654525 0016502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatSpecifier#mid_match? is_singleton: false name: mid_match? params: () visibility: public ri/1.8/system/Scanf/FormatSpecifier/skip-i.yaml 0000644 00000000263 15217654525 0015221 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatSpecifier#skip is_singleton: false name: skip params: () visibility: private ri/1.8/system/Scanf/FormatSpecifier/extract_integer-i.yaml 0000644 00000000312 15217654525 0017435 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatSpecifier#extract_integer is_singleton: false name: extract_integer params: (s) visibility: private ri/1.8/system/Scanf/FormatSpecifier/extract_hex-i.yaml 0000644 00000000302 15217654525 0016563 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatSpecifier#extract_hex is_singleton: false name: extract_hex params: (s) visibility: private ri/1.8/system/Scanf/FormatSpecifier/extract_plain-i.yaml 0000644 00000000306 15217654525 0017106 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatSpecifier#extract_plain is_singleton: false name: extract_plain params: (s) visibility: private ri/1.8/system/Scanf/FormatSpecifier/to_re-i.yaml 0000644 00000000264 15217654525 0015364 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatSpecifier#to_re is_singleton: false name: to_re params: () visibility: public ri/1.8/system/Scanf/FormatSpecifier/extract_decimal-i.yaml 0000644 00000000312 15217654525 0017376 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatSpecifier#extract_decimal is_singleton: false name: extract_decimal params: (s) visibility: private ri/1.8/system/Scanf/FormatSpecifier/extract_float-i.yaml 0000644 00000000306 15217654525 0017110 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatSpecifier#extract_float is_singleton: false name: extract_float params: (s) visibility: private ri/1.8/system/Scanf/FormatSpecifier/width-i.yaml 0000644 00000000264 15217654525 0015373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatSpecifier#width is_singleton: false name: width params: () visibility: public ri/1.8/system/Scanf/FormatSpecifier/nil_proc-i.yaml 0000644 00000000274 15217654525 0016062 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatSpecifier#nil_proc is_singleton: false name: nil_proc params: (s) visibility: private ri/1.8/system/Scanf/FormatSpecifier/extract_octal-i.yaml 0000644 00000000306 15217654525 0017105 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatSpecifier#extract_octal is_singleton: false name: extract_octal params: (s) visibility: private ri/1.8/system/Scanf/FormatSpecifier/letter-i.yaml 0000644 00000000266 15217654525 0015555 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatSpecifier#letter is_singleton: false name: letter params: () visibility: public ri/1.8/system/Scanf/FormatSpecifier/cdesc-FormatSpecifier.yaml 0000644 00000002433 15217654525 0020167 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: conversion rw: R - !ruby/object:RI::Attribute comment: name: matched rw: R - !ruby/object:RI::Attribute comment: name: matched_string rw: R - !ruby/object:RI::Attribute comment: name: re_string rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Scanf::FormatSpecifier includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: count_space? - !ruby/object:RI::MethodSummary name: extract_decimal - !ruby/object:RI::MethodSummary name: extract_float - !ruby/object:RI::MethodSummary name: extract_hex - !ruby/object:RI::MethodSummary name: extract_integer - !ruby/object:RI::MethodSummary name: extract_octal - !ruby/object:RI::MethodSummary name: extract_plain - !ruby/object:RI::MethodSummary name: letter - !ruby/object:RI::MethodSummary name: match - !ruby/object:RI::MethodSummary name: mid_match? - !ruby/object:RI::MethodSummary name: nil_proc - !ruby/object:RI::MethodSummary name: skip - !ruby/object:RI::MethodSummary name: to_re - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: width name: FormatSpecifier superclass: Object ri/1.8/system/Scanf/FormatSpecifier/count_space%3f-i.yaml 0000644 00000000302 15217654525 0017046 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatSpecifier#count_space? is_singleton: false name: count_space? params: () visibility: public ri/1.8/system/Scanf/FormatSpecifier/match-i.yaml 0000644 00000000267 15217654525 0015353 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatSpecifier#match is_singleton: false name: match params: (str) visibility: public ri/1.8/system/Scanf/FormatString/new-c.yaml 0000644 00000000260 15217654525 0014370 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatString::new is_singleton: true name: new params: (str) visibility: public ri/1.8/system/Scanf/FormatString/to_s-i.yaml 0000644 00000000257 15217654525 0014557 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatString#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/Scanf/FormatString/cdesc-FormatString.yaml 0000644 00000003163 15217654525 0017062 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: last_match_tried rw: R - !ruby/object:RI::Attribute comment: name: last_spec_tried rw: R - !ruby/object:RI::Attribute comment: name: matched_count rw: R - !ruby/object:RI::Attribute comment: name: space rw: R - !ruby/object:RI::Attribute comment: name: string_left rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: SPECIFIERS value: "'diuXxofeEgsc'" - !ruby/object:RI::Constant comment: name: REGEX value: "/ # possible space, followed by... (?:\\s* # percent sign, followed by... % # another percent sign, or... (?:%| # optional assignment suppression flag \\*? # optional maximum field width \\d* # named character class, ... (?:\\[\\[:\\w+:\\]\\]| # traditional character class, or... \\[[^\\]]*\\]| # specifier letter. [#{SPECIFIERS}])))| # or miscellaneous characters [^%\\s]+/ix" full_name: Scanf::FormatString includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: last_spec - !ruby/object:RI::MethodSummary name: match - !ruby/object:RI::MethodSummary name: prune - !ruby/object:RI::MethodSummary name: spec_count - !ruby/object:RI::MethodSummary name: to_s name: FormatString superclass: Object ri/1.8/system/Scanf/FormatString/last_spec-i.yaml 0000644 00000000271 15217654525 0015564 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatString#last_spec is_singleton: false name: last_spec params: () visibility: public ri/1.8/system/Scanf/FormatString/spec_count-i.yaml 0000644 00000000273 15217654525 0015753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatString#spec_count is_singleton: false name: spec_count params: () visibility: public ri/1.8/system/Scanf/FormatString/match-i.yaml 0000644 00000000264 15217654525 0014705 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatString#match is_singleton: false name: match params: (str) visibility: public ri/1.8/system/Scanf/FormatString/prune-i.yaml 0000644 00000000300 15217654525 0014731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Scanf::FormatString#prune is_singleton: false name: prune params: (n=matched_count) visibility: public ri/1.8/system/Scanf/cdesc-Scanf.yaml 0000644 00000000261 15217654525 0013052 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Scanf includes: [] instance_methods: [] name: Scanf superclass: ri/1.8/system/Find/cdesc-Find.yaml 0000644 00000001652 15217654525 0012533 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The Find module supports the top-down traversal of a set of file paths. - !ruby/struct:SM::Flow::P body: "For example, to total the size of all files under your home directory, ignoring anything in a "dot" directory (e.g. $HOME/.ssh):" - !ruby/struct:SM::Flow::VERB body: " require 'find'\n\n total_size = 0\n\n Find.find(ENV["HOME"]) do |path|\n if FileTest.directory?(path)\n if File.basename(path)[0] == ?.\n Find.prune # Don't look any further into this directory.\n else\n next\n end\n else\n total_size += FileTest.size(path)\n end\n end\n" constants: [] full_name: Find includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: find - !ruby/object:RI::MethodSummary name: prune name: Find superclass: ri/1.8/system/Find/find-i.yaml 0000644 00000000711 15217654525 0011735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: path comment: - !ruby/struct:SM::Flow::P body: Calls the associated block with the name of every file and directory listed as arguments, then recursively on their subdirectories, and so on. - !ruby/struct:SM::Flow::P body: See the Find module documentation for an example. full_name: Find#find is_singleton: false name: find params: (*paths) {|path| ...} visibility: public ri/1.8/system/Find/prune-i.yaml 0000644 00000001004 15217654525 0012142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Skips the current file or directory, restarting the loop with the next entry. If the current file is a directory, that directory will not be recursively entered. Meaningful only within the block associated with Find::find. - !ruby/struct:SM::Flow::P body: See the Find module documentation for an example. full_name: Find#prune is_singleton: false name: prune params: () visibility: public ri/1.8/system/Sync/new-c.yaml 0000644 00000000236 15217654525 0011636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Sync::new is_singleton: true name: new params: () visibility: public ri/1.8/system/Sync/cdesc-Sync.yaml 0000644 00000000417 15217654525 0012621 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Sync includes: - !ruby/object:RI::IncludedModule name: Sync_m instance_methods: [] name: Sync superclass: Object ri/1.8/system/created.rid 0000644 00000000040 15217654525 0011125 0 ustar 00 Wed, 26 Jul 2023 13:45:54 +0000 ri/1.8/system/Set/new-c.yaml 0000644 00000000623 15217654525 0011455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: o comment: - !ruby/struct:SM::Flow::P body: Creates a new set containing the elements of the given enumerable object. - !ruby/struct:SM::Flow::P body: If a block is given, the elements of enum are preprocessed by the given block. full_name: Set::new is_singleton: true name: new params: (enum = nil) {|o| ...} visibility: public ri/1.8/system/Set/reject%21-i.yaml 0000644 00000000434 15217654525 0012356 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (o) comment: - !ruby/struct:SM::Flow::P body: Equivalent to Set#delete_if, but returns nil if no changes were made. full_name: Set#reject! is_singleton: false name: reject! params: () {|o| ...} visibility: public ri/1.8/system/Set/%2b-i.yaml 0000644 00000000320 15217654525 0011234 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #|" full_name: Set#+ is_singleton: false name: + params: (enum) visibility: public ri/1.8/system/Set/union-i.yaml 0000644 00000000330 15217654525 0012015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #|" full_name: Set#union is_singleton: false name: union params: (enum) visibility: public ri/1.8/system/Set/delete-i.yaml 0000644 00000000467 15217654525 0012142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes the given object from the set and returns self. Use subtract to delete several items at once. full_name: Set#delete is_singleton: false name: delete params: (o) visibility: public ri/1.8/system/Set/%3c%3c-i.yaml 0000644 00000000323 15217654525 0011534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add" full_name: Set#<< is_singleton: false name: "<<" params: (o) visibility: public ri/1.8/system/Set/divide-i.yaml 0000644 00000001613 15217654525 0012136 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Divides the set into a set of subsets according to the commonality defined by the given block. - !ruby/struct:SM::Flow::P body: If the arity of the block is 2, elements o1 and o2 are in common if block.call(o1, o2) is true. Otherwise, elements o1 and o2 are in common if block.call(o1) == block.call(o2). - !ruby/struct:SM::Flow::P body: "e.g.:" - !ruby/struct:SM::Flow::VERB body: " require 'set'\n numbers = Set[1, 3, 4, 6, 9, 10, 11]\n set = numbers.divide { |i,j| (i - j).abs == 1 }\n p set # => #<Set: {#<Set: {1}>,\n # #<Set: {11, 9, 10}>,\n # #<Set: {3, 4}>,\n # #<Set: {6}>}>\n" full_name: Set#divide is_singleton: false name: divide params: (&func) visibility: public ri/1.8/system/Set/%5b%5d-c.yaml 0000644 00000000365 15217654525 0011540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new set containing the given objects. full_name: Set::[] is_singleton: true name: "[]" params: (*ary) visibility: public ri/1.8/system/Set/map%21-i.yaml 0000644 00000000331 15217654525 0011653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #collect!" full_name: Set#map! is_singleton: false name: map! params: () visibility: public ri/1.8/system/Set/subset%3f-i.yaml 0000644 00000000402 15217654525 0012470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the set is a subset of the given set. full_name: Set#subset? is_singleton: false name: subset? params: (set) visibility: public ri/1.8/system/Set/%26-i.yaml 0000644 00000000514 15217654525 0011165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: intersection block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new set containing elements common to the set and the given enumerable object. full_name: Set#& is_singleton: false name: "&" params: (enum) visibility: public ri/1.8/system/Set/proper_superset%3f-i.yaml 0000644 00000000435 15217654525 0014432 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the set is a proper superset of the given set. full_name: Set#proper_superset? is_singleton: false name: proper_superset? params: (set) visibility: public ri/1.8/system/Set/flatten-i.yaml 0000644 00000000442 15217654525 0012326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new set that is a copy of the set, flattening each containing set recursively. full_name: Set#flatten is_singleton: false name: flatten params: () visibility: public ri/1.8/system/Set/classify-i.yaml 0000644 00000001537 15217654525 0012514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: o comment: - !ruby/struct:SM::Flow::P body: Classifies the set by the return value of the given block and returns a hash of {value => set of elements} pairs. The block is called once for each element of the set, passing the element as parameter. - !ruby/struct:SM::Flow::P body: "e.g.:" - !ruby/struct:SM::Flow::VERB body: " require 'set'\n files = Set.new(Dir.glob("*.rb"))\n hash = files.classify { |f| File.mtime(f).year }\n p hash # => {2000=>#<Set: {"a.rb", "b.rb"}>,\n # 2001=>#<Set: {"c.rb", "d.rb", "e.rb"}>,\n # 2002=>#<Set: {"f.rb"}>}\n" full_name: Set#classify is_singleton: false name: classify params: ( {|o| ...} visibility: public ri/1.8/system/Set/%2d-i.yaml 0000644 00000000545 15217654525 0011247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: difference block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new set built by duplicating the set, removing every element that appears in the given enumerable object. full_name: Set#- is_singleton: false name: "-" params: (enum) visibility: public ri/1.8/system/Set/%7c-i.yaml 0000644 00000000560 15217654525 0011250 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: + - !ruby/object:RI::AliasName name: union block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new set built by merging the set and the elements of the given enumerable object. full_name: Set#| is_singleton: false name: "|" params: (enum) visibility: public ri/1.8/system/Set/add%3f-i.yaml 0000644 00000000451 15217654525 0011717 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Adds the given object to the set and returns self. If the object is already in the set, returns nil. full_name: Set#add? is_singleton: false name: add? params: (o) visibility: public ri/1.8/system/Set/subtract-i.yaml 0000644 00000000443 15217654525 0012521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes every element that appears in the given enumerable object and returns self. full_name: Set#subtract is_singleton: false name: subtract params: (enum) visibility: public ri/1.8/system/Set/flatten_merge-i.yaml 0000644 00000000307 15217654525 0013505 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Set#flatten_merge is_singleton: false name: flatten_merge params: (set, seen = Set.new) visibility: protected ri/1.8/system/Set/difference-i.yaml 0000644 00000000342 15217654525 0012762 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #-" full_name: Set#difference is_singleton: false name: difference params: (enum) visibility: public ri/1.8/system/Set/flatten%21-i.yaml 0000644 00000000505 15217654525 0012536 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to Set#flatten, but replaces the receiver with the result in place. Returns nil if no modifications were made. full_name: Set#flatten! is_singleton: false name: flatten! params: () visibility: public ri/1.8/system/Set/size-i.yaml 0000644 00000000415 15217654525 0011643 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: length block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of elements. full_name: Set#size is_singleton: false name: size params: () visibility: public ri/1.8/system/Set/each-i.yaml 0000644 00000000526 15217654525 0011574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (o) comment: - !ruby/struct:SM::Flow::P body: Calls the given block once for each element in the set, passing the element as parameter. Returns an enumerator if no block is given. full_name: Set#each is_singleton: false name: each params: () {|o| ...} visibility: public ri/1.8/system/Set/inspect-i.yaml 0000644 00000000511 15217654525 0012333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns a string containing a human-readable representation of the set. ("#<Set: {element1, element2, ...}>")" full_name: Set#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/Set/member%3f-i.yaml 0000644 00000000340 15217654525 0012433 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #include?" full_name: Set#member? is_singleton: false name: member? params: (o) visibility: public ri/1.8/system/Set/to_a-i.yaml 0000644 00000000405 15217654525 0011612 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts the set to an array. The order of elements is uncertain. full_name: Set#to_a is_singleton: false name: to_a params: () visibility: public ri/1.8/system/Set/delete%3f-i.yaml 0000644 00000000460 15217654525 0012431 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes the given object from the set and returns self. If the object is not in the set, returns nil. full_name: Set#delete? is_singleton: false name: delete? params: (o) visibility: public ri/1.8/system/Set/intersection-i.yaml 0000644 00000000352 15217654525 0013377 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #&" full_name: Set#intersection is_singleton: false name: intersection params: (enum) visibility: public ri/1.8/system/Set/%5e-i.yaml 0000644 00000000543 15217654525 0011251 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new set containing elements exclusive between the set and the given enumerable object. (set ^ enum) is equivalent to ((set | enum) - (set & enum)). full_name: Set#^ is_singleton: false name: ^ params: (enum) visibility: public ri/1.8/system/Set/cdesc-Set.yaml 0000644 00000007227 15217654525 0012265 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Set implements a collection of unordered values with no duplicates. This is a hybrid of Array's intuitive inter-operation facilities and Hash's fast lookup. - !ruby/struct:SM::Flow::P body: "Several methods accept any Enumerable object (implementing each) for greater flexibility: new, replace, merge, subtract, |, &, -, ^." - !ruby/struct:SM::Flow::P body: The equality of each couple of elements is determined according to Object#eql? and Object#hash, since Set uses Hash as storage. - !ruby/struct:SM::Flow::P body: Finally, if you are using class Set, you can also use Enumerable#to_set for convenience. - !ruby/struct:SM::Flow::H level: 2 text: Example - !ruby/struct:SM::Flow::VERB body: " require 'set'\n s1 = Set.new [1, 2] # -> #<Set: {1, 2}>\n s2 = [1, 2].to_set # -> #<Set: {1, 2}>\n s1 == s2 # -> true\n s1.add("foo") # -> #<Set: {1, 2, "foo"}>\n s1.merge([2, 6]) # -> #<Set: {6, 1, 2, "foo"}>\n s1.subset? s2 # -> false\n s2.subset? s1 # -> true\n" - !ruby/struct:SM::Flow::H level: 2 text: Contact - !ruby/struct:SM::Flow::VERB body: " - Akinori MUSHA <knu@iDaemons.org> (current maintainer)\n" constants: [] full_name: Set includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: "&" - !ruby/object:RI::MethodSummary name: + - !ruby/object:RI::MethodSummary name: "-" - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: ^ - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: add? - !ruby/object:RI::MethodSummary name: classify - !ruby/object:RI::MethodSummary name: clear - !ruby/object:RI::MethodSummary name: collect! - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: delete? - !ruby/object:RI::MethodSummary name: delete_if - !ruby/object:RI::MethodSummary name: difference - !ruby/object:RI::MethodSummary name: divide - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: flatten - !ruby/object:RI::MethodSummary name: flatten! - !ruby/object:RI::MethodSummary name: flatten_merge - !ruby/object:RI::MethodSummary name: include? - !ruby/object:RI::MethodSummary name: initialize_copy - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: intersection - !ruby/object:RI::MethodSummary name: length - !ruby/object:RI::MethodSummary name: map! - !ruby/object:RI::MethodSummary name: member? - !ruby/object:RI::MethodSummary name: merge - !ruby/object:RI::MethodSummary name: proper_subset? - !ruby/object:RI::MethodSummary name: proper_superset? - !ruby/object:RI::MethodSummary name: reject! - !ruby/object:RI::MethodSummary name: replace - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: subset? - !ruby/object:RI::MethodSummary name: subtract - !ruby/object:RI::MethodSummary name: superset? - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: union - !ruby/object:RI::MethodSummary name: "|" name: Set superclass: Object ri/1.8/system/Set/merge-i.yaml 0000644 00000000431 15217654525 0011766 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Merges the elements of the given enumerable object to the set and returns self. full_name: Set#merge is_singleton: false name: merge params: (enum) visibility: public ri/1.8/system/Set/proper_subset%3f-i.yaml 0000644 00000000427 15217654525 0014066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the set is a proper subset of the given set. full_name: Set#proper_subset? is_singleton: false name: proper_subset? params: (set) visibility: public ri/1.8/system/Set/length-i.yaml 0000644 00000000331 15217654525 0012147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #size" full_name: Set#length is_singleton: false name: length params: () visibility: public ri/1.8/system/Set/initialize_copy-i.yaml 0000644 00000000361 15217654525 0014064 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Copy internal hash. full_name: Set#initialize_copy is_singleton: false name: initialize_copy params: (orig) visibility: public ri/1.8/system/Set/%3d%3d-i.yaml 0000644 00000000463 15217654525 0011543 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if two sets are equal. The equality of each couple of elements is defined according to Object#eql?. full_name: Set#== is_singleton: false name: == params: (set) visibility: public ri/1.8/system/Set/replace-i.yaml 0000644 00000000461 15217654525 0012305 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Replaces the contents of the set with the contents of the given enumerable object and returns self. full_name: Set#replace is_singleton: false name: replace params: (enum) visibility: public ri/1.8/system/Set/empty%3f-i.yaml 0000644 00000000365 15217654525 0012331 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the set contains no elements. full_name: Set#empty? is_singleton: false name: empty? params: () visibility: public ri/1.8/system/Set/delete_if-i.yaml 0000644 00000000460 15217654525 0012611 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (o) comment: - !ruby/struct:SM::Flow::P body: Deletes every element of the set for which block evaluates to true, and returns self. full_name: Set#delete_if is_singleton: false name: delete_if params: () {|o| ...} visibility: public ri/1.8/system/Set/include%3f-i.yaml 0000644 00000000452 15217654525 0012613 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: member? block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the set contains the given object. full_name: Set#include? is_singleton: false name: include? params: (o) visibility: public ri/1.8/system/Set/collect%21-i.yaml 0000644 00000000434 15217654525 0012527 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: map! block_params: (o) comment: - !ruby/struct:SM::Flow::P body: Do collect() destructively. full_name: Set#collect! is_singleton: false name: collect! params: () {|o| ...} visibility: public ri/1.8/system/Set/clear-i.yaml 0000644 00000000354 15217654525 0011761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes all elements and returns self. full_name: Set#clear is_singleton: false name: clear params: () visibility: public ri/1.8/system/Set/add-i.yaml 0000644 00000000521 15217654525 0011417 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: "<<" block_params: comment: - !ruby/struct:SM::Flow::P body: Adds the given object to the set and returns self. Use merge to add several elements at once. full_name: Set#add is_singleton: false name: add params: (o) visibility: public ri/1.8/system/Set/superset%3f-i.yaml 0000644 00000000410 15217654525 0013034 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the set is a superset of the given set. full_name: Set#superset? is_singleton: false name: superset? params: (set) visibility: public ri/1.8/system/Generator/end%3f-i.yaml 0000644 00000000374 15217654525 0013134 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the generator has reached the end. full_name: Generator#end? is_singleton: false name: end? params: () visibility: public ri/1.8/system/Generator/new-c.yaml 0000644 00000001037 15217654525 0012650 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new generator either from an Enumerable object or from a block. - !ruby/struct:SM::Flow::P body: In the former, block is ignored even if given. - !ruby/struct:SM::Flow::P body: In the latter, the given block is called with the generator itself, and expected to call the yield method for each element. full_name: Generator::new is_singleton: true name: new params: (enum = nil, &block) visibility: public ri/1.8/system/Generator/rewind-i.yaml 0000644 00000000344 15217654525 0013355 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Rewinds the generator. full_name: Generator#rewind is_singleton: false name: rewind params: () visibility: public ri/1.8/system/Generator/yield-i.yaml 0000644 00000000364 15217654525 0013175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Yields an element to the generator. full_name: Generator#yield is_singleton: false name: yield params: (value) visibility: public ri/1.8/system/Generator/index-i.yaml 0000644 00000000404 15217654525 0013171 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the current index (position) counting from zero. full_name: Generator#index is_singleton: false name: index params: () visibility: public ri/1.8/system/Generator/current-i.yaml 0000644 00000000374 15217654525 0013552 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the element at the current position. full_name: Generator#current is_singleton: false name: current params: () visibility: public ri/1.8/system/Generator/pos-i.yaml 0000644 00000000400 15217654525 0012657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the current index (position) counting from zero. full_name: Generator#pos is_singleton: false name: pos params: () visibility: public ri/1.8/system/Generator/each-i.yaml 0000644 00000000427 15217654525 0012767 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: self.next comment: - !ruby/struct:SM::Flow::P body: Rewinds the generator and enumerates the elements. full_name: Generator#each is_singleton: false name: each params: () {|self.next| ...} visibility: public ri/1.8/system/Generator/next%3f-i.yaml 0000644 00000000406 15217654525 0013340 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the generator has not reached the end yet. full_name: Generator#next? is_singleton: false name: next? params: () visibility: public ri/1.8/system/Generator/cdesc-Generator.yaml 0000644 00000002626 15217654525 0014651 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Generator converts an internal iterator (i.e. an Enumerable object) to an external iterator. - !ruby/struct:SM::Flow::P body: Note that it is not very fast since it is implemented using continuations, which are currently slow. - !ruby/struct:SM::Flow::H level: 2 text: Example - !ruby/struct:SM::Flow::VERB body: " require 'generator'\n\n # Generator from an Enumerable object\n g = Generator.new(['A', 'B', 'C', 'Z'])\n\n while g.next?\n puts g.next\n end\n\n # Generator from a block\n g = Generator.new { |g|\n for i in 'A'..'C'\n g.yield i\n end\n\n g.yield 'Z'\n }\n\n # The same result as above\n while g.next?\n puts g.next\n end\n" constants: [] full_name: Generator includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: current - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: end? - !ruby/object:RI::MethodSummary name: index - !ruby/object:RI::MethodSummary name: next - !ruby/object:RI::MethodSummary name: next? - !ruby/object:RI::MethodSummary name: pos - !ruby/object:RI::MethodSummary name: rewind - !ruby/object:RI::MethodSummary name: yield name: Generator superclass: Object ri/1.8/system/Generator/next-i.yaml 0000644 00000000410 15217654525 0013035 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the element at the current position and moves forward. full_name: Generator#next is_singleton: false name: next params: () visibility: public ri/1.8/system/TSortHash/cdesc-TSortHash.yaml 0000644 00000000275 15217654525 0014531 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: TSortHash includes: [] instance_methods: [] name: TSortHash superclass: Hash ri/1.8/system/Kernel/pretty_inspect-i.yaml 0000644 00000000407 15217654525 0014433 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: returns a pretty printed object as a string. full_name: Kernel#pretty_inspect is_singleton: false name: pretty_inspect params: () visibility: public ri/1.8/system/Kernel/scan-i.yaml 0000644 00000000533 15217654525 0012303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to calling $_.scan. See String#scan. full_name: Kernel#scan is_singleton: false name: scan params: | scan(pattern) => array scan(pattern) {|///| block } => $_ visibility: public ri/1.8/system/Kernel/cdesc-Kernel.yaml 0000644 00000010667 15217654525 0013441 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Object is the parent class of all classes in Ruby. Its methods are therefore available to all objects unless explicitly overridden. - !ruby/struct:SM::Flow::P body: Object mixes in the Kernel module, making the built-in kernel functions globally accessible. Although the instance methods of Object are defined by the Kernel module, we have chosen to document them here for clarity. - !ruby/struct:SM::Flow::P body: In the descriptions of Object's methods, the parameter symbol refers to a symbol, which is either a quoted string or a Symbol (such as :name). constants: [] full_name: Kernel includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: Array - !ruby/object:RI::MethodSummary name: Float - !ruby/object:RI::MethodSummary name: Integer - !ruby/object:RI::MethodSummary name: Pathname - !ruby/object:RI::MethodSummary name: String - !ruby/object:RI::MethodSummary name: URI - !ruby/object:RI::MethodSummary name: __method__ - !ruby/object:RI::MethodSummary name: ` - !ruby/object:RI::MethodSummary name: abort - !ruby/object:RI::MethodSummary name: at_exit - !ruby/object:RI::MethodSummary name: autoload - !ruby/object:RI::MethodSummary name: autoload? - !ruby/object:RI::MethodSummary name: binding - !ruby/object:RI::MethodSummary name: block_given? - !ruby/object:RI::MethodSummary name: callcc - !ruby/object:RI::MethodSummary name: caller - !ruby/object:RI::MethodSummary name: catch - !ruby/object:RI::MethodSummary name: chomp - !ruby/object:RI::MethodSummary name: chomp! - !ruby/object:RI::MethodSummary name: chop - !ruby/object:RI::MethodSummary name: chop! - !ruby/object:RI::MethodSummary name: eval - !ruby/object:RI::MethodSummary name: exec - !ruby/object:RI::MethodSummary name: exit - !ruby/object:RI::MethodSummary name: exit! - !ruby/object:RI::MethodSummary name: fail - !ruby/object:RI::MethodSummary name: fork - !ruby/object:RI::MethodSummary name: format - !ruby/object:RI::MethodSummary name: getc - !ruby/object:RI::MethodSummary name: gets - !ruby/object:RI::MethodSummary name: global_variables - !ruby/object:RI::MethodSummary name: gsub - !ruby/object:RI::MethodSummary name: gsub! - !ruby/object:RI::MethodSummary name: iterator? - !ruby/object:RI::MethodSummary name: lambda - !ruby/object:RI::MethodSummary name: load - !ruby/object:RI::MethodSummary name: local_variables - !ruby/object:RI::MethodSummary name: loop - !ruby/object:RI::MethodSummary name: method_missing - !ruby/object:RI::MethodSummary name: open - !ruby/object:RI::MethodSummary name: open - !ruby/object:RI::MethodSummary name: open_uri_original_open - !ruby/object:RI::MethodSummary name: p - !ruby/object:RI::MethodSummary name: pp - !ruby/object:RI::MethodSummary name: pretty_inspect - !ruby/object:RI::MethodSummary name: print - !ruby/object:RI::MethodSummary name: printf - !ruby/object:RI::MethodSummary name: proc - !ruby/object:RI::MethodSummary name: putc - !ruby/object:RI::MethodSummary name: puts - !ruby/object:RI::MethodSummary name: raise - !ruby/object:RI::MethodSummary name: rand - !ruby/object:RI::MethodSummary name: readline - !ruby/object:RI::MethodSummary name: readlines - !ruby/object:RI::MethodSummary name: require - !ruby/object:RI::MethodSummary name: scan - !ruby/object:RI::MethodSummary name: scanf - !ruby/object:RI::MethodSummary name: select - !ruby/object:RI::MethodSummary name: set_trace_func - !ruby/object:RI::MethodSummary name: sleep - !ruby/object:RI::MethodSummary name: split - !ruby/object:RI::MethodSummary name: sprintf - !ruby/object:RI::MethodSummary name: srand - !ruby/object:RI::MethodSummary name: sub - !ruby/object:RI::MethodSummary name: sub! - !ruby/object:RI::MethodSummary name: syscall - !ruby/object:RI::MethodSummary name: system - !ruby/object:RI::MethodSummary name: test - !ruby/object:RI::MethodSummary name: throw - !ruby/object:RI::MethodSummary name: trace_var - !ruby/object:RI::MethodSummary name: trap - !ruby/object:RI::MethodSummary name: untrace_var - !ruby/object:RI::MethodSummary name: warn - !ruby/object:RI::MethodSummary name: warn - !ruby/object:RI::MethodSummary name: y name: Kernel superclass: ri/1.8/system/Kernel/sleep-i.yaml 0000644 00000001452 15217654525 0012470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Suspends the current thread for duration seconds (which may be any number, including a Float with fractional seconds). Returns the actual number of seconds slept (rounded), which may be less than that asked for if another thread calls Thread#run. Zero arguments causes sleep to sleep forever. - !ruby/struct:SM::Flow::VERB body: " Time.new #=> Wed Apr 09 08:56:32 CDT 2003\n sleep 1.2 #=> 1\n Time.new #=> Wed Apr 09 08:56:33 CDT 2003\n sleep 1.9 #=> 2\n Time.new #=> Wed Apr 09 08:56:35 CDT 2003\n" full_name: Kernel#sleep is_singleton: false name: sleep params: | sleep([duration]) => fixnum visibility: public ri/1.8/system/Kernel/caller-i.yaml 0000644 00000001710 15217654525 0012617 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns the current execution stack---an array containing strings in the form ``file:line'' or ``file:line: in `method'''. The optional start parameter determines the number of initial stack entries to omit from the result." - !ruby/struct:SM::Flow::VERB body: " def a(skip)\n caller(skip)\n end\n def b(skip)\n a(skip)\n end\n def c(skip)\n b(skip)\n end\n c(0) #=> ["prog:2:in `a'", "prog:5:in `b'", "prog:8:in `c'", "prog:10"]\n c(1) #=> ["prog:5:in `b'", "prog:8:in `c'", "prog:11"]\n c(2) #=> ["prog:8:in `c'", "prog:12"]\n c(3) #=> ["prog:13"]\n" full_name: Kernel#caller is_singleton: false name: caller params: | caller(start=1) => array visibility: public ri/1.8/system/Kernel/sub%21-i.yaml 0000644 00000000517 15217654525 0012362 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to $_.sub!(args). full_name: Kernel#sub! is_singleton: false name: sub! params: | sub!(pattern, replacement) => $_ or nil sub!(pattern) {|...| block } => $_ or nil visibility: public ri/1.8/system/Kernel/Array-i.yaml 0000644 00000001036 15217654525 0012434 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns arg as an Array. First tries to call arg.to_ary, then arg.to_a. If both fail, creates a single element array containing arg (unless arg is nil). - !ruby/struct:SM::Flow::VERB body: " Array(1..5) #=> [1, 2, 3, 4, 5]\n" full_name: Kernel#Array is_singleton: false name: Array params: | Array(arg) => array visibility: public ri/1.8/system/Kernel/require-i.yaml 0000644 00000002233 15217654525 0013032 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Ruby tries to load the library named string, returning true if successful. If the filename does not resolve to an absolute path, it will be searched for in the directories listed in $:. If the file has the extension ``.rb'', it is loaded as a source file; if the extension is ``.so'', ``.o'', or ``.dll'', or whatever the default shared library extension is on the current platform, Ruby loads the shared library as a Ruby extension. Otherwise, Ruby tries adding ``.rb'', ``.so'', and so on to the name. The name of the loaded feature is added to the array in $". A feature will not be loaded if it's name already appears in $". However, the file name is not converted to an absolute path, so that ``require 'a';require './a''' will load a.rb twice. - !ruby/struct:SM::Flow::VERB body: " require "my-library.rb"\n require "db-driver"\n" full_name: Kernel#require is_singleton: false name: require params: | require(string) => true or false visibility: public ri/1.8/system/Kernel/open_uri_original_open-i.yaml 0000644 00000000400 15217654525 0016075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #open" full_name: Kernel#open_uri_original_open is_singleton: false name: open_uri_original_open params: (...) visibility: private ri/1.8/system/Kernel/chomp-i.yaml 0000644 00000001224 15217654525 0012463 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to $_ = $_.chomp(string). See String#chomp. - !ruby/struct:SM::Flow::VERB body: " $_ = "now\\n"\n chomp #=> "now"\n $_ #=> "now"\n chomp "ow" #=> "n"\n $_ #=> "n"\n chomp "xxx" #=> "n"\n $_ #=> "n"\n" full_name: Kernel#chomp is_singleton: false name: chomp params: | chomp => $_ chomp(string) => $_ visibility: public ri/1.8/system/Kernel/warn-i.yaml 0000644 00000000536 15217654525 0012331 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Display the given message (followed by a newline) on STDERR unless warnings are disabled (for example with the -W0 flag). full_name: Kernel#warn is_singleton: false name: warn params: | warn(msg) => nil visibility: public ri/1.8/system/Kernel/readlines-i.yaml 0000644 00000000560 15217654525 0013325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array containing the lines returned by calling Kernel.gets(separator) until the end of file. full_name: Kernel#readlines is_singleton: false name: readlines params: | readlines(separator=$/) => array visibility: public ri/1.8/system/Kernel/sprintf-i.yaml 0000644 00000014164 15217654525 0013051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns the string resulting from applying format_string to any additional arguments. Within the format string, any characters other than format sequences are copied to the result. A format sequence consists of a percent sign, followed by optional flags, width, and precision indicators, then terminated with a field type character. The field type controls how the corresponding sprintf argument is to be interpreted, while the flags modify that interpretation. The field type characters are listed in the table at the end of this section. The flag characters are:" - !ruby/struct:SM::Flow::VERB body: " Flag | Applies to | Meaning\n ---------+--------------+-----------------------------------------\n space | bdeEfgGiouxX | Leave a space at the start of\n | | positive numbers.\n ---------+--------------+-----------------------------------------\n (digit)$ | all | Specifies the absolute argument number\n | | for this field. Absolute and relative\n | | argument numbers cannot be mixed in a\n | | sprintf string.\n ---------+--------------+-----------------------------------------\n # | beEfgGoxX | Use an alternative format. For the\n | | conversions `o', `x', `X', and `b',\n | | prefix the result with ``0'', ``0x'', ``0X'',\n | | and ``0b'', respectively. For `e',\n | | `E', `f', `g', and 'G', force a decimal\n | | point to be added, even if no digits follow.\n | | For `g' and 'G', do not remove trailing zeros.\n ---------+--------------+-----------------------------------------\n + | bdeEfgGiouxX | Add a leading plus sign to positive numbers.\n ---------+--------------+-----------------------------------------\n - | all | Left-justify the result of this conversion.\n ---------+--------------+-----------------------------------------\n 0 (zero) | bdeEfgGiouxX | Pad with zeros, not spaces.\n ---------+--------------+-----------------------------------------\n * | all | Use the next argument as the field width.\n | | If negative, left-justify the result. If the\n | | asterisk is followed by a number and a dollar\n | | sign, use the indicated argument as the width.\n" - !ruby/struct:SM::Flow::P body: The field width is an optional integer, followed optionally by a period and a precision. The width specifies the minimum number of characters that will be written to the result for this field. For numeric fields, the precision controls the number of decimal places displayed. For string fields, the precision determines the maximum number of characters to be copied from the string. (Thus, the format sequence %10.10s will always contribute exactly ten characters to the result.) - !ruby/struct:SM::Flow::P body: "The field types are:" - !ruby/struct:SM::Flow::VERB body: " Field | Conversion\n ------+--------------------------------------------------------------\n b | Convert argument as a binary number.\n c | Argument is the numeric code for a single character.\n d | Convert argument as a decimal number.\n E | Equivalent to `e', but uses an uppercase E to indicate\n | the exponent.\n e | Convert floating point argument into exponential notation\n | with one digit before the decimal point. The precision\n | determines the number of fractional digits (defaulting to six).\n f | Convert floating point argument as [-]ddd.ddd,\n | where the precision determines the number of digits after\n | the decimal point.\n G | Equivalent to `g', but use an uppercase `E' in exponent form.\n g | Convert a floating point number using exponential form\n | if the exponent is less than -4 or greater than or\n | equal to the precision, or in d.dddd form otherwise.\n i | Identical to `d'.\n o | Convert argument as an octal number.\n p | The valuing of argument.inspect.\n s | Argument is a string to be substituted. If the format\n | sequence contains a precision, at most that many characters\n | will be copied.\n u | Treat argument as an unsigned decimal number. Negative integers\n | are displayed as a 32 bit two's complement plus one for the\n | underlying architecture; that is, 2 ** 32 + n. However, since\n | Ruby has no inherent limit on bits used to represent the\n | integer, this value is preceded by two dots (..) in order to\n | indicate a infinite number of leading sign bits.\n X | Convert argument as a hexadecimal number using uppercase\n | letters. Negative numbers will be displayed with two\n | leading periods (representing an infinite string of\n | leading 'FF's.\n x | Convert argument as a hexadecimal number.\n | Negative numbers will be displayed with two\n | leading periods (representing an infinite string of\n | leading 'ff's.\n" - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " sprintf("%d %04x", 123, 123) #=> "123 007b"\n sprintf("%08b '%4s'", 123, 123) #=> "01111011 ' 123'"\n sprintf("%1$*2$s %2$d %1$s", "hello", 8) #=> " hello 8 hello"\n sprintf("%1$*2$s %2$d", "hello", -8) #=> "hello -8"\n sprintf("%+g:% g:%-g", 1.23, 1.23, 1.23) #=> "+1.23: 1.23:1.23"\n sprintf("%u", -123) #=> "..4294967173"\n" full_name: Kernel#sprintf is_singleton: false name: sprintf params: | format(format_string [, arguments...] ) => string sprintf(format_string [, arguments...] ) => string visibility: public ri/1.8/system/Kernel/catch-i.yaml 0000644 00000002034 15217654525 0012437 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: catch executes its block. If a throw is executed, Ruby searches up its stack for a catch block with a tag corresponding to the throw's symbol. If found, that block is terminated, and catch returns the value given to throw. If throw is not called, the block terminates normally, and the value of catch is the value of the last expression evaluated. catch expressions may be nested, and the throw call need not be in lexical scope. - !ruby/struct:SM::Flow::VERB body: " def routine(n)\n puts n\n throw :done if n <= 0\n routine(n-1)\n end\n\n catch(:done) { routine(3) }\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " 3\n 2\n 1\n 0\n" full_name: Kernel#catch is_singleton: false name: catch params: | catch(symbol) {| | block } > obj visibility: public ri/1.8/system/Kernel/chop-i.yaml 0000644 00000001202 15217654525 0012302 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to ($_.dup).chop!, except nil is never returned. See String#chop!. - !ruby/struct:SM::Flow::VERB body: " a = "now\\r\\n"\n $_ = a\n chop #=> "now"\n $_ #=> "now"\n chop #=> "no"\n chop #=> "n"\n chop #=> ""\n chop #=> ""\n a #=> "now\\r\\n"\n" full_name: Kernel#chop is_singleton: false name: chop params: | chop => string visibility: public ri/1.8/system/Kernel/URI-i.yaml 0000644 00000000450 15217654525 0012014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: alias for URI.parse. - !ruby/struct:SM::Flow::P body: This method is introduced at 1.8.2. full_name: Kernel#URI is_singleton: false name: URI params: (uri_str) visibility: public ri/1.8/system/Kernel/untrace_var-i.yaml 0000644 00000000747 15217654525 0013677 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes tracing for the specified command on the given global variable and returns nil. If no command is specified, removes all tracing for that variable and returns an array containing the commands actually removed. full_name: Kernel#untrace_var is_singleton: false name: untrace_var params: | untrace_var(symbol [, cmd] ) => array or nil visibility: public ri/1.8/system/Kernel/throw-i.yaml 0000644 00000001063 15217654525 0012521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Transfers control to the end of the active catch block waiting for symbol. Raises NameError if there is no catch block for the symbol. The optional second parameter supplies a return value for the catch block, which otherwise defaults to nil. For examples, see Kernel::catch. full_name: Kernel#throw is_singleton: false name: throw params: | throw(symbol [, obj]) visibility: public ri/1.8/system/Kernel/Float-i.yaml 0000644 00000001046 15217654525 0012424 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns arg converted to a float. Numeric types are converted directly, the rest are converted using arg.to_f. As of Ruby 1.8, converting nil generates a TypeError. - !ruby/struct:SM::Flow::VERB body: " Float(1) #=> 1.0\n Float("123.456") #=> 123.456\n" full_name: Kernel#Float is_singleton: false name: Float params: | Float(arg) => float visibility: public ri/1.8/system/Kernel/String-i.yaml 0000644 00000000762 15217654525 0012631 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts arg to a String by calling its to_s method. - !ruby/struct:SM::Flow::VERB body: " String(self) #=> "main"\n String(self.class #=> "Object"\n String(123456) #=> "123456"\n" full_name: Kernel#String is_singleton: false name: String params: | String(arg) => string visibility: public ri/1.8/system/Kernel/exec-i.yaml 0000644 00000002336 15217654525 0012306 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Replaces the current process by running the given external command. If exec is given a single argument, that argument is taken as a line that is subject to shell expansion before being executed. If multiple arguments are given, the second and subsequent arguments are passed as parameters to command with no shell expansion. If the first argument is a two-element array, the first element is the command to be executed, and the second argument is used as the argv[0] value, which may show up in process listings. In MSDOS environments, the command is executed in a subshell; otherwise, one of the exec(2) system calls is used, so the running command may inherit some of the environment of the original program (including open file descriptors). - !ruby/struct:SM::Flow::VERB body: " exec "echo *" # echoes list of files in current directory\n # never get here\n\n exec "echo", "*" # echoes an asterisk\n # never get here\n" full_name: Kernel#exec is_singleton: false name: exec params: | exec(command [, arg, ...]) visibility: public ri/1.8/system/Kernel/fail-i.yaml 0000644 00000002106 15217654525 0012270 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: With no arguments, raises the exception in $! or raises a RuntimeError if $! is nil. With a single String argument, raises a RuntimeError with the string as a message. Otherwise, the first parameter should be the name of an Exception class (or an object that returns an Exception object when sent an exception message). The optional second parameter sets the message associated with the exception, and the third parameter is an array of callback information. Exceptions are caught by the rescue clause of begin...end blocks. - !ruby/struct:SM::Flow::VERB body: " raise "Failed to create socket"\n raise ArgumentError, "No parameters", caller\n" full_name: Kernel#fail is_singleton: false name: fail params: | raise raise(string) raise(exception [, string [, array]]) fail fail(string) fail(exception [, string [, array]]) visibility: public ri/1.8/system/Kernel/putc-i.yaml 0000644 00000000453 15217654525 0012333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Equivalent to:" - !ruby/struct:SM::Flow::VERB body: " $stdout.putc(int)\n" full_name: Kernel#putc is_singleton: false name: putc params: | putc(int) => int visibility: public ri/1.8/system/Kernel/eval-i.yaml 0000644 00000001564 15217654525 0012313 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evaluates the Ruby expression(s) in string. If binding is given, the evaluation is performed in its context. The binding may be a Binding object or a Proc object. If the optional filename and lineno parameters are present, they will be used when reporting syntax errors. - !ruby/struct:SM::Flow::VERB body: " def getBinding(str)\n return binding\n end\n str = "hello"\n eval "str + ' Fred'" #=> "hello Fred"\n eval "str + ' Fred'", getBinding("bye") #=> "bye Fred"\n" full_name: Kernel#eval is_singleton: false name: eval params: | eval(string [, binding [, filename [,lineno]]]) => obj visibility: public ri/1.8/system/Kernel/load-i.yaml 0000644 00000001305 15217654525 0012274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Loads and executes the Ruby program in the file filename. If the filename does not resolve to an absolute path, the file is searched for in the library directories listed in $:. If the optional wrap parameter is true, the loaded script will be executed under an anonymous module, protecting the calling program's global namespace. In no circumstance will any local variables in the loaded file be propagated to the loading environment. full_name: Kernel#load is_singleton: false name: load params: | load(filename, wrap=false) => true visibility: public ri/1.8/system/Kernel/select-i.yaml 0000644 00000000507 15217654525 0012637 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Kernel#select. full_name: Kernel#select is_singleton: false name: select params: | IO.select(read_array [, write_array [, error_array [, timeout]]] ) => array or nil visibility: public ri/1.8/system/Kernel/system-i.yaml 0000644 00000001347 15217654525 0012707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Executes cmd in a subshell, returning true if the command was found and ran successfully, false otherwise. An error status is available in $?. The arguments are processed in the same way as for Kernel::exec. - !ruby/struct:SM::Flow::VERB body: " system("echo *")\n system("echo", "*")\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " config.h main.rb\n *\n" full_name: Kernel#system is_singleton: false name: system params: | system(cmd [, arg, ...]) => true or false visibility: public ri/1.8/system/Kernel/set_trace_func-i.yaml 0000644 00000003342 15217654525 0014344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Establishes proc as the handler for tracing, or disables tracing if the parameter is nil. proc takes up to six parameters: an event name, a filename, a line number, an object id, a binding, and the name of a class. proc is invoked whenever an event occurs. Events are: c-call (call a C-language routine), c-return (return from a C-language routine), call (call a Ruby method), class (start a class or module definition), end (finish a class or module definition), line (execute code on a new line), raise (raise an exception), and return (return from a Ruby method). Tracing is disabled within the context of proc." - !ruby/struct:SM::Flow::VERB body: " class Test\n def test\n a = 1\n b = 2\n end\n end\n\n set_trace_func proc { |event, file, line, id, binding, classname|\n printf "%8s %s:%-2d %10s %8s\\n", event, file, line, id, classname\n }\n t = Test.new\n t.test\n\n line prog.rb:11 false\n c-call prog.rb:11 new Class\n c-call prog.rb:11 initialize Object\n c-return prog.rb:11 initialize Object\n c-return prog.rb:11 new Class\n line prog.rb:12 false\n call prog.rb:2 test Test\n line prog.rb:3 test Test\n line prog.rb:4 test Test\n return prog.rb:4 test Test\n" full_name: Kernel#set_trace_func is_singleton: false name: set_trace_func params: | set_trace_func(proc) => proc set_trace_func(nil) => nil visibility: public ri/1.8/system/Kernel/pp-i.yaml 0000644 00000000435 15217654525 0011777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: prints arguments in pretty form. - !ruby/struct:SM::Flow::P body: pp returns nil. full_name: Kernel#pp is_singleton: false name: pp params: (*objs) visibility: private ri/1.8/system/Kernel/sub-i.yaml 0000644 00000000572 15217654525 0012153 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to $_.sub(args), except that $_ will be updated if substitution occurs. full_name: Kernel#sub is_singleton: false name: sub params: | sub(pattern, replacement) => $_ sub(pattern) { block } => $_ visibility: public ri/1.8/system/Kernel/proc-i.yaml 0000644 00000000604 15217654525 0012321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to Proc.new, except the resulting Proc objects check the number of parameters passed when called. full_name: Kernel#proc is_singleton: false name: proc params: | proc { |...| block } => a_proc lambda { |...| block } => a_proc visibility: public ri/1.8/system/Kernel/rand-i.yaml 0000644 00000002005 15217654525 0012277 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts max to an integer using max1 = max.to_i.abs. If the result is zero, returns a pseudorandom floating point number greater than or equal to 0.0 and less than 1.0. Otherwise, returns a pseudorandom integer greater than or equal to zero and less than max1. Kernel::srand may be used to ensure repeatable sequences of random numbers between different runs of the program. Ruby currently uses a modified Mersenne Twister with a period of 2**19937-1. - !ruby/struct:SM::Flow::VERB body: " srand 1234 #=> 0\n [ rand, rand ] #=> [0.191519450163469, 0.49766366626136]\n [ rand(10), rand(1000) ] #=> [6, 817]\n srand 1234 #=> 1234\n [ rand, rand ] #=> [0.191519450163469, 0.49766366626136]\n" full_name: Kernel#rand is_singleton: false name: rand params: | rand(max=0) => number visibility: public ri/1.8/system/Kernel/abort-i.yaml 0000644 00000000612 15217654525 0012464 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Terminate execution immediately, effectively by calling Kernel.exit(1). If msg is given, it is written to STDERR prior to terminating. full_name: Kernel#abort is_singleton: false name: abort params: | abort Kernel::abort Process::abort visibility: public ri/1.8/system/Kernel/block_given%3f-i.yaml 0000644 00000001343 15217654525 0014137 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if yield would execute a block in the current context. The iterator? form is mildly deprecated. - !ruby/struct:SM::Flow::VERB body: " def try\n if block_given?\n yield\n else\n "no block"\n end\n end\n try #=> "no block"\n try { "hello" } #=> "hello"\n try do "hello" end #=> "hello"\n" full_name: Kernel#block_given? is_singleton: false name: block_given? params: | block_given? => true or false iterator? => true or false visibility: public ri/1.8/system/Kernel/iterator%3f-i.yaml 0000644 00000001335 15217654525 0013507 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if yield would execute a block in the current context. The iterator? form is mildly deprecated. - !ruby/struct:SM::Flow::VERB body: " def try\n if block_given?\n yield\n else\n "no block"\n end\n end\n try #=> "no block"\n try { "hello" } #=> "hello"\n try do "hello" end #=> "hello"\n" full_name: Kernel#iterator? is_singleton: false name: iterator? params: | block_given? => true or false iterator? => true or false visibility: public ri/1.8/system/Kernel/getc-i.yaml 0000644 00000000317 15217654525 0012301 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: obsolete full_name: Kernel#getc is_singleton: false name: getc params: () visibility: public ri/1.8/system/Kernel/lambda-i.yaml 0000644 00000000610 15217654525 0012573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to Proc.new, except the resulting Proc objects check the number of parameters passed when called. full_name: Kernel#lambda is_singleton: false name: lambda params: | proc { |...| block } => a_proc lambda { |...| block } => a_proc visibility: public ri/1.8/system/Kernel/readline-i.yaml 0000644 00000000532 15217654525 0013141 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to Kernel::gets, except readline raises EOFError at end of file. full_name: Kernel#readline is_singleton: false name: readline params: | readline(separator=$/) => string visibility: public ri/1.8/system/Kernel/loop-i.yaml 0000644 00000000762 15217654525 0012334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Repeatedly executes the block. - !ruby/struct:SM::Flow::VERB body: " loop do\n print "Input: "\n line = gets\n break if !line or line =~ /^qQ/\n # ...\n end\n" - !ruby/struct:SM::Flow::P body: StopIteration raised in the block breaks the loop. full_name: Kernel#loop is_singleton: false name: loop params: | loop {|| block } visibility: public ri/1.8/system/Kernel/autoload-i.yaml 0000644 00000001017 15217654525 0013165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Registers filename to be loaded (using Kernel::require) the first time that module (which may be a String or a symbol) is accessed. - !ruby/struct:SM::Flow::VERB body: " autoload(:MyModule, "/usr/local/lib/modules/my_module.rb")\n" full_name: Kernel#autoload is_singleton: false name: autoload params: | autoload(module, filename) => nil visibility: public ri/1.8/system/Kernel/fork-i.yaml 0000644 00000002055 15217654525 0012321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a subprocess. If a block is specified, that block is run in the subprocess, and the subprocess terminates with a status of zero. Otherwise, the fork call returns twice, once in the parent, returning the process ID of the child, and once in the child, returning nil. The child process can exit using Kernel.exit! to avoid running any at_exit functions. The parent process should use Process.wait to collect the termination statuses of its children or use Process.detach to register disinterest in their status; otherwise, the operating system may accumulate zombie processes. - !ruby/struct:SM::Flow::P body: The thread calling fork is the only thread in the created child process. fork doesn't copy other threads. full_name: Kernel#fork is_singleton: false name: fork params: | Kernel.fork [{ block }] => fixnum or nil Process.fork [{ block }] => fixnum or nil visibility: public ri/1.8/system/Kernel/at_exit-i.yaml 0000644 00000001424 15217654525 0013014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts block to a Proc object (and therefore binds it at the point of call) and registers it for execution when the program exits. If multiple handlers are registered, they are executed in reverse order of registration. - !ruby/struct:SM::Flow::VERB body: " def do_at_exit(str1)\n at_exit { print str1 }\n end\n at_exit { puts "cruel world" }\n do_at_exit("goodbye ")\n exit\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " goodbye cruel world\n" full_name: Kernel#at_exit is_singleton: false name: at_exit params: | at_exit { block } -> proc visibility: public ri/1.8/system/Kernel/printf-i.yaml 0000644 00000001003 15217654525 0012652 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Equivalent to:" - !ruby/struct:SM::Flow::VERB body: " io.write(sprintf(string, obj, ...)\n" - !ruby/struct:SM::Flow::P body: or - !ruby/struct:SM::Flow::VERB body: " $stdout.write(sprintf(string, obj, ...)\n" full_name: Kernel#printf is_singleton: false name: printf params: | printf(io, string [, obj ... ] ) => nil printf(string [, obj ... ] ) => nil visibility: public ri/1.8/system/Kernel/print-i.yaml 0000644 00000001651 15217654525 0012515 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Prints each object in turn to $stdout. If the output field separator ($,) is not nil, its contents will appear between each field. If the output record separator ($\) is not nil, it will be appended to the output. If no arguments are given, prints $_. Objects that aren't strings will be converted by calling their to_s method. - !ruby/struct:SM::Flow::VERB body: " print "cat", [1,2,3], 99, "\\n"\n $, = ", "\n $\\ = "\\n"\n print "cat", [1,2,3], 99\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " cat12399\n cat, 1, 2, 3, 99\n" full_name: Kernel#print is_singleton: false name: print params: | print(obj, ...) => nil visibility: public ri/1.8/system/Kernel/puts-i.yaml 0000644 00000000465 15217654525 0012356 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to - !ruby/struct:SM::Flow::VERB body: " $stdout.puts(obj, ...)\n" full_name: Kernel#puts is_singleton: false name: puts params: | puts(obj, ...) => nil visibility: public ri/1.8/system/Kernel/exit-i.yaml 0000644 00000002544 15217654525 0012334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Initiates the termination of the Ruby script by raising the SystemExit exception. This exception may be caught. The optional parameter is used to return a status code to the invoking environment. - !ruby/struct:SM::Flow::VERB body: " begin\n exit\n puts "never get here"\n rescue SystemExit\n puts "rescued a SystemExit exception"\n end\n puts "after begin block"\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " rescued a SystemExit exception\n after begin block\n" - !ruby/struct:SM::Flow::P body: Just prior to termination, Ruby executes any at_exit functions (see Kernel::at_exit) and runs any object finalizers (see ObjectSpace::define_finalizer). - !ruby/struct:SM::Flow::VERB body: " at_exit { puts "at_exit function" }\n ObjectSpace.define_finalizer("string", proc { puts "in finalizer" })\n exit\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " at_exit function\n in finalizer\n" full_name: Kernel#exit is_singleton: false name: exit params: | exit(integer=0) Kernel::exit(integer=0) Process::exit(integer=0) visibility: public ri/1.8/system/Kernel/chop%21-i.yaml 0000644 00000001062 15217654525 0012516 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to $_.chop!. - !ruby/struct:SM::Flow::VERB body: " a = "now\\r\\n"\n $_ = a\n chop! #=> "now"\n chop! #=> "no"\n chop! #=> "n"\n chop! #=> ""\n chop! #=> nil\n $_ #=> ""\n a #=> ""\n" full_name: Kernel#chop! is_singleton: false name: chop! params: | chop! => $_ or nil visibility: public ri/1.8/system/Kernel/gsub%21-i.yaml 0000644 00000001074 15217654525 0012530 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to Kernel::gsub, except nil is returned if $_ is not modified. - !ruby/struct:SM::Flow::VERB body: " $_ = "quick brown fox"\n gsub! /cat/, '*' #=> nil\n $_ #=> "quick brown fox"\n" full_name: Kernel#gsub! is_singleton: false name: gsub! params: | gsub!(pattern, replacement) => string or nil gsub!(pattern) {|...| block } => string or nil visibility: public ri/1.8/system/Kernel/Integer-i.yaml 0000644 00000001422 15217654525 0012752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts arg to a Fixnum or Bignum. Numeric types are converted directly (with floating point numbers being truncated). If arg is a String, leading radix indicators (0, 0b, and 0x) are honored. Others are converted using to_int and to_i. This behavior is different from that of String#to_i. - !ruby/struct:SM::Flow::VERB body: " Integer(123.999) #=> 123\n Integer("0x1a") #=> 26\n Integer(Time.new) #=> 1049896590\n" full_name: Kernel#Integer is_singleton: false name: Integer params: | Integer(arg) => integer visibility: public ri/1.8/system/Kernel/open-i.yaml 0000644 00000001647 15217654525 0012327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: makes possible to open various resources including URIs. If the first argument respond to `open' method, the method is called with the rest arguments. - !ruby/struct:SM::Flow::P body: If the first argument is a string which begins with xxx://, it is parsed by URI.parse. If the parsed object respond to `open' method, the method is called with the rest arguments. - !ruby/struct:SM::Flow::P body: Otherwise original open is called. - !ruby/struct:SM::Flow::P body: Since open-uri.rb provides URI::HTTP#open, URI::HTTPS#open and URI::FTP#open, Kernel[#.]open can accepts such URIs and strings which begins with http://, https:// and ftp://. In these case, the opened file object is extended by OpenURI::Meta. full_name: Kernel#open is_singleton: false name: open params: (name, *rest, &block) visibility: private ri/1.8/system/Kernel/test-i.yaml 0000644 00000005522 15217654525 0012341 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::VERB body: " Uses the integer aCmd to perform various tests on\n file1 (first table below) or on file1 and\n file2 (second table).\n\n File tests on a single file:\n\n Test Returns Meaning\n ?A | Time | Last access time for file1\n ?b | boolean | True if file1 is a block device\n ?c | boolean | True if file1 is a character device\n ?C | Time | Last change time for file1\n ?d | boolean | True if file1 exists and is a directory\n ?e | boolean | True if file1 exists\n ?f | boolean | True if file1 exists and is a regular file\n ?g | boolean | True if file1 has the \\CF{setgid} bit\n | | set (false under NT)\n ?G | boolean | True if file1 exists and has a group\n | | ownership equal to the caller's group\n ?k | boolean | True if file1 exists and has the sticky bit set\n ?l | boolean | True if file1 exists and is a symbolic link\n ?M | Time | Last modification time for file1\n ?o | boolean | True if file1 exists and is owned by\n | | the caller's effective uid\n ?O | boolean | True if file1 exists and is owned by\n | | the caller's real uid\n ?p | boolean | True if file1 exists and is a fifo\n ?r | boolean | True if file1 is readable by the effective\n | | uid/gid of the caller\n ?R | boolean | True if file is readable by the real\n | | uid/gid of the caller\n ?s | int/nil | If file1 has nonzero size, return the size,\n | | otherwise return nil\n ?S | boolean | True if file1 exists and is a socket\n ?u | boolean | True if file1 has the setuid bit set\n ?w | boolean | True if file1 exists and is writable by\n | | the effective uid/gid\n ?W | boolean | True if file1 exists and is writable by\n | | the real uid/gid\n ?x | boolean | True if file1 exists and is executable by\n | | the effective uid/gid\n ?X | boolean | True if file1 exists and is executable by\n | | the real uid/gid\n ?z | boolean | True if file1 exists and has a zero length\n" - !ruby/struct:SM::Flow::P body: "Tests that take two files:" - !ruby/struct:SM::Flow::VERB body: " ?- | boolean | True if file1 and file2 are identical\n ?= | boolean | True if the modification times of file1\n | | and file2 are equal\n ?< | boolean | True if the modification time of file1\n | | is prior to that of file2\n ?> | boolean | True if the modification time of file1\n | | is after that of file2\n" full_name: Kernel#test is_singleton: false name: test params: | test(int_cmd, file1 [, file2] ) => obj visibility: public ri/1.8/system/Kernel/scanf-i.yaml 0000644 00000000252 15217654525 0012447 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Kernel#scanf is_singleton: false name: scanf params: (fs,&b) visibility: private ri/1.8/system/Kernel/gets-i.yaml 0000644 00000002412 15217654525 0012317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns (and assigns to $_) the next line from the list of files in ARGV (or $*), or from standard input if no files are present on the command line. Returns nil at end of file. The optional argument specifies the record separator. The separator is included with the contents of each record. A separator of nil reads the entire contents, and a zero-length separator reads the input one paragraph at a time, where paragraphs are divided by two consecutive newlines. If multiple filenames are present in ARGV, +gets(nil)+ will read the contents one file at a time. - !ruby/struct:SM::Flow::VERB body: " ARGV << "testfile"\n print while gets\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " This is line one\n This is line two\n This is line three\n And so on...\n" - !ruby/struct:SM::Flow::P body: The style of programming using $_ as an implicit parameter is gradually losing favor in the Ruby community. full_name: Kernel#gets is_singleton: false name: gets params: | gets(separator=$/) => string or nil visibility: public ri/1.8/system/Kernel/y-i.yaml 0000644 00000001041 15217654525 0011622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Prints any supplied objects out in YAML. Intended as a variation on +Kernel::p+. - !ruby/struct:SM::Flow::VERB body: " S = Struct.new(:name, :state)\n s = S['dave', 'TX']\n y s\n" - !ruby/struct:SM::Flow::P body: _produces:_ - !ruby/struct:SM::Flow::VERB body: " --- !ruby/struct:S\n name: dave\n state: TX\n" full_name: Kernel#y is_singleton: false name: y params: ( object, *objects ) visibility: private ri/1.8/system/Kernel/trace_var-i.yaml 0000644 00000001730 15217654525 0013325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Controls tracing of assignments to global variables. The parameter +symbol_ identifies the variable (as either a string name or a symbol identifier). cmd (which may be a string or a Proc object) or block is executed whenever the variable is assigned. The block or Proc object receives the variable's new value as a parameter. Also see Kernel::untrace_var. - !ruby/struct:SM::Flow::VERB body: " trace_var :$_, proc {|v| puts "$_ is now '#{v}'" }\n $_ = "hello"\n $_ = ' there'\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " $_ is now 'hello'\n $_ is now ' there'\n" full_name: Kernel#trace_var is_singleton: false name: trace_var params: | trace_var(symbol, cmd ) => nil trace_var(symbol) {|val| block } => nil visibility: public ri/1.8/system/Kernel/split-i.yaml 0000644 00000000517 15217654525 0012514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to $_.split(pattern, limit). See String#split. full_name: Kernel#split is_singleton: false name: split params: | split([pattern [, limit]]) => array visibility: public ri/1.8/system/Kernel/format-i.yaml 0000644 00000014162 15217654525 0012652 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns the string resulting from applying format_string to any additional arguments. Within the format string, any characters other than format sequences are copied to the result. A format sequence consists of a percent sign, followed by optional flags, width, and precision indicators, then terminated with a field type character. The field type controls how the corresponding sprintf argument is to be interpreted, while the flags modify that interpretation. The field type characters are listed in the table at the end of this section. The flag characters are:" - !ruby/struct:SM::Flow::VERB body: " Flag | Applies to | Meaning\n ---------+--------------+-----------------------------------------\n space | bdeEfgGiouxX | Leave a space at the start of\n | | positive numbers.\n ---------+--------------+-----------------------------------------\n (digit)$ | all | Specifies the absolute argument number\n | | for this field. Absolute and relative\n | | argument numbers cannot be mixed in a\n | | sprintf string.\n ---------+--------------+-----------------------------------------\n # | beEfgGoxX | Use an alternative format. For the\n | | conversions `o', `x', `X', and `b',\n | | prefix the result with ``0'', ``0x'', ``0X'',\n | | and ``0b'', respectively. For `e',\n | | `E', `f', `g', and 'G', force a decimal\n | | point to be added, even if no digits follow.\n | | For `g' and 'G', do not remove trailing zeros.\n ---------+--------------+-----------------------------------------\n + | bdeEfgGiouxX | Add a leading plus sign to positive numbers.\n ---------+--------------+-----------------------------------------\n - | all | Left-justify the result of this conversion.\n ---------+--------------+-----------------------------------------\n 0 (zero) | bdeEfgGiouxX | Pad with zeros, not spaces.\n ---------+--------------+-----------------------------------------\n * | all | Use the next argument as the field width.\n | | If negative, left-justify the result. If the\n | | asterisk is followed by a number and a dollar\n | | sign, use the indicated argument as the width.\n" - !ruby/struct:SM::Flow::P body: The field width is an optional integer, followed optionally by a period and a precision. The width specifies the minimum number of characters that will be written to the result for this field. For numeric fields, the precision controls the number of decimal places displayed. For string fields, the precision determines the maximum number of characters to be copied from the string. (Thus, the format sequence %10.10s will always contribute exactly ten characters to the result.) - !ruby/struct:SM::Flow::P body: "The field types are:" - !ruby/struct:SM::Flow::VERB body: " Field | Conversion\n ------+--------------------------------------------------------------\n b | Convert argument as a binary number.\n c | Argument is the numeric code for a single character.\n d | Convert argument as a decimal number.\n E | Equivalent to `e', but uses an uppercase E to indicate\n | the exponent.\n e | Convert floating point argument into exponential notation\n | with one digit before the decimal point. The precision\n | determines the number of fractional digits (defaulting to six).\n f | Convert floating point argument as [-]ddd.ddd,\n | where the precision determines the number of digits after\n | the decimal point.\n G | Equivalent to `g', but use an uppercase `E' in exponent form.\n g | Convert a floating point number using exponential form\n | if the exponent is less than -4 or greater than or\n | equal to the precision, or in d.dddd form otherwise.\n i | Identical to `d'.\n o | Convert argument as an octal number.\n p | The valuing of argument.inspect.\n s | Argument is a string to be substituted. If the format\n | sequence contains a precision, at most that many characters\n | will be copied.\n u | Treat argument as an unsigned decimal number. Negative integers\n | are displayed as a 32 bit two's complement plus one for the\n | underlying architecture; that is, 2 ** 32 + n. However, since\n | Ruby has no inherent limit on bits used to represent the\n | integer, this value is preceded by two dots (..) in order to\n | indicate a infinite number of leading sign bits.\n X | Convert argument as a hexadecimal number using uppercase\n | letters. Negative numbers will be displayed with two\n | leading periods (representing an infinite string of\n | leading 'FF's.\n x | Convert argument as a hexadecimal number.\n | Negative numbers will be displayed with two\n | leading periods (representing an infinite string of\n | leading 'ff's.\n" - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " sprintf("%d %04x", 123, 123) #=> "123 007b"\n sprintf("%08b '%4s'", 123, 123) #=> "01111011 ' 123'"\n sprintf("%1$*2$s %2$d %1$s", "hello", 8) #=> " hello 8 hello"\n sprintf("%1$*2$s %2$d", "hello", -8) #=> "hello -8"\n sprintf("%+g:% g:%-g", 1.23, 1.23, 1.23) #=> "+1.23: 1.23:1.23"\n sprintf("%u", -123) #=> "..4294967173"\n" full_name: Kernel#format is_singleton: false name: format params: | format(format_string [, arguments...] ) => string sprintf(format_string [, arguments...] ) => string visibility: public ri/1.8/system/Kernel/p-i.yaml 0000644 00000001161 15217654525 0011614 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: For each object, directly writes obj.inspect followed by the current output record separator to the program's standard output. - !ruby/struct:SM::Flow::VERB body: " S = Struct.new(:name, :state)\n s = S['dave', 'TX']\n p s\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " #<S name="dave", state="TX">\n" full_name: Kernel#p is_singleton: false name: p params: | p(obj, ...) => nil visibility: public ri/1.8/system/Kernel/binding-i.yaml 0000644 00000001246 15217654525 0012773 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a Binding object, describing the variable and method bindings at the point of call. This object can be used when calling eval to execute the evaluated command in this environment. Also see the description of class Binding. - !ruby/struct:SM::Flow::VERB body: " def getBinding(param)\n return binding\n end\n b = getBinding("hello")\n eval("param", b) #=> "hello"\n" full_name: Kernel#binding is_singleton: false name: binding params: | binding -> a_binding visibility: public ri/1.8/system/Kernel/global_variables-i.yaml 0000644 00000000702 15217654525 0014645 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array of the names of global variables. - !ruby/struct:SM::Flow::VERB body: " global_variables.grep /std/ #=> ["$stderr", "$stdout", "$stdin"]\n" full_name: Kernel#global_variables is_singleton: false name: global_variables params: | global_variables => array visibility: public ri/1.8/system/Kernel/method_missing-i.yaml 0000644 00000002060 15217654525 0014365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invoked by Ruby when obj is sent a message it cannot handle. symbol is the symbol for the method called, and args are any arguments that were passed to it. By default, the interpreter raises an error when this method is called. However, it is possible to override the method to provide more dynamic behavior. The example below creates a class Roman, which responds to methods with names consisting of roman numerals, returning the corresponding integer values. - !ruby/struct:SM::Flow::VERB body: " class Roman\n def romanToInt(str)\n # ...\n end\n def method_missing(methId)\n str = methId.id2name\n romanToInt(str)\n end\n end\n\n r = Roman.new\n r.iv #=> 4\n r.xxiii #=> 23\n r.mm #=> 2000\n" full_name: Kernel#method_missing is_singleton: false name: method_missing params: | obj.method_missing(symbol [, *args] ) => result visibility: public ri/1.8/system/Kernel/gsub-i.yaml 0000644 00000001074 15217654525 0012320 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to $_.gsub..., except that $_ receives the modified result. - !ruby/struct:SM::Flow::VERB body: " $_ = "quick brown fox"\n gsub /[aeiou]/, '*' #=> "q**ck br*wn f*x"\n $_ #=> "q**ck br*wn f*x"\n" full_name: Kernel#gsub is_singleton: false name: gsub params: | gsub(pattern, replacement) => string gsub(pattern) {|...| block } => string visibility: public ri/1.8/system/Kernel/raise-i.yaml 0000644 00000002110 15217654525 0012453 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: With no arguments, raises the exception in $! or raises a RuntimeError if $! is nil. With a single String argument, raises a RuntimeError with the string as a message. Otherwise, the first parameter should be the name of an Exception class (or an object that returns an Exception object when sent an exception message). The optional second parameter sets the message associated with the exception, and the third parameter is an array of callback information. Exceptions are caught by the rescue clause of begin...end blocks. - !ruby/struct:SM::Flow::VERB body: " raise "Failed to create socket"\n raise ArgumentError, "No parameters", caller\n" full_name: Kernel#raise is_singleton: false name: raise params: | raise raise(string) raise(exception [, string [, array]]) fail fail(string) fail(exception [, string [, array]]) visibility: public ri/1.8/system/Kernel/%60-i.yaml 0000644 00000001220 15217654525 0011643 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the standard output of running cmd in a subshell. The built-in syntax %x{...} uses this method. Sets $? to the process status. - !ruby/struct:SM::Flow::VERB body: " `date` #=> "Wed Apr 9 08:56:30 CDT 2003\\n"\n `ls testdir`.split[1] #=> "main.rb"\n `echo oops && exit 99` #=> "oops\\n"\n $?.exitstatus #=> 99\n" full_name: Kernel#` is_singleton: false name: ` params: | `cmd` => string visibility: public ri/1.8/system/Kernel/autoload%3f-i.yaml 0000644 00000001021 15217654525 0013456 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Registers filename to be loaded (using Kernel::require) the first time that module (which may be a String or a symbol) is accessed. - !ruby/struct:SM::Flow::VERB body: " autoload(:MyModule, "/usr/local/lib/modules/my_module.rb")\n" full_name: Kernel#autoload? is_singleton: false name: autoload? params: | autoload(module, filename) => nil visibility: public ri/1.8/system/Kernel/chomp%21-i.yaml 0000644 00000001100 15217654525 0012664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to $_.chomp!(string). See String#chomp! - !ruby/struct:SM::Flow::VERB body: " $_ = "now\\n"\n chomp! #=> "now"\n $_ #=> "now"\n chomp! "x" #=> nil\n $_ #=> "now"\n" full_name: Kernel#chomp! is_singleton: false name: chomp! params: | chomp! => $_ or nil chomp!(string) => $_ or nil visibility: public ri/1.8/system/Kernel/exit%21-i.yaml 0000644 00000000644 15217654525 0012543 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Exits the process immediately. No exit handlers are run. fixnum is returned to the underlying system as the exit status. - !ruby/struct:SM::Flow::VERB body: " Process.exit!(0)\n" full_name: Kernel#exit! is_singleton: false name: exit! params: | Process.exit!(fixnum=-1) visibility: public ri/1.8/system/Kernel/trap-i.yaml 0000644 00000002562 15217654525 0012331 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Specifies the handling of signals. The first parameter is a signal name (a string such as ``SIGALRM'', ``SIGUSR1'', and so on) or a signal number. The characters ``SIG'' may be omitted from the signal name. The command or block specifies code to be run when the signal is raised. If the command is the string ``IGNORE'' or ``SIG_IGN'', the signal will be ignored. If the command is ``DEFAULT'' or ``SIG_DFL'', the operating system's default handler will be invoked. If the command is ``EXIT'', the script will be terminated by the signal. Otherwise, the given command or block will be run. The special signal name ``EXIT'' or signal number zero will be invoked just prior to program termination. trap returns the previous handler for the given signal. - !ruby/struct:SM::Flow::VERB body: " Signal.trap(0, proc { puts "Terminating: #{$$}" })\n Signal.trap("CLD") { puts "Child died" }\n fork && Process.wait\n" - !ruby/struct:SM::Flow::P body: "produces:" - !ruby/struct:SM::Flow::VERB body: " Terminating: 27461\n Child died\n Terminating: 27460\n" full_name: Kernel#trap is_singleton: false name: trap params: | Signal.trap( signal, proc ) => obj Signal.trap( signal ) {| | block } => obj visibility: public ri/1.8/system/Kernel/callcc-i.yaml 0000644 00000001306 15217654525 0012577 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generates a Continuation object, which it passes to the associated block. Performing a cont.call will cause the callcc to return (as will falling through the end of the block). The value returned by the callcc is the value of the block, or the value passed to cont.call. See class Continuation for more details. Also see Kernel::throw for an alternative mechanism for unwinding a call stack. full_name: Kernel#callcc is_singleton: false name: callcc params: | callcc {|cont| block } => obj visibility: public ri/1.8/system/Kernel/Pathname-i.yaml 0000644 00000000467 15217654525 0013122 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: create a pathname object. - !ruby/struct:SM::Flow::P body: This method is available since 1.8.5. full_name: Kernel#Pathname is_singleton: false name: Pathname params: (path) visibility: private ri/1.8/system/Kernel/local_variables-i.yaml 0000644 00000000712 15217654525 0014500 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the names of the current local variables. - !ruby/struct:SM::Flow::VERB body: " fred = 1\n for i in 1..10\n # ...\n end\n local_variables #=> ["fred", "i"]\n" full_name: Kernel#local_variables is_singleton: false name: local_variables params: | local_variables => array visibility: public ri/1.8/system/Kernel/syscall-i.yaml 0000644 00000001611 15217654525 0013027 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls the operating system function identified by fixnum, passing in the arguments, which must be either String objects, or Integer objects that ultimately fit within a native long. Up to nine parameters may be passed (14 on the Atari-ST). The function identified by fixnum is system dependent. On some Unix systems, the numbers may be obtained from a header file called syscall.h. - !ruby/struct:SM::Flow::VERB body: " syscall 4, 1, "hello\\n", 6 # '4' is write(2) on our box\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " hello\n" full_name: Kernel#syscall is_singleton: false name: syscall params: | syscall(fixnum [, args...]) => integer visibility: public ri/1.8/system/Kernel/srand-i.yaml 0000644 00000001340 15217654525 0012463 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Seeds the pseudorandom number generator to the value of number.to_i.abs. If number is omitted, seeds the generator using a combination of the time, the process id, and a sequence number. (This is also the behavior if Kernel::rand is called without previously calling srand, but without the sequence.) By setting the seed to a known value, scripts can be made deterministic during testing. The previous seed value is returned. Also see Kernel::rand. full_name: Kernel#srand is_singleton: false name: srand params: | srand(number=0) => old_seed visibility: public ri/1.8/system/Kernel/__method__-i.yaml 0000644 00000001137 15217654525 0013434 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the name of the current method as a Symbol. If called from inside of an aliased method it will return the original nonaliased name. If called outside of a method, it returns nil. - !ruby/struct:SM::Flow::VERB body: " def foo\n method\n end\n alias bar foo\n\n foo # => :foo\n bar # => :foo\n" full_name: Kernel#__method__ is_singleton: false name: __method__ params: | __method__ => symbol visibility: public ri/1.8/system/fatal/cdesc-fatal.yaml 0000644 00000001160 15217654525 0013143 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: fatal includes: [] instance_methods: [] name: fatal superclass: Exception ri/1.8/system/IPSocket/cdesc-IPSocket.yaml 0000644 00000002625 15217654525 0014136 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: IPSocket is the parent of TCPSocket and UDPSocket and implements functionality common to them. - !ruby/struct:SM::Flow::P body: "A number of APIs in IPSocket, Socket, and their descendants return an address as an array. The members of that array are:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "address family: A string like "AF_INET" or "AF_INET6" if it is one of the commonly used families, the string "unknown:#" (where `#' is the address family number) if it is not one of the common ones. The strings map to the Socket::AF_* constants." - !ruby/struct:SM::Flow::LI label: "-" body: "port: The port number." - !ruby/struct:SM::Flow::LI label: "-" body: "name: Either the canonical name from looking the address up in the DNS, or the address in presentation format" - !ruby/struct:SM::Flow::LI label: "-" body: "address: The address in presentation format (a dotted decimal string for IPv4, a hex string for IPv6)." type: :BULLET - !ruby/struct:SM::Flow::P body: The address and port can be used directly to create sockets and to bind or connect them to the address. constants: [] full_name: IPSocket includes: [] instance_methods: [] name: IPSocket superclass: BasicSocket ri/1.8/system/URI/MailTo/new-c.yaml 0000644 00000000736 15217654525 0012553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Creates a new URI::MailTo object from generic URL components with no syntax checking. - !ruby/struct:SM::Flow::P body: This method is usually called from URI::parse, which checks the validity of each component. full_name: URI::MailTo::new is_singleton: true name: new params: (*arg) visibility: public ri/1.8/system/URI/MailTo/to_s-i.yaml 0000644 00000000247 15217654525 0012731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::MailTo#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/URI/MailTo/set_to-i.yaml 0000644 00000000257 15217654525 0013263 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::MailTo#set_to is_singleton: false name: set_to params: (v) visibility: protected ri/1.8/system/URI/MailTo/to_rfc822text-i.yaml 0000644 00000000366 15217654525 0014404 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #to_mailtext" full_name: URI::MailTo#to_rfc822text is_singleton: false name: to_rfc822text params: () visibility: public ri/1.8/system/URI/MailTo/check_headers-i.yaml 0000644 00000000273 15217654525 0014534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::MailTo#check_headers is_singleton: false name: check_headers params: (v) visibility: private ri/1.8/system/URI/MailTo/check_to-i.yaml 0000644 00000000261 15217654525 0013540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::MailTo#check_to is_singleton: false name: check_to params: (v) visibility: private ri/1.8/system/URI/MailTo/set_headers-i.yaml 0000644 00000000271 15217654525 0014250 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::MailTo#set_headers is_singleton: false name: set_headers params: (v) visibility: protected ri/1.8/system/URI/MailTo/to_mailtext-i.yaml 0000644 00000001211 15217654525 0014306 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: to_rfc822text block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the RFC822 e-mail text equivalent of the URL, as a String. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n uri = URI.parse("mailto:ruby-list@ruby-lang.org?Subject=subscribe&cc=myaddr")\n uri.to_mailtext\n # => "To: ruby-list@ruby-lang.org\\nSubject: subscribe\\nCc: myaddr\\n\\n\\n"\n" full_name: URI::MailTo#to_mailtext is_singleton: false name: to_mailtext params: () visibility: public ri/1.8/system/URI/MailTo/build-c.yaml 0000644 00000002616 15217654525 0013060 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Creates a new URI::MailTo object from components, with syntax checking. - !ruby/struct:SM::Flow::P body: Components can be provided as an Array or Hash. If an Array is used, the components must be supplied as [to, headers]. - !ruby/struct:SM::Flow::P body: If a Hash is used, the keys are the component names preceded by colons. - !ruby/struct:SM::Flow::P body: The headers can be supplied as a pre-encoded string, such as "subject=subscribe&cc=address", or as an Array of Arrays like [['subject', 'subscribe'], ['cc', 'address']] - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n m1 = URI::MailTo.build(['joe@example.com', 'subject=Ruby'])\n puts m1.to_s -> mailto:joe@example.com?subject=Ruby\n\n m2 = URI::MailTo.build(['john@example.com', [['Subject', 'Ruby'], ['Cc', 'jack@example.com']]])\n puts m2.to_s -> mailto:john@example.com?Subject=Ruby&Cc=jack@example.com\n\n m3 = URI::MailTo.build({:to => 'listman@example.com', :headers => [['subject', 'subscribe']]})\n puts m3.to_s -> mailto:listman@example.com?subject=subscribe\n" full_name: URI::MailTo::build is_singleton: true name: build params: (args) visibility: public ri/1.8/system/URI/MailTo/cdesc-MailTo.yaml 0000644 00000002475 15217654525 0014010 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: E-mail headers set by the URL, as an Array of Arrays name: headers rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The primary e-mail address of the URL, as a String name: to rw: R class_methods: - !ruby/object:RI::MethodSummary name: build - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: RFC2368, The mailto URL scheme constants: - !ruby/object:RI::Constant comment: name: DEFAULT_PORT value: nil - !ruby/object:RI::Constant comment: name: COMPONENT value: "[ :scheme, :to, :headers ].freeze" full_name: URI::MailTo includes: - !ruby/object:RI::IncludedModule name: REGEXP instance_methods: - !ruby/object:RI::MethodSummary name: check_headers - !ruby/object:RI::MethodSummary name: check_to - !ruby/object:RI::MethodSummary name: headers= - !ruby/object:RI::MethodSummary name: set_headers - !ruby/object:RI::MethodSummary name: set_to - !ruby/object:RI::MethodSummary name: to= - !ruby/object:RI::MethodSummary name: to_mailtext - !ruby/object:RI::MethodSummary name: to_rfc822text - !ruby/object:RI::MethodSummary name: to_s name: MailTo superclass: Generic ri/1.8/system/URI/MailTo/to%3d-i.yaml 0000644 00000000246 15217654525 0012702 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::MailTo#to= is_singleton: false name: to= params: (v) visibility: public ri/1.8/system/URI/MailTo/headers%3d-i.yaml 0000644 00000000260 15217654525 0013667 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::MailTo#headers= is_singleton: false name: headers= params: (v) visibility: public ri/1.8/system/URI/Escape/cdesc-Escape.yaml 0000644 00000000652 15217654525 0014031 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: URI::Escape includes: - !ruby/object:RI::IncludedModule name: REGEXP instance_methods: - !ruby/object:RI::MethodSummary name: decode - !ruby/object:RI::MethodSummary name: encode - !ruby/object:RI::MethodSummary name: escape - !ruby/object:RI::MethodSummary name: unescape name: Escape superclass: ri/1.8/system/URI/Escape/encode-i.yaml 0000644 00000000367 15217654525 0013240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #escape" full_name: URI::Escape#encode is_singleton: false name: encode params: (str, unsafe = UNSAFE) visibility: public ri/1.8/system/URI/Escape/escape-i.yaml 0000644 00000002520 15217654525 0013234 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: encode block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Synopsis - !ruby/struct:SM::Flow::VERB body: " URI.escape(str [, unsafe])\n" - !ruby/struct:SM::Flow::H level: 2 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+str+:" body: String to replaces in. - !ruby/struct:SM::Flow::LI label: "+unsafe+:" body: Regexp that matches all symbols that must be replaced with codes. By default uses REGEXP::UNSAFE. When this argument is a String, it represents a character set. type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Escapes the string, replacing all unsafe characters with codes. - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n enc_uri = URI.escape("http://example.com/?a=\\11\\15")\n p enc_uri\n # => "http://example.com/?a=%09%0D"\n\n p URI.unescape(enc_uri)\n # => "http://example.com/?a=\\t\\r"\n\n p URI.escape("@?@!", "!?")\n # => "@%3F@%21"\n" full_name: URI::Escape#escape is_singleton: false name: escape params: (str, unsafe = UNSAFE) visibility: public ri/1.8/system/URI/Escape/decode-i.yaml 0000644 00000000350 15217654525 0013216 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #unescape" full_name: URI::Escape#decode is_singleton: false name: decode params: (str) visibility: public ri/1.8/system/URI/Escape/unescape-i.yaml 0000644 00000001534 15217654525 0013603 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: decode block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Synopsis - !ruby/struct:SM::Flow::VERB body: " URI.unescape(str)\n" - !ruby/struct:SM::Flow::H level: 2 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+str+:" body: Unescapes the string. type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n enc_uri = URI.escape("http://example.com/?a=\\11\\15")\n p enc_uri\n # => "http://example.com/?a=%09%0D"\n\n p URI.unescape(enc_uri)\n # => "http://example.com/?a=\\t\\r"\n" full_name: URI::Escape#unescape is_singleton: false name: unescape params: (str) visibility: public ri/1.8/system/URI/BadURIError/cdesc-BadURIError.yaml 0000644 00000000413 15217654525 0015564 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: URI is valid, bad usage is not. constants: [] full_name: URI::BadURIError includes: [] instance_methods: [] name: BadURIError superclass: Error ri/1.8/system/URI/InvalidURIError/cdesc-InvalidURIError.yaml 0000644 00000000376 15217654525 0017374 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Not a URI. constants: [] full_name: URI::InvalidURIError includes: [] instance_methods: [] name: InvalidURIError superclass: Error ri/1.8/system/URI/HTTPS/cdesc-HTTPS.yaml 0000644 00000000707 15217654525 0013236 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The default port for HTTPS URIs is 443, and the scheme is 'https:' rather than 'http:'. Other than that, HTTPS URIs are identical to HTTP URIs; see URI::HTTP. constants: - !ruby/object:RI::Constant comment: name: DEFAULT_PORT value: "443" full_name: URI::HTTPS includes: [] instance_methods: [] name: HTTPS superclass: HTTP ri/1.8/system/URI/Util/cdesc-Util.yaml 0000644 00000000264 15217654525 0013262 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: URI::Util includes: [] instance_methods: [] name: Util superclass: ri/1.8/system/URI/LDAP/new-c.yaml 0000644 00000000247 15217654525 0012103 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP::new is_singleton: true name: new params: (*arg) visibility: public ri/1.8/system/URI/LDAP/set_attributes-i.yaml 0000644 00000000277 15217654525 0014364 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#set_attributes is_singleton: false name: set_attributes params: (val) visibility: protected ri/1.8/system/URI/LDAP/attributes-i.yaml 0000644 00000000261 15217654525 0013502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#attributes is_singleton: false name: attributes params: () visibility: public ri/1.8/system/URI/LDAP/scope%3d-i.yaml 0000644 00000000254 15217654525 0012723 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#scope= is_singleton: false name: scope= params: (val) visibility: public ri/1.8/system/URI/LDAP/dn-i.yaml 0000644 00000000241 15217654525 0011713 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#dn is_singleton: false name: dn params: () visibility: public ri/1.8/system/URI/LDAP/extensions-i.yaml 0000644 00000000261 15217654525 0013513 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#extensions is_singleton: false name: extensions params: () visibility: public ri/1.8/system/URI/LDAP/extensions%3d-i.yaml 0000644 00000000266 15217654525 0014014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#extensions= is_singleton: false name: extensions= params: (val) visibility: public ri/1.8/system/URI/LDAP/set_filter-i.yaml 0000644 00000000267 15217654525 0013462 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#set_filter is_singleton: false name: set_filter params: (val) visibility: protected ri/1.8/system/URI/LDAP/build_path_query-i.yaml 0000644 00000000276 15217654525 0014662 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#build_path_query is_singleton: false name: build_path_query params: () visibility: private ri/1.8/system/URI/LDAP/set_dn-i.yaml 0000644 00000000257 15217654525 0012575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#set_dn is_singleton: false name: set_dn params: (val) visibility: protected ri/1.8/system/URI/LDAP/set_extensions-i.yaml 0000644 00000000277 15217654525 0014375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#set_extensions is_singleton: false name: set_extensions params: (val) visibility: protected ri/1.8/system/URI/LDAP/dn%3d-i.yaml 0000644 00000000246 15217654525 0012214 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#dn= is_singleton: false name: dn= params: (val) visibility: public ri/1.8/system/URI/LDAP/filter%3d-i.yaml 0000644 00000000256 15217654525 0013101 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#filter= is_singleton: false name: filter= params: (val) visibility: public ri/1.8/system/URI/LDAP/filter-i.yaml 0000644 00000000251 15217654525 0012600 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#filter is_singleton: false name: filter params: () visibility: public ri/1.8/system/URI/LDAP/build-c.yaml 0000644 00000000253 15217654525 0012406 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP::build is_singleton: true name: build params: (args) visibility: public ri/1.8/system/URI/LDAP/parse_query-i.yaml 0000644 00000000264 15217654525 0013656 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#parse_query is_singleton: false name: parse_query params: () visibility: private ri/1.8/system/URI/LDAP/parse_dn-i.yaml 0000644 00000000256 15217654525 0013113 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#parse_dn is_singleton: false name: parse_dn params: () visibility: private ri/1.8/system/URI/LDAP/hierarchical%3f-i.yaml 0000644 00000000267 15217654525 0014236 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#hierarchical? is_singleton: false name: hierarchical? params: () visibility: public ri/1.8/system/URI/LDAP/cdesc-LDAP.yaml 0000644 00000003516 15217654525 0012673 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: build - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: LDAP URI SCHEMA (described in RFC2255) ldap://<host>/<dn>[?<attrs>[?<scope>[?<filter>[?<extensions>]]]] constants: - !ruby/object:RI::Constant comment: name: DEFAULT_PORT value: "389" - !ruby/object:RI::Constant comment: name: COMPONENT value: "[ :scheme, :host, :port, :dn, :attributes, :scope, :filter, :extensions, ].freeze" - !ruby/object:RI::Constant comment: name: SCOPE value: "[ SCOPE_ONE = 'one', SCOPE_SUB = 'sub', SCOPE_BASE = 'base', ].freeze" full_name: URI::LDAP includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: attributes - !ruby/object:RI::MethodSummary name: attributes= - !ruby/object:RI::MethodSummary name: build_path_query - !ruby/object:RI::MethodSummary name: dn - !ruby/object:RI::MethodSummary name: dn= - !ruby/object:RI::MethodSummary name: extensions - !ruby/object:RI::MethodSummary name: extensions= - !ruby/object:RI::MethodSummary name: filter - !ruby/object:RI::MethodSummary name: filter= - !ruby/object:RI::MethodSummary name: hierarchical? - !ruby/object:RI::MethodSummary name: parse_dn - !ruby/object:RI::MethodSummary name: parse_query - !ruby/object:RI::MethodSummary name: scope - !ruby/object:RI::MethodSummary name: scope= - !ruby/object:RI::MethodSummary name: set_attributes - !ruby/object:RI::MethodSummary name: set_dn - !ruby/object:RI::MethodSummary name: set_extensions - !ruby/object:RI::MethodSummary name: set_filter - !ruby/object:RI::MethodSummary name: set_scope name: LDAP superclass: Generic ri/1.8/system/URI/LDAP/attributes%3d-i.yaml 0000644 00000000266 15217654525 0014003 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#attributes= is_singleton: false name: attributes= params: (val) visibility: public ri/1.8/system/URI/LDAP/set_scope-i.yaml 0000644 00000000265 15217654525 0013304 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#set_scope is_singleton: false name: set_scope params: (val) visibility: protected ri/1.8/system/URI/LDAP/scope-i.yaml 0000644 00000000247 15217654525 0012431 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::LDAP#scope is_singleton: false name: scope params: () visibility: public ri/1.8/system/URI/Error/cdesc-Error.yaml 0000644 00000000412 15217654525 0013605 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Base class for all URI exceptions. constants: [] full_name: URI::Error includes: [] instance_methods: [] name: Error superclass: StandardError ri/1.8/system/URI/HTTP/new-c.yaml 0000644 00000001512 15217654525 0012136 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Create a new URI::HTTP object from generic URI components as per RFC 2396. No HTTP-specific syntax checking (as per RFC 1738) is performed. - !ruby/struct:SM::Flow::P body: Arguments are scheme, userinfo, host, port, registry, path, opaque, query and fragment, in that order. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " uri = URI::HTTP.new(['http', nil, "www.example.com", nil, "/path",\n "query", 'fragment'])\n" full_name: URI::HTTP::new is_singleton: true name: new params: (*arg) visibility: public ri/1.8/system/URI/HTTP/cdesc-HTTP.yaml 0000644 00000001775 15217654525 0012776 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: build - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: The syntax of HTTP URIs is defined in RFC1738 section 3.3. - !ruby/struct:SM::Flow::P body: Note that the Ruby URI library allows HTTP URLs containing usernames and passwords. This is not legal as per the RFC, but used to be supported in Internet Explorer 5 and 6, before the MS04-004 security update. See <URL:http://support.microsoft.com/kb/834489>. constants: - !ruby/object:RI::Constant comment: name: DEFAULT_PORT value: "80" - !ruby/object:RI::Constant comment: name: COMPONENT value: "[ :scheme, :userinfo, :host, :port, :path, :query, :fragment" full_name: URI::HTTP includes: - !ruby/object:RI::IncludedModule name: OpenURI::OpenRead instance_methods: - !ruby/object:RI::MethodSummary name: request_uri name: HTTP superclass: Object ri/1.8/system/URI/HTTP/build-c.yaml 0000644 00000002274 15217654525 0012452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Create a new URI::HTTP object from components, with syntax checking. - !ruby/struct:SM::Flow::P body: The components accepted are userinfo, host, port, path, query and fragment. - !ruby/struct:SM::Flow::P body: The components should be provided either as an Array, or as a Hash with keys formed by preceding the component names with a colon. - !ruby/struct:SM::Flow::P body: If an Array is used, the components must be passed in the order [userinfo, host, port, path, query, fragment]. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " newuri = URI::HTTP.build({:host => 'www.example.com',\n :path> => '/foo/bar'})\n\n newuri = URI::HTTP.build([nil, "www.example.com", nil, "/path",\n "query", 'fragment'])\n" - !ruby/struct:SM::Flow::P body: Currently, if passed userinfo components this method generates invalid HTTP URIs as per RFC 1738. full_name: URI::HTTP::build is_singleton: true name: build params: (args) visibility: public ri/1.8/system/URI/HTTP/request_uri-i.yaml 0000644 00000000762 15217654525 0013730 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Returns the full path for an HTTP request, as required by Net::HTTP::Get. - !ruby/struct:SM::Flow::P body: If the URI contains a query, the full path is URI#path + '?' + URI#query. Otherwise, the path is simply URI#path. full_name: URI::HTTP#request_uri is_singleton: false name: request_uri params: () visibility: public ri/1.8/system/URI/parse-c.yaml 0000644 00000002237 15217654525 0011705 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Synopsis - !ruby/struct:SM::Flow::VERB body: " URI::parse(uri_str)\n" - !ruby/struct:SM::Flow::H level: 2 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+uri_str+:" body: String with URI. type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Creates one of the URI's subclasses instance from the string. - !ruby/struct:SM::Flow::H level: 2 text: Raises - !ruby/struct:SM::Flow::P body: URI::InvalidURIError - !ruby/struct:SM::Flow::VERB body: " Raised if URI given is not a correct one.\n" - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n uri = URI.parse("http://www.ruby-lang.org/")\n p uri\n # => #<URI::HTTP:0x202281be URL:http://www.ruby-lang.org/>\n p uri.scheme\n # => "http"\n p uri.host\n # => "www.ruby-lang.org"\n" full_name: URI::parse is_singleton: true name: parse params: (uri) visibility: public ri/1.8/system/URI/InvalidComponentError/cdesc-InvalidComponentError.yaml 0000644 00000000424 15217654525 0022174 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Not a URI component. constants: [] full_name: URI::InvalidComponentError includes: [] instance_methods: [] name: InvalidComponentError superclass: Error ri/1.8/system/URI/REGEXP/PATTERN/cdesc-PATTERN.yaml 0000644 00000000403 15217654525 0014647 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Patterns used to parse URI's constants: [] full_name: URI::REGEXP::PATTERN includes: [] instance_methods: [] name: PATTERN superclass: ri/1.8/system/URI/REGEXP/cdesc-REGEXP.yaml 0000644 00000000270 15217654525 0013411 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: URI::REGEXP includes: [] instance_methods: [] name: REGEXP superclass: ri/1.8/system/URI/extract-c.yaml 0000644 00000002263 15217654525 0012244 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: $& comment: - !ruby/struct:SM::Flow::H level: 2 text: Synopsis - !ruby/struct:SM::Flow::VERB body: " URI::extract(str[, schemes][,&blk])\n" - !ruby/struct:SM::Flow::H level: 2 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+str+:" body: String to extract URIs from. - !ruby/struct:SM::Flow::LI label: "+schemes+:" body: Limit URI matching to a specific schemes. type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Extracts URIs from a string. If block given, iterates through all matched URIs. Returns nil if block given or array with matches. - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/struct:SM::Flow::VERB body: " require "uri"\n\n URI.extract("text here http://foo.example.org/bla and here mailto:test@example.com and here also.")\n # => ["http://foo.example.com/bla", "mailto:test@example.com"]\n" full_name: URI::extract is_singleton: true name: extract params: (str, schemes = nil, &block) {|$&| ...} visibility: public ri/1.8/system/URI/split-c.yaml 0000644 00000002041 15217654525 0011717 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Synopsis - !ruby/struct:SM::Flow::VERB body: " URI::split(uri)\n" - !ruby/struct:SM::Flow::H level: 2 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+uri+:" body: String with URI. type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: "Splits the string on following parts and returns array with result:" - !ruby/struct:SM::Flow::VERB body: " * Scheme\n * Userinfo\n * Host\n * Port\n * Registry\n * Path\n * Opaque\n * Query\n * Fragment\n" - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n p URI.split("http://www.ruby-lang.org/")\n # => ["http", nil, "www.ruby-lang.org", nil, nil, "/", nil, nil, nil]\n" full_name: URI::split is_singleton: true name: split params: (uri) visibility: public ri/1.8/system/URI/LDAPS/cdesc-LDAPS.yaml 0000644 00000000707 15217654525 0013140 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The default port for LDAPS URIs is 636, and the scheme is 'ldaps:' rather than 'ldap:'. Other than that, LDAPS URIs are identical to LDAP URIs; see URI::LDAP. constants: - !ruby/object:RI::Constant comment: name: DEFAULT_PORT value: "636" full_name: URI::LDAPS includes: [] instance_methods: [] name: LDAPS superclass: LDAP ri/1.8/system/URI/join-c.yaml 0000644 00000001513 15217654525 0011526 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Synopsis - !ruby/struct:SM::Flow::VERB body: " URI::join(str[, str, ...])\n" - !ruby/struct:SM::Flow::H level: 2 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+str+:" body: String(s) to work with type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Joins URIs. - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n p URI.join("http://localhost/","main.rbx")\n # => #<URI::HTTP:0x2022ac02 URL:http://localhost/main.rbx>\n" full_name: URI::join is_singleton: true name: join params: (*str) visibility: public ri/1.8/system/URI/cdesc-URI.yaml 0000644 00000002254 15217654525 0012070 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: extract - !ruby/object:RI::MethodSummary name: join - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: regexp - !ruby/object:RI::MethodSummary name: split comment: - !ruby/struct:SM::Flow::P body: URI support for Ruby - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "Author:" body: Akira Yamada <akira@ruby-lang.org> - !ruby/struct:SM::Flow::LI label: "Documentation:" body: Akira Yamada <akira@ruby-lang.org>, Dmitry V. Sabanin <sdmitry@lrn.ru> - !ruby/struct:SM::Flow::LI label: "License:" body: Copyright (c) 2001 akira yamada <akira@ruby-lang.org> You can redistribute it and/or modify it under the same term as Ruby. - !ruby/struct:SM::Flow::LI label: "Revision:" body: "$Id: uri.rb 16038 2008-04-15 09:41:47Z kazu $" type: :NOTE - !ruby/struct:SM::Flow::P body: See URI for documentation constants: [] full_name: URI includes: - !ruby/object:RI::IncludedModule name: REGEXP instance_methods: [] name: URI superclass: ri/1.8/system/URI/Generic/split_path-i.yaml 0000644 00000000271 15217654525 0014320 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#split_path is_singleton: false name: split_path params: (path) visibility: private ri/1.8/system/URI/Generic/new-c.yaml 0000644 00000002621 15217654525 0012735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+scheme+:" body: Protocol scheme, i.e. 'http','ftp','mailto' and so on. - !ruby/struct:SM::Flow::LI label: "+userinfo+:" body: User name and password, i.e. 'sdmitry:bla' - !ruby/struct:SM::Flow::LI label: "+host+:" body: Server host name - !ruby/struct:SM::Flow::LI label: "+port+:" body: Server port - !ruby/struct:SM::Flow::LI label: "+registry+:" body: "DOC: FIXME!" - !ruby/struct:SM::Flow::LI label: "+path+:" body: Path on server - !ruby/struct:SM::Flow::LI label: "+opaque+:" body: "DOC: FIXME!" - !ruby/struct:SM::Flow::LI label: "+query+:" body: Query data - !ruby/struct:SM::Flow::LI label: "+fragment+:" body: A part of URI after '#' sign - !ruby/struct:SM::Flow::LI label: "+arg_check+:" body: Check arguments [false by default] type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Creates a new URI::Generic instance from ``generic'' components without check. full_name: URI::Generic::new is_singleton: true name: new params: (scheme, userinfo, host, port, registry, path, opaque, query, fragment, arg_check = false) visibility: public ri/1.8/system/URI/Generic/to_s-i.yaml 0000644 00000000347 15217654525 0013121 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Constructs String from URI full_name: URI::Generic#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/URI/Generic/%2b-i.yaml 0000644 00000000334 15217654525 0012521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #merge" full_name: URI::Generic#+ is_singleton: false name: + params: (oth) visibility: public ri/1.8/system/URI/Generic/fragment%3d-i.yaml 0000644 00000000263 15217654525 0014251 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#fragment= is_singleton: false name: fragment= params: (v) visibility: public ri/1.8/system/URI/Generic/check_path-i.yaml 0000644 00000000266 15217654525 0014246 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#check_path is_singleton: false name: check_path params: (v) visibility: private ri/1.8/system/URI/Generic/set_user-i.yaml 0000644 00000000264 15217654525 0014004 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#set_user is_singleton: false name: set_user params: (v) visibility: protected ri/1.8/system/URI/Generic/path_query-i.yaml 0000644 00000000265 15217654525 0014335 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#path_query is_singleton: false name: path_query params: () visibility: private ri/1.8/system/URI/Generic/check_userinfo-i.yaml 0000644 00000000321 15217654525 0015134 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#check_userinfo is_singleton: false name: check_userinfo params: (user, password = nil) visibility: private ri/1.8/system/URI/Generic/userinfo-i.yaml 0000644 00000000260 15217654525 0014001 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#userinfo is_singleton: false name: userinfo params: () visibility: public ri/1.8/system/URI/Generic/check_registry-i.yaml 0000644 00000000276 15217654525 0015163 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#check_registry is_singleton: false name: check_registry params: (v) visibility: private ri/1.8/system/URI/Generic/host%3d-i.yaml 0000644 00000000253 15217654525 0013422 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#host= is_singleton: false name: host= params: (v) visibility: public ri/1.8/system/URI/Generic/absolute-i.yaml 0000644 00000000353 15217654525 0013770 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #absolute?" full_name: URI::Generic#absolute is_singleton: false name: absolute params: () visibility: public ri/1.8/system/URI/Generic/set_port-i.yaml 0000644 00000000264 15217654525 0014012 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#set_port is_singleton: false name: set_port params: (v) visibility: protected ri/1.8/system/URI/Generic/check_host-i.yaml 0000644 00000000266 15217654525 0014267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#check_host is_singleton: false name: check_host params: (v) visibility: private ri/1.8/system/URI/Generic/hash-i.yaml 0000644 00000000250 15217654525 0013071 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#hash is_singleton: false name: hash params: () visibility: public ri/1.8/system/URI/Generic/check_user-i.yaml 0000644 00000000266 15217654525 0014270 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#check_user is_singleton: false name: check_user params: (v) visibility: private ri/1.8/system/URI/Generic/set_registry-i.yaml 0000644 00000000274 15217654525 0014677 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#set_registry is_singleton: false name: set_registry params: (v) visibility: protected ri/1.8/system/URI/Generic/select-i.yaml 0000644 00000001525 15217654525 0013433 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+components+:" body: Multiple Symbol arguments defined in URI::HTTP type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Selects specified components from URI - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n uri = URI.parse('http://myuser:mypass@my.example.com/test.rbx')\n p uri.select(:userinfo, :host, :path)\n # => ["myuser:mypass", "my.example.com", "/test.rbx"]\n" full_name: URI::Generic#select is_singleton: false name: select params: (*components) visibility: public ri/1.8/system/URI/Generic/%2d-i.yaml 0000644 00000000343 15217654525 0012523 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #route_from" full_name: URI::Generic#- is_singleton: false name: "-" params: (oth) visibility: public ri/1.8/system/URI/Generic/component_ary-i.yaml 0000644 00000000275 15217654525 0015032 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#component_ary is_singleton: false name: component_ary params: () visibility: protected ri/1.8/system/URI/Generic/component-i.yaml 0000644 00000000262 15217654525 0014153 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#component is_singleton: false name: component params: () visibility: public ri/1.8/system/URI/Generic/set_opaque-i.yaml 0000644 00000000270 15217654525 0014315 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#set_opaque is_singleton: false name: set_opaque params: (v) visibility: protected ri/1.8/system/URI/Generic/set_fragment-i.yaml 0000644 00000000274 15217654525 0014632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#set_fragment is_singleton: false name: set_fragment params: (v) visibility: protected ri/1.8/system/URI/Generic/build2-c.yaml 0000644 00000001076 15217654525 0013330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Synopsis - !ruby/struct:SM::Flow::P body: "See #new" - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: At first, tries to create a new URI::Generic instance using URI::Generic::build. But, if exception URI::InvalidComponentError is raised, then it URI::Escape.escape all URI components and tries again. full_name: URI::Generic::build2 is_singleton: true name: build2 params: (args) visibility: public ri/1.8/system/URI/Generic/merge%21-i.yaml 0000644 00000001425 15217654525 0013462 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+oth+:" body: URI or String type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: "Destructive form of #merge" - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n uri = URI.parse("http://my.example.com")\n uri.merge!("/main.rbx?page=1")\n p uri\n # => #<URI::HTTP:0x2021f3b0 URL:http://my.example.com/main.rbx?page=1>\n" full_name: URI::Generic#merge! is_singleton: false name: merge! params: (oth) visibility: public ri/1.8/system/URI/Generic/route_from0-i.yaml 0000644 00000000272 15217654525 0014413 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#route_from0 is_singleton: false name: route_from0 params: (oth) visibility: private ri/1.8/system/URI/Generic/check_port-i.yaml 0000644 00000000266 15217654525 0014276 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#check_port is_singleton: false name: check_port params: (v) visibility: private ri/1.8/system/URI/Generic/relative%3f-i.yaml 0000644 00000000360 15217654525 0014261 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Checks if URI is relative full_name: URI::Generic#relative? is_singleton: false name: relative? params: () visibility: public ri/1.8/system/URI/Generic/set_userinfo-i.yaml 0000644 00000000317 15217654525 0014657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#set_userinfo is_singleton: false name: set_userinfo params: (user, password = nil) visibility: protected ri/1.8/system/URI/Generic/password-i.yaml 0000644 00000000260 15217654525 0014011 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#password is_singleton: false name: password params: () visibility: public ri/1.8/system/URI/Generic/cdesc-Generic.yaml 0000644 00000011725 15217654525 0014364 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: fragment rw: R - !ruby/object:RI::Attribute comment: name: host rw: R - !ruby/object:RI::Attribute comment: name: opaque rw: R - !ruby/object:RI::Attribute comment: name: path rw: R - !ruby/object:RI::Attribute comment: name: port rw: R - !ruby/object:RI::Attribute comment: name: query rw: R - !ruby/object:RI::Attribute comment: name: registry rw: R - !ruby/object:RI::Attribute comment: name: scheme rw: R class_methods: - !ruby/object:RI::MethodSummary name: build - !ruby/object:RI::MethodSummary name: build2 - !ruby/object:RI::MethodSummary name: component - !ruby/object:RI::MethodSummary name: default_port - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: use_registry comment: - !ruby/struct:SM::Flow::P body: Base class for all URI classes. Implements generic URI syntax as per RFC 2396. constants: - !ruby/object:RI::Constant comment: name: DEFAULT_PORT value: nil - !ruby/object:RI::Constant comment: name: COMPONENT value: "[ :scheme, :userinfo, :host, :port, :registry, :path, :opaque, :query, :fragment" - !ruby/object:RI::Constant comment: name: USE_REGISTRY value: "false" full_name: URI::Generic includes: - !ruby/object:RI::IncludedModule name: URI - !ruby/object:RI::IncludedModule name: REGEXP instance_methods: - !ruby/object:RI::MethodSummary name: + - !ruby/object:RI::MethodSummary name: "-" - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: absolute - !ruby/object:RI::MethodSummary name: absolute? - !ruby/object:RI::MethodSummary name: check_fragment - !ruby/object:RI::MethodSummary name: check_host - !ruby/object:RI::MethodSummary name: check_opaque - !ruby/object:RI::MethodSummary name: check_password - !ruby/object:RI::MethodSummary name: check_path - !ruby/object:RI::MethodSummary name: check_port - !ruby/object:RI::MethodSummary name: check_query - !ruby/object:RI::MethodSummary name: check_registry - !ruby/object:RI::MethodSummary name: check_scheme - !ruby/object:RI::MethodSummary name: check_user - !ruby/object:RI::MethodSummary name: check_userinfo - !ruby/object:RI::MethodSummary name: coerce - !ruby/object:RI::MethodSummary name: component - !ruby/object:RI::MethodSummary name: component_ary - !ruby/object:RI::MethodSummary name: default_port - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: escape_userpass - !ruby/object:RI::MethodSummary name: find_proxy - !ruby/object:RI::MethodSummary name: fragment= - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: hierarchical? - !ruby/object:RI::MethodSummary name: host= - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: merge - !ruby/object:RI::MethodSummary name: merge! - !ruby/object:RI::MethodSummary name: merge0 - !ruby/object:RI::MethodSummary name: merge_path - !ruby/object:RI::MethodSummary name: normalize - !ruby/object:RI::MethodSummary name: normalize! - !ruby/object:RI::MethodSummary name: opaque= - !ruby/object:RI::MethodSummary name: password - !ruby/object:RI::MethodSummary name: password= - !ruby/object:RI::MethodSummary name: path= - !ruby/object:RI::MethodSummary name: path_query - !ruby/object:RI::MethodSummary name: port= - !ruby/object:RI::MethodSummary name: query= - !ruby/object:RI::MethodSummary name: registry= - !ruby/object:RI::MethodSummary name: relative? - !ruby/object:RI::MethodSummary name: replace! - !ruby/object:RI::MethodSummary name: route_from - !ruby/object:RI::MethodSummary name: route_from0 - !ruby/object:RI::MethodSummary name: route_from_path - !ruby/object:RI::MethodSummary name: route_to - !ruby/object:RI::MethodSummary name: scheme= - !ruby/object:RI::MethodSummary name: select - !ruby/object:RI::MethodSummary name: set_fragment - !ruby/object:RI::MethodSummary name: set_host - !ruby/object:RI::MethodSummary name: set_opaque - !ruby/object:RI::MethodSummary name: set_password - !ruby/object:RI::MethodSummary name: set_path - !ruby/object:RI::MethodSummary name: set_port - !ruby/object:RI::MethodSummary name: set_query - !ruby/object:RI::MethodSummary name: set_registry - !ruby/object:RI::MethodSummary name: set_scheme - !ruby/object:RI::MethodSummary name: set_user - !ruby/object:RI::MethodSummary name: set_userinfo - !ruby/object:RI::MethodSummary name: split_path - !ruby/object:RI::MethodSummary name: split_userinfo - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: user - !ruby/object:RI::MethodSummary name: user= - !ruby/object:RI::MethodSummary name: userinfo - !ruby/object:RI::MethodSummary name: userinfo= name: Generic superclass: Object ri/1.8/system/URI/Generic/find_proxy-i.yaml 0000644 00000001440 15217654525 0014331 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: returns a proxy URI. The proxy URI is obtained from environment variables such as http_proxy, ftp_proxy, no_proxy, etc. If there is no proper proxy, nil is returned. - !ruby/struct:SM::Flow::P body: Note that capitalized variables (HTTP_PROXY, FTP_PROXY, NO_PROXY, etc.) are examined too. - !ruby/struct:SM::Flow::P body: "But http_proxy and HTTP_PROXY is treated specially under CGI environment. It's because HTTP_PROXY may be set by Proxy: header. So HTTP_PROXY is not used. http_proxy is not used too if the variable is case insensitive. CGI_HTTP_PROXY can be used instead." full_name: URI::Generic#find_proxy is_singleton: false name: find_proxy params: () visibility: public ri/1.8/system/URI/Generic/check_scheme-i.yaml 0000644 00000000272 15217654525 0014553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#check_scheme is_singleton: false name: check_scheme params: (v) visibility: private ri/1.8/system/URI/Generic/default_port-c.yaml 0000644 00000000361 15217654525 0014633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns default port full_name: URI::Generic::default_port is_singleton: true name: default_port params: () visibility: public ri/1.8/system/URI/Generic/opaque%3d-i.yaml 0000644 00000000257 15217654525 0013743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#opaque= is_singleton: false name: opaque= params: (v) visibility: public ri/1.8/system/URI/Generic/set_query-i.yaml 0000644 00000000266 15217654525 0014175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#set_query is_singleton: false name: set_query params: (v) visibility: protected ri/1.8/system/URI/Generic/user%3d-i.yaml 0000644 00000000256 15217654525 0013426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#user= is_singleton: false name: user= params: (user) visibility: public ri/1.8/system/URI/Generic/check_opaque-i.yaml 0000644 00000000272 15217654525 0014601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#check_opaque is_singleton: false name: check_opaque params: (v) visibility: private ri/1.8/system/URI/Generic/set_scheme-i.yaml 0000644 00000000270 15217654525 0014267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#set_scheme is_singleton: false name: set_scheme params: (v) visibility: protected ri/1.8/system/URI/Generic/inspect-i.yaml 0000644 00000000256 15217654525 0013621 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/URI/Generic/check_fragment-i.yaml 0000644 00000000276 15217654525 0015116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#check_fragment is_singleton: false name: check_fragment params: (v) visibility: private ri/1.8/system/URI/Generic/check_query-i.yaml 0000644 00000000270 15217654525 0014452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#check_query is_singleton: false name: check_query params: (v) visibility: private ri/1.8/system/URI/Generic/build-c.yaml 0000644 00000001223 15217654525 0013240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Synopsis - !ruby/struct:SM::Flow::P body: "See #new" - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: "Creates a new URI::Generic instance from components of URI::Generic with check. Components are: scheme, userinfo, host, port, registry, path, opaque, query and fragment. You can provide arguments either by an Array or a Hash. See #new for hash keys to use or for order of array items." full_name: URI::Generic::build is_singleton: true name: build params: (args) visibility: public ri/1.8/system/URI/Generic/normalize%21-i.yaml 0000644 00000000374 15217654525 0014365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Destructive version of #normalize" full_name: URI::Generic#normalize! is_singleton: false name: normalize! params: () visibility: public ri/1.8/system/URI/Generic/set_host-i.yaml 0000644 00000000264 15217654525 0014003 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#set_host is_singleton: false name: set_host params: (v) visibility: protected ri/1.8/system/URI/Generic/replace%21-i.yaml 0000644 00000000371 15217654525 0013775 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: replace self by other URI object full_name: URI::Generic#replace! is_singleton: false name: replace! params: (oth) visibility: private ri/1.8/system/URI/Generic/path%3d-i.yaml 0000644 00000000253 15217654525 0013401 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#path= is_singleton: false name: path= params: (v) visibility: public ri/1.8/system/URI/Generic/query%3d-i.yaml 0000644 00000000255 15217654525 0013614 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#query= is_singleton: false name: query= params: (v) visibility: public ri/1.8/system/URI/Generic/route_to-i.yaml 0000644 00000001416 15217654525 0014013 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+oth+:" body: URI or String type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Calculates relative path to oth from self - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n uri = URI.parse('http://my.example.com')\n p uri.route_to('http://my.example.com/main.rbx?page=1')\n #=> #<URI::Generic:0x2020c2f6 URL:/main.rbx?page=1>\n" full_name: URI::Generic#route_to is_singleton: false name: route_to params: (oth) visibility: public ri/1.8/system/URI/Generic/merge_path-i.yaml 0000644 00000000276 15217654525 0014271 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#merge_path is_singleton: false name: merge_path params: (base, rel) visibility: private ri/1.8/system/URI/Generic/merge-i.yaml 0000644 00000001445 15217654525 0013254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: + block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+oth+:" body: URI or String type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Merges two URI's. - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n uri = URI.parse("http://my.example.com")\n p uri.merge("/main.rbx?page=1")\n # => #<URI::HTTP:0x2021f3b0 URL:http://my.example.com/main.rbx?page=1>\n" full_name: URI::Generic#merge is_singleton: false name: merge params: (oth) visibility: public ri/1.8/system/URI/Generic/port%3d-i.yaml 0000644 00000000253 15217654525 0013431 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#port= is_singleton: false name: port= params: (v) visibility: public ri/1.8/system/URI/Generic/userinfo%3d-i.yaml 0000644 00000000421 15217654525 0014274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets userinfo, argument is string like 'name:pass' full_name: URI::Generic#userinfo= is_singleton: false name: userinfo= params: (userinfo) visibility: public ri/1.8/system/URI/Generic/scheme%3d-i.yaml 0000644 00000000257 15217654525 0013715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#scheme= is_singleton: false name: scheme= params: (v) visibility: public ri/1.8/system/URI/Generic/route_from-i.yaml 0000644 00000001473 15217654525 0014337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: "-" block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+oth+:" body: URI or String type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Calculates relative path from oth to self - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n uri = URI.parse('http://my.example.com/main.rbx?page=1')\n p uri.route_from('http://my.example.com')\n #=> #<URI::Generic:0x20218858 URL:/main.rbx?page=1>\n" full_name: URI::Generic#route_from is_singleton: false name: route_from params: (oth) visibility: public ri/1.8/system/URI/Generic/route_from_path-i.yaml 0000644 00000000307 15217654525 0015346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#route_from_path is_singleton: false name: route_from_path params: (src, dst) visibility: private ri/1.8/system/URI/Generic/hierarchical%3f-i.yaml 0000644 00000000367 15217654525 0015073 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Checks if URI has a path full_name: URI::Generic#hierarchical? is_singleton: false name: hierarchical? params: () visibility: public ri/1.8/system/URI/Generic/password%3d-i.yaml 0000644 00000000272 15217654525 0014310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#password= is_singleton: false name: password= params: (password) visibility: public ri/1.8/system/URI/Generic/user-i.yaml 0000644 00000000250 15217654525 0013124 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#user is_singleton: false name: user params: () visibility: public ri/1.8/system/URI/Generic/%3d%3d-i.yaml 0000644 00000000335 15217654525 0013021 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compares to URI's full_name: URI::Generic#== is_singleton: false name: == params: (oth) visibility: public ri/1.8/system/URI/Generic/use_registry-c.yaml 0000644 00000000352 15217654525 0014667 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "DOC: FIXME!" full_name: URI::Generic::use_registry is_singleton: true name: use_registry params: () visibility: public ri/1.8/system/URI/Generic/default_port-i.yaml 0000644 00000000270 15217654525 0014640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#default_port is_singleton: false name: default_port params: () visibility: public ri/1.8/system/URI/Generic/normalize-i.yaml 0000644 00000000355 15217654525 0014154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns normalized URI full_name: URI::Generic#normalize is_singleton: false name: normalize params: () visibility: public ri/1.8/system/URI/Generic/merge0-i.yaml 0000644 00000000423 15217654525 0013327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: return base and rel. you can modify `base', but can not `rel'. full_name: URI::Generic#merge0 is_singleton: false name: merge0 params: (oth) visibility: private ri/1.8/system/URI/Generic/absolute%3f-i.yaml 0000644 00000000443 15217654525 0014266 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: absolute block_params: comment: - !ruby/struct:SM::Flow::P body: Checks if URI is an absolute one full_name: URI::Generic#absolute? is_singleton: false name: absolute? params: () visibility: public ri/1.8/system/URI/Generic/split_userinfo-i.yaml 0000644 00000000277 15217654525 0015224 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#split_userinfo is_singleton: false name: split_userinfo params: (ui) visibility: private ri/1.8/system/URI/Generic/registry%3d-i.yaml 0000644 00000000263 15217654525 0014316 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#registry= is_singleton: false name: registry= params: (v) visibility: public ri/1.8/system/URI/Generic/escape_userpass-i.yaml 0000644 00000000300 15217654525 0015327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#escape_userpass is_singleton: false name: escape_userpass params: (v) visibility: private ri/1.8/system/URI/Generic/eql%3f-i.yaml 0000644 00000000253 15217654525 0013230 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#eql? is_singleton: false name: eql? params: (oth) visibility: public ri/1.8/system/URI/Generic/set_path-i.yaml 0000644 00000000264 15217654525 0013762 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#set_path is_singleton: false name: set_path params: (v) visibility: protected ri/1.8/system/URI/Generic/component-c.yaml 0000644 00000000372 15217654525 0014147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Components of the URI in the order. full_name: URI::Generic::component is_singleton: true name: component params: () visibility: public ri/1.8/system/URI/Generic/set_password-i.yaml 0000644 00000000274 15217654525 0014671 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#set_password is_singleton: false name: set_password params: (v) visibility: protected ri/1.8/system/URI/Generic/coerce-i.yaml 0000644 00000000257 15217654525 0013415 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#coerce is_singleton: false name: coerce params: (oth) visibility: public ri/1.8/system/URI/Generic/check_password-i.yaml 0000644 00000000314 15217654525 0015146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::Generic#check_password is_singleton: false name: check_password params: (v, user = @user) visibility: private ri/1.8/system/URI/FTP/new-c.yaml 0000644 00000001325 15217654525 0012012 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Creates a new URI::FTP object from generic URL components with no syntax checking. - !ruby/struct:SM::Flow::P body: Unlike build(), this method does not escape the path component as required by RFC1738; instead it is treated as per RFC2396. - !ruby/struct:SM::Flow::P body: Arguments are scheme, userinfo, host, port, registry, path, opaque, query and fragment, in that order. full_name: URI::FTP::new is_singleton: true name: new params: (*arg) visibility: public ri/1.8/system/URI/FTP/to_s-i.yaml 0000644 00000000244 15217654525 0012172 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::FTP#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/URI/FTP/typecode%3d-i.yaml 0000644 00000000266 15217654525 0013342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::FTP#typecode= is_singleton: false name: typecode= params: (typecode) visibility: public ri/1.8/system/URI/FTP/path-i.yaml 0000644 00000001675 15217654525 0012173 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the path from an FTP URI. - !ruby/struct:SM::Flow::P body: "RFC 1738 specifically states that the path for an FTP URI does not include the / which separates the URI path from the URI host. Example:" - !ruby/struct:SM::Flow::VERB body: " ftp://ftp.example.com/pub/ruby\n" - !ruby/struct:SM::Flow::P body: The above URI indicates that the client should connect to ftp.example.com then cd pub/ruby from the initial login directory. - !ruby/struct:SM::Flow::P body: "If you want to cd to an absolute directory, you must include an escaped / (%2F) in the path. Example:" - !ruby/struct:SM::Flow::VERB body: " ftp://ftp.example.com/%2Fpub/ruby\n" - !ruby/struct:SM::Flow::P body: This method will then return "/pub/ruby" full_name: URI::FTP#path is_singleton: false name: path params: () visibility: public ri/1.8/system/URI/FTP/new2-c.yaml 0000644 00000000346 15217654525 0012076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::FTP::new2 is_singleton: true name: new2 params: (user, password, host, port, path, typecode = nil, arg_check = true) visibility: public ri/1.8/system/URI/FTP/build-c.yaml 0000644 00000002472 15217654525 0012324 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Creates a new URI::FTP object from components, with syntax checking. - !ruby/struct:SM::Flow::P body: The components accepted are userinfo, host, port, path and typecode. - !ruby/struct:SM::Flow::P body: The components should be provided either as an Array, or as a Hash with keys formed by preceding the component names with a colon. - !ruby/struct:SM::Flow::P body: If an Array is used, the components must be passed in the order [userinfo, host, port, path, typecode] - !ruby/struct:SM::Flow::P body: "If the path supplied is absolute, it will be escaped in order to make it absolute in the URI. Examples:" - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n uri = URI::FTP.build(['user:password', 'ftp.example.com', nil,\n '/path/file.> zip', 'i'])\n puts uri.to_s -> ftp://user:password@ftp.example.com/%2Fpath/file.zip;type=a\n\n uri2 = URI::FTP.build({:host => 'ftp.example.com',\n :path => 'ruby/src'})\n puts uri2.to_s -> ftp://ftp.example.com/ruby/src\n" full_name: URI::FTP::build is_singleton: true name: build params: (args) visibility: public ri/1.8/system/URI/FTP/check_typecode-i.yaml 0000644 00000000272 15217654525 0014200 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::FTP#check_typecode is_singleton: false name: check_typecode params: (v) visibility: private ri/1.8/system/URI/FTP/cdesc-FTP.yaml 0000644 00000003307 15217654525 0012513 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: typecode rw: R class_methods: - !ruby/object:RI::MethodSummary name: build - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new2 comment: - !ruby/struct:SM::Flow::P body: FTP URI syntax is defined by RFC1738 section 3.2. constants: - !ruby/object:RI::Constant comment: name: DEFAULT_PORT value: "21" - !ruby/object:RI::Constant comment: name: COMPONENT value: "[ :scheme, :userinfo, :host, :port, :path, :typecode" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Typecode is "a", "i" or "d". - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: ""a" indicates a text file (the FTP command was ASCII)" - !ruby/struct:SM::Flow::LI label: "*" body: ""i" indicates a binary file (FTP command IMAGE)" - !ruby/struct:SM::Flow::LI label: "*" body: ""d" indicates the contents of a directory should be displayed" type: :BULLET name: TYPECODE value: "['a', 'i', 'd'].freeze" - !ruby/object:RI::Constant comment: name: TYPECODE_PREFIX value: "';type='.freeze" full_name: URI::FTP includes: - !ruby/object:RI::IncludedModule name: OpenURI::OpenRead instance_methods: - !ruby/object:RI::MethodSummary name: check_typecode - !ruby/object:RI::MethodSummary name: path - !ruby/object:RI::MethodSummary name: set_typecode - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: typecode= name: FTP superclass: Object ri/1.8/system/URI/FTP/set_typecode-i.yaml 0000644 00000000270 15217654525 0013714 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: URI::FTP#set_typecode is_singleton: false name: set_typecode params: (v) visibility: protected ri/1.8/system/URI/regexp-c.yaml 0000644 00000002333 15217654525 0012062 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Synopsis - !ruby/struct:SM::Flow::VERB body: " URI::regexp([match_schemes])\n" - !ruby/struct:SM::Flow::H level: 2 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+match_schemes+:" body: Array of schemes. If given, resulting regexp matches to URIs whose scheme is one of the match_schemes. type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Returns a Regexp object which matches to URI-like strings. The Regexp object returned by this method includes arbitrary number of capture group (parentheses). Never rely on it's number. - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n # extract first URI from html_string\n html_string.slice(URI.regexp)\n\n # remove ftp URIs\n html_string.sub(URI.regexp(['ftp'])\n\n # You should not rely on the number of parentheses\n html_string.scan(URI.regexp) do |*matches|\n p $&\n end\n" full_name: URI::regexp is_singleton: true name: regexp params: (schemes = nil) visibility: public ri/1.8/system/TSortTest/cdesc-TSortTest.yaml 0000644 00000000315 15217654525 0014614 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: TSortTest includes: [] instance_methods: [] name: TSortTest superclass: Test::Unit::TestCase ri/1.8/system/Precision/prec-i.yaml 0000644 00000001112 15217654525 0013015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts self into an instance of klass. By default, prec invokes - !ruby/struct:SM::Flow::VERB body: " klass.induced_from(num)\n" - !ruby/struct:SM::Flow::P body: and returns its value. So, if klass.induced_from doesn't return an instance of klass, it will be necessary to reimplement prec. full_name: Precision#prec is_singleton: false name: prec params: | num.prec(klass) => a_klass visibility: public ri/1.8/system/Precision/cdesc-Precision.yaml 0000644 00000001317 15217654525 0014657 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: included comment: - !ruby/struct:SM::Flow::P body: Precision is a mixin for concrete numeric classes with precision. Here, `precision' means the fineness of approximation of a real number, so, this module should not be included into anything which is not a subset of Real (so it should not be included in classes such as Complex or Matrix). constants: [] full_name: Precision includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: prec - !ruby/object:RI::MethodSummary name: prec_f - !ruby/object:RI::MethodSummary name: prec_i name: Precision superclass: ri/1.8/system/Precision/prec_f-i.yaml 0000644 00000000505 15217654525 0013327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a Float converted from num. It is equivalent to prec(Float). full_name: Precision#prec_f is_singleton: false name: prec_f params: | num.prec_f => Float visibility: public ri/1.8/system/Precision/prec_i-i.yaml 0000644 00000000514 15217654525 0013332 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an Integer converted from num. It is equivalent to prec(Integer). full_name: Precision#prec_i is_singleton: false name: prec_i params: | num.prec_i => Integer visibility: public ri/1.8/system/Precision/included-c.yaml 0000644 00000000745 15217654525 0013660 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "call_seq:" - !ruby/struct:SM::Flow::VERB body: " included\n" - !ruby/struct:SM::Flow::P body: When the Precision module is mixed-in to a class, this included method is used to add our default induced_from implementation to the host class. full_name: Precision::included is_singleton: true name: included params: (p1) visibility: public ri/1.8/system/InvalidOption/cdesc-InvalidOption.yaml 0000644 00000000420 15217654525 0016321 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Raises when switch is undefined. constants: [] full_name: InvalidOption includes: [] instance_methods: [] name: InvalidOption superclass: ParseError ri/1.8/system/StrictPrettyExample/cdesc-StrictPrettyExample.yaml 0000644 00000000341 15217654525 0020755 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: StrictPrettyExample includes: [] instance_methods: [] name: StrictPrettyExample superclass: Test::Unit::TestCase ri/1.8/system/Open3/cdesc-Open3.yaml 0000644 00000001506 15217654525 0012741 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: "Open3 grants you access to stdin, stdout, and stderr when running another program. Example:" - !ruby/struct:SM::Flow::VERB body: " require "open3"\n include Open3\n\n stdin, stdout, stderr = popen3('nroff -man')\n" - !ruby/struct:SM::Flow::P body: "Open3.popen3 can also take a block which will receive stdin, stdout and stderr as parameters. This ensures stdin, stdout and stderr are closed once the block exits. Example:" - !ruby/struct:SM::Flow::VERB body: " require "open3"\n\n Open3.popen3('nroff -man') { |stdin, stdout, stderr| ... }\n" constants: [] full_name: Open3 includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: popen3 name: Open3 superclass: ri/1.8/system/Open3/popen3-i.yaml 0000644 00000001775 15217654525 0012340 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: "Open stdin, stdout, and stderr streams and start external executable. Non-block form:" - !ruby/struct:SM::Flow::VERB body: " require 'open3'\n\n stdin, stdout, stderr = Open3.popen3(cmd)\n" - !ruby/struct:SM::Flow::P body: "Block form:" - !ruby/struct:SM::Flow::VERB body: " require 'open3'\n\n Open3.popen3(cmd) { |stdin, stdout, stderr| ... }\n" - !ruby/struct:SM::Flow::P body: The parameter cmd is passed directly to Kernel#exec. - !ruby/struct:SM::Flow::P body: _popen3_ is like system in that you can pass extra parameters, and the strings won't be mangled by shell expansion. - !ruby/struct:SM::Flow::VERB body: " stdin, stdout, stderr = Open3.popen3('identify', '/weird path/with spaces/and "strange" characters.jpg')\n result = stdout.read\n" full_name: Open3#popen3 is_singleton: false name: popen3 params: (*cmd) {|| ...} visibility: public ri/1.8/system/TypeError/cdesc-TypeError.yaml 0000644 00000001174 15217654525 0014660 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: TypeError includes: [] instance_methods: [] name: TypeError superclass: StandardError ri/1.8/system/Prime/new-c.yaml 0000644 00000000237 15217654525 0011777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Prime::new is_singleton: true name: new params: () visibility: public ri/1.8/system/Prime/each-i.yaml 0000644 00000000262 15217654525 0012112 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: succ comment: full_name: Prime#each is_singleton: false name: each params: () {|succ| ...} visibility: public ri/1.8/system/Prime/cdesc-Prime.yaml 0000644 00000000637 15217654525 0013125 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Prime includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: next - !ruby/object:RI::MethodSummary name: succ name: Prime superclass: Object ri/1.8/system/Prime/next-i.yaml 0000644 00000000327 15217654525 0012172 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #succ" full_name: Prime#next is_singleton: false name: next params: () visibility: public ri/1.8/system/Prime/succ-i.yaml 0000644 00000000311 15217654525 0012142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: next block_params: comment: full_name: Prime#succ is_singleton: false name: succ params: () visibility: public ri/1.8/system/Benchmark/cdesc-Benchmark.yaml 0000644 00000012706 15217654525 0014561 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The Benchmark module provides methods to measure and report the time used to execute Ruby code. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: "Measure the time to construct the string given by the expression "a"*1_000_000:" - !ruby/struct:SM::Flow::VERB body: " require 'benchmark'\n\n puts Benchmark.measure { "a"*1_000_000 }\n" - !ruby/struct:SM::Flow::P body: "On my machine (FreeBSD 3.2 on P5, 100MHz) this generates:" - !ruby/struct:SM::Flow::VERB body: " 1.166667 0.050000 1.216667 ( 0.571355)\n" - !ruby/struct:SM::Flow::P body: This report shows the user CPU time, system CPU time, the sum of the user and system CPU times, and the elapsed real time. The unit of time is seconds. - !ruby/struct:SM::Flow::LI label: "*" body: "Do some experiments sequentially using the #bm method:" - !ruby/struct:SM::Flow::VERB body: " require 'benchmark'\n\n n = 50000\n Benchmark.bm do |x|\n x.report { for i in 1..n; a = "1"; end }\n x.report { n.times do ; a = "1"; end }\n x.report { 1.upto(n) do ; a = "1"; end }\n end\n" - !ruby/struct:SM::Flow::P body: "The result:" - !ruby/struct:SM::Flow::VERB body: " user system total real\n 1.033333 0.016667 1.016667 ( 0.492106)\n 1.483333 0.000000 1.483333 ( 0.694605)\n 1.516667 0.000000 1.516667 ( 0.711077)\n" - !ruby/struct:SM::Flow::LI label: "*" body: "Continuing the previous example, put a label in each report:" - !ruby/struct:SM::Flow::VERB body: " require 'benchmark'\n\n n = 50000\n Benchmark.bm(7) do |x|\n x.report("for:") { for i in 1..n; a = "1"; end }\n x.report("times:") { n.times do ; a = "1"; end }\n x.report("upto:") { 1.upto(n) do ; a = "1"; end }\n end\n" type: :BULLET - !ruby/struct:SM::Flow::P body: "The result:" - !ruby/struct:SM::Flow::VERB body: " user system total real\n for: 1.050000 0.000000 1.050000 ( 0.503462)\n times: 1.533333 0.016667 1.550000 ( 0.735473)\n upto: 1.500000 0.016667 1.516667 ( 0.711239)\n" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: "The times for some benchmarks depend on the order in which items are run. These differences are due to the cost of memory allocation and garbage collection. To avoid these discrepancies, the #bmbm method is provided. For example, to compare ways to sort an array of floats:" - !ruby/struct:SM::Flow::VERB body: " require 'benchmark'\n\n array = (1..1000000).map { rand }\n\n Benchmark.bmbm do |x|\n x.report("sort!") { array.dup.sort! }\n x.report("sort") { array.dup.sort }\n end\n" - !ruby/struct:SM::Flow::P body: "The result:" - !ruby/struct:SM::Flow::VERB body: " Rehearsal -----------------------------------------\n sort! 11.928000 0.010000 11.938000 ( 12.756000)\n sort 13.048000 0.020000 13.068000 ( 13.857000)\n ------------------------------- total: 25.006000sec\n\n user system total real\n sort! 12.959000 0.010000 12.969000 ( 13.793000)\n sort 12.007000 0.000000 12.007000 ( 12.791000)\n" - !ruby/struct:SM::Flow::LI label: "*" body: "Report statistics of sequential experiments with unique labels, using the #benchmark method:" - !ruby/struct:SM::Flow::VERB body: " require 'benchmark'\n\n n = 50000\n Benchmark.benchmark(" "*7 + CAPTION, 7, FMTSTR, ">total:", ">avg:") do |x|\n tf = x.report("for:") { for i in 1..n; a = "1"; end }\n tt = x.report("times:") { n.times do ; a = "1"; end }\n tu = x.report("upto:") { 1.upto(n) do ; a = "1"; end }\n [tf+tt+tu, (tf+tt+tu)/3]\n end\n" - !ruby/struct:SM::Flow::P body: "The result:" - !ruby/struct:SM::Flow::VERB body: " user system total real\n for: 1.016667 0.016667 1.033333 ( 0.485749)\n times: 1.450000 0.016667 1.466667 ( 0.681367)\n upto: 1.533333 0.000000 1.533333 ( 0.722166)\n >total: 4.000000 0.033333 4.033333 ( 1.889282)\n >avg: 1.333333 0.011111 1.344444 ( 0.629761)\n" type: :BULLET constants: - !ruby/object:RI::Constant comment: name: BENCHMARK_VERSION value: "\"2002-04-25\"" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: The default caption string (heading above the output times). name: CAPTION value: Benchmark::Tms::CAPTION - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: The default format string used to display times. See also Benchmark::Tms#format. name: FMTSTR value: Benchmark::Tms::FMTSTR full_name: Benchmark includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: benchmark - !ruby/object:RI::MethodSummary name: bm - !ruby/object:RI::MethodSummary name: bmbm - !ruby/object:RI::MethodSummary name: measure - !ruby/object:RI::MethodSummary name: realtime name: Benchmark superclass: ri/1.8/system/Benchmark/bmbm-i.yaml 0000644 00000003501 15217654525 0012744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: job comment: - !ruby/struct:SM::Flow::P body: "Sometimes benchmark results are skewed because code executed earlier encounters different garbage collection overheads than that run later. #bmbm attempts to minimize this effect by running the tests twice, the first time as a rehearsal in order to get the runtime environment stable, the second time for real. GC.start is executed before the start of each of the real timings; the cost of this is not included in the timings. In reality, though, there's only so much that #bmbm can do, and the results are not guaranteed to be isolated from garbage collection and other effects." - !ruby/struct:SM::Flow::P body: "Because #bmbm takes two passes through the tests, it can calculate the required label width." - !ruby/struct:SM::Flow::VERB body: " require 'benchmark'\n\n array = (1..1000000).map { rand }\n\n Benchmark.bmbm do |x|\n x.report("sort!") { array.dup.sort! }\n x.report("sort") { array.dup.sort }\n end\n" - !ruby/struct:SM::Flow::P body: Generates: - !ruby/struct:SM::Flow::VERB body: " Rehearsal -----------------------------------------\n sort! 11.928000 0.010000 11.938000 ( 12.756000)\n sort 13.048000 0.020000 13.068000 ( 13.857000)\n ------------------------------- total: 25.006000sec\n\n user system total real\n sort! 12.959000 0.010000 12.969000 ( 13.793000)\n sort 12.007000 0.000000 12.007000 ( 12.791000)\n" - !ruby/struct:SM::Flow::P body: "#bmbm yields a Benchmark::Job object and returns an array of Benchmark::Tms objects." full_name: Benchmark#bmbm is_singleton: false name: bmbm params: (width = 0) {|job| ...} visibility: public ri/1.8/system/Benchmark/realtime-i.yaml 0000644 00000000433 15217654525 0013632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Returns the elapsed real time used to execute the given block. full_name: Benchmark#realtime is_singleton: false name: realtime params: () {|| ...} visibility: public ri/1.8/system/Benchmark/Tms/new-c.yaml 0000644 00000001025 15217654525 0013354 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an initialized Tms object which has u as the user CPU time, s as the system CPU time, cu as the children's user CPU time, cs as the children's system CPU time, real as the elapsed real time and l as the label. full_name: Benchmark::Tms::new is_singleton: true name: new params: (u = 0.0, s = 0.0, cu = 0.0, cs = 0.0, real = 0.0, l = nil) visibility: public ri/1.8/system/Benchmark/Tms/add%21-i.yaml 0000644 00000000355 15217654525 0013536 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "An in-place version of #add." full_name: Benchmark::Tms#add! is_singleton: false name: add! params: () visibility: public ri/1.8/system/Benchmark/Tms/to_s-i.yaml 0000644 00000000341 15217654525 0013535 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Same as #format." full_name: Benchmark::Tms#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/Benchmark/Tms/memberwise-i.yaml 0000644 00000000276 15217654525 0014737 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Benchmark::Tms#memberwise is_singleton: false name: memberwise params: (op, x) visibility: protected ri/1.8/system/Benchmark/Tms/%2b-i.yaml 0000644 00000000620 15217654525 0013141 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns a new Tms object obtained by memberwise summation of the individual times for this Tms object with those of the other Tms object. This method and #/() are useful for taking statistics." full_name: Benchmark::Tms#+ is_singleton: false name: + params: (other) visibility: public ri/1.8/system/Benchmark/Tms/%2d-i.yaml 0000644 00000000533 15217654525 0013146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new Tms object obtained by memberwise subtraction of the individual times for the other Tms object from those of this Tms object. full_name: Benchmark::Tms#- is_singleton: false name: "-" params: (other) visibility: public ri/1.8/system/Benchmark/Tms/to_a-i.yaml 0000644 00000000562 15217654525 0013520 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new 6-element array, consisting of the label, user CPU time, system CPU time, children's user CPU time, children's system CPU time and elapsed real time. full_name: Benchmark::Tms#to_a is_singleton: false name: to_a params: () visibility: public ri/1.8/system/Benchmark/Tms/format-i.yaml 0000644 00000003065 15217654525 0014067 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns the contents of this Tms object as a formatted string, according to a format string like that passed to Kernel.format. In addition, #format accepts the following extensions:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "%u:" body: Replaced by the user CPU time, as reported by Tms#utime. - !ruby/struct:SM::Flow::LI label: "%y:" body: "Replaced by the system CPU time, as reported by #stime (Mnemonic: y of "s*y*stem")" - !ruby/struct:SM::Flow::LI label: "%U:" body: Replaced by the children's user CPU time, as reported by Tms#cutime - !ruby/struct:SM::Flow::LI label: "%Y:" body: Replaced by the children's system CPU time, as reported by Tms#cstime - !ruby/struct:SM::Flow::LI label: "%t:" body: Replaced by the total CPU time, as reported by Tms#total - !ruby/struct:SM::Flow::LI label: "%r:" body: Replaced by the elapsed real time, as reported by Tms#real - !ruby/struct:SM::Flow::LI label: "%n:" body: "Replaced by the label string, as reported by Tms#label (Mnemonic: n of "*n*ame")" type: :NOTE - !ruby/struct:SM::Flow::P body: If fmtstr is not given, FMTSTR is used as default value, detailing the user, system and real elapsed time. full_name: Benchmark::Tms#format is_singleton: false name: format params: (arg0 = nil, *args) visibility: public ri/1.8/system/Benchmark/Tms/%2a-i.yaml 0000644 00000000505 15217654525 0013142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new Tms object obtained by memberwise multiplication of the individual times for this Tms object by x. full_name: Benchmark::Tms#* is_singleton: false name: "*" params: (x) visibility: public ri/1.8/system/Benchmark/Tms/%2f-i.yaml 0000644 00000000566 15217654525 0013156 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns a new Tms object obtained by memberwise division of the individual times for this Tms object by x. This method and #+() are useful for taking statistics." full_name: Benchmark::Tms#/ is_singleton: false name: / params: (x) visibility: public ri/1.8/system/Benchmark/Tms/cdesc-Tms.yaml 0000644 00000003643 15217654525 0014175 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: System CPU time of children name: cstime rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: User CPU time of children name: cutime rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Label name: label rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Elapsed real time name: real rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: System CPU time name: stime rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Total time, that is utime + stime + cutime + cstime name: total rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: User CPU time name: utime rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A data object, representing the times associated with a benchmark measurement. constants: - !ruby/object:RI::Constant comment: name: CAPTION value: "\" user system total real\\n\"" - !ruby/object:RI::Constant comment: name: FMTSTR value: "\"%10.6u %10.6y %10.6t %10.6r\\n\"" full_name: Benchmark::Tms includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "*" - !ruby/object:RI::MethodSummary name: + - !ruby/object:RI::MethodSummary name: "-" - !ruby/object:RI::MethodSummary name: / - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: add! - !ruby/object:RI::MethodSummary name: format - !ruby/object:RI::MethodSummary name: memberwise - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: to_s name: Tms superclass: Object ri/1.8/system/Benchmark/Tms/add-i.yaml 0000644 00000000553 15217654525 0013326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Returns a new Tms object whose times are the sum of the times for this Tms object, plus the time required to execute the code block (blk). full_name: Benchmark::Tms#add is_singleton: false name: add params: () {|| ...} visibility: public ri/1.8/system/Benchmark/Job/cdesc-Job.yaml 0000644 00000000544 15217654525 0014110 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: A Job is a sequence of labelled blocks to be processed by the Benchmark.bmbm method. It is of little direct interest to the user. constants: [] full_name: Benchmark::Job includes: [] instance_methods: [] name: Job superclass: Object ri/1.8/system/Benchmark/measure-i.yaml 0000644 00000000461 15217654525 0013472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Returns the time used to execute the given block as a Benchmark::Tms object. full_name: Benchmark#measure is_singleton: false name: measure params: (label = "") {|| ...} visibility: public ri/1.8/system/Benchmark/Report/cdesc-Report.yaml 0000644 00000000535 15217654525 0015412 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: This class is used by the Benchmark.benchmark and Benchmark.bm methods. It is of little direct interest to the user. constants: [] full_name: Benchmark::Report includes: [] instance_methods: [] name: Report superclass: Object ri/1.8/system/Benchmark/bm-i.yaml 0000644 00000002102 15217654525 0012421 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: report comment: - !ruby/struct:SM::Flow::P body: "A simple interface to the #benchmark method, #bm is generates sequential reports with labels. The parameters have the same meaning as for #benchmark." - !ruby/struct:SM::Flow::VERB body: " require 'benchmark'\n\n n = 50000\n Benchmark.bm(7) do |x|\n x.report("for:") { for i in 1..n; a = "1"; end }\n x.report("times:") { n.times do ; a = "1"; end }\n x.report("upto:") { 1.upto(n) do ; a = "1"; end }\n end\n" - !ruby/struct:SM::Flow::P body: Generates: - !ruby/struct:SM::Flow::VERB body: " user system total real\n for: 1.050000 0.000000 1.050000 ( 0.503462)\n times: 1.533333 0.016667 1.550000 ( 0.735473)\n upto: 1.500000 0.016667 1.516667 ( 0.711239)\n" full_name: Benchmark#bm is_singleton: false name: bm params: (label_width = 0, *labels) {|report| ...} visibility: public ri/1.8/system/Benchmark/benchmark-i.yaml 0000644 00000004077 15217654525 0013772 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: report comment: - !ruby/struct:SM::Flow::P body: Invokes the block with a Benchmark::Report object, which may be used to collect and report on the results of individual benchmark tests. Reserves label_width leading spaces for labels on each line. Prints caption at the top of the report, and uses fmt to format each line. If the block returns an array of Benchmark::Tms objects, these will be used to format additional lines of output. If label parameters are given, these are used to label these extra lines. - !ruby/struct:SM::Flow::P body: "Note: Other methods provide a simpler interface to this one, and are suitable for nearly all benchmarking requirements. See the examples in Benchmark, and the #bm and #bmbm methods." - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " require 'benchmark'\n include Benchmark # we need the CAPTION and FMTSTR constants\n\n n = 50000\n Benchmark.benchmark(" "*7 + CAPTION, 7, FMTSTR, ">total:", ">avg:") do |x|\n tf = x.report("for:") { for i in 1..n; a = "1"; end }\n tt = x.report("times:") { n.times do ; a = "1"; end }\n tu = x.report("upto:") { 1.upto(n) do ; a = "1"; end }\n [tf+tt+tu, (tf+tt+tu)/3]\n end\n" - !ruby/struct:SM::Flow::P body: Generates: - !ruby/struct:SM::Flow::VERB body: " user system total real\n for: 1.016667 0.016667 1.033333 ( 0.485749)\n times: 1.450000 0.016667 1.466667 ( 0.681367)\n upto: 1.533333 0.000000 1.533333 ( 0.722166)\n >total: 4.000000 0.033333 4.033333 ( 1.889282)\n >avg: 1.333333 0.011111 1.344444 ( 0.629761)\n" full_name: Benchmark#benchmark is_singleton: false name: benchmark params: (caption = "", label_width = nil, fmtstr = nil, *labels) {|report| ...} visibility: public ri/1.8/system/Range/first-i.yaml 0000644 00000000435 15217654525 0012323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the first object in rng. full_name: Range#first is_singleton: false name: first params: | rng.first => obj rng.begin => obj visibility: public ri/1.8/system/Range/step-i.yaml 0000644 00000001624 15217654525 0012150 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates over rng, passing each nth element to the block. If the range contains numbers, n is added for each iteration. Otherwise step invokes succ to iterate through range elements. The following code uses class Xs, which is defined in the class-level documentation. - !ruby/struct:SM::Flow::VERB body: " range = Xs.new(1)..Xs.new(10)\n range.step(2) {|x| puts x}\n range.step(3) {|x| puts x}\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " 1 x\n 3 xxx\n 5 xxxxx\n 7 xxxxxxx\n 9 xxxxxxxxx\n 1 x\n 4 xxxx\n 7 xxxxxxx\n 10 xxxxxxxxxx\n" full_name: Range#step is_singleton: false name: step params: | rng.step(n=1) {| obj | block } => rng visibility: public ri/1.8/system/Range/new-c.yaml 0000644 00000000704 15217654525 0011756 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Constructs a range using the given start and end. If the third parameter is omitted or is false, the range will include the end object; otherwise, it will be excluded. full_name: Range::new is_singleton: true name: new params: | Range.new(start, end, exclusive=false) => range visibility: public ri/1.8/system/Range/to_s-i.yaml 0000644 00000000413 15217654525 0012134 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert this range object to a printable form. full_name: Range#to_s is_singleton: false name: to_s params: | rng.to_s => string visibility: public ri/1.8/system/Range/end-i.yaml 0000644 00000000610 15217654525 0011735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the object that defines the end of rng. - !ruby/struct:SM::Flow::VERB body: " (1..10).end #=> 10\n (1...10).end #=> 10\n" full_name: Range#end is_singleton: false name: end params: | rng.end => obj rng.last => obj visibility: public ri/1.8/system/Range/hash-i.yaml 0000644 00000000603 15217654525 0012114 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate a hash value such that two ranges with the same start and end points, and the same value for the "exclude end" flag, generate the same hash value. full_name: Range#hash is_singleton: false name: hash params: | rng.hash => fixnum visibility: public ri/1.8/system/Range/yaml_new-c.yaml 0000644 00000000272 15217654525 0013000 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Range::yaml_new is_singleton: true name: yaml_new params: ( klass, tag, val ) visibility: public ri/1.8/system/Range/exclude_end%3f-i.yaml 0000644 00000000472 15217654525 0013752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if rng excludes its end value. full_name: Range#exclude_end? is_singleton: false name: exclude_end? params: | rng.exclude_end? => true or false visibility: public ri/1.8/system/Range/pretty_print-i.yaml 0000644 00000000262 15217654525 0013735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Range#pretty_print is_singleton: false name: pretty_print params: (q) visibility: public ri/1.8/system/Range/%3d%3d%3d-i.yaml 0000644 00000001453 15217654525 0012340 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if obj is an element of rng, false otherwise. Conveniently, === is the comparison operator used by case statements. - !ruby/struct:SM::Flow::VERB body: " case 79\n when 1..50 then print "low\\n"\n when 51..75 then print "medium\\n"\n when 76..100 then print "high\\n"\n end\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " high\n" full_name: Range#=== is_singleton: false name: === params: | rng === obj => true or false rng.member?(val) => true or false rng.include?(val) => true or false visibility: public ri/1.8/system/Range/each-i.yaml 0000644 00000001254 15217654525 0012074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates over the elements rng, passing each in turn to the block. You can only iterate if the start object of the range supports the succ method (which means that you can't iterate over ranges of Float objects). - !ruby/struct:SM::Flow::VERB body: " (10..15).each do |n|\n print n, ' '\n end\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " 10 11 12 13 14 15\n" full_name: Range#each is_singleton: false name: each params: | rng.each {| i | block } => rng visibility: public ri/1.8/system/Range/cdesc-Range.yaml 0000644 00000006136 15217654525 0013065 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: yaml_new comment: - !ruby/struct:SM::Flow::P body: A Range represents an interval---a set of values with a start and an end. Ranges may be constructed using the s..e and s...e literals, or with Range::new. Ranges constructed using .. run from the start to the end inclusively. Those created using ... exclude the end value. When used as an iterator, ranges return each value in the sequence. - !ruby/struct:SM::Flow::VERB body: " (-1..-5).to_a #=> []\n (-5..-1).to_a #=> [-5, -4, -3, -2, -1]\n ('a'..'e').to_a #=> ["a", "b", "c", "d", "e"]\n ('a'...'e').to_a #=> ["a", "b", "c", "d"]\n" - !ruby/struct:SM::Flow::P body: Ranges can be constructed using objects of any type, as long as the objects can be compared using their <=> operator and they support the succ method to return the next object in sequence. - !ruby/struct:SM::Flow::VERB body: " class Xs # represent a string of 'x's\n include Comparable\n attr :length\n def initialize(n)\n @length = n\n end\n def succ\n Xs.new(@length + 1)\n end\n def <=>(other)\n @length <=> other.length\n end\n def to_s\n sprintf "%2d #{inspect}", @length\n end\n def inspect\n 'x' * @length\n end\n end\n\n r = Xs.new(3)..Xs.new(6) #=> xxx..xxxxxx\n r.to_a #=> [xxx, xxxx, xxxxx, xxxxxx]\n r.member?(Xs.new(5)) #=> true\n" - !ruby/struct:SM::Flow::P body: In the previous code example, class Xs includes the Comparable module. This is because Enumerable#member? checks for equality using ==. Including Comparable ensures that the == method is defined in terms of the <=> method implemented in Xs. constants: [] full_name: Range includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: === - !ruby/object:RI::MethodSummary name: begin - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: end - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: exclude_end? - !ruby/object:RI::MethodSummary name: first - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: include? - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: last - !ruby/object:RI::MethodSummary name: member? - !ruby/object:RI::MethodSummary name: pretty_print - !ruby/object:RI::MethodSummary name: step - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_yaml name: Range superclass: Object ri/1.8/system/Range/inspect-i.yaml 0000644 00000000521 15217654525 0012635 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert this range object to a printable form (using inspect to convert the start and end objects). full_name: Range#inspect is_singleton: false name: inspect params: | rng.inspect => string visibility: public ri/1.8/system/Range/member%3f-i.yaml 0000644 00000001463 15217654525 0012743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if obj is an element of rng, false otherwise. Conveniently, === is the comparison operator used by case statements. - !ruby/struct:SM::Flow::VERB body: " case 79\n when 1..50 then print "low\\n"\n when 51..75 then print "medium\\n"\n when 76..100 then print "high\\n"\n end\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " high\n" full_name: Range#member? is_singleton: false name: member? params: | rng === obj => true or false rng.member?(val) => true or false rng.include?(val) => true or false visibility: public ri/1.8/system/Range/last-i.yaml 0000644 00000000612 15217654525 0012134 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the object that defines the end of rng. - !ruby/struct:SM::Flow::VERB body: " (1..10).end #=> 10\n (1...10).end #=> 10\n" full_name: Range#last is_singleton: false name: last params: | rng.end => obj rng.last => obj visibility: public ri/1.8/system/Range/%3d%3d-i.yaml 0000644 00000001126 15217654525 0012041 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns true only if obj is a Range, has equivalent beginning and end items (by comparing them with ==), and has the same #exclude_end? setting as <i>rng</t>." - !ruby/struct:SM::Flow::VERB body: " (0..2) == (0..2) #=> true\n (0..2) == Range.new(0,2) #=> true\n (0..2) == (0...2) #=> false\n" full_name: Range#== is_singleton: false name: == params: | rng == obj => true or false visibility: public ri/1.8/system/Range/begin-i.yaml 0000644 00000000435 15217654525 0012260 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the first object in rng. full_name: Range#begin is_singleton: false name: begin params: | rng.first => obj rng.begin => obj visibility: public ri/1.8/system/Range/include%3f-i.yaml 0000644 00000001465 15217654525 0013121 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if obj is an element of rng, false otherwise. Conveniently, === is the comparison operator used by case statements. - !ruby/struct:SM::Flow::VERB body: " case 79\n when 1..50 then print "low\\n"\n when 51..75 then print "medium\\n"\n when 76..100 then print "high\\n"\n end\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " high\n" full_name: Range#include? is_singleton: false name: include? params: | rng === obj => true or false rng.member?(val) => true or false rng.include?(val) => true or false visibility: public ri/1.8/system/Range/to_yaml-i.yaml 0000644 00000000262 15217654525 0012636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Range#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/Range/eql%3f-i.yaml 0000644 00000001115 15217654525 0012247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns true only if obj is a Range, has equivalent beginning and end items (by comparing them with #eql?), and has the same #exclude_end? setting as rng." - !ruby/struct:SM::Flow::VERB body: " (0..2) == (0..2) #=> true\n (0..2) == Range.new(0,2) #=> true\n (0..2) == (0...2) #=> false\n" full_name: Range#eql? is_singleton: false name: eql? params: | rng.eql?(obj) => true or false visibility: public ri/1.8/system/NonString/cdesc-NonString.yaml 0000644 00000000315 15217654525 0014630 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: NonString includes: [] instance_methods: [] name: NonString superclass: Test::Unit::TestCase ri/1.8/system/WeakRef/new-c.yaml 0000644 00000000362 15217654525 0012246 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new WeakRef from orig. full_name: WeakRef::new is_singleton: true name: new params: (orig) visibility: public ri/1.8/system/WeakRef/cdesc-WeakRef.yaml 0000644 00000002160 15217654525 0013636 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: WeakRef is a class to represent a reference to an object that is not seen by the tracing phase of the garbage collector. This allows the referenced object to be garbage collected as if nothing is referring to it. Because WeakRef delegates method calls to the referenced object, it may be used in place of that object, i.e. it is of the same duck type. - !ruby/struct:SM::Flow::P body: "Usage:" - !ruby/struct:SM::Flow::VERB body: " foo = Object.new\n foo = Object.new\n p foo.to_s # original's class\n foo = WeakRef.new(foo)\n p foo.to_s # should be same class\n ObjectSpace.garbage_collect\n p foo.to_s # should raise exception (recycled)\n" constants: [] full_name: WeakRef includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: __getobj__ - !ruby/object:RI::MethodSummary name: __setobj__ - !ruby/object:RI::MethodSummary name: weakref_alive? name: WeakRef superclass: Delegator ri/1.8/system/WeakRef/weakref_alive%3f-i.yaml 0000644 00000000473 15217654525 0014570 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the referenced object still exists, and false if it has been garbage collected. full_name: WeakRef#weakref_alive? is_singleton: false name: weakref_alive? params: () visibility: public ri/1.8/system/WeakRef/__getobj__-i.yaml 0000644 00000000617 15217654525 0013534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the object this WeakRef references. Raises RefError if the object has been garbage collected. The object returned is the object to which method calls are delegated (see Delegator). full_name: WeakRef#__getobj__ is_singleton: false name: __getobj__ params: () visibility: public ri/1.8/system/WeakRef/RefError/cdesc-RefError.yaml 0000644 00000000464 15217654525 0015573 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: RefError is raised if an object cannot be referenced by a WeakRef. constants: [] full_name: WeakRef::RefError includes: [] instance_methods: [] name: RefError superclass: StandardError ri/1.8/system/WeakRef/__setobj__-i.yaml 0000644 00000000262 15217654525 0013544 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WeakRef#__setobj__ is_singleton: false name: __setobj__ params: (obj) visibility: public ri/1.8/system/Proc/new-c.yaml 0000644 00000001226 15217654525 0011625 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new Proc object, bound to the current context. Proc::new may be called without a block only within a method with an attached block, in which case that block is converted to the Proc object. - !ruby/struct:SM::Flow::VERB body: " def proc_from\n Proc.new\n end\n proc = proc_from { "hello" }\n proc.call #=> "hello"\n" full_name: Proc::new is_singleton: true name: new params: | Proc.new {|...| block } => a_proc Proc.new => a_proc visibility: public ri/1.8/system/Proc/to_s-i.yaml 0000644 00000000476 15217654525 0012014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Shows the unique identifier for this proc, along with an indication of where the proc was defined. full_name: Proc#to_s is_singleton: false name: to_s params: | prc.to_s => string visibility: public ri/1.8/system/Proc/to_proc-i.yaml 0000644 00000000540 15217654525 0012505 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Part of the protocol for converting objects to Proc objects. Instances of class Proc simply return themselves. full_name: Proc#to_proc is_singleton: false name: to_proc params: | prc.to_proc -> prc visibility: public ri/1.8/system/Proc/call-i.yaml 0000644 00000002570 15217654525 0011760 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes the block, setting the block's parameters to the values in params using something close to method calling semantics. Generates a warning if multiple values are passed to a proc that expects just one (previously this silently converted the parameters to an array). - !ruby/struct:SM::Flow::P body: For procs created using Kernel.proc, generates an error if the wrong number of parameters are passed to a proc with multiple parameters. For procs created using Proc.new, extra parameters are silently discarded. - !ruby/struct:SM::Flow::P body: Returns the value of the last expression evaluated in the block. See also Proc#yield. - !ruby/struct:SM::Flow::VERB body: " a_proc = Proc.new {|a, *b| b.collect {|i| i*a }}\n a_proc.call(9, 1, 2, 3) #=> [9, 18, 27]\n a_proc[9, 1, 2, 3] #=> [9, 18, 27]\n a_proc = Proc.new {|a,b| a}\n a_proc.call(1,2,3)\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " prog.rb:5: wrong number of arguments (3 for 2) (ArgumentError)\n from prog.rb:4:in `call'\n from prog.rb:5\n" full_name: Proc#call is_singleton: false name: call params: | prc.call(params,...) => obj prc[params,...] => obj visibility: public ri/1.8/system/Proc/%5b%5d-i.yaml 0000644 00000002566 15217654525 0011723 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes the block, setting the block's parameters to the values in params using something close to method calling semantics. Generates a warning if multiple values are passed to a proc that expects just one (previously this silently converted the parameters to an array). - !ruby/struct:SM::Flow::P body: For procs created using Kernel.proc, generates an error if the wrong number of parameters are passed to a proc with multiple parameters. For procs created using Proc.new, extra parameters are silently discarded. - !ruby/struct:SM::Flow::P body: Returns the value of the last expression evaluated in the block. See also Proc#yield. - !ruby/struct:SM::Flow::VERB body: " a_proc = Proc.new {|a, *b| b.collect {|i| i*a }}\n a_proc.call(9, 1, 2, 3) #=> [9, 18, 27]\n a_proc[9, 1, 2, 3] #=> [9, 18, 27]\n a_proc = Proc.new {|a,b| a}\n a_proc.call(1,2,3)\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " prog.rb:5: wrong number of arguments (3 for 2) (ArgumentError)\n from prog.rb:4:in `call'\n from prog.rb:5\n" full_name: Proc#[] is_singleton: false name: "[]" params: | prc.call(params,...) => obj prc[params,...] => obj visibility: public ri/1.8/system/Proc/cdesc-Proc.yaml 0000644 00000002143 15217654525 0012575 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Proc objects are blocks of code that have been bound to a set of local variables. Once bound, the code may be called in different contexts and still access those variables. - !ruby/struct:SM::Flow::VERB body: " def gen_times(factor)\n return Proc.new {|n| n*factor }\n end\n\n times3 = gen_times(3)\n times5 = gen_times(5)\n\n times3.call(12) #=> 36\n times5.call(5) #=> 25\n times3.call(times5.call(4)) #=> 60\n" constants: [] full_name: Proc includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: arity - !ruby/object:RI::MethodSummary name: binding - !ruby/object:RI::MethodSummary name: call - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: to_proc - !ruby/object:RI::MethodSummary name: to_s name: Proc superclass: Object ri/1.8/system/Proc/arity-i.yaml 0000644 00000001642 15217654525 0012174 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of arguments that would not be ignored. If the block is declared to take no arguments, returns 0. If the block is known to take exactly n arguments, returns n. If the block has optional arguments, return -n-1, where n is the number of mandatory arguments. A proc with no argument declarations is the same a block declaring || as its arguments. - !ruby/struct:SM::Flow::VERB body: " Proc.new {}.arity #=> 0\n Proc.new {||}.arity #=> 0\n Proc.new {|a|}.arity #=> 1\n Proc.new {|a,b|}.arity #=> 2\n Proc.new {|a,b,c|}.arity #=> 3\n Proc.new {|*a|}.arity #=> -1\n Proc.new {|a,*b|}.arity #=> -2\n" full_name: Proc#arity is_singleton: false name: arity params: | prc.arity -> fixnum visibility: public ri/1.8/system/Proc/binding-i.yaml 0000644 00000001131 15217654525 0012447 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the binding associated with prc. Note that Kernel#eval accepts either a Proc or a Binding object as its second parameter. - !ruby/struct:SM::Flow::VERB body: " def fred(param)\n proc {}\n end\n\n b = fred(99)\n eval("param", b.binding) #=> 99\n eval("param", b) #=> 99\n" full_name: Proc#binding is_singleton: false name: binding params: | prc.binding => binding visibility: public ri/1.8/system/Proc/clone-i.yaml 0000644 00000000337 15217654525 0012144 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "MISSING: documentation" full_name: Proc#clone is_singleton: false name: clone params: () visibility: public ri/1.8/system/Proc/%3d%3d-i.yaml 0000644 00000000546 15217654525 0011715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return true if prc is the same object as other_proc, or if they are both procs with the same body. full_name: Proc#== is_singleton: false name: == params: | prc == other_proc => true or false visibility: public ri/1.8/system/Rinda/TupleEntry/new-c.yaml 0000644 00000000741 15217654525 0014073 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a TupleEntry based on ary with an optional renewer or expiry time sec. - !ruby/struct:SM::Flow::P body: A renewer must implement the renew method which returns a Numeric, nil, or true to indicate when the tuple has expired. full_name: Rinda::TupleEntry::new is_singleton: true name: new params: (ary, sec=nil) visibility: public ri/1.8/system/Rinda/TupleEntry/get_renewer-i.yaml 0000644 00000000775 15217654525 0015625 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a valid argument to make_expires and the renewer or nil. - !ruby/struct:SM::Flow::P body: Given true, nil, or Numeric, returns that value and nil (no actual renewer). Otherwise it returns an expiry value from calling +it.renew+ and the renewer. full_name: Rinda::TupleEntry#get_renewer is_singleton: false name: get_renewer params: (it) visibility: private ri/1.8/system/Rinda/TupleEntry/make_tuple-i.yaml 0000644 00000000411 15217654525 0015430 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a Rinda::Tuple for ary. full_name: Rinda::TupleEntry#make_tuple is_singleton: false name: make_tuple params: (ary) visibility: public ri/1.8/system/Rinda/TupleEntry/expired%3f-i.yaml 0000644 00000000613 15217654525 0015244 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Has this tuple expired? (true/false). - !ruby/struct:SM::Flow::P body: "A tuple has expired when its expiry timer based on the sec argument to #initialize runs out." full_name: Rinda::TupleEntry#expired? is_singleton: false name: expired? params: () visibility: public ri/1.8/system/Rinda/TupleEntry/make_expires-i.yaml 0000644 00000001313 15217654525 0015760 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns an expiry Time based on sec which can be one of:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "Numeric:" body: sec seconds into the future - !ruby/struct:SM::Flow::LI label: "+true+:" body: the expiry time is the start of 1970 (i.e. expired) - !ruby/struct:SM::Flow::LI label: "+nil+:" body: it is Tue Jan 19 03:14:07 GMT Standard Time 2038 (i.e. when UNIX clocks will die) type: :NOTE full_name: Rinda::TupleEntry#make_expires is_singleton: false name: make_expires params: (sec=nil) visibility: public ri/1.8/system/Rinda/TupleEntry/%5b%5d-i.yaml 0000644 00000000371 15217654525 0014160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Retrieves key from the tuple. full_name: Rinda::TupleEntry#[] is_singleton: false name: "[]" params: (key) visibility: public ri/1.8/system/Rinda/TupleEntry/alive%3f-i.yaml 0000644 00000000412 15217654525 0014701 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: A TupleEntry is dead when it is canceled or expired. full_name: Rinda::TupleEntry#alive? is_singleton: false name: alive? params: () visibility: public ri/1.8/system/Rinda/TupleEntry/cancel-i.yaml 0000644 00000000370 15217654525 0014533 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Marks this TupleEntry as canceled. full_name: Rinda::TupleEntry#cancel is_singleton: false name: cancel params: () visibility: public ri/1.8/system/Rinda/TupleEntry/size-i.yaml 0000644 00000000350 15217654525 0014256 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The size of the tuple. full_name: Rinda::TupleEntry#size is_singleton: false name: size params: () visibility: public ri/1.8/system/Rinda/TupleEntry/canceled%3f-i.yaml 0000644 00000000370 15217654525 0015342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the canceled status. full_name: Rinda::TupleEntry#canceled? is_singleton: false name: canceled? params: () visibility: public ri/1.8/system/Rinda/TupleEntry/fetch-i.yaml 0000644 00000000373 15217654525 0014402 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Fetches key from the tuple. full_name: Rinda::TupleEntry#fetch is_singleton: false name: fetch params: (key) visibility: public ri/1.8/system/Rinda/TupleEntry/renew-i.yaml 0000644 00000001361 15217654525 0014427 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reset the expiry time according to sec_or_renewer. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+nil+:" body: it is set to expire in the far future. - !ruby/struct:SM::Flow::LI label: "+false+:" body: it has expired. - !ruby/struct:SM::Flow::LI label: "Numeric:" body: it will expire in that many seconds. type: :NOTE - !ruby/struct:SM::Flow::P body: Otherwise the argument refers to some kind of renewer object which will reset its expiry time. full_name: Rinda::TupleEntry#renew is_singleton: false name: renew params: (sec_or_renewer) visibility: public ri/1.8/system/Rinda/TupleEntry/cdesc-TupleEntry.yaml 0000644 00000002120 15217654525 0016245 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: expires rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A TupleEntry is a Tuple (i.e. a possible entry in some Tuplespace) together with expiry and cancellation data. constants: [] full_name: Rinda::TupleEntry includes: - !ruby/object:RI::IncludedModule name: DRbUndumped instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: alive? - !ruby/object:RI::MethodSummary name: cancel - !ruby/object:RI::MethodSummary name: canceled? - !ruby/object:RI::MethodSummary name: expired? - !ruby/object:RI::MethodSummary name: fetch - !ruby/object:RI::MethodSummary name: get_renewer - !ruby/object:RI::MethodSummary name: make_expires - !ruby/object:RI::MethodSummary name: make_tuple - !ruby/object:RI::MethodSummary name: renew - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: value name: TupleEntry superclass: Object ri/1.8/system/Rinda/TupleEntry/value-i.yaml 0000644 00000000433 15217654525 0014422 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Return the object which makes up the tuple itself: the Array or Hash." full_name: Rinda::TupleEntry#value is_singleton: false name: value params: () visibility: public ri/1.8/system/Rinda/RingServer/reply_service-i.yaml 0000644 00000000447 15217654525 0016141 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a thread that notifies waiting clients from the TupleSpace. full_name: Rinda::RingServer#reply_service is_singleton: false name: reply_service params: () visibility: public ri/1.8/system/Rinda/RingServer/new-c.yaml 0000644 00000000447 15217654525 0014051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Advertises ts on the UDP broadcast address at port. full_name: Rinda::RingServer::new is_singleton: true name: new params: (ts, port=Ring_PORT) visibility: public ri/1.8/system/Rinda/RingServer/cdesc-RingServer.yaml 0000644 00000002170 15217654525 0016200 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "A RingServer allows a Rinda::TupleSpace to be located via UDP broadcasts. Service location uses the following steps:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "1." body: A RingServer begins listening on the broadcast UDP address. - !ruby/struct:SM::Flow::LI label: "2." body: A RingFinger sends a UDP packet containing the DRb URI where it will listen for a reply. - !ruby/struct:SM::Flow::LI label: "3." body: The RingServer receives the UDP packet and connects back to the provided DRb URI with the DRb service. type: :NUMBER constants: [] full_name: Rinda::RingServer includes: - !ruby/object:RI::IncludedModule name: DRbUndumped instance_methods: - !ruby/object:RI::MethodSummary name: do_reply - !ruby/object:RI::MethodSummary name: do_write - !ruby/object:RI::MethodSummary name: reply_service - !ruby/object:RI::MethodSummary name: write_service name: RingServer superclass: Object ri/1.8/system/Rinda/RingServer/do_reply-i.yaml 0000644 00000000503 15217654525 0015074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Pulls lookup tuples out of the TupleSpace and sends their DRb object the address of the local TupleSpace. full_name: Rinda::RingServer#do_reply is_singleton: false name: do_reply params: () visibility: public ri/1.8/system/Rinda/RingServer/do_write-i.yaml 0000644 00000000551 15217654525 0015076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Extracts the response URI from msg and adds it to TupleSpace where it will be picked up by reply_service for notification. full_name: Rinda::RingServer#do_write is_singleton: false name: do_write params: (msg) visibility: public ri/1.8/system/Rinda/RingServer/write_service-i.yaml 0000644 00000000470 15217654525 0016134 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a thread that picks up UDP packets and passes them to do_write for decoding. full_name: Rinda::RingServer#write_service is_singleton: false name: write_service params: () visibility: public ri/1.8/system/Rinda/NotifyTemplateEntry/pop-i.yaml 0000644 00000000464 15217654525 0015763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Retrieves a notification. Raises RequestExpiredError when this NotifyTemplateEntry expires. full_name: Rinda::NotifyTemplateEntry#pop is_singleton: false name: pop params: () visibility: public ri/1.8/system/Rinda/NotifyTemplateEntry/new-c.yaml 0000644 00000000536 15217654525 0015750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new NotifyTemplateEntry that watches place for +event+s that match tuple. full_name: Rinda::NotifyTemplateEntry::new is_singleton: true name: new params: (place, event, tuple, expires=nil) visibility: public ri/1.8/system/Rinda/NotifyTemplateEntry/cdesc-NotifyTemplateEntry.yaml 0000644 00000002156 15217654525 0022004 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A NotifyTemplateEntry is returned by TupleSpace#notify and is notified of TupleSpace changes. You may receive either your subscribed event or the 'close' event when iterating over notifications. - !ruby/struct:SM::Flow::P body: See TupleSpace#notify_event for valid notification types. - !ruby/struct:SM::Flow::H level: 2 text: Example - !ruby/struct:SM::Flow::VERB body: " ts = Rinda::TupleSpace.new\n observer = ts.notify 'write', [nil]\n\n Thread.start do\n observer.each { |t| p t }\n end\n\n 3.times { |i| ts.write [i] }\n" - !ruby/struct:SM::Flow::P body: "Outputs:" - !ruby/struct:SM::Flow::VERB body: " ['write', [0]]\n ['write', [1]]\n ['write', [2]]\n" constants: [] full_name: Rinda::NotifyTemplateEntry includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: notify - !ruby/object:RI::MethodSummary name: pop name: NotifyTemplateEntry superclass: TemplateEntry ri/1.8/system/Rinda/NotifyTemplateEntry/each-i.yaml 0000644 00000000473 15217654525 0016065 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: event, tuple comment: - !ruby/struct:SM::Flow::P body: Yields event/tuple pairs until this NotifyTemplateEntry expires. full_name: Rinda::NotifyTemplateEntry#each is_singleton: false name: each params: ( {|event, tuple| ...} visibility: public ri/1.8/system/Rinda/NotifyTemplateEntry/notify-i.yaml 0000644 00000000450 15217654525 0016470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Called by TupleSpace to notify this NotifyTemplateEntry of a new event. full_name: Rinda::NotifyTemplateEntry#notify is_singleton: false name: notify params: (ev) visibility: public ri/1.8/system/Rinda/DRbObjectTemplate/new-c.yaml 0000644 00000000475 15217654525 0015256 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new DRbObjectTemplate that will match against uri and ref. full_name: Rinda::DRbObjectTemplate::new is_singleton: true name: new params: (uri=nil, ref=nil) visibility: public ri/1.8/system/Rinda/DRbObjectTemplate/cdesc-DRbObjectTemplate.yaml 0000644 00000000550 15217654525 0020610 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Documentation? constants: [] full_name: Rinda::DRbObjectTemplate includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: === name: DRbObjectTemplate superclass: Object ri/1.8/system/Rinda/DRbObjectTemplate/%3d%3d%3d-i.yaml 0000644 00000000536 15217654525 0015634 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This DRbObjectTemplate matches ro if the remote object's drburi and drbref are the same. nil is used as a wildcard. full_name: Rinda::DRbObjectTemplate#=== is_singleton: false name: === params: (ro) visibility: public ri/1.8/system/Rinda/Template/cdesc-Template.yaml 0000644 00000000557 15217654525 0015361 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Templates are used to match tuples in Rinda. constants: [] full_name: Rinda::Template includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: === - !ruby/object:RI::MethodSummary name: match name: Template superclass: Tuple ri/1.8/system/Rinda/Template/%3d%3d%3d-i.yaml 0000644 00000000346 15217654525 0014114 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #match." full_name: Rinda::Template#=== is_singleton: false name: === params: (tuple) visibility: public ri/1.8/system/Rinda/Template/match-i.yaml 0000644 00000002043 15217654525 0014041 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Matches this template against tuple. The tuple must be the same size as the template. An element with a nil value in a template acts as a wildcard, matching any value in the corresponding position in the tuple. Elements of the template match the tuple if the are #== or #===." - !ruby/struct:SM::Flow::VERB body: " Template.new([:foo, 5]).match Tuple.new([:foo, 5]) # => true\n Template.new([:foo, nil]).match Tuple.new([:foo, 5]) # => true\n Template.new([String]).match Tuple.new(['hello']) # => true\n\n Template.new([:foo]).match Tuple.new([:foo, 5]) # => false\n Template.new([:foo, 6]).match Tuple.new([:foo, 5]) # => false\n Template.new([:foo, nil]).match Tuple.new([:foo]) # => false\n Template.new([:foo, 6]).match Tuple.new([:foo]) # => false\n" full_name: Rinda::Template#match is_singleton: false name: match params: (tuple) visibility: public ri/1.8/system/Rinda/TupleSpaceProxy/new-c.yaml 0000644 00000000411 15217654525 0015061 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new TupleSpaceProxy to wrap ts. full_name: Rinda::TupleSpaceProxy::new is_singleton: true name: new params: (ts) visibility: public ri/1.8/system/Rinda/TupleSpaceProxy/read-i.yaml 0000644 00000000463 15217654525 0015220 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads tuple from the proxied TupleSpace. See TupleSpace#read. full_name: Rinda::TupleSpaceProxy#read is_singleton: false name: read params: (tuple, sec=nil, &block) visibility: public ri/1.8/system/Rinda/TupleSpaceProxy/write-i.yaml 0000644 00000000453 15217654525 0015436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Adds tuple to the proxied TupleSpace. See TupleSpace#write. full_name: Rinda::TupleSpaceProxy#write is_singleton: false name: write params: (tuple, sec=nil) visibility: public ri/1.8/system/Rinda/TupleSpaceProxy/read_all-i.yaml 0000644 00000000502 15217654525 0016042 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads all tuples matching tuple from the proxied TupleSpace. See TupleSpace#read_all. full_name: Rinda::TupleSpaceProxy#read_all is_singleton: false name: read_all params: (tuple) visibility: public ri/1.8/system/Rinda/TupleSpaceProxy/cdesc-TupleSpaceProxy.yaml 0000644 00000001117 15217654525 0020242 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: TupleSpaceProxy allows a remote Tuplespace to appear as local. constants: [] full_name: Rinda::TupleSpaceProxy includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: notify - !ruby/object:RI::MethodSummary name: read - !ruby/object:RI::MethodSummary name: read_all - !ruby/object:RI::MethodSummary name: take - !ruby/object:RI::MethodSummary name: write name: TupleSpaceProxy superclass: Object ri/1.8/system/Rinda/TupleSpaceProxy/notify-i.yaml 0000644 00000000516 15217654525 0015614 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Registers for notifications of event ev on the proxied TupleSpace. See TupleSpace#notify full_name: Rinda::TupleSpaceProxy#notify is_singleton: false name: notify params: (ev, tuple, sec=nil) visibility: public ri/1.8/system/Rinda/TupleSpaceProxy/take-i.yaml 0000644 00000000463 15217654525 0015231 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Takes tuple from the proxied TupleSpace. See TupleSpace#take. full_name: Rinda::TupleSpaceProxy#take is_singleton: false name: take params: (tuple, sec=nil, &block) visibility: public ri/1.8/system/Rinda/Tuple/new-c.yaml 0000644 00000000443 15217654525 0013050 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new Tuple from ary_or_hash which must be an Array or Hash. full_name: Rinda::Tuple::new is_singleton: true name: new params: (ary_or_hash) visibility: public ri/1.8/system/Rinda/Tuple/hash%3f-i.yaml 0000644 00000000266 15217654525 0013511 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Rinda::Tuple#hash? is_singleton: false name: hash? params: (ary_or_hash) visibility: private ri/1.8/system/Rinda/Tuple/cdesc-Tuple.yaml 0000644 00000001450 15217654525 0014206 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A tuple is the elementary object in Rinda programming. Tuples may be matched against templates if the tuple and the template are the same size. constants: [] full_name: Rinda::Tuple includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: fetch - !ruby/object:RI::MethodSummary name: hash? - !ruby/object:RI::MethodSummary name: init_with_ary - !ruby/object:RI::MethodSummary name: init_with_hash - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: value name: Tuple superclass: Object ri/1.8/system/Rinda/Tuple/%5b%5d-i.yaml 0000644 00000000366 15217654525 0013142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Accessor method for elements of the tuple. full_name: Rinda::Tuple#[] is_singleton: false name: "[]" params: (k) visibility: public ri/1.8/system/Rinda/Tuple/size-i.yaml 0000644 00000000361 15217654525 0013236 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The number of elements in the tuple. full_name: Rinda::Tuple#size is_singleton: false name: size params: () visibility: public ri/1.8/system/Rinda/Tuple/each-i.yaml 0000644 00000000532 15217654525 0013164 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (k, v) comment: - !ruby/struct:SM::Flow::P body: Iterate through the tuple, yielding the index or key, and the value, thus ensuring arrays are iterated similarly to hashes. full_name: Rinda::Tuple#each is_singleton: false name: each params: ( {|k, v| ...} visibility: public ri/1.8/system/Rinda/Tuple/fetch-i.yaml 0000644 00000000367 15217654525 0013363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Fetches item k from the tuple. full_name: Rinda::Tuple#fetch is_singleton: false name: fetch params: (k) visibility: public ri/1.8/system/Rinda/Tuple/init_with_ary-i.yaml 0000644 00000000412 15217654525 0015132 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Munges ary into a valid Tuple. full_name: Rinda::Tuple#init_with_ary is_singleton: false name: init_with_ary params: (ary) visibility: private ri/1.8/system/Rinda/Tuple/init_with_hash-i.yaml 0000644 00000000415 15217654525 0015265 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Ensures hash is a valid Tuple. full_name: Rinda::Tuple#init_with_hash is_singleton: false name: init_with_hash params: (hash) visibility: private ri/1.8/system/Rinda/Tuple/value-i.yaml 0000644 00000000346 15217654525 0013403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the tuple itself full_name: Rinda::Tuple#value is_singleton: false name: value params: () visibility: public ri/1.8/system/Rinda/RingProvider/new-c.yaml 0000644 00000000612 15217654525 0014367 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a RingProvider that will provide a klass service running on front, with a description. renewer is optional. full_name: Rinda::RingProvider::new is_singleton: true name: new params: (klass, front, desc, renewer = nil) visibility: public ri/1.8/system/Rinda/RingProvider/cdesc-RingProvider.yaml 0000644 00000001226 15217654525 0017051 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: RingProvider uses a RingServer advertised TupleSpace as a name service. TupleSpace clients can register themselves with the remote TupleSpace and look up other provided services via the remote TupleSpace. - !ruby/struct:SM::Flow::P body: Services are registered with a tuple of the format [:name, klass, DRbObject, description]. constants: [] full_name: Rinda::RingProvider includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: provide name: RingProvider superclass: Object ri/1.8/system/Rinda/RingProvider/provide-i.yaml 0000644 00000000423 15217654525 0015254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Advertises this service on the primary remote TupleSpace. full_name: Rinda::RingProvider#provide is_singleton: false name: provide params: () visibility: public ri/1.8/system/Rinda/TemplateEntry/cdesc-TemplateEntry.yaml 0000644 00000000633 15217654525 0017420 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: A TemplateEntry is a Template together with expiry and cancellation data. constants: [] full_name: Rinda::TemplateEntry includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: === - !ruby/object:RI::MethodSummary name: match name: TemplateEntry superclass: TupleEntry ri/1.8/system/Rinda/TemplateEntry/%3d%3d%3d-i.yaml 0000644 00000000352 15217654525 0015133 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #match" full_name: Rinda::TemplateEntry#=== is_singleton: false name: === params: (tuple) visibility: public ri/1.8/system/Rinda/TemplateEntry/match-i.yaml 0000644 00000000567 15217654525 0015074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: === block_params: comment: - !ruby/struct:SM::Flow::P body: Matches this TemplateEntry against tuple. See Template#match for details on how a Template matches a Tuple. full_name: Rinda::TemplateEntry#match is_singleton: false name: match params: (tuple) visibility: public ri/1.8/system/Rinda/RequestCanceledError/cdesc-RequestCanceledError.yaml 0000644 00000000461 15217654525 0022167 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Raised when trying to use a canceled tuple. constants: [] full_name: Rinda::RequestCanceledError includes: [] instance_methods: [] name: RequestCanceledError superclass: ThreadError ri/1.8/system/Rinda/RindaError/cdesc-RindaError.yaml 0000644 00000000411 15217654525 0016136 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Rinda error base class constants: [] full_name: Rinda::RindaError includes: [] instance_methods: [] name: RindaError superclass: RuntimeError ri/1.8/system/Rinda/InvalidHashTupleKey/cdesc-InvalidHashTupleKey.yaml 0000644 00000000465 15217654525 0021563 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Raised when a hash-based tuple has an invalid key. constants: [] full_name: Rinda::InvalidHashTupleKey includes: [] instance_methods: [] name: InvalidHashTupleKey superclass: RindaError ri/1.8/system/Rinda/TupleBag/TupleBin/new-c.yaml 0000644 00000000263 15217654525 0015204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Rinda::TupleBag::TupleBin::new is_singleton: true name: new params: () visibility: public ri/1.8/system/Rinda/TupleBag/TupleBin/delete-i.yaml 0000644 00000000276 15217654525 0015667 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Rinda::TupleBag::TupleBin#delete is_singleton: false name: delete params: (tuple) visibility: public ri/1.8/system/Rinda/TupleBag/TupleBin/cdesc-TupleBin.yaml 0000644 00000000604 15217654525 0016773 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Rinda::TupleBag::TupleBin includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: find name: TupleBin superclass: Object ri/1.8/system/Rinda/TupleBag/TupleBin/find-i.yaml 0000644 00000000306 15217654525 0015337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (x) comment: full_name: Rinda::TupleBag::TupleBin#find is_singleton: false name: find params: (&blk) {|x| ...} visibility: public ri/1.8/system/Rinda/TupleBag/TupleBin/add-i.yaml 0000644 00000000270 15217654525 0015147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Rinda::TupleBag::TupleBin#add is_singleton: false name: add params: (tuple) visibility: public ri/1.8/system/Rinda/TupleBag/delete_unless_alive-i.yaml 0000644 00000000476 15217654525 0016720 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Delete tuples which dead tuples from the TupleBag, returning the deleted tuples. full_name: Rinda::TupleBag#delete_unless_alive is_singleton: false name: delete_unless_alive params: () visibility: public ri/1.8/system/Rinda/TupleBag/delete-i.yaml 0000644 00000000402 15217654525 0014134 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes tuple from the TupleBag. full_name: Rinda::TupleBag#delete is_singleton: false name: delete params: (tuple) visibility: public ri/1.8/system/Rinda/TupleBag/push-i.yaml 0000644 00000000370 15217654525 0013655 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Add tuple to the TupleBag. full_name: Rinda::TupleBag#push is_singleton: false name: push params: (tuple) visibility: public ri/1.8/system/Rinda/TupleBag/find_all-i.yaml 0000644 00000000423 15217654525 0014445 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Finds all live tuples that match template. full_name: Rinda::TupleBag#find_all is_singleton: false name: find_all params: (template) visibility: public ri/1.8/system/Rinda/TupleBag/each_entry-i.yaml 0000644 00000000274 15217654525 0015022 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Rinda::TupleBag#each_entry is_singleton: false name: each_entry params: (&blk) visibility: private ri/1.8/system/Rinda/TupleBag/cdesc-TupleBag.yaml 0000644 00000001504 15217654525 0015232 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: TupleBag is an unordered collection of tuples. It is the basis of Tuplespace. constants: [] full_name: Rinda::TupleBag includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: bin_for_find - !ruby/object:RI::MethodSummary name: bin_key - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: delete_unless_alive - !ruby/object:RI::MethodSummary name: each_entry - !ruby/object:RI::MethodSummary name: find - !ruby/object:RI::MethodSummary name: find_all - !ruby/object:RI::MethodSummary name: find_all_template - !ruby/object:RI::MethodSummary name: has_expires? - !ruby/object:RI::MethodSummary name: push name: TupleBag superclass: Object ri/1.8/system/Rinda/TupleBag/has_expires%3f-i.yaml 0000644 00000000443 15217654525 0015507 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: true if the TupleBag to see if it has any expired entries. full_name: Rinda::TupleBag#has_expires? is_singleton: false name: has_expires? params: () visibility: public ri/1.8/system/Rinda/TupleBag/bin_for_find-i.yaml 0000644 00000000304 15217654525 0015311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Rinda::TupleBag#bin_for_find is_singleton: false name: bin_for_find params: (template) visibility: private ri/1.8/system/Rinda/TupleBag/bin_key-i.yaml 0000644 00000000267 15217654525 0014323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Rinda::TupleBag#bin_key is_singleton: false name: bin_key params: (tuple) visibility: private ri/1.8/system/Rinda/TupleBag/find_all_template-i.yaml 0000644 00000000524 15217654525 0016342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Finds all tuples in the TupleBag which when treated as templates, match tuple and are alive. full_name: Rinda::TupleBag#find_all_template is_singleton: false name: find_all_template params: (tuple) visibility: public ri/1.8/system/Rinda/TupleBag/find-i.yaml 0000644 00000000412 15217654525 0013613 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Finds a live tuple that matches template. full_name: Rinda::TupleBag#find is_singleton: false name: find params: (template) visibility: public ri/1.8/system/Rinda/WaitTemplateEntry/new-c.yaml 0000644 00000000311 15217654525 0015373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Rinda::WaitTemplateEntry::new is_singleton: true name: new params: (place, ary, expires=nil) visibility: public ri/1.8/system/Rinda/WaitTemplateEntry/read-i.yaml 0000644 00000000271 15217654525 0015530 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Rinda::WaitTemplateEntry#read is_singleton: false name: read params: (tuple) visibility: public ri/1.8/system/Rinda/WaitTemplateEntry/cancel-i.yaml 0000644 00000000270 15217654525 0016041 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Rinda::WaitTemplateEntry#cancel is_singleton: false name: cancel params: () visibility: public ri/1.8/system/Rinda/WaitTemplateEntry/cdesc-WaitTemplateEntry.yaml 0000644 00000001076 15217654525 0021074 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: found rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Documentation? constants: [] full_name: Rinda::WaitTemplateEntry includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: cancel - !ruby/object:RI::MethodSummary name: read - !ruby/object:RI::MethodSummary name: signal - !ruby/object:RI::MethodSummary name: wait name: WaitTemplateEntry superclass: TemplateEntry ri/1.8/system/Rinda/WaitTemplateEntry/wait-i.yaml 0000644 00000000264 15217654525 0015563 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Rinda::WaitTemplateEntry#wait is_singleton: false name: wait params: () visibility: public ri/1.8/system/Rinda/WaitTemplateEntry/signal-i.yaml 0000644 00000000270 15217654525 0016071 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Rinda::WaitTemplateEntry#signal is_singleton: false name: signal params: () visibility: public ri/1.8/system/Rinda/TupleSpace/new-c.yaml 0000644 00000001005 15217654525 0014017 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new TupleSpace. period is used to control how often to look for dead tuples after modifications to the TupleSpace. - !ruby/struct:SM::Flow::P body: If no dead tuples are found period seconds after the last modification, the TupleSpace will stop looking for dead tuples. full_name: Rinda::TupleSpace::new is_singleton: true name: new params: (period=60) visibility: public ri/1.8/system/Rinda/TupleSpace/create_entry-i.yaml 0000644 00000000310 15217654525 0015716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Rinda::TupleSpace#create_entry is_singleton: false name: create_entry params: (tuple, sec) visibility: private ri/1.8/system/Rinda/TupleSpace/keep_clean-i.yaml 0000644 00000000363 15217654525 0015330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes dead tuples. full_name: Rinda::TupleSpace#keep_clean is_singleton: false name: keep_clean params: () visibility: private ri/1.8/system/Rinda/TupleSpace/start_keeper-i.yaml 0000644 00000000441 15217654525 0015727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a thread that scans the tuplespace for expired tuples. full_name: Rinda::TupleSpace#start_keeper is_singleton: false name: start_keeper params: () visibility: private ri/1.8/system/Rinda/TupleSpace/read-i.yaml 0000644 00000000450 15217654525 0014152 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (template) comment: - !ruby/struct:SM::Flow::P body: Reads tuple, but does not remove it. full_name: Rinda::TupleSpace#read is_singleton: false name: read params: (tuple, sec=nil) {|template| ...} visibility: public ri/1.8/system/Rinda/TupleSpace/write-i.yaml 0000644 00000000365 15217654525 0014376 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Adds tuple full_name: Rinda::TupleSpace#write is_singleton: false name: write params: (tuple, sec=nil) visibility: public ri/1.8/system/Rinda/TupleSpace/read_all-i.yaml 0000644 00000000454 15217654525 0015006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns all tuples matching tuple. Does not remove the found tuples. full_name: Rinda::TupleSpace#read_all is_singleton: false name: read_all params: (tuple) visibility: public ri/1.8/system/Rinda/TupleSpace/cdesc-TupleSpace.yaml 0000644 00000002301 15217654525 0016132 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: The Tuplespace manages access to the tuples it contains, ensuring mutual exclusion requirements are met. - !ruby/struct:SM::Flow::P body: The sec option for the write, take, move, read and notify methods may either be a number of seconds or a Renewer object. constants: [] full_name: Rinda::TupleSpace includes: - !ruby/object:RI::IncludedModule name: DRbUndumped - !ruby/object:RI::IncludedModule name: MonitorMixin instance_methods: - !ruby/object:RI::MethodSummary name: create_entry - !ruby/object:RI::MethodSummary name: keep_clean - !ruby/object:RI::MethodSummary name: move - !ruby/object:RI::MethodSummary name: need_keeper? - !ruby/object:RI::MethodSummary name: notify - !ruby/object:RI::MethodSummary name: notify_event - !ruby/object:RI::MethodSummary name: read - !ruby/object:RI::MethodSummary name: read_all - !ruby/object:RI::MethodSummary name: start_keeper - !ruby/object:RI::MethodSummary name: take - !ruby/object:RI::MethodSummary name: write name: TupleSpace superclass: Object ri/1.8/system/Rinda/TupleSpace/notify_event-i.yaml 0000644 00000000511 15217654525 0015746 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Notifies all registered listeners for event of a status change of tuple. full_name: Rinda::TupleSpace#notify_event is_singleton: false name: notify_event params: (event, tuple) visibility: private ri/1.8/system/Rinda/TupleSpace/notify-i.yaml 0000644 00000001636 15217654525 0014556 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Registers for notifications of event. Returns a NotifyTemplateEntry. See NotifyTemplateEntry for examples of how to listen for notifications. - !ruby/struct:SM::Flow::P body: "event can be:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "'write':" body: A tuple was added - !ruby/struct:SM::Flow::LI label: "'take':" body: A tuple was taken or moved - !ruby/struct:SM::Flow::LI label: "'delete':" body: A tuple was lost after being overwritten or expiring type: :NOTE - !ruby/struct:SM::Flow::P body: The TupleSpace will also notify you of the 'close' event when the NotifyTemplateEntry has expired. full_name: Rinda::TupleSpace#notify is_singleton: false name: notify params: (event, tuple, sec=nil) visibility: public ri/1.8/system/Rinda/TupleSpace/move-i.yaml 0000644 00000000447 15217654525 0014213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (template) comment: - !ruby/struct:SM::Flow::P body: Moves tuple to port. full_name: Rinda::TupleSpace#move is_singleton: false name: move params: (port, tuple, sec=nil) {|template| ...} visibility: public ri/1.8/system/Rinda/TupleSpace/take-i.yaml 0000644 00000000376 15217654525 0014172 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes tuple full_name: Rinda::TupleSpace#take is_singleton: false name: take params: (tuple, sec=nil, &block) visibility: public ri/1.8/system/Rinda/TupleSpace/need_keeper%3f-i.yaml 0000644 00000000425 15217654525 0016005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Checks the tuplespace to see if it needs cleaning. full_name: Rinda::TupleSpace#need_keeper? is_singleton: false name: need_keeper? params: () visibility: private ri/1.8/system/Rinda/RingFinger/new-c.yaml 0000644 00000000564 15217654525 0014015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new RingFinger that will look for RingServers at port on the addresses in broadcast_list. full_name: Rinda::RingFinger::new is_singleton: true name: new params: (broadcast_list=@@broadcast_list, port=Ring_PORT) visibility: public ri/1.8/system/Rinda/RingFinger/primary-c.yaml 0000644 00000000400 15217654525 0014674 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the first advertised TupleSpace. full_name: Rinda::RingFinger::primary is_singleton: true name: primary params: () visibility: public ri/1.8/system/Rinda/RingFinger/finger-c.yaml 0000644 00000000460 15217654525 0014471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a singleton RingFinger and looks for a RingServer. Returns the created RingFinger. full_name: Rinda::RingFinger::finger is_singleton: true name: finger params: () visibility: public ri/1.8/system/Rinda/RingFinger/each-i.yaml 0000644 00000000460 15217654525 0014125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (@primary) comment: - !ruby/struct:SM::Flow::P body: Iterates over all discovered TupleSpaces starting with the primary. full_name: Rinda::RingFinger#each is_singleton: false name: each params: () {|@primary| ...} visibility: public ri/1.8/system/Rinda/RingFinger/to_a-i.yaml 0000644 00000000415 15217654525 0014147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Contains all discovered TupleSpaces except for the primary. full_name: Rinda::RingFinger#to_a is_singleton: false name: to_a params: () visibility: public ri/1.8/system/Rinda/RingFinger/lookup_ring_any-i.yaml 0000644 00000000544 15217654525 0016427 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the first found remote TupleSpace. Any further recovered TupleSpaces can be found by calling to_a. full_name: Rinda::RingFinger#lookup_ring_any is_singleton: false name: lookup_ring_any params: (timeout=5) visibility: public ri/1.8/system/Rinda/RingFinger/to_a-c.yaml 0000644 00000000415 15217654525 0014141 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Contains all discovered TupleSpaces except for the primary. full_name: Rinda::RingFinger::to_a is_singleton: true name: to_a params: () visibility: public ri/1.8/system/Rinda/RingFinger/lookup_ring-i.yaml 0000644 00000000620 15217654525 0015553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Looks up RingServers waiting timeout seconds. RingServers will be given block as a callback, which will be called with the remote TupleSpace. full_name: Rinda::RingFinger#lookup_ring is_singleton: false name: lookup_ring params: (timeout=5, &block) visibility: public ri/1.8/system/Rinda/RingFinger/cdesc-RingFinger.yaml 0000644 00000002507 15217654525 0016114 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The list of addresses where RingFinger will send query packets. name: broadcast_list rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The port that RingFinger will send query packets to. name: port rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Contain the first advertised TupleSpace after lookup_ring_any is called. name: primary rw: RW class_methods: - !ruby/object:RI::MethodSummary name: finger - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: primary - !ruby/object:RI::MethodSummary name: to_a comment: - !ruby/struct:SM::Flow::P body: RingFinger is used by RingServer clients to discover the RingServer's TupleSpace. Typically, all a client needs to do is call RingFinger.primary to retrieve the remote TupleSpace, which it can then begin using. constants: [] full_name: Rinda::RingFinger includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: lookup_ring - !ruby/object:RI::MethodSummary name: lookup_ring_any - !ruby/object:RI::MethodSummary name: to_a name: RingFinger superclass: Object ri/1.8/system/Rinda/cdesc-Rinda.yaml 0000644 00000001243 15217654525 0013061 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: A module to implement the Linda distributed computing paradigm in Ruby. - !ruby/struct:SM::Flow::P body: Rinda is part of DRb (dRuby). - !ruby/struct:SM::Flow::H level: 2 text: Example(s) - !ruby/struct:SM::Flow::P body: See the sample/drb/ directory in the Ruby distribution, from 1.8.2 onwards. constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: The default port Ring discovery will use. name: Ring_PORT value: "7647" full_name: Rinda includes: [] instance_methods: [] name: Rinda superclass: ri/1.8/system/Rinda/RequestExpiredError/cdesc-RequestExpiredError.yaml 0000644 00000000457 15217654525 0022000 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Raised when trying to use an expired tuple. constants: [] full_name: Rinda::RequestExpiredError includes: [] instance_methods: [] name: RequestExpiredError superclass: ThreadError ri/1.8/system/Rinda/SimpleRenewer/new-c.yaml 0000644 00000000462 15217654525 0014541 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new SimpleRenewer that keeps an object alive for another sec seconds. full_name: Rinda::SimpleRenewer::new is_singleton: true name: new params: (sec=180) visibility: public ri/1.8/system/Rinda/SimpleRenewer/cdesc-SimpleRenewer.yaml 0000644 00000000714 15217654525 0017370 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: An SimpleRenewer allows a TupleSpace to check if a TupleEntry is still alive. constants: [] full_name: Rinda::SimpleRenewer includes: - !ruby/object:RI::IncludedModule name: DRbUndumped instance_methods: - !ruby/object:RI::MethodSummary name: renew name: SimpleRenewer superclass: Object ri/1.8/system/Rinda/SimpleRenewer/renew-i.yaml 0000644 00000000426 15217654525 0015076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Called by the TupleSpace to check if the object is still alive. full_name: Rinda::SimpleRenewer#renew is_singleton: false name: renew params: () visibility: public ri/1.8/system/Shell/alias_command-c.yaml 0000644 00000000316 15217654525 0013766 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::alias_command is_singleton: true name: alias_command params: (ali, command, *opts, &block) visibility: public ri/1.8/system/Shell/Echo/new-c.yaml 0000644 00000000261 15217654525 0012645 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::Echo::new is_singleton: true name: new params: (sh, *strings) visibility: public ri/1.8/system/Shell/Echo/cdesc-Echo.yaml 0000644 00000000433 15217654525 0013572 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Shell::Echo includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: each name: Echo superclass: BuiltInCommand ri/1.8/system/Shell/Echo/each-i.yaml 0000644 00000000310 15217654525 0012755 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: str + rs comment: full_name: Shell::Echo#each is_singleton: false name: each params: (rs = nil) {|str + rs| ...} visibility: public ri/1.8/system/Shell/new-c.yaml 0000644 00000000237 15217654525 0011772 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::new is_singleton: true name: new params: () visibility: public ri/1.8/system/Shell/CommandProcessor/alias_command-c.yaml 0000644 00000000340 15217654525 0017241 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::CommandProcessor::alias_command is_singleton: true name: alias_command params: (ali, command, *opts, &block) visibility: public ri/1.8/system/Shell/CommandProcessor/new-c.yaml 0000644 00000000266 15217654525 0015252 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::CommandProcessor::new is_singleton: true name: new params: (shell) visibility: public ri/1.8/system/Shell/CommandProcessor/effect_umask-i.yaml 0000644 00000000405 15217654525 0017116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: private functions full_name: Shell::CommandProcessor#effect_umask is_singleton: false name: effect_umask params: () {|| ...} visibility: private ri/1.8/system/Shell/CommandProcessor/concat-i.yaml 0000644 00000000274 15217654525 0015735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::CommandProcessor#concat is_singleton: false name: concat params: (*jobs) visibility: public ri/1.8/system/Shell/CommandProcessor/tee-i.yaml 0000644 00000000265 15217654525 0015243 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::CommandProcessor#tee is_singleton: false name: tee params: (file) visibility: public ri/1.8/system/Shell/CommandProcessor/initialize-c.yaml 0000644 00000000277 15217654525 0016624 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::CommandProcessor::initialize is_singleton: true name: initialize params: () visibility: public ri/1.8/system/Shell/CommandProcessor/add_delegate_command_to_shell-c.yaml 0000644 00000000347 15217654525 0022432 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::CommandProcessor::add_delegate_command_to_shell is_singleton: true name: add_delegate_command_to_shell params: (id) visibility: public ri/1.8/system/Shell/CommandProcessor/foreach-i.yaml 0000644 00000001227 15217654525 0016074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: fn comment: - !ruby/struct:SM::Flow::P body: File related commands Shell#foreach Shell#open Shell#unlink Shell#test - !ruby/struct:SM::Flow::P body: "-" - !ruby/struct:SM::Flow::P body: CommandProcessor#foreach(path, rs) - !ruby/struct:SM::Flow::VERB body: " path: String\n rs: String - record separator\n iterator\n Same as:\n File#foreach (when path is file)\n Dir#foreach (when path is directory)\n path is relative to pwd\n" full_name: Shell::CommandProcessor#foreach is_singleton: false name: foreach params: (path = nil, *rs) {|fn| ...} visibility: public ri/1.8/system/Shell/CommandProcessor/rehash-i.yaml 0000644 00000000470 15217654525 0015736 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: ProcessCommand#rehash - !ruby/struct:SM::Flow::VERB body: " clear command hash table.\n" full_name: Shell::CommandProcessor#rehash is_singleton: false name: rehash params: () visibility: public ri/1.8/system/Shell/CommandProcessor/out-i.yaml 0000644 00000000373 15217654525 0015275 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: internal commands full_name: Shell::CommandProcessor#out is_singleton: false name: out params: (dev = STDOUT, &block) visibility: public ri/1.8/system/Shell/CommandProcessor/check_point-i.yaml 0000644 00000000460 15217654525 0016751 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: finish_all_jobs block_params: comment: - !ruby/struct:SM::Flow::P body: ProcessCommand#transact full_name: Shell::CommandProcessor#check_point is_singleton: false name: check_point params: () visibility: public ri/1.8/system/Shell/CommandProcessor/alias_map-c.yaml 0000644 00000000275 15217654525 0016407 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::CommandProcessor::alias_map is_singleton: true name: alias_map params: () visibility: public ri/1.8/system/Shell/CommandProcessor/append-i.yaml 0000644 00000000301 15217654525 0015724 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::CommandProcessor#append is_singleton: false name: append params: (to, filter) visibility: public ri/1.8/system/Shell/CommandProcessor/glob-i.yaml 0000644 00000000543 15217654525 0015410 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: def sort(*filenames) - !ruby/struct:SM::Flow::VERB body: " Sort.new(self, *filenames)\n" - !ruby/struct:SM::Flow::P body: end full_name: Shell::CommandProcessor#glob is_singleton: false name: glob params: (pattern) visibility: public ri/1.8/system/Shell/CommandProcessor/system-i.yaml 0000644 00000001046 15217654525 0016010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: CommandProcessor#system(command, *opts) - !ruby/struct:SM::Flow::VERB body: " command: String\n opts: String\n return: SystemCommand\n Same as system() function\n example:\n print sh.system("ls", "-l")\n sh.system("ls", "-l") | sh.head > STDOUT\n" full_name: Shell::CommandProcessor#system is_singleton: false name: system params: (command, *opts) visibility: public ri/1.8/system/Shell/CommandProcessor/unlink-i.yaml 0000644 00000000602 15217654525 0015761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: CommandProcessor#unlink(path) - !ruby/struct:SM::Flow::VERB body: " same as:\n Dir#unlink (when path is directory)\n File#unlink (when path is file)\n" full_name: Shell::CommandProcessor#unlink is_singleton: false name: unlink params: (path) visibility: public ri/1.8/system/Shell/CommandProcessor/expand_path-i.yaml 0000644 00000000616 15217654525 0016761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: CommandProcessor#expand_path(path) - !ruby/struct:SM::Flow::VERB body: " path: String\n return: String\n returns the absolute path for <path>\n" full_name: Shell::CommandProcessor#expand_path is_singleton: false name: expand_path params: (path) visibility: public ri/1.8/system/Shell/CommandProcessor/mkdir-i.yaml 0000644 00000000456 15217654525 0015576 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Dir related methods - !ruby/struct:SM::Flow::P body: Shell#mkdir Shell#rmdir full_name: Shell::CommandProcessor#mkdir is_singleton: false name: mkdir params: (*path) visibility: public ri/1.8/system/Shell/CommandProcessor/%5b%5d-i.yaml 0000644 00000000400 15217654525 0015326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #test" full_name: Shell::CommandProcessor#[] is_singleton: false name: "[]" params: (command, file1, file2=nil) visibility: public ri/1.8/system/Shell/CommandProcessor/undef_system_command-c.yaml 0000644 00000000332 15217654525 0020656 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::CommandProcessor::undef_system_command is_singleton: true name: undef_system_command params: (command) visibility: public ri/1.8/system/Shell/CommandProcessor/method_added-c.yaml 0000644 00000000305 15217654525 0017054 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::CommandProcessor::method_added is_singleton: true name: method_added params: (id) visibility: public ri/1.8/system/Shell/CommandProcessor/finish_all_jobs-i.yaml 0000644 00000000406 15217654525 0017610 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #check_point" full_name: Shell::CommandProcessor#finish_all_jobs is_singleton: false name: finish_all_jobs params: () visibility: public ri/1.8/system/Shell/CommandProcessor/def_builtin_commands-c.yaml 0000644 00000001412 15217654525 0020620 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: CommandProcessor.def_builtin_commands(delegation_class, command_specs) - !ruby/struct:SM::Flow::VERB body: " delegation_class: Class or Module\n command_specs: [[command_name, [argument,...]],...]\n command_name: String\n arguments: String\n FILENAME?? -> expand_path(filename??)\n *FILENAME?? -> filename??.collect{|f|expand_path(f)}.join(", ")\n define command_name(argument,...) as\n delegation_class.command_name(argument,...)\n" full_name: Shell::CommandProcessor::def_builtin_commands is_singleton: true name: def_builtin_commands params: (delegation_class, command_specs) visibility: public ri/1.8/system/Shell/CommandProcessor/cat-i.yaml 0000644 00000000273 15217654525 0015234 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::CommandProcessor#cat is_singleton: false name: cat params: (*filenames) visibility: public ri/1.8/system/Shell/CommandProcessor/open-i.yaml 0000644 00000000770 15217654525 0015430 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: CommandProcessor#open(path, mode) - !ruby/struct:SM::Flow::VERB body: " path: String\n mode: String\n return: File or Dir\n Same as:\n File#open (when path is file)\n Dir#open (when path is directory)\n mode has an effect only when path is a file\n" full_name: Shell::CommandProcessor#open is_singleton: false name: open params: (path, mode) visibility: public ri/1.8/system/Shell/CommandProcessor/test-i.yaml 0000644 00000000364 15217654525 0015445 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: "[]" block_params: comment: full_name: Shell::CommandProcessor#test is_singleton: false name: test params: (command, file1, file2=nil) visibility: public ri/1.8/system/Shell/CommandProcessor/notify-i.yaml 0000644 00000000451 15217654525 0015773 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: mes if iterator? comment: - !ruby/struct:SM::Flow::P body: "%pwd, %cwd -> @pwd" full_name: Shell::CommandProcessor#notify is_singleton: false name: notify params: (*opts, &block) {|mes if iterator?| ...} visibility: public ri/1.8/system/Shell/CommandProcessor/rmdir-i.yaml 0000644 00000000517 15217654525 0015603 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: CommandProcessor#rmdir(*path) - !ruby/struct:SM::Flow::VERB body: " path: String\n same as Dir.rmdir()\n" full_name: Shell::CommandProcessor#rmdir is_singleton: false name: rmdir params: (*path) visibility: public ri/1.8/system/Shell/CommandProcessor/find_system_command-i.yaml 0000644 00000000330 15217654525 0020501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::CommandProcessor#find_system_command is_singleton: false name: find_system_command params: (command) visibility: public ri/1.8/system/Shell/CommandProcessor/echo-i.yaml 0000644 00000000273 15217654525 0015403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::CommandProcessor#echo is_singleton: false name: echo params: (*strings) visibility: public ri/1.8/system/Shell/CommandProcessor/run_config-c.yaml 0000644 00000000365 15217654525 0016612 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: include run file. full_name: Shell::CommandProcessor::run_config is_singleton: true name: run_config params: () visibility: public ri/1.8/system/Shell/CommandProcessor/install_system_commands-c.yaml 0000644 00000001347 15217654525 0021415 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: CommandProcessor.install_system_commands(pre) - !ruby/struct:SM::Flow::VERB body: " pre: String - command name prefix\n" - !ruby/struct:SM::Flow::P body: defines every command which belongs in default_system_path via CommandProcessor.command(). It doesn't define already defined methods twice. By default, "pre_" is prefixes to each method name. Characters that may not be used in a method name are all converted to '_'. Definition errors are just ignored. full_name: Shell::CommandProcessor::install_system_commands is_singleton: true name: install_system_commands params: (pre = "sys_") visibility: public ri/1.8/system/Shell/CommandProcessor/install_builtin_commands-c.yaml 0000644 00000000437 15217654525 0021536 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: define default builtin commands full_name: Shell::CommandProcessor::install_builtin_commands is_singleton: true name: install_builtin_commands params: () visibility: public ri/1.8/system/Shell/CommandProcessor/def_system_command-c.yaml 0000644 00000000675 15217654525 0020325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: CommandProcessor.def_system_command(command, path) - !ruby/struct:SM::Flow::VERB body: " command: String\n path: String\n define 'command()' method as method.\n" full_name: Shell::CommandProcessor::def_system_command is_singleton: true name: def_system_command params: (command, path = command) visibility: public ri/1.8/system/Shell/CommandProcessor/cdesc-CommandProcessor.yaml 0000644 00000004404 15217654525 0020574 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: add_delegate_command_to_shell - !ruby/object:RI::MethodSummary name: alias_command - !ruby/object:RI::MethodSummary name: alias_map - !ruby/object:RI::MethodSummary name: def_builtin_commands - !ruby/object:RI::MethodSummary name: def_system_command - !ruby/object:RI::MethodSummary name: initialize - !ruby/object:RI::MethodSummary name: install_builtin_commands - !ruby/object:RI::MethodSummary name: install_system_commands - !ruby/object:RI::MethodSummary name: method_added - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: run_config - !ruby/object:RI::MethodSummary name: unalias_command - !ruby/object:RI::MethodSummary name: undef_system_command comment: constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: initialize of Shell and related classes. name: NoDelegateMethods value: "[\"initialize\", \"expand_path\"]" full_name: Shell::CommandProcessor includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: append - !ruby/object:RI::MethodSummary name: cat - !ruby/object:RI::MethodSummary name: check_point - !ruby/object:RI::MethodSummary name: concat - !ruby/object:RI::MethodSummary name: echo - !ruby/object:RI::MethodSummary name: effect_umask - !ruby/object:RI::MethodSummary name: expand_path - !ruby/object:RI::MethodSummary name: find_system_command - !ruby/object:RI::MethodSummary name: finish_all_jobs - !ruby/object:RI::MethodSummary name: foreach - !ruby/object:RI::MethodSummary name: glob - !ruby/object:RI::MethodSummary name: mkdir - !ruby/object:RI::MethodSummary name: notify - !ruby/object:RI::MethodSummary name: open - !ruby/object:RI::MethodSummary name: out - !ruby/object:RI::MethodSummary name: rehash - !ruby/object:RI::MethodSummary name: rmdir - !ruby/object:RI::MethodSummary name: system - !ruby/object:RI::MethodSummary name: tee - !ruby/object:RI::MethodSummary name: test - !ruby/object:RI::MethodSummary name: transact - !ruby/object:RI::MethodSummary name: unlink name: CommandProcessor superclass: Object ri/1.8/system/Shell/CommandProcessor/unalias_command-c.yaml 0000644 00000000314 15217654525 0017605 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::CommandProcessor::unalias_command is_singleton: true name: unalias_command params: (ali) visibility: public ri/1.8/system/Shell/CommandProcessor/transact-i.yaml 0000644 00000000301 15217654525 0016274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::CommandProcessor#transact is_singleton: false name: transact params: (&block) visibility: public ri/1.8/system/Shell/cd-i.yaml 0000644 00000000336 15217654525 0011575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #chdir" full_name: Shell#cd is_singleton: false name: cd params: (path = nil) visibility: public ri/1.8/system/Shell/AppendIO/new-c.yaml 0000644 00000000267 15217654525 0013434 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::AppendIO::new is_singleton: true name: new params: (sh, io, filter) visibility: public ri/1.8/system/Shell/AppendIO/input%3d-i.yaml 0000644 00000000265 15217654525 0014302 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::AppendIO#input= is_singleton: false name: input= params: (filter) visibility: public ri/1.8/system/Shell/AppendIO/cdesc-AppendIO.yaml 0000644 00000001137 15217654525 0015136 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: class Sort < Cat - !ruby/struct:SM::Flow::VERB body: " def initialize(sh, *filenames)\n super\n end\n\n def each(rs = nil)\n ary = []\n super{|l| ary.push l}\n for l in ary.sort!\n yield l\n end\n end\n" - !ruby/struct:SM::Flow::P body: end constants: [] full_name: Shell::AppendIO includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: input= name: AppendIO superclass: BuiltInCommand ri/1.8/system/Shell/kill-i.yaml 0000644 00000000255 15217654525 0012142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell#kill is_singleton: false name: kill params: (sig, command) visibility: public ri/1.8/system/Shell/BuiltInCommand/active%3f-i.yaml 0000644 00000000267 15217654525 0015630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::BuiltInCommand#active? is_singleton: false name: active? params: () visibility: public ri/1.8/system/Shell/BuiltInCommand/cdesc-BuiltInCommand.yaml 0000644 00000000457 15217654525 0017556 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Shell::BuiltInCommand includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: active? - !ruby/object:RI::MethodSummary name: wait? name: BuiltInCommand superclass: Filter ri/1.8/system/Shell/BuiltInCommand/wait%3f-i.yaml 0000644 00000000263 15217654525 0015315 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::BuiltInCommand#wait? is_singleton: false name: wait? params: () visibility: public ri/1.8/system/Shell/cd-c.yaml 0000644 00000000241 15217654525 0011562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::cd is_singleton: true name: cd params: (path) visibility: public ri/1.8/system/Shell/default_system_path%3d-c.yaml 0000644 00000000305 15217654525 0015535 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::default_system_path= is_singleton: true name: default_system_path= params: (path) visibility: public ri/1.8/system/Shell/popdir-i.yaml 0000644 00000000315 15217654525 0012501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: popd block_params: comment: full_name: Shell#popdir is_singleton: false name: popdir params: () visibility: public ri/1.8/system/Shell/AppendFile/new-c.yaml 0000644 00000000302 15217654525 0013772 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::AppendFile::new is_singleton: true name: new params: (sh, to_filename, filter) visibility: public ri/1.8/system/Shell/AppendFile/input%3d-i.yaml 0000644 00000000267 15217654525 0014654 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::AppendFile#input= is_singleton: false name: input= params: (filter) visibility: public ri/1.8/system/Shell/AppendFile/cdesc-AppendFile.yaml 0000644 00000000443 15217654525 0016055 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Shell::AppendFile includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: input= name: AppendFile superclass: AppendIO ri/1.8/system/Shell/Concat/new-c.yaml 0000644 00000000260 15217654525 0013175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::Concat::new is_singleton: true name: new params: (sh, *jobs) visibility: public ri/1.8/system/Shell/Concat/cdesc-Concat.yaml 0000644 00000000437 15217654525 0014460 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Shell::Concat includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: each name: Concat superclass: BuiltInCommand ri/1.8/system/Shell/Concat/each-i.yaml 0000644 00000000274 15217654525 0013317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: l comment: full_name: Shell::Concat#each is_singleton: false name: each params: (rs = nil) {|l| ...} visibility: public ri/1.8/system/Shell/jobs-i.yaml 0000644 00000000330 15217654525 0012136 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: process management full_name: Shell#jobs is_singleton: false name: jobs params: () visibility: public ri/1.8/system/Shell/default_record_separator%3d-c.yaml 0000644 00000000315 15217654525 0016534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::default_record_separator= is_singleton: true name: default_record_separator= params: (rs) visibility: public ri/1.8/system/Shell/expand_path-i.yaml 0000644 00000000263 15217654525 0013501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell#expand_path is_singleton: false name: expand_path params: (path) visibility: public ri/1.8/system/Shell/Tee/new-c.yaml 0000644 00000000260 15217654525 0012503 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::Tee::new is_singleton: true name: new params: (sh, filename) visibility: public ri/1.8/system/Shell/Tee/cdesc-Tee.yaml 0000644 00000000431 15217654525 0013266 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Shell::Tee includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: each name: Tee superclass: BuiltInCommand ri/1.8/system/Shell/Tee/each-i.yaml 0000644 00000000271 15217654525 0012622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: l comment: full_name: Shell::Tee#each is_singleton: false name: each params: (rs = nil) {|l| ...} visibility: public ri/1.8/system/Shell/Glob/new-c.yaml 0000644 00000000260 15217654525 0012651 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::Glob::new is_singleton: true name: new params: (sh, pattern) visibility: public ri/1.8/system/Shell/Glob/each-i.yaml 0000644 00000000300 15217654525 0012761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: f+rs comment: full_name: Shell::Glob#each is_singleton: false name: each params: (rs = nil) {|f+rs| ...} visibility: public ri/1.8/system/Shell/Glob/cdesc-Glob.yaml 0000644 00000000433 15217654525 0013604 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Shell::Glob includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: each name: Glob superclass: BuiltInCommand ri/1.8/system/Shell/undef_system_command-c.yaml 0000644 00000000310 15217654525 0015374 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::undef_system_command is_singleton: true name: undef_system_command params: (command) visibility: public ri/1.8/system/Shell/SystemCommand/new-c.yaml 0000644 00000000300 15217654525 0014544 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::SystemCommand::new is_singleton: true name: new params: (sh, command, *opts) visibility: public ri/1.8/system/Shell/SystemCommand/start_import-i.yaml 0000644 00000000300 15217654525 0016510 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::SystemCommand#start_import is_singleton: false name: start_import params: () visibility: public ri/1.8/system/Shell/SystemCommand/start_export-i.yaml 0000644 00000000300 15217654525 0016517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::SystemCommand#start_export is_singleton: false name: start_export params: () visibility: public ri/1.8/system/Shell/SystemCommand/kill-i.yaml 0000644 00000000263 15217654525 0014724 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::SystemCommand#kill is_singleton: false name: kill params: (sig) visibility: public ri/1.8/system/Shell/SystemCommand/active%3f-i.yaml 0000644 00000000266 15217654525 0015545 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::SystemCommand#active? is_singleton: false name: active? params: () visibility: public ri/1.8/system/Shell/SystemCommand/input%3d-i.yaml 0000644 00000000267 15217654525 0015430 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::SystemCommand#input= is_singleton: false name: input= params: (inp) visibility: public ri/1.8/system/Shell/SystemCommand/terminate-i.yaml 0000644 00000000272 15217654525 0015761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::SystemCommand#terminate is_singleton: false name: terminate params: () visibility: public ri/1.8/system/Shell/SystemCommand/start-i.yaml 0000644 00000000262 15217654525 0015125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::SystemCommand#start is_singleton: false name: start params: () visibility: public ri/1.8/system/Shell/SystemCommand/each-i.yaml 0000644 00000000303 15217654525 0014664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: l comment: full_name: Shell::SystemCommand#each is_singleton: false name: each params: (rs = nil) {|l| ...} visibility: public ri/1.8/system/Shell/SystemCommand/notify-i.yaml 0000644 00000001010 15217654525 0015270 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: mes if iterator? comment: - !ruby/struct:SM::Flow::P body: ex) - !ruby/struct:SM::Flow::VERB body: " if you wish to output:\n "shell: job(#{@command}:#{@pid}) close pipe-out."\n then\n mes: "job(%id) close pipe-out."\n yorn: Boolean(@shell.debug? or @shell.verbose?)\n" full_name: Shell::SystemCommand#notify is_singleton: false name: notify params: (*opts, &block) {|mes if iterator?| ...} visibility: public ri/1.8/system/Shell/SystemCommand/flush-i.yaml 0000644 00000000262 15217654525 0015111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::SystemCommand#flush is_singleton: false name: flush params: () visibility: public ri/1.8/system/Shell/SystemCommand/wait%3f-i.yaml 0000644 00000000262 15217654525 0015232 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::SystemCommand#wait? is_singleton: false name: wait? params: () visibility: public ri/1.8/system/Shell/SystemCommand/cdesc-SystemCommand.yaml 0000644 00000001531 15217654525 0017404 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: command rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Shell::SystemCommand includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: active? - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: flush - !ruby/object:RI::MethodSummary name: input= - !ruby/object:RI::MethodSummary name: kill - !ruby/object:RI::MethodSummary name: notify - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: start_export - !ruby/object:RI::MethodSummary name: start_import - !ruby/object:RI::MethodSummary name: terminate - !ruby/object:RI::MethodSummary name: wait? name: SystemCommand superclass: Filter ri/1.8/system/Shell/Error/cdesc-Error.yaml 0000644 00000000270 15217654525 0014217 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Shell::Error includes: [] instance_methods: [] name: Error superclass: ri/1.8/system/Shell/chdir-i.yaml 0000644 00000000520 15217654525 0012273 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: cd block_params: "" comment: - !ruby/struct:SM::Flow::P body: If called as iterator, it restores the current directory when the block ends. full_name: Shell#chdir is_singleton: false name: chdir params: (path = nil) {|| ...} visibility: public ri/1.8/system/Shell/popd-i.yaml 0000644 00000000331 15217654525 0012144 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #popdir" full_name: Shell#popd is_singleton: false name: popd params: () visibility: public ri/1.8/system/Shell/inspect-i.yaml 0000644 00000000252 15217654525 0012651 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: Shell#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/Shell/ProcessController/new-c.yaml 0000644 00000000267 15217654525 0015457 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::ProcessController::new is_singleton: true name: new params: (shell) visibility: public ri/1.8/system/Shell/ProcessController/cdesc-ProcessController.yaml 0000644 00000002355 15217654525 0021207 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: activate - !ruby/object:RI::MethodSummary name: each_active_object - !ruby/object:RI::MethodSummary name: inactivate - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: process_controllers_exclusive comment: constants: [] full_name: Shell::ProcessController includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: active_job? - !ruby/object:RI::MethodSummary name: active_jobs - !ruby/object:RI::MethodSummary name: active_jobs_exist? - !ruby/object:RI::MethodSummary name: add_schedule - !ruby/object:RI::MethodSummary name: jobs - !ruby/object:RI::MethodSummary name: jobs_exist? - !ruby/object:RI::MethodSummary name: kill_job - !ruby/object:RI::MethodSummary name: sfork - !ruby/object:RI::MethodSummary name: start_job - !ruby/object:RI::MethodSummary name: terminate_job - !ruby/object:RI::MethodSummary name: wait_all_jobs_execution - !ruby/object:RI::MethodSummary name: waiting_job? - !ruby/object:RI::MethodSummary name: waiting_jobs - !ruby/object:RI::MethodSummary name: waiting_jobs_exist? name: ProcessController superclass: Object ri/1.8/system/Shell/ProcessController/waiting_job%3f-i.yaml 0000644 00000000307 15217654525 0017461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::ProcessController#waiting_job? is_singleton: false name: waiting_job? params: (job) visibility: public ri/1.8/system/Shell/ProcessController/waiting_jobs-i.yaml 0000644 00000000304 15217654525 0017343 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::ProcessController#waiting_jobs is_singleton: false name: waiting_jobs params: () visibility: public ri/1.8/system/Shell/ProcessController/each_active_object-c.yaml 0000644 00000000337 15217654525 0020445 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: ref comment: full_name: Shell::ProcessController::each_active_object is_singleton: true name: each_active_object params: () {|ref| ...} visibility: public ri/1.8/system/Shell/ProcessController/terminate_job-i.yaml 0000644 00000000401 15217654525 0017504 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: terminate a job full_name: Shell::ProcessController#terminate_job is_singleton: false name: terminate_job params: (command) visibility: public ri/1.8/system/Shell/ProcessController/jobs-i.yaml 0000644 00000000264 15217654525 0015626 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::ProcessController#jobs is_singleton: false name: jobs params: () visibility: public ri/1.8/system/Shell/ProcessController/add_schedule-i.yaml 0000644 00000000402 15217654525 0017267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: schedule a command full_name: Shell::ProcessController#add_schedule is_singleton: false name: add_schedule params: (command) visibility: public ri/1.8/system/Shell/ProcessController/inactivate-c.yaml 0000644 00000000302 15217654525 0017003 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::ProcessController::inactivate is_singleton: true name: inactivate params: (pc) visibility: public ri/1.8/system/Shell/ProcessController/sfork-i.yaml 0000644 00000000400 15217654525 0016005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: simple fork full_name: Shell::ProcessController#sfork is_singleton: false name: sfork params: (command, &block) {|| ...} visibility: public ri/1.8/system/Shell/ProcessController/jobs_exist%3f-i.yaml 0000644 00000000302 15217654525 0017331 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::ProcessController#jobs_exist? is_singleton: false name: jobs_exist? params: () visibility: public ri/1.8/system/Shell/ProcessController/waiting_jobs_exist%3f-i.yaml 0000644 00000000322 15217654525 0021055 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::ProcessController#waiting_jobs_exist? is_singleton: false name: waiting_jobs_exist? params: () visibility: public ri/1.8/system/Shell/ProcessController/start_job-i.yaml 0000644 00000000373 15217654525 0016661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: start a job full_name: Shell::ProcessController#start_job is_singleton: false name: start_job params: (command = nil) visibility: public ri/1.8/system/Shell/ProcessController/process_controllers_exclusive-c.yaml 0000644 00000000361 15217654525 0023054 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: full_name: Shell::ProcessController::process_controllers_exclusive is_singleton: true name: process_controllers_exclusive params: () {|| ...} visibility: public ri/1.8/system/Shell/ProcessController/active_jobs_exist%3f-i.yaml 0000644 00000000320 15217654525 0020664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::ProcessController#active_jobs_exist? is_singleton: false name: active_jobs_exist? params: () visibility: public ri/1.8/system/Shell/ProcessController/wait_all_jobs_execution-i.yaml 0000644 00000000435 15217654525 0021565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: wait for all jobs to terminate full_name: Shell::ProcessController#wait_all_jobs_execution is_singleton: false name: wait_all_jobs_execution params: () visibility: public ri/1.8/system/Shell/ProcessController/kill_job-i.yaml 0000644 00000000367 15217654525 0016462 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: kill a job full_name: Shell::ProcessController#kill_job is_singleton: false name: kill_job params: (sig, command) visibility: public ri/1.8/system/Shell/ProcessController/activate-c.yaml 0000644 00000000276 15217654525 0016466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::ProcessController::activate is_singleton: true name: activate params: (pc) visibility: public ri/1.8/system/Shell/ProcessController/active_jobs-i.yaml 0000644 00000000302 15217654525 0017152 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::ProcessController#active_jobs is_singleton: false name: active_jobs params: () visibility: public ri/1.8/system/Shell/ProcessController/active_job%3f-i.yaml 0000644 00000000305 15217654525 0017270 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::ProcessController#active_job? is_singleton: false name: active_job? params: (job) visibility: public ri/1.8/system/Shell/debug%3d-i.yaml 0000644 00000000250 15217654525 0012564 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell#debug= is_singleton: false name: debug= params: (val) visibility: public ri/1.8/system/Shell/pushd-i.yaml 0000644 00000000346 15217654525 0012333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #pushdir" full_name: Shell#pushd is_singleton: false name: pushd params: (path = nil) visibility: public ri/1.8/system/Shell/default_record_separator-c.yaml 0000644 00000000311 15217654525 0016234 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::default_record_separator is_singleton: true name: default_record_separator params: () visibility: public ri/1.8/system/Shell/default_system_path-c.yaml 0000644 00000000277 15217654525 0015251 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::default_system_path is_singleton: true name: default_system_path params: () visibility: public ri/1.8/system/Shell/install_system_commands-c.yaml 0000644 00000000323 15217654525 0016130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::install_system_commands is_singleton: true name: install_system_commands params: (pre = "sys_") visibility: public ri/1.8/system/Shell/Filter/new-c.yaml 0000644 00000000251 15217654525 0013213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::Filter::new is_singleton: true name: new params: (sh) visibility: public ri/1.8/system/Shell/Filter/to_s-i.yaml 0000644 00000000251 15217654525 0013374 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::Filter#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/Shell/Filter/%2b-i.yaml 0000644 00000000251 15217654525 0013000 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::Filter#+ is_singleton: false name: + params: (filter) visibility: public ri/1.8/system/Shell/Filter/%3e%3e-i.yaml 0000644 00000000251 15217654525 0013301 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::Filter#>> is_singleton: false name: ">>" params: (to) visibility: public ri/1.8/system/Shell/Filter/%3c-i.yaml 0000644 00000000246 15217654525 0013006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::Filter#< is_singleton: false name: < params: (src) visibility: public ri/1.8/system/Shell/Filter/%3e-i.yaml 0000644 00000000247 15217654525 0013011 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::Filter#> is_singleton: false name: ">" params: (to) visibility: public ri/1.8/system/Shell/Filter/input%3d-i.yaml 0000644 00000000263 15217654525 0014066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::Filter#input= is_singleton: false name: input= params: (filter) visibility: public ri/1.8/system/Shell/Filter/%7c-i.yaml 0000644 00000000253 15217654525 0013010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::Filter#| is_singleton: false name: "|" params: (filter) visibility: public ri/1.8/system/Shell/Filter/cdesc-Filter.yaml 0000644 00000001637 15217654525 0014517 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: input rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Filter A method to require - !ruby/struct:SM::Flow::VERB body: " each()\n" constants: [] full_name: Shell::Filter includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: + - !ruby/object:RI::MethodSummary name: < - !ruby/object:RI::MethodSummary name: ">" - !ruby/object:RI::MethodSummary name: ">>" - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: input= - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: "|" name: Filter superclass: Object ri/1.8/system/Shell/Filter/each-i.yaml 0000644 00000000274 15217654525 0013335 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: l comment: full_name: Shell::Filter#each is_singleton: false name: each params: (rs = nil) {|l| ...} visibility: public ri/1.8/system/Shell/Filter/inspect-i.yaml 0000644 00000000257 15217654525 0014103 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::Filter#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/Shell/Filter/to_a-i.yaml 0000644 00000000251 15217654525 0013352 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::Filter#to_a is_singleton: false name: to_a params: () visibility: public ri/1.8/system/Shell/def_system_command-c.yaml 0000644 00000000414 15217654525 0015036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: command definitions full_name: Shell::def_system_command is_singleton: true name: def_system_command params: (command, path = command) visibility: public ri/1.8/system/Shell/Cat/new-c.yaml 0000644 00000000262 15217654525 0012477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::Cat::new is_singleton: true name: new params: (sh, *filenames) visibility: public ri/1.8/system/Shell/Cat/cdesc-Cat.yaml 0000644 00000000431 15217654525 0013252 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Shell::Cat includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: each name: Cat superclass: BuiltInCommand ri/1.8/system/Shell/Cat/each-i.yaml 0000644 00000000271 15217654525 0012614 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: l comment: full_name: Shell::Cat#each is_singleton: false name: each params: (rs = nil) {|l| ...} visibility: public ri/1.8/system/Shell/notify-c.yaml 0000644 00000000333 15217654525 0012506 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: mes if iterator? comment: full_name: Shell::notify is_singleton: true name: notify params: (*opts, &block) {|mes if iterator?| ...} visibility: public ri/1.8/system/Shell/system_path%3d-i.yaml 0000644 00000000265 15217654525 0014044 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell#system_path= is_singleton: false name: system_path= params: (path) visibility: public ri/1.8/system/Shell/debug%3d-c.yaml 0000644 00000000250 15217654525 0012556 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::debug= is_singleton: true name: debug= params: (val) visibility: public ri/1.8/system/Shell/pushdir-i.yaml 0000644 00000000345 15217654525 0012665 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: pushd block_params: "" comment: full_name: Shell#pushdir is_singleton: false name: pushdir params: (path = nil) {|| ...} visibility: public ri/1.8/system/Shell/unalias_command-c.yaml 0000644 00000000272 15217654525 0014332 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Shell::unalias_command is_singleton: true name: unalias_command params: (ali) visibility: public ri/1.8/system/Shell/cdesc-Shell.yaml 0000644 00000005465 15217654525 0013117 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: cascade rw: RW - !ruby/object:RI::Attribute comment: name: command_processor rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Dir related methods - !ruby/struct:SM::Flow::P body: Shell#cwd/dir/getwd/pwd Shell#chdir/cd Shell#pushdir/pushd Shell#popdir/popd Shell#mkdir Shell#rmdir name: cwd rw: R - !ruby/object:RI::Attribute comment: name: debug rw: RW - !ruby/object:RI::Attribute comment: name: debug rw: RW - !ruby/object:RI::Attribute comment: name: dir_stack rw: R - !ruby/object:RI::Attribute comment: name: process_controller rw: R - !ruby/object:RI::Attribute comment: name: record_separator rw: RW - !ruby/object:RI::Attribute comment: name: system_path rw: R - !ruby/object:RI::Attribute comment: name: umask rw: RW - !ruby/object:RI::Attribute comment: name: verbose rw: RW - !ruby/object:RI::Attribute comment: name: verbose rw: RW class_methods: - !ruby/object:RI::MethodSummary name: alias_command - !ruby/object:RI::MethodSummary name: cd - !ruby/object:RI::MethodSummary name: debug= - !ruby/object:RI::MethodSummary name: def_system_command - !ruby/object:RI::MethodSummary name: default_record_separator - !ruby/object:RI::MethodSummary name: default_record_separator= - !ruby/object:RI::MethodSummary name: default_system_path - !ruby/object:RI::MethodSummary name: default_system_path= - !ruby/object:RI::MethodSummary name: install_system_commands - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: notify - !ruby/object:RI::MethodSummary name: unalias_command - !ruby/object:RI::MethodSummary name: undef_system_command comment: - !ruby/struct:SM::Flow::VERB body: " shell/filter.rb -\n $Release Version: 0.6.0 $\n $Revision: 11708 $\n $Date: 2007-02-13 08:01:19 +0900 (Tue, 13 Feb 2007) $\n by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd)\n" - !ruby/struct:SM::Flow::P body: -- constants: [] full_name: Shell includes: - !ruby/object:RI::IncludedModule name: Error instance_methods: - !ruby/object:RI::MethodSummary name: cd - !ruby/object:RI::MethodSummary name: chdir - !ruby/object:RI::MethodSummary name: debug= - !ruby/object:RI::MethodSummary name: expand_path - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: jobs - !ruby/object:RI::MethodSummary name: kill - !ruby/object:RI::MethodSummary name: popd - !ruby/object:RI::MethodSummary name: popdir - !ruby/object:RI::MethodSummary name: pushd - !ruby/object:RI::MethodSummary name: pushdir - !ruby/object:RI::MethodSummary name: system_path= name: Shell superclass: Object ri/1.8/system/Array/first-i.yaml 0000644 00000001266 15217654525 0012350 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the first element, or the first n elements, of the array. If the array is empty, the first form returns nil, and the second form returns an empty array. - !ruby/struct:SM::Flow::VERB body: " a = [ "q", "r", "s", "t" ]\n a.first #=> "q"\n a.first(1) #=> ["q"]\n a.first(3) #=> ["q", "r", "s"]\n" full_name: Array#first is_singleton: false name: first params: | array.first -> obj or nil array.first(n) -> an_array visibility: public ri/1.8/system/Array/pop-i.yaml 0000644 00000001354 15217654525 0012015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes the last element from self and returns it, or nil if the array is empty. - !ruby/struct:SM::Flow::P body: If a number n is given, returns an array of the last n elements (or less) just like array.slice!(-n, n) does. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c", "d" ]\n a.pop #=> "d"\n a.pop(2) #=> ["b", "c"]\n a #=> ["a"]\n" full_name: Array#pop is_singleton: false name: pop params: | array.pop -> obj or nil array.pop(n) -> array visibility: public ri/1.8/system/Array/new-c.yaml 0000644 00000002301 15217654525 0011773 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new array. In the first form, the new array is empty. In the second it is created with size copies of obj (that is, size references to the same obj). The third form creates a copy of the array passed as a parameter (the array is generated by calling to_ary on the parameter). In the last form, an array of the given size is created. Each element in this array is calculated by passing the element's index to the given block and storing the return value. - !ruby/struct:SM::Flow::VERB body: " Array.new\n Array.new(2)\n Array.new(5, "A")\n\n # only one copy of the object is created\n a = Array.new(2, Hash.new)\n a[0]['cat'] = 'feline'\n a\n a[1]['cat'] = 'Felix'\n a\n\n # here multiple copies are created\n a = Array.new(2) { Hash.new }\n a[0]['cat'] = 'feline'\n a\n\n squares = Array.new(5) {|i| i*i}\n squares\n\n copy = Array.new(squares)\n" full_name: Array::new is_singleton: true name: new params: | Array.new(size=0, obj=nil) Array.new(array) Array.new(size) {|index| block } visibility: public ri/1.8/system/Array/concat-i.yaml 0000644 00000000745 15217654525 0012471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Appends the elements in other_array to self. - !ruby/struct:SM::Flow::VERB body: " [ "a", "b" ].concat( ["c", "d"] ) #=> [ "a", "b", "c", "d" ]\n" full_name: Array#concat is_singleton: false name: concat params: | array.concat(other_array) -> array visibility: public ri/1.8/system/Array/unshift-i.yaml 0000644 00000001134 15217654525 0012673 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Prepends objects to the front of array. other elements up one. - !ruby/struct:SM::Flow::VERB body: " a = [ "b", "c", "d" ]\n a.unshift("a") #=> ["a", "b", "c", "d"]\n a.unshift(1, 2) #=> [ 1, 2, "a", "b", "c", "d"]\n" full_name: Array#unshift is_singleton: false name: unshift params: | array.unshift(obj, ...) -> array visibility: public ri/1.8/system/Array/to_s-i.yaml 0000644 00000000615 15217654525 0012162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns self.join. - !ruby/struct:SM::Flow::VERB body: " [ "a", "e", "i", "o" ].to_s #=> "aeio"\n" full_name: Array#to_s is_singleton: false name: to_s params: | array.to_s -> string visibility: public ri/1.8/system/Array/reject%21-i.yaml 0000644 00000000707 15217654525 0012704 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to Array#delete_if, deleting elements from self for which the block evaluates to true, but returns nil if no changes were made. Also see Enumerable#reject. full_name: Array#reject! is_singleton: false name: reject! params: | array.reject! {|item| block } -> array or nil visibility: public ri/1.8/system/Array/indexes-i.yaml 0000644 00000000525 15217654525 0012655 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deprecated; use Array#values_at. full_name: Array#indexes is_singleton: false name: indexes params: | array.indexes( i1, i2, ... iN ) -> an_array array.indices( i1, i2, ... iN ) -> an_array visibility: public ri/1.8/system/Array/product-i.yaml 0000644 00000001452 15217654525 0012676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array of all combinations of elements from all arrays. The length of the returned array is the product of the length of ary and the argument arrays - !ruby/struct:SM::Flow::VERB body: " [1,2,3].product([4,5]) # => [[1,4],[1,5],[2,4],[2,5],[3,4],[3,5]]\n [1,2].product([1,2]) # => [[1,1],[1,2],[2,1],[2,2]]\n [1,2].product([3,4],[5,6]) # => [[1,3,5],[1,3,6],[1,4,5],[1,4,6],\n # [2,3,5],[2,3,6],[2,4,5],[2,4,6]]\n [1,2].product() # => [[1],[2]]\n [1,2].product([]) # => []\n" full_name: Array#product is_singleton: false name: product params: | ary.product(other_ary, ...) visibility: public ri/1.8/system/Array/%2b-i.yaml 0000644 00000000661 15217654525 0011567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Concatenation---Returns a new array built by concatenating the two arrays together to produce a third array. - !ruby/struct:SM::Flow::VERB body: " [ 1, 2, 3 ] + [ 4, 5 ] #=> [ 1, 2, 3, 4, 5 ]\n" full_name: Array#+ is_singleton: false name: + params: | array + other_array -> an_array visibility: public ri/1.8/system/Array/delete-i.yaml 0000644 00000001624 15217654525 0012461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes items from self that are equal to obj. If the item is not found, returns nil. If the optional code block is given, returns the result of block if the item is not found. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "b", "b", "c" ]\n a.delete("b") #=> "b"\n a #=> ["a", "c"]\n a.delete("z") #=> nil\n a.delete("z") { "not found" } #=> "not found"\n" full_name: Array#delete is_singleton: false name: delete params: | array.delete(obj) -> obj or nil array.delete(obj) { block } -> obj or nil visibility: public ri/1.8/system/Array/%3c%3c-i.yaml 0000644 00000001066 15217654525 0012064 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Append---Pushes the given object on to the end of this array. This expression returns the array itself, so several appends may be chained together. - !ruby/struct:SM::Flow::VERB body: " [ 1, 2 ] << "c" << "d" << [ 3, 4 ]\n #=> [ 1, 2, "c", "d", [ 3, 4 ] ]\n" full_name: Array#<< is_singleton: false name: "<<" params: | array << obj -> array visibility: public ri/1.8/system/Array/index-i.yaml 0000644 00000001501 15217654525 0012320 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the index of the first object in self such that is == to obj. If a block is given instead of an argument, returns first object for which block is true. Returns nil if no match is found. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c" ]\n a.index("b") #=> 1\n a.index("z") #=> nil\n a.index{|x|x=="b"} #=> 1\n" - !ruby/struct:SM::Flow::P body: This is an alias of #find_index. full_name: Array#index is_singleton: false name: index params: | array.index(obj) -> int or nil array.index {|item| block} -> int or nil visibility: public ri/1.8/system/Array/reject-i.yaml 0000644 00000000520 15217654525 0012465 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new array containing the items in self for which the block is not true. full_name: Array#reject is_singleton: false name: reject params: | array.reject {|item| block } -> an_array visibility: public ri/1.8/system/Array/insert-i.yaml 0000644 00000001134 15217654525 0012517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Inserts the given values before the element with the given index (which may be negative). - !ruby/struct:SM::Flow::VERB body: " a = %w{ a b c d }\n a.insert(2, 99) #=> ["a", "b", 99, "c", "d"]\n a.insert(-2, 1, 2, 3) #=> ["a", "b", 99, "c", 1, 2, 3, "d"]\n" full_name: Array#insert is_singleton: false name: insert params: | array.insert(index, obj...) -> array visibility: public ri/1.8/system/Array/rassoc-i.yaml 0000644 00000001331 15217654525 0012504 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Searches through the array whose elements are also arrays. Compares key with the second element of each contained array using ==. Returns the first contained array that matches. See also Array#assoc. - !ruby/struct:SM::Flow::VERB body: " a = [ [ 1, "one"], [2, "two"], [3, "three"], ["ii", "two"] ]\n a.rassoc("two") #=> [2, "two"]\n a.rassoc("four") #=> nil\n" full_name: Array#rassoc is_singleton: false name: rassoc params: | array.rassoc(key) -> an_array or nil visibility: public ri/1.8/system/Array/%5b%5d-c.yaml 0000644 00000000557 15217654525 0012066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new array populated with the given objects. - !ruby/struct:SM::Flow::VERB body: " Array.[]( 1, 'a', /^A/ )\n Array[ 1, 'a', /^A/ ]\n [ 1, 'a', /^A/ ]\n" full_name: Array::[] is_singleton: true name: "[]" params: (...) visibility: public ri/1.8/system/Array/map%21-i.yaml 0000644 00000001270 15217654525 0012201 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes the block once for each element of self, replacing the element with the value returned by block. See also Enumerable#collect. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c", "d" ]\n a.collect! {|x| x + "!" }\n a #=> [ "a!", "b!", "c!", "d!" ]\n" full_name: Array#map! is_singleton: false name: map! params: | array.collect! {|item| block } -> array array.map! {|item| block } -> array visibility: public ri/1.8/system/Array/compact%21-i.yaml 0000644 00000001107 15217654525 0013051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes nil elements from array. Returns nil if no changes were made. - !ruby/struct:SM::Flow::VERB body: " [ "a", nil, "b", nil, "c" ].compact! #=> [ "a", "b", "c" ]\n [ "a", "b", "c" ].compact! #=> nil\n" full_name: Array#compact! is_singleton: false name: compact! params: | array.compact! -> array or nil visibility: public ri/1.8/system/Array/%26-i.yaml 0000644 00000000641 15217654525 0011511 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set Intersection---Returns a new array containing elements common to the two arrays, with no duplicates. - !ruby/struct:SM::Flow::VERB body: " [ 1, 1, 3, 5 ] & [ 1, 2, 3 ] #=> [ 1, 3 ]\n" full_name: Array#& is_singleton: false name: "&" params: | array & other_array visibility: public ri/1.8/system/Array/shuffle-i.yaml 0000644 00000000651 15217654525 0012652 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new array with elements of this array shuffled. - !ruby/struct:SM::Flow::VERB body: " a = [ 1, 2, 3 ] #=> [1, 2, 3]\n a.shuffle #=> [2, 3, 1]\n" full_name: Array#shuffle is_singleton: false name: shuffle params: | array.shuffle -> an_array visibility: public ri/1.8/system/Array/flatten-i.yaml 0000644 00000001602 15217654525 0012650 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new array that is a one-dimensional flattening of this array (recursively). That is, for every element that is an array, extract its elements into the new array. If the optional level argument determines the level of recursion to flatten. - !ruby/struct:SM::Flow::VERB body: " s = [ 1, 2, 3 ] #=> [1, 2, 3]\n t = [ 4, 5, 6, [7, 8] ] #=> [4, 5, 6, [7, 8]]\n a = [ s, t, 9, 10 ] #=> [[1, 2, 3], [4, 5, 6, [7, 8]], 9, 10]\n a.flatten #=> [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\n a = [ 1, 2, [3, [4, 5] ] ]\n a.flatten(1) #=> [1, 2, 3, [4, 5]]\n" full_name: Array#flatten is_singleton: false name: flatten params: | array.flatten -> an_array array.flatten(level) -> an_array visibility: public ri/1.8/system/Array/hash-i.yaml 0000644 00000000550 15217654525 0012137 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compute a hash-code for this array. Two arrays with the same content will have the same hash code (and will compare using eql?). full_name: Array#hash is_singleton: false name: hash params: | array.hash -> fixnum visibility: public ri/1.8/system/Array/%3c%3d%3e-i.yaml 0000644 00000001767 15217654525 0012372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Comparison---Returns an integer (-1, 0, or +1) if this array is less than, equal to, or greater than other_array. Each object in each array is compared (using <=>). If any value isn't equal, then that inequality is the return value. If all the values found are equal, then the return is based on a comparison of the array lengths. Thus, two arrays are ``equal'' according to Array#<=> if and only if they have the same length and the value of each element is equal to the value of the corresponding element in the other array. - !ruby/struct:SM::Flow::VERB body: " [ "a", "a", "c" ] <=> [ "a", "b", "c" ] #=> -1\n [ 1, 2, 3, 4, 5, 6 ] <=> [ 1, 2 ] #=> +1\n" full_name: Array#<=> is_singleton: false name: <=> params: | array <=> other_array -> -1, 0, +1 visibility: public ri/1.8/system/Array/rindex-i.yaml 0000644 00000001327 15217654525 0012510 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the index of the last object in array == to obj. If a block is given instead of an argument, returns first object for which block is true. Returns nil if no match is found. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "b", "b", "c" ]\n a.rindex("b") #=> 3\n a.rindex("z") #=> nil\n a.rindex{|x|x=="b"} #=> 3\n" full_name: Array#rindex is_singleton: false name: rindex params: | array.rindex(obj) -> int or nil visibility: public ri/1.8/system/Array/frozen%3f-i.yaml 0000644 00000000506 15217654525 0013016 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return true if this array is frozen (or temporarily frozen while being sorted). full_name: Array#frozen? is_singleton: false name: frozen? params: | array.frozen? -> true or false visibility: public ri/1.8/system/Array/drop-i.yaml 0000644 00000000654 15217654525 0012165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Drops first n elements from ary, and returns rest elements in an array. - !ruby/struct:SM::Flow::VERB body: " a = [1, 2, 3, 4, 5, 0]\n a.drop(3) # => [4, 5, 0]\n" full_name: Array#drop is_singleton: false name: drop params: | ary.drop(n) => array visibility: public ri/1.8/system/Array/select-i.yaml 0000644 00000001112 15217654525 0012466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes the block passing in successive elements from array, returning an array containing those elements for which the block returns a true value (equivalent to Enumerable#select). - !ruby/struct:SM::Flow::VERB body: " a = %w{ a b c d e f }\n a.select {|v| v =~ /[aeiou]/} #=> ["a", "e"]\n" full_name: Array#select is_singleton: false name: select params: | array.select {|item| block } -> an_array visibility: public ri/1.8/system/Array/%2d-i.yaml 0000644 00000001017 15217654525 0011565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Array Difference---Returns a new array that is a copy of the original array, removing any items that also appear in other_array. (If you need set-like behavior, see the library class Set.) - !ruby/struct:SM::Flow::VERB body: " [ 1, 1, 2, 2, 3, 3, 4, 5 ] - [ 1, 2, 4 ] #=> [ 3, 3, 5 ]\n" full_name: Array#- is_singleton: false name: "-" params: | array - other_array -> an_array visibility: public ri/1.8/system/Array/%5b%5d%3d-i.yaml 0000644 00000003233 15217654525 0012362 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Element Assignment---Sets the element at index, or replaces a subarray starting at start and continuing for length elements, or replaces a subarray specified by range. If indices are greater than the current capacity of the array, the array grows automatically. A negative indices will count backward from the end of the array. Inserts elements if length is zero. If nil is used in the second and third form, deletes elements from self. An IndexError is raised if a negative index points past the beginning of the array. See also Array#push, and Array#unshift. - !ruby/struct:SM::Flow::VERB body: " a = Array.new\n a[4] = "4"; #=> [nil, nil, nil, nil, "4"]\n a[0, 3] = [ 'a', 'b', 'c' ] #=> ["a", "b", "c", nil, "4"]\n a[1..2] = [ 1, 2 ] #=> ["a", 1, 2, nil, "4"]\n a[0, 2] = "?" #=> ["?", 2, nil, "4"]\n a[0..2] = "A" #=> ["A", "4"]\n a[-1] = "Z" #=> ["A", "Z"]\n a[1..-1] = nil #=> ["A"]\n" full_name: Array#[]= is_singleton: false name: "[]=" params: | array[index] = obj -> obj array[start, length] = obj or an_array or nil -> obj or an_array or nil array[range] = obj or an_array or nil -> obj or an_array or nil visibility: public ri/1.8/system/Array/pretty_print-i.yaml 0000644 00000000262 15217654525 0013757 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Array#pretty_print is_singleton: false name: pretty_print params: (q) visibility: public ri/1.8/system/Array/push-i.yaml 0000644 00000001207 15217654525 0012173 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Append---Pushes the given object(s) on to the end of this array. This expression returns the array itself, so several appends may be chained together. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c" ]\n a.push("d", "e", "f")\n #=> ["a", "b", "c", "d", "e", "f"]\n" full_name: Array#push is_singleton: false name: push params: | array.push(obj, ... ) -> array visibility: public ri/1.8/system/Array/%7c-i.yaml 0000644 00000001046 15217654525 0011573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set Union---Returns a new array by joining this array with other_array, removing duplicates. - !ruby/struct:SM::Flow::VERB body: " [ "a", "b", "c" ] | [ "c", "d", "a" ]\n #=> [ "a", "b", "c", "d" ]\n" full_name: Array#| is_singleton: false name: "|" params: | array | other_array -> an_array visibility: public ri/1.8/system/Array/find_index-i.yaml 0000644 00000001513 15217654525 0013323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the index of the first object in self such that is == to obj. If a block is given instead of an argument, returns first object for which block is true. Returns nil if no match is found. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c" ]\n a.index("b") #=> 1\n a.index("z") #=> nil\n a.index{|x|x=="b"} #=> 1\n" - !ruby/struct:SM::Flow::P body: This is an alias of #find_index. full_name: Array#find_index is_singleton: false name: find_index params: | array.index(obj) -> int or nil array.index {|item| block} -> int or nil visibility: public ri/1.8/system/Array/combination-i.yaml 0000644 00000002164 15217654525 0013521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: When invoked with a block, yields all combinations of length n of elements from ary and then returns ary itself. The implementation makes no guarantees about the order in which the combinations are yielded. - !ruby/struct:SM::Flow::P body: When invoked without a block, returns an enumerator object instead. - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " a = [1, 2, 3, 4]\n a.combination(1).to_a #=> [[1],[2],[3],[4]]\n a.combination(2).to_a #=> [[1,2],[1,3],[1,4],[2,3],[2,4],[3,4]]\n a.combination(3).to_a #=> [[1,2,3],[1,2,4],[1,3,4],[2,3,4]]\n a.combination(4).to_a #=> [[1,2,3,4]]\n a.combination(0).to_a #=> [[]] # one combination of length 0\n a.combination(5).to_a #=> [] # no combinations of length 5\n" full_name: Array#combination is_singleton: false name: combination params: | ary.combination(n) { |c| block } -> ary ary.combination(n) -> enumerator visibility: public ri/1.8/system/Array/values_at-i.yaml 0000644 00000001154 15217654525 0013200 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array containing the elements in self corresponding to the given selector(s). The selectors may be either integer indices or ranges. See also Array#select. - !ruby/struct:SM::Flow::VERB body: " a = %w{ a b c d e f }\n a.values_at(1, 3, 5)\n a.values_at(1, 3, 5, 7)\n a.values_at(-1, -3, -5, -7)\n a.values_at(1..3, 2...5)\n" full_name: Array#values_at is_singleton: false name: values_at params: | array.values_at(selector,... ) -> an_array visibility: public ri/1.8/system/Array/%5b%5d-i.yaml 0000644 00000002745 15217654525 0012075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Element Reference---Returns the element at index, or returns a subarray starting at start and continuing for length elements, or returns a subarray specified by range. Negative indices count backward from the end of the array (-1 is the last element). Returns nil if the index (or starting index) are out of range. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c", "d", "e" ]\n a[2] + a[0] + a[1] #=> "cab"\n a[6] #=> nil\n a[1, 2] #=> [ "b", "c" ]\n a[1..3] #=> [ "b", "c", "d" ]\n a[4..7] #=> [ "e" ]\n a[6..10] #=> nil\n a[-3, 3] #=> [ "c", "d", "e" ]\n # special cases\n a[5] #=> nil\n a[5, 1] #=> []\n a[5..10] #=> []\n" full_name: Array#[] is_singleton: false name: "[]" params: | array[index] -> obj or nil array[start, length] -> an_array or nil array[range] -> an_array or nil array.slice(index) -> obj or nil array.slice(start, length) -> an_array or nil array.slice(range) -> an_array or nil visibility: public ri/1.8/system/Array/indices-i.yaml 0000644 00000000525 15217654525 0012634 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deprecated; use Array#values_at. full_name: Array#indices is_singleton: false name: indices params: | array.indexes( i1, i2, ... iN ) -> an_array array.indices( i1, i2, ... iN ) -> an_array visibility: public ri/1.8/system/Array/collect-i.yaml 0000644 00000001420 15217654525 0012636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes block once for each element of self. Creates a new array containing the values returned by the block. See also Enumerable#collect. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c", "d" ]\n a.collect {|x| x + "!" } #=> ["a!", "b!", "c!", "d!"]\n a #=> ["a", "b", "c", "d"]\n" full_name: Array#collect is_singleton: false name: collect params: | array.collect {|item| block } -> an_array array.map {|item| block } -> an_array visibility: public ri/1.8/system/Array/sort-i.yaml 0000644 00000001653 15217654525 0012210 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new array created by sorting self. Comparisons for the sort will be done using the <=> operator or using an optional code block. The block implements a comparison between a and b, returning -1, 0, or +1. See also Enumerable#sort_by. - !ruby/struct:SM::Flow::VERB body: " a = [ "d", "a", "e", "c", "b" ]\n a.sort #=> ["a", "b", "c", "d", "e"]\n a.sort {|x,y| y <=> x } #=> ["e", "d", "c", "b", "a"]\n" full_name: Array#sort is_singleton: false name: sort params: | array.sort -> an_array array.sort {| a,b | block } -> an_array visibility: public ri/1.8/system/Array/assoc-i.yaml 0000644 00000001665 15217654525 0012334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Searches through an array whose elements are also arrays comparing obj with the first element of each contained array using obj.==. Returns the first contained array that matches (that is, the first associated array), or nil if no match is found. See also Array#rassoc. - !ruby/struct:SM::Flow::VERB body: " s1 = [ "colors", "red", "blue", "green" ]\n s2 = [ "letters", "a", "b", "c" ]\n s3 = "foo"\n a = [ s1, s2, s3 ]\n a.assoc("letters") #=> [ "letters", "a", "b", "c" ]\n a.assoc("foo") #=> nil\n" full_name: Array#assoc is_singleton: false name: assoc params: | array.assoc(obj) -> an_array or nil visibility: public ri/1.8/system/Array/pack-i.yaml 0000644 00000011024 15217654525 0012130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Packs the contents of arr into a binary sequence according to the directives in aTemplateString (see the table below) Directives ``A,'' ``a,'' and ``Z'' may be followed by a count, which gives the width of the resulting field. The remaining directives also may take a count, indicating the number of array elements to convert. If the count is an asterisk (``*''), all remaining array elements will be converted. Any of the directives ``sSiIlL'' may be followed by an underscore (``_'') to use the underlying platform's native size for the specified type; otherwise, they use a platform-independent size. Spaces are ignored in the template string. See also String#unpack. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c" ]\n n = [ 65, 66, 67 ]\n a.pack("A3A3A3") #=> "a b c "\n a.pack("a3a3a3") #=> "a\\000\\000b\\000\\000c\\000\\000"\n n.pack("ccc") #=> "ABC"\n" - !ruby/struct:SM::Flow::P body: Directives for pack. - !ruby/struct:SM::Flow::VERB body: " Integer | Array |\n Directive | Element | Meaning\n ------------------------------------------------------------------------\n C | Integer | 8-bit unsigned integer (unsigned char)\n S | Integer | 16-bit unsigned integer, native endian (uint16_t)\n L | Integer | 32-bit unsigned integer, native endian (uint32_t)\n Q | Integer | 64-bit unsigned integer, native endian (uint64_t)\n | |\n c | Integer | 8-bit signed integer (char)\n s | Integer | 16-bit signed integer, native endian (int16_t)\n l | Integer | 32-bit signed integer, native endian (int32_t)\n q | Integer | 64-bit signed integer, native endian (int64_t)\n | |\n S_ | Integer | unsigned short, native endian\n I, I_ | Integer | unsigned int, native endian\n L_ | Integer | unsigned long, native endian\n | |\n s_ | Integer | signed short, native endian\n i, i_ | Integer | signed int, native endian\n l_ | Integer | signed long, native endian\n | |\n n | Integer | 16-bit unsigned integer, network (big-endian) byte order\n N | Integer | 32-bit unsigned integer, network (big-endian) byte order\n v | Integer | 16-bit unsigned integer, VAX (little-endian) byte order\n V | Integer | 32-bit unsigned integer, VAX (little-endian) byte order\n | |\n U | Integer | UTF-8 character\n w | Integer | BER-compressed integer\n\n Float | |\n Directive | | Meaning\n ------------------------------------------------------------------------\n D, d | Float | double-precision float, native format\n F, f | Float | single-precision float, native format\n E | Float | double-precision float, little-endian byte order\n e | Float | single-precision float, little-endian byte order\n G | Float | double-precision float, network (big-endian) byte order\n g | Float | single-precision float, network (big-endian) byte order\n\n String | |\n Directive | | Meaning\n ------------------------------------------------------------------------\n A | String | arbitrary binary string (space padded, count is width)\n a | String | arbitrary binary string (null padded, count is width)\n Z | String | same as ``a'', except that null is added with *\n B | String | bit string (MSB first)\n b | String | bit string (LSB first)\n H | String | hex string (high nibble first)\n h | String | hex string (low nibble first)\n u | String | UU-encoded string\n M | String | quoted printable, MIME encoding (see RFC2045)\n m | String | base64 encoded string (see RFC 2045, count is width)\n P | String | pointer to a structure (fixed-length string)\n p | String | pointer to a null-terminated string\n\n Misc. | |\n Directive | | Meaning\n ------------------------------------------------------------------------\n @ | --- | moves to absolute position\n X | --- | back up a byte\n x | --- | null byte\n" full_name: Array#pack is_singleton: false name: pack params: | arr.pack ( aTemplateString ) -> aBinaryString visibility: public ri/1.8/system/Array/nitems-i.yaml 0000644 00000000650 15217654525 0012514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of non-nil elements in self. - !ruby/struct:SM::Flow::P body: May be zero. - !ruby/struct:SM::Flow::VERB body: " [ 1, nil, 3, nil, 5 ].nitems #=> 3\n" full_name: Array#nitems is_singleton: false name: nitems params: | array.nitems -> int visibility: public ri/1.8/system/Array/reverse-i.yaml 0000644 00000000771 15217654525 0012674 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new array containing self's elements in reverse order. - !ruby/struct:SM::Flow::VERB body: " [ "a", "b", "c" ].reverse #=> ["c", "b", "a"]\n [ 1 ].reverse #=> [1]\n" full_name: Array#reverse is_singleton: false name: reverse params: | array.reverse -> an_array visibility: public ri/1.8/system/Array/compact-i.yaml 0000644 00000000766 15217654525 0012653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a copy of self with all nil elements removed. - !ruby/struct:SM::Flow::VERB body: " [ "a", nil, "b", nil, "c", nil ].compact\n #=> [ "a", "b", "c" ]\n" full_name: Array#compact is_singleton: false name: compact params: | array.compact -> an_array visibility: public ri/1.8/system/Array/cdesc-Array.yaml 0000644 00000012103 15217654525 0013120 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Arrays are ordered, integer-indexed collections of any object. Array indexing starts at 0, as in C or Java. A negative index is assumed to be relative to the end of the array---that is, an index of -1 indicates the last element of the array, -2 is the next to last element in the array, and so on. constants: [] full_name: Array includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: "&" - !ruby/object:RI::MethodSummary name: "*" - !ruby/object:RI::MethodSummary name: + - !ruby/object:RI::MethodSummary name: "-" - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: abbrev - !ruby/object:RI::MethodSummary name: assoc - !ruby/object:RI::MethodSummary name: at - !ruby/object:RI::MethodSummary name: choice - !ruby/object:RI::MethodSummary name: clear - !ruby/object:RI::MethodSummary name: collect - !ruby/object:RI::MethodSummary name: collect! - !ruby/object:RI::MethodSummary name: combination - !ruby/object:RI::MethodSummary name: compact - !ruby/object:RI::MethodSummary name: compact! - !ruby/object:RI::MethodSummary name: concat - !ruby/object:RI::MethodSummary name: count - !ruby/object:RI::MethodSummary name: cycle - !ruby/object:RI::MethodSummary name: dclone - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: delete_at - !ruby/object:RI::MethodSummary name: delete_if - !ruby/object:RI::MethodSummary name: drop - !ruby/object:RI::MethodSummary name: drop_while - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: each_index - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: fetch - !ruby/object:RI::MethodSummary name: fill - !ruby/object:RI::MethodSummary name: find_index - !ruby/object:RI::MethodSummary name: first - !ruby/object:RI::MethodSummary name: flatten - !ruby/object:RI::MethodSummary name: flatten! - !ruby/object:RI::MethodSummary name: frozen? - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: include? - !ruby/object:RI::MethodSummary name: index - !ruby/object:RI::MethodSummary name: indexes - !ruby/object:RI::MethodSummary name: indices - !ruby/object:RI::MethodSummary name: initialize_copy - !ruby/object:RI::MethodSummary name: insert - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: join - !ruby/object:RI::MethodSummary name: last - !ruby/object:RI::MethodSummary name: length - !ruby/object:RI::MethodSummary name: map - !ruby/object:RI::MethodSummary name: map! - !ruby/object:RI::MethodSummary name: nitems - !ruby/object:RI::MethodSummary name: pack - !ruby/object:RI::MethodSummary name: permutation - !ruby/object:RI::MethodSummary name: pop - !ruby/object:RI::MethodSummary name: pretty_print - !ruby/object:RI::MethodSummary name: pretty_print_cycle - !ruby/object:RI::MethodSummary name: product - !ruby/object:RI::MethodSummary name: push - !ruby/object:RI::MethodSummary name: rassoc - !ruby/object:RI::MethodSummary name: reject - !ruby/object:RI::MethodSummary name: reject! - !ruby/object:RI::MethodSummary name: replace - !ruby/object:RI::MethodSummary name: reverse - !ruby/object:RI::MethodSummary name: reverse! - !ruby/object:RI::MethodSummary name: reverse_each - !ruby/object:RI::MethodSummary name: rindex - !ruby/object:RI::MethodSummary name: select - !ruby/object:RI::MethodSummary name: shelljoin - !ruby/object:RI::MethodSummary name: shift - !ruby/object:RI::MethodSummary name: shuffle - !ruby/object:RI::MethodSummary name: shuffle! - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: slice - !ruby/object:RI::MethodSummary name: slice! - !ruby/object:RI::MethodSummary name: sort - !ruby/object:RI::MethodSummary name: sort! - !ruby/object:RI::MethodSummary name: take - !ruby/object:RI::MethodSummary name: take_while - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: to_ary - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: transpose - !ruby/object:RI::MethodSummary name: uniq - !ruby/object:RI::MethodSummary name: uniq! - !ruby/object:RI::MethodSummary name: unshift - !ruby/object:RI::MethodSummary name: values_at - !ruby/object:RI::MethodSummary name: yaml_initialize - !ruby/object:RI::MethodSummary name: zip - !ruby/object:RI::MethodSummary name: "|" name: Array superclass: Object ri/1.8/system/Array/flatten%21-i.yaml 0000644 00000001355 15217654525 0013065 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Flattens self in place. Returns nil if no modifications were made (i.e., array contains no subarrays.) If the optional level argument determines the level of recursion to flatten. - !ruby/struct:SM::Flow::VERB body: " a = [ 1, 2, [3, [4, 5] ] ]\n a.flatten! #=> [1, 2, 3, 4, 5]\n a.flatten! #=> nil\n a #=> [1, 2, 3, 4, 5]\n a = [ 1, 2, [3, [4, 5] ] ]\n a.flatten!(1) #=> [1, 2, 3, [4, 5]]\n" full_name: Array#flatten! is_singleton: false name: flatten! params: | array.flatten! -> array or nil array.flatten!(level) -> array or nil visibility: public ri/1.8/system/Array/size-i.yaml 0000644 00000000331 15217654525 0012163 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #length" full_name: Array#size is_singleton: false name: size params: () visibility: public ri/1.8/system/Array/uniq%21-i.yaml 0000644 00000001170 15217654525 0012377 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes duplicate elements from self. Returns nil if no changes are made (that is, no duplicates are found). - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "a", "b", "b", "c" ]\n a.uniq! #=> ["a", "b", "c"]\n b = [ "a", "b", "c" ]\n b.uniq! #=> nil\n" full_name: Array#uniq! is_singleton: false name: uniq! params: | array.uniq! -> array or nil visibility: public ri/1.8/system/Array/each-i.yaml 0000644 00000001114 15217654525 0012111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls block once for each element in self, passing that element as a parameter. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c" ]\n a.each {|x| print x, " -- " }\n" - !ruby/struct:SM::Flow::P body: "produces:" - !ruby/struct:SM::Flow::VERB body: " a -- b -- c --\n" full_name: Array#each is_singleton: false name: each params: | array.each {|item| block } -> array visibility: public ri/1.8/system/Array/dclone-i.yaml 0000644 00000000245 15217654525 0012461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Array#dclone is_singleton: false name: dclone params: () visibility: public ri/1.8/system/Array/inspect-i.yaml 0000644 00000000424 15217654525 0012661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a printable version of array. full_name: Array#inspect is_singleton: false name: inspect params: | array.inspect -> string visibility: public ri/1.8/system/Array/join-i.yaml 0000644 00000001061 15217654525 0012151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a string created by converting each element of the array to a string, separated by sep. - !ruby/struct:SM::Flow::VERB body: " [ "a", "b", "c" ].join #=> "abc"\n [ "a", "b", "c" ].join("-") #=> "a-b-c"\n" full_name: Array#join is_singleton: false name: join params: | array.join(sep=$,) -> str visibility: public ri/1.8/system/Array/fetch-i.yaml 0000644 00000001626 15217654525 0012312 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Tries to return the element at position index. If the index lies outside the array, the first form throws an IndexError exception, the second form returns default, and the third form returns the value of invoking the block, passing in the index. Negative values of index count from the end of the array. - !ruby/struct:SM::Flow::VERB body: " a = [ 11, 22, 33, 44 ]\n a.fetch(1) #=> 22\n a.fetch(-1) #=> 44\n a.fetch(4, 'cat') #=> "cat"\n a.fetch(4) { |i| i*i } #=> 16\n" full_name: Array#fetch is_singleton: false name: fetch params: | array.fetch(index) -> obj array.fetch(index, default ) -> obj array.fetch(index) {|index| block } -> obj visibility: public ri/1.8/system/Array/to_a-i.yaml 0000644 00000000502 15217654525 0012133 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns self. If called on a subclass of Array, converts the receiver to an Array object. full_name: Array#to_a is_singleton: false name: to_a params: | array.to_a -> array visibility: public ri/1.8/system/Array/sort%21-i.yaml 0000644 00000001607 15217654525 0012417 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sorts self. Comparisons for the sort will be done using the <=> operator or using an optional code block. The block implements a comparison between a and b, returning -1, 0, or +1. See also Enumerable#sort_by. - !ruby/struct:SM::Flow::VERB body: " a = [ "d", "a", "e", "c", "b" ]\n a.sort #=> ["a", "b", "c", "d", "e"]\n a.sort {|x,y| y <=> x } #=> ["e", "d", "c", "b", "a"]\n" full_name: Array#sort! is_singleton: false name: sort! params: | array.sort! -> array array.sort! {| a,b | block } -> array visibility: public ri/1.8/system/Array/shift-i.yaml 0000644 00000001677 15217654525 0012344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the first element of self and removes it (shifting all other elements down by one). Returns nil if the array is empty. - !ruby/struct:SM::Flow::P body: If a number n is given, returns an array of the first n elements (or less) just like array.slice!(0, n) does. - !ruby/struct:SM::Flow::VERB body: " args = [ "-m", "-q", "filename" ]\n args.shift #=> "-m"\n args #=> ["-q", "filename"]\n\n args = [ "-m", "-q", "filename" ]\n args.shift(2) #=> ["-m", "-q"]\n args #=> ["filename"]\n" full_name: Array#shift is_singleton: false name: shift params: | array.shift -> obj or nil array.shift(n) -> array visibility: public ri/1.8/system/Array/shelljoin-i.yaml 0000644 00000000636 15217654525 0013210 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Builds a command line string from an argument list array joining all elements escaped for Bourne shell and separated by a space. See +Shellwords::shelljoin+ for details. full_name: Array#shelljoin is_singleton: false name: shelljoin params: | array.shelljoin => string visibility: public ri/1.8/system/Array/slice-i.yaml 0000644 00000002751 15217654525 0012320 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Element Reference---Returns the element at index, or returns a subarray starting at start and continuing for length elements, or returns a subarray specified by range. Negative indices count backward from the end of the array (-1 is the last element). Returns nil if the index (or starting index) are out of range. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c", "d", "e" ]\n a[2] + a[0] + a[1] #=> "cab"\n a[6] #=> nil\n a[1, 2] #=> [ "b", "c" ]\n a[1..3] #=> [ "b", "c", "d" ]\n a[4..7] #=> [ "e" ]\n a[6..10] #=> nil\n a[-3, 3] #=> [ "c", "d", "e" ]\n # special cases\n a[5] #=> nil\n a[5, 1] #=> []\n a[5..10] #=> []\n" full_name: Array#slice is_singleton: false name: slice params: | array[index] -> obj or nil array[start, length] -> an_array or nil array[range] -> an_array or nil array.slice(index) -> obj or nil array.slice(start, length) -> an_array or nil array.slice(range) -> an_array or nil visibility: public ri/1.8/system/Array/reverse%21-i.yaml 0000644 00000001001 15217654525 0013067 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reverses self in place. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c" ]\n a.reverse! #=> ["c", "b", "a"]\n a #=> ["c", "b", "a"]\n" full_name: Array#reverse! is_singleton: false name: reverse! params: | array.reverse! -> array visibility: public ri/1.8/system/Array/slice%21-i.yaml 0000644 00000001725 15217654525 0012530 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Deletes the element(s) given by an index (optionally with a length) or by a range. Returns the deleted object, subarray, or nil if the index is out of range. Equivalent to:" - !ruby/struct:SM::Flow::VERB body: " def slice!(*args)\n result = self[*args]\n self[*args] = nil\n result\n end\n\n a = [ "a", "b", "c" ]\n a.slice!(1) #=> "b"\n a #=> ["a", "c"]\n a.slice!(-1) #=> "c"\n a #=> ["a"]\n a.slice!(100) #=> nil\n a #=> ["a"]\n" full_name: Array#slice! is_singleton: false name: slice! params: | array.slice!(index) -> obj or nil array.slice!(start, length) -> sub_array or nil array.slice!(range) -> sub_array or nil visibility: public ri/1.8/system/Array/take_while-i.yaml 0000644 00000000767 15217654525 0013342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes elements to the block until the block returns nil or false, then stops iterating and returns an array of all prior elements. - !ruby/struct:SM::Flow::VERB body: " a = [1, 2, 3, 4, 5, 0]\n a.take_while {|i| i < 3 } # => [1, 2]\n" full_name: Array#take_while is_singleton: false name: take_while params: | ary.take_while {|arr| block } => array visibility: public ri/1.8/system/Array/at-i.yaml 0000644 00000001304 15217654525 0011616 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the element at index. A negative index counts from the end of self. Returns nil if the index is out of range. See also Array#[]. (Array#at is slightly faster than Array#[], as it does not accept ranges and so on.) - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c", "d", "e" ]\n a.at(0) #=> "a"\n a.at(-1) #=> "e"\n" full_name: Array#at is_singleton: false name: at params: | array.at(index) -> obj or nil visibility: public ri/1.8/system/Array/uniq-i.yaml 0000644 00000000745 15217654525 0012176 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new array by removing duplicate values in self. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "a", "b", "b", "c" ]\n a.uniq #=> ["a", "b", "c"]\n" full_name: Array#uniq is_singleton: false name: uniq params: | array.uniq -> an_array visibility: public ri/1.8/system/Array/fill-i.yaml 0000644 00000002657 15217654525 0012154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The first three forms set the selected elements of self (which may be the entire array) to obj. A start of nil is equivalent to zero. A length of nil is equivalent to self.length. The last three forms fill the array with the value of the block. The block is passed the absolute index of each element to be filled. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c", "d" ]\n a.fill("x") #=> ["x", "x", "x", "x"]\n a.fill("z", 2, 2) #=> ["x", "x", "z", "z"]\n a.fill("y", 0..1) #=> ["y", "y", "z", "z"]\n a.fill {|i| i*i} #=> [0, 1, 4, 9]\n a.fill(-2) {|i| i*i*i} #=> [0, 1, 8, 27]\n" full_name: Array#fill is_singleton: false name: fill params: | array.fill(obj) -> array array.fill(obj, start [, length]) -> array array.fill(obj, range ) -> array array.fill {|index| block } -> array array.fill(start [, length] ) {|index| block } -> array array.fill(range) {|index| block } -> array visibility: public ri/1.8/system/Array/transpose-i.yaml 0000644 00000000673 15217654525 0013240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Assumes that self is an array of arrays and transposes the rows and columns. - !ruby/struct:SM::Flow::VERB body: " a = [[1,2], [3,4], [5,6]]\n a.transpose #=> [[1, 3, 5], [2, 4, 6]]\n" full_name: Array#transpose is_singleton: false name: transpose params: | array.transpose -> an_array visibility: public ri/1.8/system/Array/map-i.yaml 0000644 00000001410 15217654525 0011765 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes block once for each element of self. Creates a new array containing the values returned by the block. See also Enumerable#collect. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c", "d" ]\n a.collect {|x| x + "!" } #=> ["a!", "b!", "c!", "d!"]\n a #=> ["a", "b", "c", "d"]\n" full_name: Array#map is_singleton: false name: map params: | array.collect {|item| block } -> an_array array.map {|item| block } -> an_array visibility: public ri/1.8/system/Array/cycle-i.yaml 0000644 00000001311 15217654525 0012307 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls block for each element repeatedly n times or forever if none or nil is given. If a non-positive number is given or the array is empty, does nothing. Returns nil if the loop has finished without getting interrupted. - !ruby/struct:SM::Flow::VERB body: " a = ["a", "b", "c"]\n a.cycle {|x| puts x } # print, a, b, c, a, b, c,.. forever.\n a.cycle(2) {|x| puts x } # print, a, b, c, a, b, c.\n" full_name: Array#cycle is_singleton: false name: cycle params: | ary.cycle {|obj| block } ary.cycle(n) {|obj| block } visibility: public ri/1.8/system/Array/%2a-i.yaml 0000644 00000001106 15217654525 0011561 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Repetition---With a String argument, equivalent to self.join(str). Otherwise, returns a new array built by concatenating the int copies of self. - !ruby/struct:SM::Flow::VERB body: " [ 1, 2, 3 ] * 3 #=> [ 1, 2, 3, 1, 2, 3, 1, 2, 3 ]\n [ 1, 2, 3 ] * "," #=> "1,2,3"\n" full_name: Array#* is_singleton: false name: "*" params: | array * int -> an_array array * str -> a_string visibility: public ri/1.8/system/Array/last-i.yaml 0000644 00000000766 15217654525 0012170 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the last element(s) of self. If the array is empty, the first form returns nil. - !ruby/struct:SM::Flow::VERB body: " [ "w", "x", "y", "z" ].last #=> "z"\n" full_name: Array#last is_singleton: false name: last params: | array.last -> obj or nil array.last(n) -> an_array visibility: public ri/1.8/system/Array/permutation-i.yaml 0000644 00000002525 15217654525 0013567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: When invoked with a block, yield all permutations of length n of the elements of ary, then return the array itself. If n is not specified, yield all permutations of all elements. The implementation makes no guarantees about the order in which the permutations are yielded. - !ruby/struct:SM::Flow::P body: When invoked without a block, return an enumerator object instead. - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " a = [1, 2, 3]\n a.permutation.to_a #=> [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]]\n a.permutation(1).to_a #=> [[1],[2],[3]]\n a.permutation(2).to_a #=> [[1,2],[1,3],[2,1],[2,3],[3,1],[3,2]]\n a.permutation(3).to_a #=> [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]]\n a.permutation(0).to_a #=> [[]] # one permutation of length 0\n a.permutation(4).to_a #=> [] # no permutations of length 4\n" full_name: Array#permutation is_singleton: false name: permutation params: | ary.permutation { |p| block } -> array ary.permutation -> enumerator ary.permutation(n) { |p| block } -> array ary.permutation(n) -> enumerator visibility: public ri/1.8/system/Array/shuffle%21-i.yaml 0000644 00000000442 15217654525 0013060 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Shuffles elements in self in place. full_name: Array#shuffle! is_singleton: false name: shuffle! params: | array.shuffle! -> array or nil visibility: public ri/1.8/system/Array/choice-i.yaml 0000644 00000000415 15217654525 0012446 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Choose a random element from an array. full_name: Array#choice is_singleton: false name: choice params: | array.choice -> obj visibility: public ri/1.8/system/Array/pretty_print_cycle-i.yaml 0000644 00000000276 15217654525 0015143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Array#pretty_print_cycle is_singleton: false name: pretty_print_cycle params: (q) visibility: public ri/1.8/system/Array/each_index-i.yaml 0000644 00000001141 15217654525 0013300 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Same as Array#each, but passes the index of the element instead of the element itself. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c" ]\n a.each_index {|x| print x, " -- " }\n" - !ruby/struct:SM::Flow::P body: "produces:" - !ruby/struct:SM::Flow::VERB body: " 0 -- 1 -- 2 --\n" full_name: Array#each_index is_singleton: false name: each_index params: | array.each_index {|index| block } -> array visibility: public ri/1.8/system/Array/delete_at-i.yaml 0000644 00000001160 15217654525 0013140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes the element at the specified index, returning that element, or nil if the index is out of range. See also Array#slice!. - !ruby/struct:SM::Flow::VERB body: " a = %w( ant bat cat dog )\n a.delete_at(2) #=> "cat"\n a #=> ["ant", "bat", "dog"]\n a.delete_at(99) #=> nil\n" full_name: Array#delete_at is_singleton: false name: delete_at params: | array.delete_at(index) -> obj or nil visibility: public ri/1.8/system/Array/drop_while-i.yaml 0000644 00000001025 15217654525 0013346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Drops elements up to, but not including, the first element for which the block returns nil or false and returns an array containing the remaining elements. - !ruby/struct:SM::Flow::VERB body: " a = [1, 2, 3, 4, 5, 0]\n a.drop_while {|i| i < 3 } # => [3, 4, 5, 0]\n" full_name: Array#drop_while is_singleton: false name: drop_while params: | ary.drop_while {|arr| block } => array visibility: public ri/1.8/system/Array/length-i.yaml 0000644 00000000627 15217654525 0012502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: size block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of elements in self. May be zero. - !ruby/struct:SM::Flow::VERB body: " [ 1, 2, 3, 4, 5 ].length #=> 5\n" full_name: Array#length is_singleton: false name: length params: | array.length -> int visibility: public ri/1.8/system/Array/abbrev-i.yaml 0000644 00000001353 15217654525 0012457 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calculates the set of unambiguous abbreviations for the strings in self. If passed a pattern or a string, only the strings matching the pattern or starting with the string are considered. - !ruby/struct:SM::Flow::VERB body: " %w{ car cone }.abbrev #=> { "ca" => "car", "car" => "car",\n "co" => "cone", "con" => cone",\n "cone" => "cone" }\n" full_name: Array#abbrev is_singleton: false name: abbrev params: (pattern = nil) visibility: public ri/1.8/system/Array/initialize_copy-i.yaml 0000644 00000001310 15217654525 0014402 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Replaces the contents of self with the contents of other_array, truncating or expanding if necessary. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c", "d", "e" ]\n a.replace([ "x", "y", "z" ]) #=> ["x", "y", "z"]\n a #=> ["x", "y", "z"]\n" full_name: Array#initialize_copy is_singleton: false name: initialize_copy params: | array.replace(other_array) -> array visibility: public ri/1.8/system/Array/%3d%3d-i.yaml 0000644 00000001352 15217654525 0012064 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equality---Two arrays are equal if they contain the same number of elements and if each element is equal to (according to Object.==) the corresponding element in the other array. - !ruby/struct:SM::Flow::VERB body: " [ "a", "c" ] == [ "a", "c", 7 ] #=> false\n [ "a", "c", 7 ] == [ "a", "c", 7 ] #=> true\n [ "a", "c", 7 ] == [ "a", "d", "f" ] #=> false\n" full_name: Array#== is_singleton: false name: == params: | array == other_array -> bool visibility: public ri/1.8/system/Array/yaml_initialize-i.yaml 0000644 00000000301 15217654525 0014371 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Array#yaml_initialize is_singleton: false name: yaml_initialize params: ( tag, val ) visibility: public ri/1.8/system/Array/take-i.yaml 0000644 00000000607 15217654525 0012143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns first n elements from ary. - !ruby/struct:SM::Flow::VERB body: " a = [1, 2, 3, 4, 5, 0]\n a.take(3) # => [1, 2, 3]\n" full_name: Array#take is_singleton: false name: take params: | ary.take(n) => array visibility: public ri/1.8/system/Array/replace-i.yaml 0000644 00000001270 15217654525 0012627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Replaces the contents of self with the contents of other_array, truncating or expanding if necessary. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c", "d", "e" ]\n a.replace([ "x", "y", "z" ]) #=> ["x", "y", "z"]\n a #=> ["x", "y", "z"]\n" full_name: Array#replace is_singleton: false name: replace params: | array.replace(other_array) -> array visibility: public ri/1.8/system/Array/empty%3f-i.yaml 0000644 00000000564 15217654525 0012655 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if self array contains no elements. - !ruby/struct:SM::Flow::VERB body: " [].empty? #=> true\n" full_name: Array#empty? is_singleton: false name: empty? params: | array.empty? -> true or false visibility: public ri/1.8/system/Array/delete_if-i.yaml 0000644 00000000777 15217654525 0013147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes every element of self for which block evaluates to true. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c" ]\n a.delete_if {|x| x >= "b" } #=> ["a"]\n" full_name: Array#delete_if is_singleton: false name: delete_if params: | array.delete_if {|item| block } -> array visibility: public ri/1.8/system/Array/include%3f-i.yaml 0000644 00000001111 15217654525 0013127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the given object is present in self (that is, if any object == anObject), false otherwise. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c" ]\n a.include?("b") #=> true\n a.include?("z") #=> false\n" full_name: Array#include? is_singleton: false name: include? params: | array.include?(obj) -> true or false visibility: public ri/1.8/system/Array/zip-i.yaml 0000644 00000001773 15217654525 0012026 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts any arguments to arrays, then merges elements of self with corresponding elements from each argument. This generates a sequence of self.size n-element arrays, where n is one more that the count of arguments. If the size of any argument is less than enumObj.size, nil values are supplied. If a block given, it is invoked for each output array, otherwise an array of arrays is returned. - !ruby/struct:SM::Flow::VERB body: " a = [ 4, 5, 6 ]\n b = [ 7, 8, 9 ]\n\n [1,2,3].zip(a, b) #=> [[1, 4, 7], [2, 5, 8], [3, 6, 9]]\n [1,2].zip(a,b) #=> [[1, 4, 7], [2, 5, 8]]\n a.zip([1,2],[8]) #=> [[4,1,8], [5,2,nil], [6,nil,nil]]\n" full_name: Array#zip is_singleton: false name: zip params: | array.zip(arg, ...) -> an_array array.zip(arg, ...) {| arr | block } -> nil visibility: public ri/1.8/system/Array/reverse_each-i.yaml 0000644 00000001075 15217654525 0013652 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Same as Array#each, but traverses self in reverse order. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c" ]\n a.reverse_each {|x| print x, " " }\n" - !ruby/struct:SM::Flow::P body: "produces:" - !ruby/struct:SM::Flow::VERB body: " c b a\n" full_name: Array#reverse_each is_singleton: false name: reverse_each params: | array.reverse_each {|item| block } visibility: public ri/1.8/system/Array/collect%21-i.yaml 0000644 00000001300 15217654525 0013043 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes the block once for each element of self, replacing the element with the value returned by block. See also Enumerable#collect. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c", "d" ]\n a.collect! {|x| x + "!" }\n a #=> [ "a!", "b!", "c!", "d!" ]\n" full_name: Array#collect! is_singleton: false name: collect! params: | array.collect! {|item| block } -> array array.map! {|item| block } -> array visibility: public ri/1.8/system/Array/to_yaml-i.yaml 0000644 00000000262 15217654525 0012660 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Array#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/Array/to_ary-i.yaml 0000644 00000000370 15217654525 0012511 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns self. full_name: Array#to_ary is_singleton: false name: to_ary params: | array.to_ary -> array visibility: public ri/1.8/system/Array/clear-i.yaml 0000644 00000000645 15217654525 0012307 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes all elements from self. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b", "c", "d", "e" ]\n a.clear #=> [ ]\n" full_name: Array#clear is_singleton: false name: clear params: | array.clear -> array visibility: public ri/1.8/system/Array/count-i.yaml 0000644 00000001216 15217654525 0012344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of elements. If an argument is given, counts the number of elements which equals to obj. If a block is given, counts the number of elements yielding a true value. - !ruby/struct:SM::Flow::VERB body: " ary = [1, 2, 4, 2]\n ary.count # => 4\n ary.count(2) # => 2\n ary.count{|x|x%2==0} # => 3\n" full_name: Array#count is_singleton: false name: count params: | array.count -> int array.count(obj) -> int array.count { |item| block } -> int visibility: public ri/1.8/system/Array/eql%3f-i.yaml 0000644 00000000545 15217654525 0012277 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if array and other are the same object, or are both arrays with the same content. full_name: Array#eql? is_singleton: false name: eql? params: | array.eql?(other) -> true or false visibility: public ri/1.8/system/Mutex/synchronize-i.yaml 0000644 00000000513 15217654525 0013612 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Obtains a lock, runs the block, and releases the lock when the block completes. See the example under Mutex. full_name: Mutex#synchronize is_singleton: false name: synchronize params: () {|| ...} visibility: public ri/1.8/system/Mutex/new-c.yaml 0000644 00000000327 15217654525 0012025 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new Mutex full_name: Mutex::new is_singleton: true name: new params: () visibility: public ri/1.8/system/Mutex/try_lock-i.yaml 0000644 00000000461 15217654525 0013067 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Attempts to obtain the lock and returns immediately. Returns true if the lock was granted. full_name: Mutex#try_lock is_singleton: false name: try_lock params: () visibility: public ri/1.8/system/Mutex/cdesc-Mutex.yaml 0000644 00000001770 15217654525 0013200 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Mutex implements a simple semaphore that can be used to coordinate access to shared data from multiple concurrent threads. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " require 'thread'\n semaphore = Mutex.new\n\n a = Thread.new {\n semaphore.synchronize {\n # access shared resource\n }\n }\n\n b = Thread.new {\n semaphore.synchronize {\n # access shared resource\n }\n }\n" constants: [] full_name: Mutex includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: exclusive_unlock - !ruby/object:RI::MethodSummary name: lock - !ruby/object:RI::MethodSummary name: locked? - !ruby/object:RI::MethodSummary name: synchronize - !ruby/object:RI::MethodSummary name: try_lock - !ruby/object:RI::MethodSummary name: unlock name: Mutex superclass: Object ri/1.8/system/Mutex/lock-i.yaml 0000644 00000000400 15217654525 0012162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Attempts to grab the lock and waits if it isn't available. full_name: Mutex#lock is_singleton: false name: lock params: () visibility: public ri/1.8/system/Mutex/locked%3f-i.yaml 0000644 00000000420 15217654525 0012773 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if this lock is currently held by some thread. full_name: Mutex#locked? is_singleton: false name: locked? params: () visibility: public ri/1.8/system/Mutex/exclusive_unlock-i.yaml 0000644 00000000517 15217654525 0014625 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: If the mutex is locked, unlocks the mutex, wakes one waiting thread, and yields in a critical section. full_name: Mutex#exclusive_unlock is_singleton: false name: exclusive_unlock params: () {|| ...} visibility: public ri/1.8/system/Mutex/unlock-i.yaml 0000644 00000000407 15217654525 0012534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Releases the lock. Returns nil if ref wasn't locked. full_name: Mutex#unlock is_singleton: false name: unlock params: () visibility: public ri/1.8/system/XML/Parser/cdesc-Parser.yaml 0000644 00000000416 15217654525 0014120 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: Error value: "::XMLParserError" full_name: XML::Parser includes: [] instance_methods: [] name: Parser superclass: Object ri/1.8/system/XML/cdesc-XML.yaml 0000644 00000000255 15217654525 0012071 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XML includes: [] instance_methods: [] name: XML superclass: ri/1.8/system/Profiler__/cdesc-Profiler__.yaml 0000644 00000000473 15217654525 0015133 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: PROFILE_PROC value: proc{|event, file, line, id, binding, klass| case event full_name: Profiler__ includes: [] instance_methods: [] name: Profiler__ superclass: ri/1.8/system/Rational/ceil-i.yaml 0000644 00000000244 15217654525 0012623 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Rational#ceil is_singleton: false name: ceil params: () visibility: public ri/1.8/system/Rational/new-c.yaml 0000644 00000000357 15217654525 0012477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This method is actually private. full_name: Rational::new is_singleton: true name: new params: (num, den) visibility: public ri/1.8/system/Rational/to_s-i.yaml 0000644 00000000673 15217654525 0012661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a string representation of the rational number. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " Rational(3,4).to_s # "3/4"\n Rational(8).to_s # "8"\n" full_name: Rational#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/Rational/truncate-i.yaml 0000644 00000000324 15217654525 0013533 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: to_i block_params: comment: full_name: Rational#truncate is_singleton: false name: truncate params: () visibility: public ri/1.8/system/Rational/div-i.yaml 0000644 00000000247 15217654525 0012474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Rational#div is_singleton: false name: div params: (other) visibility: public ri/1.8/system/Rational/%2b-i.yaml 0000644 00000000727 15217654525 0012265 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the addition of this value and a. - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " r = Rational(3,4) # -> Rational(3,4)\n r + 1 # -> Rational(7,4)\n r + 0.5 # -> 1.25\n" full_name: Rational#+ is_singleton: false name: + params: (a) visibility: public ri/1.8/system/Rational/floor-i.yaml 0000644 00000001324 15217654525 0013030 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Converts the rational to an Integer. Not the nearest integer, the truncated integer. Study the following example carefully:" - !ruby/struct:SM::Flow::VERB body: " Rational(+7,4).to_i # -> 1\n Rational(-7,4).to_i # -> -1\n (-1.75).to_i # -> -1\n" - !ruby/struct:SM::Flow::P body: "In other words:" - !ruby/struct:SM::Flow::VERB body: " Rational(-7,4) == -1.75 # -> true\n Rational(-7,4).to_i == (-1.75).to_i # -> true\n" full_name: Rational#floor is_singleton: false name: floor params: () visibility: public ri/1.8/system/Rational/%25-i.yaml 0000644 00000001105 15217654525 0012177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the remainder when this value is divided by other. - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " r = Rational(7,4) # -> Rational(7,4)\n r % Rational(1,2) # -> Rational(1,4)\n r % 1 # -> Rational(3,4)\n r % Rational(1,7) # -> Rational(1,28)\n r % 0.26 # -> 0.19\n" full_name: Rational#% is_singleton: false name: "%" params: (other) visibility: public ri/1.8/system/Rational/hash-i.yaml 0000644 00000000354 15217654525 0012634 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a hash code for the object. full_name: Rational#hash is_singleton: false name: hash params: () visibility: public ri/1.8/system/Rational/to_i-i.yaml 0000644 00000000336 15217654525 0012643 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #truncate" full_name: Rational#to_i is_singleton: false name: to_i params: () visibility: public ri/1.8/system/Rational/%3c%3d%3e-i.yaml 0000644 00000000351 15217654525 0013051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Standard comparison operator. full_name: Rational#<=> is_singleton: false name: <=> params: (other) visibility: public ri/1.8/system/Rational/%2d-i.yaml 0000644 00000000742 15217654525 0012264 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the difference of this value and a. subtracted. - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " r = Rational(3,4) # -> Rational(3,4)\n r - 1 # -> Rational(-1,4)\n r - 0.5 # -> 0.25\n" full_name: Rational#- is_singleton: false name: "-" params: (a) visibility: public ri/1.8/system/Rational/abs-i.yaml 0000644 00000000342 15217654525 0012453 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the absolute value. full_name: Rational#abs is_singleton: false name: abs params: () visibility: public ri/1.8/system/Rational/cdesc-Rational.yaml 0000644 00000005714 15217654525 0014320 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: denominator rw: R - !ruby/object:RI::Attribute comment: name: numerator rw: R class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new! - !ruby/object:RI::MethodSummary name: reduce comment: - !ruby/struct:SM::Flow::P body: Rational implements a rational class for numbers. - !ruby/struct:SM::Flow::P body: A rational number is a number that can be expressed as a fraction p/q where p and q are integers and q != 0. A rational number p/q is said to have numerator p and denominator q. Numbers that are not rational are called irrational numbers. (http://mathworld.wolfram.com/RationalNumber.html) - !ruby/struct:SM::Flow::P body: "To create a Rational Number:" - !ruby/struct:SM::Flow::VERB body: " Rational(a,b) # -> a/b\n Rational.new!(a,b) # -> a/b\n" - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " Rational(5,6) # -> 5/6\n Rational(5) # -> 5/1\n" - !ruby/struct:SM::Flow::P body: "Rational numbers are reduced to their lowest terms:" - !ruby/struct:SM::Flow::VERB body: " Rational(6,10) # -> 3/5\n" - !ruby/struct:SM::Flow::P body: "But not if you use the unusual method "new!":" - !ruby/struct:SM::Flow::VERB body: " Rational.new!(6,10) # -> 6/10\n" - !ruby/struct:SM::Flow::P body: "Division by zero is obviously not allowed:" - !ruby/struct:SM::Flow::VERB body: " Rational(3,0) # -> ZeroDivisionError\n" constants: - !ruby/object:RI::Constant comment: name: Unify value: "true" full_name: Rational includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "%" - !ruby/object:RI::MethodSummary name: "*" - !ruby/object:RI::MethodSummary name: "**" - !ruby/object:RI::MethodSummary name: "**" - !ruby/object:RI::MethodSummary name: + - !ruby/object:RI::MethodSummary name: "-" - !ruby/object:RI::MethodSummary name: / - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: abs - !ruby/object:RI::MethodSummary name: ceil - !ruby/object:RI::MethodSummary name: coerce - !ruby/object:RI::MethodSummary name: div - !ruby/object:RI::MethodSummary name: divmod - !ruby/object:RI::MethodSummary name: floor - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: power2 - !ruby/object:RI::MethodSummary name: round - !ruby/object:RI::MethodSummary name: to_f - !ruby/object:RI::MethodSummary name: to_i - !ruby/object:RI::MethodSummary name: to_r - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: truncate name: Rational superclass: Object ri/1.8/system/Rational/inspect-i.yaml 0000644 00000000553 15217654525 0013357 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns a reconstructable string representation:" - !ruby/struct:SM::Flow::VERB body: " Rational(5,8).inspect # -> "Rational(5, 8)"\n" full_name: Rational#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/Rational/reduce-c.yaml 0000644 00000000463 15217654525 0013153 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reduces the given numerator and denominator to their lowest terms. Use Rational() instead. full_name: Rational::reduce is_singleton: true name: reduce params: (num, den = 1) visibility: public ri/1.8/system/Rational/%2a-i.yaml 0000644 00000001057 15217654525 0012261 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the product of this value and a. - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " r = Rational(3,4) # -> Rational(3,4)\n r * 2 # -> Rational(3,2)\n r * 4 # -> Rational(3,1)\n r * 0.5 # -> 0.375\n r * Rational(1,2) # -> Rational(3,8)\n" full_name: Rational#* is_singleton: false name: "*" params: (a) visibility: public ri/1.8/system/Rational/round-i.yaml 0000644 00000000246 15217654525 0013040 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Rational#round is_singleton: false name: round params: () visibility: public ri/1.8/system/Rational/to_f-i.yaml 0000644 00000000352 15217654525 0012636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts the rational to a Float. full_name: Rational#to_f is_singleton: false name: to_f params: () visibility: public ri/1.8/system/Rational/%2f-i.yaml 0000644 00000000720 15217654525 0012262 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the quotient of this value and a. - !ruby/struct:SM::Flow::VERB body: " r = Rational(3,4) # -> Rational(3,4)\n r / 2 # -> Rational(3,8)\n r / 2.0 # -> 0.375\n r / Rational(1,2) # -> Rational(3,2)\n" full_name: Rational#/ is_singleton: false name: / params: (a) visibility: public ri/1.8/system/Rational/%3d%3d-i.yaml 0000644 00000001037 15217654525 0012557 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true iff this value is numerically equal to other. - !ruby/struct:SM::Flow::P body: "But beware:" - !ruby/struct:SM::Flow::VERB body: " Rational(1,2) == Rational(4,8) # -> true\n Rational(1,2) == Rational.new!(4,8) # -> false\n" - !ruby/struct:SM::Flow::P body: Don't use Rational.new! full_name: Rational#== is_singleton: false name: == params: (other) visibility: public ri/1.8/system/Rational/divmod-i.yaml 0000644 00000000701 15217654525 0013167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the quotient and remainder. - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " r = Rational(7,4) # -> Rational(7,4)\n r.divmod Rational(1,2) # -> [3, Rational(1,4)]\n" full_name: Rational#divmod is_singleton: false name: divmod params: (other) visibility: public ri/1.8/system/Rational/to_r-i.yaml 0000644 00000000337 15217654525 0012655 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns self. full_name: Rational#to_r is_singleton: false name: to_r params: () visibility: public ri/1.8/system/Rational/new%21-c.yaml 0000644 00000000566 15217654525 0012711 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Implements the constructor. This method does not reduce to lowest terms or check for division by zero. Therefore #Rational() should be preferred in normal use." full_name: Rational::new! is_singleton: true name: new! params: (num, den = 1) visibility: public ri/1.8/system/Rational/power2-i.yaml 0000644 00000000255 15217654525 0013127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Rational#power2 is_singleton: false name: power2 params: (other) visibility: public ri/1.8/system/Rational/coerce-i.yaml 0000644 00000000255 15217654525 0013151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Rational#coerce is_singleton: false name: coerce params: (other) visibility: public ri/1.8/system/Rational/%2a%2a-i.yaml 0000644 00000001011 15217654525 0012537 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns this value raised to the given power. - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " r = Rational(3,4) # -> Rational(3,4)\n r ** 2 # -> Rational(9,16)\n r ** 2.0 # -> 0.5625\n r ** Rational(1,2) # -> 0.866025403784439\n" full_name: Rational#** is_singleton: false name: "**" params: (other) visibility: public ri/1.8/system/Symbol/to_s-i.yaml 0000644 00000000612 15217654525 0012346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the name or string corresponding to sym. - !ruby/struct:SM::Flow::VERB body: " :fred.id2name #=> "fred"\n" full_name: Symbol#to_s is_singleton: false name: to_s params: | sym.id2name => string sym.to_s => string visibility: public ri/1.8/system/Symbol/to_i-i.yaml 0000644 00000000674 15217654525 0012344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an integer that is unique for each symbol within a particular execution of a program. - !ruby/struct:SM::Flow::VERB body: " :fred.to_i #=> 9809\n "fred".to_sym.to_i #=> 9809\n" full_name: Symbol#to_i is_singleton: false name: to_i params: | sym.to_i => fixnum visibility: public ri/1.8/system/Symbol/yaml_new-c.yaml 0000644 00000000273 15217654525 0013212 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Symbol::yaml_new is_singleton: true name: yaml_new params: ( klass, tag, val ) visibility: public ri/1.8/system/Symbol/to_proc-i.yaml 0000644 00000000652 15217654525 0013053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a Proc object which respond to the given method by sym. - !ruby/struct:SM::Flow::VERB body: " (1..3).collect(&:to_s) #=> ["1", "2", "3"]\n" full_name: Symbol#to_proc is_singleton: false name: to_proc params: | sym.to_proc visibility: public ri/1.8/system/Symbol/to_sym-i.yaml 0000644 00000000601 15217654525 0012712 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: In general, to_sym returns the Symbol corresponding to an object. As sym is already a symbol, self is returned in this case. full_name: Symbol#to_sym is_singleton: false name: to_sym params: | sym.to_sym => sym visibility: public ri/1.8/system/Symbol/cdesc-Symbol.yaml 0000644 00000003204 15217654525 0013500 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: all_symbols - !ruby/object:RI::MethodSummary name: yaml_new comment: - !ruby/struct:SM::Flow::P body: Symbol objects represent names and some strings inside the Ruby interpreter. They are generated using the :name and :"string" literals syntax, and by the various to_sym methods. The same Symbol object will be created for a given name or string for the duration of a program's execution, regardless of the context or meaning of that name. Thus if Fred is a constant in one context, a method in another, and a class in a third, the Symbol :Fred will be the same object in all three contexts. - !ruby/struct:SM::Flow::VERB body: " module One\n class Fred\n end\n $f1 = :Fred\n end\n module Two\n Fred = 1\n $f2 = :Fred\n end\n def Fred()\n end\n $f3 = :Fred\n $f1.id #=> 2514190\n $f2.id #=> 2514190\n $f3.id #=> 2514190\n" constants: [] full_name: Symbol includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: === - !ruby/object:RI::MethodSummary name: dclone - !ruby/object:RI::MethodSummary name: id2name - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: to_i - !ruby/object:RI::MethodSummary name: to_int - !ruby/object:RI::MethodSummary name: to_proc - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_sym - !ruby/object:RI::MethodSummary name: to_yaml name: Symbol superclass: Object ri/1.8/system/Symbol/%3d%3d%3d-i.yaml 0000644 00000002516 15217654525 0012552 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equality---At the Object level, == returns true only if obj and other are the same object. Typically, this method is overridden in descendent classes to provide class-specific meaning. - !ruby/struct:SM::Flow::P body: "Unlike ==, the equal? method should never be overridden by subclasses: it is used to determine object identity (that is, a.equal?(b) iff a is the same object as b)." - !ruby/struct:SM::Flow::P body: "The eql? method returns true if obj and anObject have the same value. Used by Hash to test members for equality. For objects of class Object, eql? is synonymous with ==. Subclasses normally continue this tradition, but there are exceptions. Numeric types, for example, perform type conversion across ==, but not across eql?, so:" - !ruby/struct:SM::Flow::VERB body: " 1 == 1.0 #=> true\n 1.eql? 1.0 #=> false\n" full_name: Symbol#=== is_singleton: false name: === params: | obj == other => true or false obj.equal?(other) => true or false obj.eql?(other) => true or false visibility: public ri/1.8/system/Symbol/to_int-i.yaml 0000644 00000000324 15217654525 0012676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: ":nodoc:" full_name: Symbol#to_int is_singleton: false name: to_int params: () visibility: public ri/1.8/system/Symbol/dclone-i.yaml 0000644 00000000246 15217654525 0012651 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Symbol#dclone is_singleton: false name: dclone params: () visibility: public ri/1.8/system/Symbol/inspect-i.yaml 0000644 00000000576 15217654525 0013060 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the representation of sym as a symbol literal. - !ruby/struct:SM::Flow::VERB body: " :fred.inspect #=> ":fred"\n" full_name: Symbol#inspect is_singleton: false name: inspect params: | sym.inspect => string visibility: public ri/1.8/system/Symbol/id2name-i.yaml 0000644 00000000620 15217654525 0012720 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the name or string corresponding to sym. - !ruby/struct:SM::Flow::VERB body: " :fred.id2name #=> "fred"\n" full_name: Symbol#id2name is_singleton: false name: id2name params: | sym.id2name => string sym.to_s => string visibility: public ri/1.8/system/Symbol/to_yaml-i.yaml 0000644 00000000263 15217654525 0013050 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Symbol#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/Symbol/all_symbols-c.yaml 0000644 00000001451 15217654525 0013716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array of all the symbols currently in Ruby's symbol table. - !ruby/struct:SM::Flow::VERB body: " Symbol.all_symbols.size #=> 903\n Symbol.all_symbols[1,20] #=> [:floor, :ARGV, :Binding, :symlink,\n :chown, :EOFError, :$;, :String,\n :LOCK_SH, :"setuid?", :$<,\n :default_proc, :compact, :extend,\n :Tms, :getwd, :$=, :ThreadGroup,\n :wait2, :$>]\n" full_name: Symbol::all_symbols is_singleton: true name: all_symbols params: | Symbol.all_symbols => array visibility: public ri/1.8/system/Process/setrlimit-c.yaml 0000644 00000004646 15217654525 0013574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the resource limit of the process. cur_limit means current (soft) limit and max_limit means maximum (hard) limit. - !ruby/struct:SM::Flow::P body: If max_limit is not given, cur_limit is used. - !ruby/struct:SM::Flow::P body: resource indicates the kind of resource to limit. The list of resources are OS dependent. Ruby may support following resources. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_CORE body: core size (bytes) (SUSv3) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_CPU body: CPU time (seconds) (SUSv3) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_DATA body: data segment (bytes) (SUSv3) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_FSIZE body: file size (bytes) (SUSv3) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_NOFILE body: file descriptors (number) (SUSv3) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_STACK body: stack size (bytes) (SUSv3) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_AS body: total available memory (bytes) (SUSv3, NetBSD, FreeBSD, OpenBSD but 4.4BSD-Lite) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_MEMLOCK body: total size for mlock(2) (bytes) (4.4BSD, GNU/Linux) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_NPROC body: number of processes for the user (number) (4.4BSD, GNU/Linux) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_RSS body: resident memory size (bytes) (4.2BSD, GNU/Linux) - !ruby/struct:SM::Flow::LI label: Process::RLIMIT_SBSIZE body: all socket buffers (bytes) (NetBSD, FreeBSD) type: :LABELED - !ruby/struct:SM::Flow::P body: Other Process::RLIMIT_??? constants may be defined. - !ruby/struct:SM::Flow::P body: cur_limit and max_limit may be Process::RLIM_INFINITY, which means that the resource is not limited. They may be Process::RLIM_SAVED_MAX or Process::RLIM_SAVED_CUR too. See system setrlimit(2) manual for details. full_name: Process::setrlimit is_singleton: true name: setrlimit params: | Process.setrlimit(resource, cur_limit, max_limit) => nil Process.setrlimit(resource, cur_limit) => nil visibility: public ri/1.8/system/Process/setsid-c.yaml 0000644 00000000711 15217654525 0013040 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Establishes this process as a new session and process group leader, with no controlling tty. Returns the session id. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " Process.setsid #=> 27422\n" full_name: Process::setsid is_singleton: true name: setsid params: | Process.setsid => fixnum visibility: public ri/1.8/system/Process/groups%3d-c.yaml 0000644 00000001030 15217654525 0013353 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the supplemental group access list to the given Array of group IDs. - !ruby/struct:SM::Flow::VERB body: " Process.groups #=> [0, 1, 2, 3, 4, 6, 10, 11, 20, 26, 27]\n Process.groups = [27, 6, 10, 11] #=> [27, 6, 10, 11]\n Process.groups #=> [27, 6, 10, 11]\n" full_name: Process::groups= is_singleton: true name: groups= params: | Process.groups= array => array visibility: public ri/1.8/system/Process/cdesc-Process.yaml 0000644 00000007546 15217654525 0014037 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: abort - !ruby/object:RI::MethodSummary name: detach - !ruby/object:RI::MethodSummary name: egid - !ruby/object:RI::MethodSummary name: egid= - !ruby/object:RI::MethodSummary name: euid - !ruby/object:RI::MethodSummary name: euid= - !ruby/object:RI::MethodSummary name: exec - !ruby/object:RI::MethodSummary name: exit - !ruby/object:RI::MethodSummary name: exit! - !ruby/object:RI::MethodSummary name: fork - !ruby/object:RI::MethodSummary name: getpgid - !ruby/object:RI::MethodSummary name: getpgrp - !ruby/object:RI::MethodSummary name: getpriority - !ruby/object:RI::MethodSummary name: getrlimit - !ruby/object:RI::MethodSummary name: gid - !ruby/object:RI::MethodSummary name: gid= - !ruby/object:RI::MethodSummary name: groups - !ruby/object:RI::MethodSummary name: groups= - !ruby/object:RI::MethodSummary name: initgroups - !ruby/object:RI::MethodSummary name: kill - !ruby/object:RI::MethodSummary name: maxgroups - !ruby/object:RI::MethodSummary name: maxgroups= - !ruby/object:RI::MethodSummary name: pid - !ruby/object:RI::MethodSummary name: ppid - !ruby/object:RI::MethodSummary name: setpgid - !ruby/object:RI::MethodSummary name: setpgrp - !ruby/object:RI::MethodSummary name: setpriority - !ruby/object:RI::MethodSummary name: setrlimit - !ruby/object:RI::MethodSummary name: setsid - !ruby/object:RI::MethodSummary name: times - !ruby/object:RI::MethodSummary name: uid - !ruby/object:RI::MethodSummary name: uid= - !ruby/object:RI::MethodSummary name: wait - !ruby/object:RI::MethodSummary name: wait2 - !ruby/object:RI::MethodSummary name: waitall - !ruby/object:RI::MethodSummary name: waitpid - !ruby/object:RI::MethodSummary name: waitpid2 comment: - !ruby/struct:SM::Flow::P body: The Process module is a collection of methods used to manipulate processes. constants: - !ruby/object:RI::Constant comment: name: WNOHANG value: INT2FIX(WNOHANG) - !ruby/object:RI::Constant comment: name: WNOHANG value: INT2FIX(0) - !ruby/object:RI::Constant comment: name: WUNTRACED value: INT2FIX(WUNTRACED) - !ruby/object:RI::Constant comment: name: WUNTRACED value: INT2FIX(0) - !ruby/object:RI::Constant comment: name: PRIO_PROCESS value: INT2FIX(PRIO_PROCESS) - !ruby/object:RI::Constant comment: name: PRIO_PGRP value: INT2FIX(PRIO_PGRP) - !ruby/object:RI::Constant comment: name: PRIO_USER value: INT2FIX(PRIO_USER) - !ruby/object:RI::Constant comment: name: RLIM_INFINITY value: inf - !ruby/object:RI::Constant comment: name: RLIM_SAVED_MAX value: v - !ruby/object:RI::Constant comment: name: RLIM_SAVED_CUR value: v - !ruby/object:RI::Constant comment: name: RLIMIT_CORE value: INT2FIX(RLIMIT_CORE) - !ruby/object:RI::Constant comment: name: RLIMIT_CPU value: INT2FIX(RLIMIT_CPU) - !ruby/object:RI::Constant comment: name: RLIMIT_DATA value: INT2FIX(RLIMIT_DATA) - !ruby/object:RI::Constant comment: name: RLIMIT_FSIZE value: INT2FIX(RLIMIT_FSIZE) - !ruby/object:RI::Constant comment: name: RLIMIT_NOFILE value: INT2FIX(RLIMIT_NOFILE) - !ruby/object:RI::Constant comment: name: RLIMIT_STACK value: INT2FIX(RLIMIT_STACK) - !ruby/object:RI::Constant comment: name: RLIMIT_AS value: INT2FIX(RLIMIT_AS) - !ruby/object:RI::Constant comment: name: RLIMIT_MEMLOCK value: INT2FIX(RLIMIT_MEMLOCK) - !ruby/object:RI::Constant comment: name: RLIMIT_NPROC value: INT2FIX(RLIMIT_NPROC) - !ruby/object:RI::Constant comment: name: RLIMIT_RSS value: INT2FIX(RLIMIT_RSS) - !ruby/object:RI::Constant comment: name: RLIMIT_SBSIZE value: INT2FIX(RLIMIT_SBSIZE) full_name: Process includes: [] instance_methods: [] name: Process superclass: ri/1.8/system/Process/ppid-c.yaml 0000644 00000001141 15217654525 0012477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the process id of the parent of this process. Always returns 0 on NT. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " puts "I am #{Process.pid}"\n Process.fork { puts "Dad is #{Process.ppid}" }\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " I am 27417\n Dad is 27417\n" full_name: Process::ppid is_singleton: true name: ppid params: | Process.ppid => fixnum visibility: public ri/1.8/system/Process/fork-c.yaml 0000644 00000002056 15217654525 0012512 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a subprocess. If a block is specified, that block is run in the subprocess, and the subprocess terminates with a status of zero. Otherwise, the fork call returns twice, once in the parent, returning the process ID of the child, and once in the child, returning nil. The child process can exit using Kernel.exit! to avoid running any at_exit functions. The parent process should use Process.wait to collect the termination statuses of its children or use Process.detach to register disinterest in their status; otherwise, the operating system may accumulate zombie processes. - !ruby/struct:SM::Flow::P body: The thread calling fork is the only thread in the created child process. fork doesn't copy other threads. full_name: Process::fork is_singleton: true name: fork params: | Kernel.fork [{ block }] => fixnum or nil Process.fork [{ block }] => fixnum or nil visibility: public ri/1.8/system/Process/waitpid2-c.yaml 0000644 00000001412 15217654525 0013267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Waits for a child process to exit (see Process::waitpid for exact semantics) and returns an array containing the process id and the exit status (a Process::Status object) of that child. Raises a SystemError if there are no child processes. - !ruby/struct:SM::Flow::VERB body: " Process.fork { exit 99 } #=> 27437\n pid, status = Process.wait2\n pid #=> 27437\n status.exitstatus #=> 99\n" full_name: Process::waitpid2 is_singleton: true name: waitpid2 params: | Process.wait2(pid=-1, flags=0) => [pid, status] Process.waitpid2(pid=-1, flags=0) => [pid, status] visibility: public ri/1.8/system/Process/wait-c.yaml 0000644 00000004262 15217654525 0012516 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Waits for a child process to exit, returns its process id, and sets $? to a Process::Status object containing information on that process. Which child it waits on depends on the value of pid:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "> 0:" body: Waits for the child whose process ID equals pid. - !ruby/struct:SM::Flow::LI label: "0:" body: Waits for any child whose process group ID equals that of the calling process. - !ruby/struct:SM::Flow::LI label: "-1:" body: Waits for any child process (the default if no pid is given). - !ruby/struct:SM::Flow::LI label: "< -1:" body: Waits for any child whose process group ID equals the absolute value of pid. type: :NOTE - !ruby/struct:SM::Flow::P body: The flags argument may be a logical or of the flag values Process::WNOHANG (do not block if no child available) or Process::WUNTRACED (return stopped children that haven't been reported). Not all flags are available on all platforms, but a flag value of zero will work on all platforms. - !ruby/struct:SM::Flow::P body: Calling this method raises a SystemError if there are no child processes. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " include Process\n fork { exit 99 } #=> 27429\n wait #=> 27429\n $?.exitstatus #=> 99\n\n pid = fork { sleep 3 } #=> 27440\n Time.now #=> Wed Apr 09 08:57:09 CDT 2003\n waitpid(pid, Process::WNOHANG) #=> nil\n Time.now #=> Wed Apr 09 08:57:09 CDT 2003\n waitpid(pid, 0) #=> 27440\n Time.now #=> Wed Apr 09 08:57:12 CDT 2003\n" full_name: Process::wait is_singleton: true name: wait params: | Process.wait() => fixnum Process.wait(pid=-1, flags=0) => fixnum Process.waitpid(pid=-1, flags=0) => fixnum visibility: public ri/1.8/system/Process/gid-c.yaml 0000644 00000000640 15217654525 0012311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the (real) group ID for this process. - !ruby/struct:SM::Flow::VERB body: " Process.gid #=> 500\n" full_name: Process::gid is_singleton: true name: gid params: | Process.gid => fixnum Process::GID.rid => fixnum Process::Sys.getgid => fixnum visibility: public ri/1.8/system/Process/gid%3d-c.yaml 0000644 00000000415 15217654525 0012605 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the group ID for this process. full_name: Process::gid= is_singleton: true name: gid= params: | Process.gid= fixnum => fixnum visibility: public ri/1.8/system/Process/setpgrp-c.yaml 0000644 00000000453 15217654525 0013234 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to setpgid(0,0). Not available on all platforms. full_name: Process::setpgrp is_singleton: true name: setpgrp params: | Process.setpgrp => 0 visibility: public ri/1.8/system/Process/waitpid-c.yaml 0000644 00000004270 15217654525 0013212 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Waits for a child process to exit, returns its process id, and sets $? to a Process::Status object containing information on that process. Which child it waits on depends on the value of pid:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "> 0:" body: Waits for the child whose process ID equals pid. - !ruby/struct:SM::Flow::LI label: "0:" body: Waits for any child whose process group ID equals that of the calling process. - !ruby/struct:SM::Flow::LI label: "-1:" body: Waits for any child process (the default if no pid is given). - !ruby/struct:SM::Flow::LI label: "< -1:" body: Waits for any child whose process group ID equals the absolute value of pid. type: :NOTE - !ruby/struct:SM::Flow::P body: The flags argument may be a logical or of the flag values Process::WNOHANG (do not block if no child available) or Process::WUNTRACED (return stopped children that haven't been reported). Not all flags are available on all platforms, but a flag value of zero will work on all platforms. - !ruby/struct:SM::Flow::P body: Calling this method raises a SystemError if there are no child processes. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " include Process\n fork { exit 99 } #=> 27429\n wait #=> 27429\n $?.exitstatus #=> 99\n\n pid = fork { sleep 3 } #=> 27440\n Time.now #=> Wed Apr 09 08:57:09 CDT 2003\n waitpid(pid, Process::WNOHANG) #=> nil\n Time.now #=> Wed Apr 09 08:57:09 CDT 2003\n waitpid(pid, 0) #=> 27440\n Time.now #=> Wed Apr 09 08:57:12 CDT 2003\n" full_name: Process::waitpid is_singleton: true name: waitpid params: | Process.wait() => fixnum Process.wait(pid=-1, flags=0) => fixnum Process.waitpid(pid=-1, flags=0) => fixnum visibility: public ri/1.8/system/Process/abort-c.yaml 0000644 00000000613 15217654525 0012655 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Terminate execution immediately, effectively by calling Kernel.exit(1). If msg is given, it is written to STDERR prior to terminating. full_name: Process::abort is_singleton: true name: abort params: | abort Kernel::abort Process::abort visibility: public ri/1.8/system/Process/exit-c.yaml 0000644 00000002545 15217654525 0012525 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Initiates the termination of the Ruby script by raising the SystemExit exception. This exception may be caught. The optional parameter is used to return a status code to the invoking environment. - !ruby/struct:SM::Flow::VERB body: " begin\n exit\n puts "never get here"\n rescue SystemExit\n puts "rescued a SystemExit exception"\n end\n puts "after begin block"\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " rescued a SystemExit exception\n after begin block\n" - !ruby/struct:SM::Flow::P body: Just prior to termination, Ruby executes any at_exit functions (see Kernel::at_exit) and runs any object finalizers (see ObjectSpace::define_finalizer). - !ruby/struct:SM::Flow::VERB body: " at_exit { puts "at_exit function" }\n ObjectSpace.define_finalizer("string", proc { puts "in finalizer" })\n exit\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " at_exit function\n in finalizer\n" full_name: Process::exit is_singleton: true name: exit params: | exit(integer=0) Kernel::exit(integer=0) Process::exit(integer=0) visibility: public ri/1.8/system/Process/getpgrp-c.yaml 0000644 00000000661 15217654525 0013221 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the process group ID for this process. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " Process.getpgid(0) #=> 25527\n Process.getpgrp #=> 25527\n" full_name: Process::getpgrp is_singleton: true name: getpgrp params: | Process.getpgrp => integer visibility: public ri/1.8/system/Process/setpriority-c.yaml 0000644 00000001135 15217654525 0014143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Process#getpriority. - !ruby/struct:SM::Flow::VERB body: " Process.setpriority(Process::PRIO_USER, 0, 19) #=> 0\n Process.setpriority(Process::PRIO_PROCESS, 0, 19) #=> 0\n Process.getpriority(Process::PRIO_USER, 0) #=> 19\n Process.getpriority(Process::PRIO_PROCESS, 0) #=> 19\n" full_name: Process::setpriority is_singleton: true name: setpriority params: | Process.setpriority(kind, integer, priority) => 0 visibility: public ri/1.8/system/Process/exit%21-c.yaml 0000644 00000000645 15217654525 0012734 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Exits the process immediately. No exit handlers are run. fixnum is returned to the underlying system as the exit status. - !ruby/struct:SM::Flow::VERB body: " Process.exit!(0)\n" full_name: Process::exit! is_singleton: true name: exit! params: | Process.exit!(fixnum=-1) visibility: public ri/1.8/system/Process/wait2-c.yaml 0000644 00000001404 15217654525 0012573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Waits for a child process to exit (see Process::waitpid for exact semantics) and returns an array containing the process id and the exit status (a Process::Status object) of that child. Raises a SystemError if there are no child processes. - !ruby/struct:SM::Flow::VERB body: " Process.fork { exit 99 } #=> 27437\n pid, status = Process.wait2\n pid #=> 27437\n status.exitstatus #=> 99\n" full_name: Process::wait2 is_singleton: true name: wait2 params: | Process.wait2(pid=-1, flags=0) => [pid, status] Process.waitpid2(pid=-1, flags=0) => [pid, status] visibility: public ri/1.8/system/Process/Sys/setrgid-c.yaml 0000644 00000000535 15217654525 0013770 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the real group ID of the calling process to integer. Not available on all platforms. full_name: Process::Sys::setrgid is_singleton: true name: setrgid params: | Process::Sys.setrgid(integer) => nil visibility: public ri/1.8/system/Process/Sys/getuid-c.yaml 0000644 00000000651 15217654525 0013607 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the (real) user ID of this process. - !ruby/struct:SM::Flow::VERB body: " Process.uid #=> 501\n" full_name: Process::Sys::getuid is_singleton: true name: getuid params: | Process.uid => fixnum Process::UID.rid => fixnum Process::Sys.getuid => fixnum visibility: public ri/1.8/system/Process/Sys/getegid-c.yaml 0000644 00000000721 15217654525 0013734 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the effective group ID for this process. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " Process.egid #=> 500\n" full_name: Process::Sys::getegid is_singleton: true name: getegid params: | Process.egid => fixnum Process::GID.eid => fixnum Process::Sys.geteid => fixnum visibility: public ri/1.8/system/Process/Sys/setegid-c.yaml 0000644 00000000542 15217654525 0013751 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the effective group ID of the calling process to integer. Not available on all platforms. full_name: Process::Sys::setegid is_singleton: true name: setegid params: | Process::Sys.setegid(integer) => nil visibility: public ri/1.8/system/Process/Sys/setgid-c.yaml 0000644 00000000525 15217654525 0013605 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the group ID of the current process to integer. Not available on all platforms. full_name: Process::Sys::setgid is_singleton: true name: setgid params: | Process::Sys.setgid(integer) => nil visibility: public ri/1.8/system/Process/Sys/setresgid-c.yaml 0000644 00000000772 15217654525 0014323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the (integer) real, effective, and saved user IDs of the current process to rid, eid, and sid respectively. A value of -1 for any value means to leave that ID unchanged. Not available on all platforms. full_name: Process::Sys::setresgid is_singleton: true name: setresgid params: | Process::Sys.setresgid(rid, eid, sid) => nil visibility: public ri/1.8/system/Process/Sys/cdesc-Sys.yaml 0000644 00000002346 15217654525 0013746 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: getegid - !ruby/object:RI::MethodSummary name: geteuid - !ruby/object:RI::MethodSummary name: getgid - !ruby/object:RI::MethodSummary name: getuid - !ruby/object:RI::MethodSummary name: issetugid - !ruby/object:RI::MethodSummary name: setegid - !ruby/object:RI::MethodSummary name: seteuid - !ruby/object:RI::MethodSummary name: setgid - !ruby/object:RI::MethodSummary name: setregid - !ruby/object:RI::MethodSummary name: setresgid - !ruby/object:RI::MethodSummary name: setresuid - !ruby/object:RI::MethodSummary name: setreuid - !ruby/object:RI::MethodSummary name: setrgid - !ruby/object:RI::MethodSummary name: setruid - !ruby/object:RI::MethodSummary name: setuid comment: - !ruby/struct:SM::Flow::P body: The Process::Sys module contains UID and GID functions which provide direct bindings to the system calls of the same names instead of the more-portable versions of the same functionality found in the Process, Process::UID, and Process::GID modules. constants: [] full_name: Process::Sys includes: [] instance_methods: [] name: Sys superclass: ri/1.8/system/Process/Sys/setresuid-c.yaml 0000644 00000000772 15217654525 0014341 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the (integer) real, effective, and saved user IDs of the current process to rid, eid, and sid respectively. A value of -1 for any value means to leave that ID unchanged. Not available on all platforms. full_name: Process::Sys::setresuid is_singleton: true name: setresuid params: | Process::Sys.setresuid(rid, eid, sid) => nil visibility: public ri/1.8/system/Process/Sys/issetugid-c.yaml 0000644 00000001040 15217654525 0014317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the process was created as a result of an execve(2) system call which had either of the setuid or setgid bits set (and extra privileges were given as a result) or if it has changed any of its real, effective or saved user or group IDs since it began execution. full_name: Process::Sys::issetugid is_singleton: true name: issetugid params: | Process::Sys.issetugid => true or false visibility: public ri/1.8/system/Process/Sys/setruid-c.yaml 0000644 00000000534 15217654525 0014005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the real user ID of the calling process to integer. Not available on all platforms. full_name: Process::Sys::setruid is_singleton: true name: setruid params: | Process::Sys.setruid(integer) => nil visibility: public ri/1.8/system/Process/Sys/setreuid-c.yaml 0000644 00000000734 15217654525 0014154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the (integer) real and/or effective user IDs of the current process to rid and eid, respectively. A value of -1 for either means to leave that ID unchanged. Not available on all platforms. full_name: Process::Sys::setreuid is_singleton: true name: setreuid params: | Process::Sys.setreuid(rid, eid) => nil visibility: public ri/1.8/system/Process/Sys/setregid-c.yaml 0000644 00000000735 15217654525 0014137 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the (integer) real and/or effective group IDs of the current process to rid and eid, respectively. A value of -1 for either means to leave that ID unchanged. Not available on all platforms. full_name: Process::Sys::setregid is_singleton: true name: setregid params: | Process::Sys.setregid(rid, eid) => nil visibility: public ri/1.8/system/Process/Sys/seteuid-c.yaml 0000644 00000000541 15217654525 0013766 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the effective user ID of the calling process to integer. Not available on all platforms. full_name: Process::Sys::seteuid is_singleton: true name: seteuid params: | Process::Sys.seteuid(integer) => nil visibility: public ri/1.8/system/Process/Sys/setuid-c.yaml 0000644 00000000524 15217654525 0013622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the user ID of the current process to integer. Not available on all platforms. full_name: Process::Sys::setuid is_singleton: true name: setuid params: | Process::Sys.setuid(integer) => nil visibility: public ri/1.8/system/Process/Sys/getgid-c.yaml 0000644 00000000653 15217654525 0013573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the (real) group ID for this process. - !ruby/struct:SM::Flow::VERB body: " Process.gid #=> 500\n" full_name: Process::Sys::getgid is_singleton: true name: getgid params: | Process.gid => fixnum Process::GID.rid => fixnum Process::Sys.getgid => fixnum visibility: public ri/1.8/system/Process/Sys/geteuid-c.yaml 0000644 00000000663 15217654525 0013757 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the effective user ID for this process. - !ruby/struct:SM::Flow::VERB body: " Process.euid #=> 501\n" full_name: Process::Sys::geteuid is_singleton: true name: geteuid params: | Process.euid => fixnum Process::UID.eid => fixnum Process::Sys.geteuid => fixnum visibility: public ri/1.8/system/Process/euid-c.yaml 0000644 00000000650 15217654525 0012475 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the effective user ID for this process. - !ruby/struct:SM::Flow::VERB body: " Process.euid #=> 501\n" full_name: Process::euid is_singleton: true name: euid params: | Process.euid => fixnum Process::UID.eid => fixnum Process::Sys.geteuid => fixnum visibility: public ri/1.8/system/Process/uid%3d-c.yaml 0000644 00000000470 15217654525 0012624 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the (integer) user ID for this process. Not available on all platforms. full_name: Process::uid= is_singleton: true name: uid= params: | Process.uid= integer => numeric visibility: public ri/1.8/system/Process/groups-c.yaml 0000644 00000000641 15217654525 0013066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get an Array of the gids of groups in the supplemental group access list for this process. - !ruby/struct:SM::Flow::VERB body: " Process.groups #=> [27, 6, 10, 11]\n" full_name: Process::groups is_singleton: true name: groups params: | Process.groups => array visibility: public ri/1.8/system/Process/exec-c.yaml 0000644 00000002337 15217654525 0012477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Replaces the current process by running the given external command. If exec is given a single argument, that argument is taken as a line that is subject to shell expansion before being executed. If multiple arguments are given, the second and subsequent arguments are passed as parameters to command with no shell expansion. If the first argument is a two-element array, the first element is the command to be executed, and the second argument is used as the argv[0] value, which may show up in process listings. In MSDOS environments, the command is executed in a subshell; otherwise, one of the exec(2) system calls is used, so the running command may inherit some of the environment of the original program (including open file descriptors). - !ruby/struct:SM::Flow::VERB body: " exec "echo *" # echoes list of files in current directory\n # never get here\n\n exec "echo", "*" # echoes an asterisk\n # never get here\n" full_name: Process::exec is_singleton: true name: exec params: | exec(command [, arg, ...]) visibility: public ri/1.8/system/Process/getpgid-c.yaml 0000644 00000000645 15217654525 0013176 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the process group ID for the given process id. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " Process.getpgid(Process.ppid()) #=> 25527\n" full_name: Process::getpgid is_singleton: true name: getpgid params: | Process.getpgid(pid) => integer visibility: public ri/1.8/system/Process/Status/to_s-i.yaml 0000644 00000000427 15217654525 0014006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to stat.to_i.to_s. full_name: Process::Status#to_s is_singleton: false name: to_s params: | stat.to_s => string visibility: public ri/1.8/system/Process/Status/%3e%3e-i.yaml 0000644 00000000737 15217654525 0013717 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Shift the bits in stat right num places. - !ruby/struct:SM::Flow::VERB body: " fork { exit 99 } #=> 26563\n Process.wait #=> 26563\n $?.to_i #=> 25344\n $? >> 8 #=> 99\n" full_name: Process::Status#>> is_singleton: false name: ">>" params: | stat >> num => fixnum visibility: public ri/1.8/system/Process/Status/cdesc-Status.yaml 0000644 00000004240 15217654525 0015153 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Process::Status encapsulates the information on the status of a running or terminated system process. The built-in variable $? is either nil or a Process::Status object. - !ruby/struct:SM::Flow::VERB body: " fork { exit 99 } #=> 26557\n Process.wait #=> 26557\n $?.class #=> Process::Status\n $?.to_i #=> 25344\n $? >> 8 #=> 99\n $?.stopped? #=> false\n $?.exited? #=> true\n $?.exitstatus #=> 99\n" - !ruby/struct:SM::Flow::P body: Posix systems record information on processes using a 16-bit integer. The lower bits record the process status (stopped, exited, signaled) and the upper bits possibly contain additional information (for example the program's return code in the case of exited processes). Pre Ruby 1.8, these bits were exposed directly to the Ruby program. Ruby now encapsulates these in a Process::Status object. To maximize compatibility, however, these objects retain a bit-oriented interface. In the descriptions that follow, when we talk about the integer value of stat, we're referring to this 16 bit value. constants: [] full_name: Process::Status includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "&" - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: ">>" - !ruby/object:RI::MethodSummary name: coredump? - !ruby/object:RI::MethodSummary name: exited? - !ruby/object:RI::MethodSummary name: exitstatus - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: pid - !ruby/object:RI::MethodSummary name: signaled? - !ruby/object:RI::MethodSummary name: stopped? - !ruby/object:RI::MethodSummary name: stopsig - !ruby/object:RI::MethodSummary name: success? - !ruby/object:RI::MethodSummary name: termsig - !ruby/object:RI::MethodSummary name: to_i - !ruby/object:RI::MethodSummary name: to_int - !ruby/object:RI::MethodSummary name: to_s name: Status superclass: Object ri/1.8/system/Process/Status/%26-i.yaml 0000644 00000000754 15217654525 0013341 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Logical AND of the bits in stat with num. - !ruby/struct:SM::Flow::VERB body: " fork { exit 0x37 }\n Process.wait\n sprintf('%04x', $?.to_i) #=> "3700"\n sprintf('%04x', $? & 0x1e00) #=> "1600"\n" full_name: Process::Status#& is_singleton: false name: "&" params: | stat & num => fixnum visibility: public ri/1.8/system/Process/Status/pid-i.yaml 0000644 00000000654 15217654525 0013620 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the process ID that this status object represents. - !ruby/struct:SM::Flow::VERB body: " fork { exit } #=> 26569\n Process.wait #=> 26569\n $?.pid #=> 26569\n" full_name: Process::Status#pid is_singleton: false name: pid params: | stat.pid => fixnum visibility: public ri/1.8/system/Process/Status/to_i-i.yaml 0000644 00000001047 15217654525 0013773 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the bits in stat as a Fixnum. Poking around in these bits is platform dependent. - !ruby/struct:SM::Flow::VERB body: " fork { exit 0xab } #=> 26566\n Process.wait #=> 26566\n sprintf('%04x', $?.to_i) #=> "ab00"\n" full_name: Process::Status#to_i is_singleton: false name: to_i params: | stat.to_i => fixnum stat.to_int => fixnum visibility: public ri/1.8/system/Process/Status/exitstatus-i.yaml 0000644 00000001306 15217654525 0015254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the least significant eight bits of the return code of stat. Only available if exited? is true. - !ruby/struct:SM::Flow::VERB body: " fork { } #=> 26572\n Process.wait #=> 26572\n $?.exited? #=> true\n $?.exitstatus #=> 0\n\n fork { exit 99 } #=> 26573\n Process.wait #=> 26573\n $?.exited? #=> true\n $?.exitstatus #=> 99\n" full_name: Process::Status#exitstatus is_singleton: false name: exitstatus params: | stat.exitstatus => fixnum or nil visibility: public ri/1.8/system/Process/Status/termsig-i.yaml 0000644 00000000603 15217654525 0014510 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of the signal that caused stat to terminate (or nil if self was not terminated by an uncaught signal). full_name: Process::Status#termsig is_singleton: false name: termsig params: | stat.termsig => fixnum or nil visibility: public ri/1.8/system/Process/Status/success%3f-i.yaml 0000644 00000000613 15217654525 0015005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if stat is successful, false if not. Returns nil if exited? is not true. full_name: Process::Status#success? is_singleton: false name: success? params: | stat.success? => true, false or nil visibility: public ri/1.8/system/Process/Status/to_int-i.yaml 0000644 00000001053 15217654525 0014332 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the bits in stat as a Fixnum. Poking around in these bits is platform dependent. - !ruby/struct:SM::Flow::VERB body: " fork { exit 0xab } #=> 26566\n Process.wait #=> 26566\n sprintf('%04x', $?.to_i) #=> "ab00"\n" full_name: Process::Status#to_int is_singleton: false name: to_int params: | stat.to_i => fixnum stat.to_int => fixnum visibility: public ri/1.8/system/Process/Status/inspect-i.yaml 0000644 00000000420 15217654525 0014500 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Override the inspection method. full_name: Process::Status#inspect is_singleton: false name: inspect params: | stat.inspect => string visibility: public ri/1.8/system/Process/Status/stopped%3f-i.yaml 0000644 00000000617 15217654525 0015017 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if this process is stopped. This is only returned if the corresponding wait call had the WUNTRACED flag set. full_name: Process::Status#stopped? is_singleton: false name: stopped? params: | stat.stopped? => true or false visibility: public ri/1.8/system/Process/Status/coredump%3f-i.yaml 0000644 00000000555 15217654525 0015160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if stat generated a coredump when it terminated. Not available on all platforms. full_name: Process::Status#coredump? is_singleton: false name: coredump? params: | stat.coredump? => true or false visibility: public ri/1.8/system/Process/Status/signaled%3f-i.yaml 0000644 00000000516 15217654525 0015125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if stat terminated because of an uncaught signal. full_name: Process::Status#signaled? is_singleton: false name: signaled? params: | stat.signaled? => true or false visibility: public ri/1.8/system/Process/Status/%3d%3d-i.yaml 0000644 00000000501 15217654525 0013702 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the integer value of stat equals other. full_name: Process::Status#== is_singleton: false name: == params: | stat == other => true or false visibility: public ri/1.8/system/Process/Status/stopsig-i.yaml 0000644 00000000544 15217654525 0014532 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of the signal that caused stat to stop (or nil if self is not stopped). full_name: Process::Status#stopsig is_singleton: false name: stopsig params: | stat.stopsig => fixnum or nil visibility: public ri/1.8/system/Process/Status/exited%3f-i.yaml 0000644 00000000564 15217654525 0014624 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if stat exited normally (for example using an exit() call or finishing the program). full_name: Process::Status#exited? is_singleton: false name: exited? params: | stat.exited? => true or false visibility: public ri/1.8/system/Process/GID/re_exchange-c.yaml 0000644 00000001045 15217654525 0014421 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Exchange real and effective group IDs and return the new effective group ID. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " [Process.gid, Process.egid] #=> [0, 33]\n Process::GID.re_exchange #=> 0\n [Process.gid, Process.egid] #=> [33, 0]\n" full_name: Process::GID::re_exchange is_singleton: true name: re_exchange params: | Process::GID.re_exchange => fixnum visibility: public ri/1.8/system/Process/GID/change_privilege-c.yaml 0000644 00000001200 15217654525 0015435 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Change the current process's real and effective group ID to that specified by integer. Returns the new group ID. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " [Process.gid, Process.egid] #=> [0, 0]\n Process::GID.change_privilege(33) #=> 33\n [Process.gid, Process.egid] #=> [33, 33]\n" full_name: Process::GID::change_privilege is_singleton: true name: change_privilege params: | Process::GID.change_privilege(integer) => fixnum visibility: public ri/1.8/system/Process/GID/grant_privilege-c.yaml 0000644 00000001312 15217654525 0015327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the effective group ID, and if possible, the saved group ID of the process to the given integer. Returns the new effective group ID. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " [Process.gid, Process.egid] #=> [0, 0]\n Process::GID.grant_privilege(31) #=> 33\n [Process.gid, Process.egid] #=> [0, 33]\n" full_name: Process::GID::grant_privilege is_singleton: true name: grant_privilege params: | Process::GID.grant_privilege(integer) => fixnum Process::GID.eid = integer => fixnum visibility: public ri/1.8/system/Process/GID/eid-c.yaml 0000644 00000000711 15217654525 0012711 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the effective group ID for this process. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " Process.egid #=> 500\n" full_name: Process::GID::eid is_singleton: true name: eid params: | Process.egid => fixnum Process::GID.eid => fixnum Process::Sys.geteid => fixnum visibility: public ri/1.8/system/Process/GID/rid-c.yaml 0000644 00000000645 15217654525 0012734 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the (real) group ID for this process. - !ruby/struct:SM::Flow::VERB body: " Process.gid #=> 500\n" full_name: Process::GID::rid is_singleton: true name: rid params: | Process.gid => fixnum Process::GID.rid => fixnum Process::Sys.getgid => fixnum visibility: public ri/1.8/system/Process/GID/switch-c.yaml 0000644 00000001072 15217654525 0013452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Switch the effective and real group IDs of the current process. If a block is given, the group IDs will be switched back after the block is executed. Returns the new effective group ID if called without a block, and the return value of the block if one is given. full_name: Process::GID::switch is_singleton: true name: switch params: | Process::GID.switch => fixnum Process::GID.switch {|| block} => object visibility: public ri/1.8/system/Process/GID/sid_available%3f-c.yaml 0000644 00000000541 15217654525 0015226 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the current platform has saved group ID functionality. full_name: Process::GID::sid_available? is_singleton: true name: sid_available? params: | Process::GID.sid_available? => true or false visibility: public ri/1.8/system/Process/GID/cdesc-GID.yaml 0000644 00000001475 15217654525 0013422 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: change_privilege - !ruby/object:RI::MethodSummary name: eid - !ruby/object:RI::MethodSummary name: grant_privilege - !ruby/object:RI::MethodSummary name: re_exchange - !ruby/object:RI::MethodSummary name: re_exchangeable? - !ruby/object:RI::MethodSummary name: rid - !ruby/object:RI::MethodSummary name: sid_available? - !ruby/object:RI::MethodSummary name: switch comment: - !ruby/struct:SM::Flow::P body: The Process::GID module contains a collection of module functions which can be used to portably get, set, and switch the current process's real, effective, and saved group IDs. constants: [] full_name: Process::GID includes: [] instance_methods: [] name: GID superclass: ri/1.8/system/Process/GID/re_exchangeable%3f-c.yaml 0000644 00000000610 15217654525 0015540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the real and effective group IDs of a process may be exchanged on the current platform. full_name: Process::GID::re_exchangeable? is_singleton: true name: re_exchangeable? params: | Process::GID.re_exchangeable? => true or false visibility: public ri/1.8/system/Process/maxgroups-c.yaml 0000644 00000000617 15217654525 0013577 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the maximum number of gids allowed in the supplemental group access list. - !ruby/struct:SM::Flow::VERB body: " Process.maxgroups #=> 32\n" full_name: Process::maxgroups is_singleton: true name: maxgroups params: | Process.maxgroups => fixnum visibility: public ri/1.8/system/Process/pid-c.yaml 0000644 00000000560 15217654525 0012323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the process id of this process. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " Process.pid #=> 27415\n" full_name: Process::pid is_singleton: true name: pid params: | Process.pid => fixnum visibility: public ri/1.8/system/Process/initgroups-c.yaml 0000644 00000001505 15217654525 0013752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Initializes the supplemental group access list by reading the system group database and using all groups of which the given user is a member. The group with the specified gid is also added to the list. Returns the resulting Array of the gids of all the groups in the supplementary group access list. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " Process.groups #=> [0, 1, 2, 3, 4, 6, 10, 11, 20, 26, 27]\n Process.initgroups( "mgranger", 30 ) #=> [30, 6, 10, 11]\n Process.groups #=> [30, 6, 10, 11]\n" full_name: Process::initgroups is_singleton: true name: initgroups params: | Process.initgroups(username, gid) => array visibility: public ri/1.8/system/Process/times-c.yaml 0000644 00000000731 15217654525 0012670 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a Tms structure (see Struct::Tms on page 388) that contains user and system CPU times for this process. - !ruby/struct:SM::Flow::VERB body: " t = Process.times\n [ t.utime, t.stime ] #=> [0.0, 0.02]\n" full_name: Process::times is_singleton: true name: times params: | Process.times => aStructTms visibility: public ri/1.8/system/Process/UID/re_exchange-c.yaml 0000644 00000001043 15217654525 0014435 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Exchange real and effective user IDs and return the new effective user ID. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " [Process.uid, Process.euid] #=> [0, 31]\n Process::UID.re_exchange #=> 0\n [Process.uid, Process.euid] #=> [31, 0]\n" full_name: Process::UID::re_exchange is_singleton: true name: re_exchange params: | Process::UID.re_exchange => fixnum visibility: public ri/1.8/system/Process/UID/change_privilege-c.yaml 0000644 00000001176 15217654525 0015467 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Change the current process's real and effective user ID to that specified by integer. Returns the new user ID. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " [Process.uid, Process.euid] #=> [0, 0]\n Process::UID.change_privilege(31) #=> 31\n [Process.uid, Process.euid] #=> [31, 31]\n" full_name: Process::UID::change_privilege is_singleton: true name: change_privilege params: | Process::UID.change_privilege(integer) => fixnum visibility: public ri/1.8/system/Process/UID/grant_privilege-c.yaml 0000644 00000001305 15217654525 0015347 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the effective user ID, and if possible, the saved user ID of the process to the given integer. Returns the new effective user ID. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " [Process.uid, Process.euid] #=> [0, 0]\n Process::UID.grant_privilege(31) #=> 31\n [Process.uid, Process.euid] #=> [0, 31]\n" full_name: Process::UID::grant_privilege is_singleton: true name: grant_privilege params: | Process::UID.grant_privilege(integer) => fixnum Process::UID.eid= integer => fixnum visibility: public ri/1.8/system/Process/UID/eid-c.yaml 0000644 00000000653 15217654525 0012734 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the effective user ID for this process. - !ruby/struct:SM::Flow::VERB body: " Process.euid #=> 501\n" full_name: Process::UID::eid is_singleton: true name: eid params: | Process.euid => fixnum Process::UID.eid => fixnum Process::Sys.geteuid => fixnum visibility: public ri/1.8/system/Process/UID/rid-c.yaml 0000644 00000000643 15217654525 0012750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the (real) user ID of this process. - !ruby/struct:SM::Flow::VERB body: " Process.uid #=> 501\n" full_name: Process::UID::rid is_singleton: true name: rid params: | Process.uid => fixnum Process::UID.rid => fixnum Process::Sys.getuid => fixnum visibility: public ri/1.8/system/Process/UID/switch-c.yaml 0000644 00000001067 15217654525 0013474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Switch the effective and real user IDs of the current process. If a block is given, the user IDs will be switched back after the block is executed. Returns the new effective user ID if called without a block, and the return value of the block if one is given. full_name: Process::UID::switch is_singleton: true name: switch params: | Process::UID.switch => fixnum Process::UID.switch {|| block} => object visibility: public ri/1.8/system/Process/UID/sid_available%3f-c.yaml 0000644 00000000540 15217654525 0015243 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the current platform has saved user ID functionality. full_name: Process::UID::sid_available? is_singleton: true name: sid_available? params: | Process::UID.sid_available? => true or false visibility: public ri/1.8/system/Process/UID/re_exchangeable%3f-c.yaml 0000644 00000000607 15217654525 0015564 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the real and effective user IDs of a process may be exchanged on the current platform. full_name: Process::UID::re_exchangeable? is_singleton: true name: re_exchangeable? params: | Process::UID.re_exchangeable? => true or false visibility: public ri/1.8/system/Process/UID/cdesc-UID.yaml 0000644 00000001474 15217654525 0013455 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: change_privilege - !ruby/object:RI::MethodSummary name: eid - !ruby/object:RI::MethodSummary name: grant_privilege - !ruby/object:RI::MethodSummary name: re_exchange - !ruby/object:RI::MethodSummary name: re_exchangeable? - !ruby/object:RI::MethodSummary name: rid - !ruby/object:RI::MethodSummary name: sid_available? - !ruby/object:RI::MethodSummary name: switch comment: - !ruby/struct:SM::Flow::P body: The Process::UID module contains a collection of module functions which can be used to portably get, set, and switch the current process's real, effective, and saved user IDs. constants: [] full_name: Process::UID includes: [] instance_methods: [] name: UID superclass: ri/1.8/system/Process/waitall-c.yaml 0000644 00000001556 15217654525 0013212 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Waits for all children, returning an array of pid/status pairs (where status is a Process::Status object). - !ruby/struct:SM::Flow::VERB body: " fork { sleep 0.2; exit 2 } #=> 27432\n fork { sleep 0.1; exit 1 } #=> 27433\n fork { exit 0 } #=> 27434\n p Process.waitall\n" - !ruby/struct:SM::Flow::P body: "produces:" - !ruby/struct:SM::Flow::VERB body: " [[27434, #<Process::Status: pid=27434,exited(0)>],\n [27433, #<Process::Status: pid=27433,exited(1)>],\n [27432, #<Process::Status: pid=27432,exited(2)>]]\n" full_name: Process::waitall is_singleton: true name: waitall params: | Process.waitall => [ [pid1,status1], ...] visibility: public ri/1.8/system/Process/euid%3d-c.yaml 0000644 00000000456 15217654525 0012775 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the effective user ID for this process. Not available on all platforms. full_name: Process::euid= is_singleton: true name: euid= params: | Process.euid= integer visibility: public ri/1.8/system/Process/getpriority-c.yaml 0000644 00000001537 15217654525 0014135 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Gets the scheduling priority for specified process, process group, or user. kind indicates the kind of entity to find: one of Process::PRIO_PGRP, Process::PRIO_USER, or Process::PRIO_PROCESS. integer is an id indicating the particular process, process group, or user (an id of 0 means current). Lower priorities are more favorable for scheduling. Not available on all platforms." - !ruby/struct:SM::Flow::VERB body: " Process.getpriority(Process::PRIO_USER, 0) #=> 19\n Process.getpriority(Process::PRIO_PROCESS, 0) #=> 19\n" full_name: Process::getpriority is_singleton: true name: getpriority params: | Process.getpriority(kind, integer) => fixnum visibility: public ri/1.8/system/Process/egid-c.yaml 0000644 00000000706 15217654525 0012461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the effective group ID for this process. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " Process.egid #=> 500\n" full_name: Process::egid is_singleton: true name: egid params: | Process.egid => fixnum Process::GID.eid => fixnum Process::Sys.geteid => fixnum visibility: public ri/1.8/system/Process/maxgroups%3d-c.yaml 0000644 00000000512 15217654525 0014065 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the maximum number of gids allowed in the supplemental group access list. full_name: Process::maxgroups= is_singleton: true name: maxgroups= params: | Process.maxgroups= fixnum => fixnum visibility: public ri/1.8/system/Process/getrlimit-c.yaml 0000644 00000001544 15217654525 0013552 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Gets the resource limit of the process. cur_limit means current (soft) limit and max_limit means maximum (hard) limit. - !ruby/struct:SM::Flow::P body: "resource indicates the kind of resource to limit: such as Process::RLIMIT_CORE, Process::RLIMIT_CPU, etc. See Process.setrlimit for details." - !ruby/struct:SM::Flow::P body: cur_limit and max_limit may be Process::RLIM_INFINITY, Process::RLIM_SAVED_MAX or Process::RLIM_SAVED_CUR. See Process.setrlimit and the system getrlimit(2) manual for details. full_name: Process::getrlimit is_singleton: true name: getrlimit params: | Process.getrlimit(resource) => [cur_limit, max_limit] visibility: public ri/1.8/system/Process/kill-c.yaml 0000644 00000001703 15217654525 0012502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends the given signal to the specified process id(s), or to the current process if pid is zero. signal may be an integer signal number or a POSIX signal name (either with or without a SIG prefix). If signal is negative (or starts with a minus sign), kills process groups instead of processes. Not all signals are available on all platforms. - !ruby/struct:SM::Flow::VERB body: " pid = fork do\n Signal.trap("HUP") { puts "Ouch!"; exit }\n # ... do some work ...\n end\n # ...\n Process.kill("HUP", pid)\n Process.wait\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Ouch!\n" full_name: Process::kill is_singleton: true name: kill params: | Process.kill(signal, pid, ...) => fixnum visibility: public ri/1.8/system/Process/setpgid-c.yaml 0000644 00000000556 15217654525 0013213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the process group ID of pid (0 indicates this process) to integer. Not available on all platforms. full_name: Process::setpgid is_singleton: true name: setpgid params: | Process.setpgid(pid, integer) => 0 visibility: public ri/1.8/system/Process/detach-c.yaml 0000644 00000003643 15217654525 0013004 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Some operating systems retain the status of terminated child processes until the parent collects that status (normally using some variant of wait(). If the parent never collects this status, the child stays around as a zombie process. Process::detach prevents this by setting up a separate Ruby thread whose sole job is to reap the status of the process pid when it terminates. Use detach only when you do not intent to explicitly wait for the child to terminate. detach only checks the status periodically (currently once each second). - !ruby/struct:SM::Flow::P body: The waiting thread returns the exit status of the detached process when it terminates, so you can use Thread#join to know the result. If specified pid is not a valid child process ID, the thread returns nil immediately. - !ruby/struct:SM::Flow::P body: In this first example, we don't reap the first child process, so it appears as a zombie in the process status display. - !ruby/struct:SM::Flow::VERB body: " p1 = fork { sleep 0.1 }\n p2 = fork { sleep 0.2 }\n Process.waitpid(p2)\n sleep 2\n system("ps -ho pid,state -p #{p1}")\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " 27389 Z\n" - !ruby/struct:SM::Flow::P body: In the next example, Process::detach is used to reap the child automatically. - !ruby/struct:SM::Flow::VERB body: " p1 = fork { sleep 0.1 }\n p2 = fork { sleep 0.2 }\n Process.detach(p1)\n Process.waitpid(p2)\n sleep 2\n system("ps -ho pid,state -p #{p1}")\n" - !ruby/struct:SM::Flow::P body: (produces no output) full_name: Process::detach is_singleton: true name: detach params: | Process.detach(pid) => thread visibility: public ri/1.8/system/Process/egid%3d-c.yaml 0000644 00000000473 15217654525 0012756 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the effective group ID for this process. Not available on all platforms. full_name: Process::egid= is_singleton: true name: egid= params: | Process.egid = fixnum => fixnum visibility: public ri/1.8/system/Process/uid-c.yaml 0000644 00000000636 15217654525 0012334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the (real) user ID of this process. - !ruby/struct:SM::Flow::VERB body: " Process.uid #=> 501\n" full_name: Process::uid is_singleton: true name: uid params: | Process.uid => fixnum Process::UID.rid => fixnum Process::Sys.getuid => fixnum visibility: public ri/1.8/system/Dir/new-c.yaml 0000644 00000000425 15217654525 0011440 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new directory object for the named directory. full_name: Dir::new is_singleton: true name: new params: | Dir.new( string ) -> aDir visibility: public ri/1.8/system/Dir/foreach-c.yaml 0000644 00000001203 15217654525 0012251 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls the block once for each entry in the named directory, passing the filename of each entry as a parameter to the block. - !ruby/struct:SM::Flow::VERB body: " Dir.foreach("testdir") {|x| puts "Got #{x}" }\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Got .\n Got ..\n Got config.h\n Got main.rb\n" full_name: Dir::foreach is_singleton: true name: foreach params: | Dir.foreach( dirname ) {| filename | block } => nil visibility: public ri/1.8/system/Dir/rewind-i.yaml 0000644 00000000715 15217654525 0012147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Repositions dir to the first entry. - !ruby/struct:SM::Flow::VERB body: " d = Dir.new("testdir")\n d.read #=> "."\n d.rewind #=> #<Dir:0x401b3fb0>\n d.read #=> "."\n" full_name: Dir#rewind is_singleton: false name: rewind params: | dir.rewind => dir visibility: public ri/1.8/system/Dir/open-c.yaml 0000644 00000000776 15217654525 0011621 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: With no block, open is a synonym for Dir::new. If a block is present, it is passed aDir as a parameter. The directory is closed at the end of the block, and Dir::open returns the value of the block. full_name: Dir::open is_singleton: true name: open params: | Dir.open( string ) => aDir Dir.open( string ) {| aDir | block } => anObject visibility: public ri/1.8/system/Dir/chroot-c.yaml 0000644 00000000644 15217654525 0012150 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Changes this process's idea of the file system root. Only a privileged process may make this call. Not available on all platforms. On Unix systems, see chroot(2) for more information. full_name: Dir::chroot is_singleton: true name: chroot params: | Dir.chroot( string ) => 0 visibility: public ri/1.8/system/Dir/%5b%5d-c.yaml 0000644 00000000615 15217654525 0011521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to calling Dir.glob(array,0) and Dir.glob([string,...],0). full_name: Dir::[] is_singleton: true name: "[]" params: | Dir[ array ] => array Dir[ string [, string ...] ] => array visibility: public ri/1.8/system/Dir/glob-c.yaml 0000644 00000006730 15217654525 0011577 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the filenames found by expanding pattern which is an Array of the patterns or the pattern String, either as an array or as parameters to the block. Note that this pattern is not a regexp (it's closer to a shell glob). See File::fnmatch for the meaning of the flags parameter. Note that case sensitivity depends on your system (so File::FNM_CASEFOLD is ignored) - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*:" body: Matches any file. Can be restricted by other values in the glob. * will match all files; c* will match all files beginning with c; *c will match all files ending with c; and c will match all files that have c in them (including at the beginning or end). Equivalent to / .* /x in regexp. - !ruby/struct:SM::Flow::LI label: "**:" body: Matches directories recursively. - !ruby/struct:SM::Flow::LI label: "?:" body: Matches any one character. Equivalent to /.{1}/ in regexp. - !ruby/struct:SM::Flow::LI label: "[set]:" body: Matches any one character in set. Behaves exactly like character sets in Regexp, including set negation ([^a-z]). - !ruby/struct:SM::Flow::LI label: "{p,q}:" body: Matches either literal p or literal q. Matching literals may be more than one character in length. More than two literals may be specified. Equivalent to pattern alternation in regexp. - !ruby/struct:SM::Flow::LI label: "\\:" body: Escapes the next metacharacter. type: :NOTE - !ruby/struct:SM::Flow::VERB body: " Dir["config.?"] #=> ["config.h"]\n Dir.glob("config.?") #=> ["config.h"]\n Dir.glob("*.[a-z][a-z]") #=> ["main.rb"]\n Dir.glob("*.[^r]*") #=> ["config.h"]\n Dir.glob("*.{rb,h}") #=> ["main.rb", "config.h"]\n Dir.glob("*") #=> ["config.h", "main.rb"]\n Dir.glob("*", File::FNM_DOTMATCH) #=> [".", "..", "config.h", "main.rb"]\n\n rbfiles = File.join("**", "*.rb")\n Dir.glob(rbfiles) #=> ["main.rb",\n "lib/song.rb",\n "lib/song/karaoke.rb"]\n libdirs = File.join("**", "lib")\n Dir.glob(libdirs) #=> ["lib"]\n\n librbfiles = File.join("**", "lib", "**", "*.rb")\n Dir.glob(librbfiles) #=> ["lib/song.rb",\n "lib/song/karaoke.rb"]\n\n librbfiles = File.join("**", "lib", "*.rb")\n Dir.glob(librbfiles) #=> ["lib/song.rb"]\n" full_name: Dir::glob is_singleton: true name: glob params: | Dir.glob( pattern, [flags] ) => array Dir.glob( pattern, [flags] ) {| filename | block } => nil visibility: public ri/1.8/system/Dir/path-i.yaml 0000644 00000000615 15217654525 0011612 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the path parameter passed to dir's constructor. - !ruby/struct:SM::Flow::VERB body: " d = Dir.new("..")\n d.path #=> ".."\n" full_name: Dir#path is_singleton: false name: path params: | dir.path => string or nil visibility: public ri/1.8/system/Dir/seek-i.yaml 0000644 00000001273 15217654525 0011606 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Seeks to a particular location in dir. integer must be a value returned by Dir#tell. - !ruby/struct:SM::Flow::VERB body: " d = Dir.new("testdir") #=> #<Dir:0x401b3c40>\n d.read #=> "."\n i = d.tell #=> 12\n d.read #=> ".."\n d.seek(i) #=> #<Dir:0x401b3c40>\n d.read #=> ".."\n" full_name: Dir#seek is_singleton: false name: seek params: | dir.seek( integer ) => dir visibility: public ri/1.8/system/Dir/close-i.yaml 0000644 00000000651 15217654525 0011763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Closes the directory stream. Any further attempts to access dir will raise an IOError. - !ruby/struct:SM::Flow::VERB body: " d = Dir.new("testdir")\n d.close #=> nil\n" full_name: Dir#close is_singleton: false name: close params: | dir.close => nil visibility: public ri/1.8/system/Dir/read-i.yaml 0000644 00000001016 15217654525 0011565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads the next entry from dir and returns it as a string. Returns nil at the end of the stream. - !ruby/struct:SM::Flow::VERB body: " d = Dir.new("testdir")\n d.read #=> "."\n d.read #=> ".."\n d.read #=> "config.h"\n" full_name: Dir#read is_singleton: false name: read params: | dir.read => string or nil visibility: public ri/1.8/system/Dir/pos-i.yaml 0000644 00000000724 15217654525 0011460 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the current position in dir. See also Dir#seek. - !ruby/struct:SM::Flow::VERB body: " d = Dir.new("testdir")\n d.tell #=> 0\n d.read #=> "."\n d.tell #=> 12\n" full_name: Dir#pos is_singleton: false name: pos params: | dir.pos => integer dir.tell => integer visibility: public ri/1.8/system/Dir/tell-i.yaml 0000644 00000000726 15217654525 0011621 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the current position in dir. See also Dir#seek. - !ruby/struct:SM::Flow::VERB body: " d = Dir.new("testdir")\n d.tell #=> 0\n d.read #=> "."\n d.tell #=> 12\n" full_name: Dir#tell is_singleton: false name: tell params: | dir.pos => integer dir.tell => integer visibility: public ri/1.8/system/Dir/cdesc-Dir.yaml 0000644 00000003737 15217654525 0012235 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: chdir - !ruby/object:RI::MethodSummary name: chroot - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: entries - !ruby/object:RI::MethodSummary name: foreach - !ruby/object:RI::MethodSummary name: getwd - !ruby/object:RI::MethodSummary name: glob - !ruby/object:RI::MethodSummary name: mkdir - !ruby/object:RI::MethodSummary name: mktmpdir - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: open - !ruby/object:RI::MethodSummary name: pwd - !ruby/object:RI::MethodSummary name: rmdir - !ruby/object:RI::MethodSummary name: tmpdir - !ruby/object:RI::MethodSummary name: unlink comment: - !ruby/struct:SM::Flow::P body: Objects of class Dir are directory streams representing directories in the underlying file system. They provide a variety of ways to list directories and their contents. See also File. - !ruby/struct:SM::Flow::P body: The directory used in these examples contains the two regular files (config.h and main.rb), the parent directory (..), and the directory itself (.). constants: - !ruby/object:RI::Constant comment: name: CSIDL_LOCAL_APPDATA value: "0x001c" full_name: Dir includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: path - !ruby/object:RI::MethodSummary name: pos - !ruby/object:RI::MethodSummary name: pos= - !ruby/object:RI::MethodSummary name: read - !ruby/object:RI::MethodSummary name: rewind - !ruby/object:RI::MethodSummary name: seek - !ruby/object:RI::MethodSummary name: tell name: Dir superclass: Object ri/1.8/system/Dir/each-i.yaml 0000644 00000001165 15217654525 0011557 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls the block once for each entry in this directory, passing the filename of each entry as a parameter to the block. - !ruby/struct:SM::Flow::VERB body: " d = Dir.new("testdir")\n d.each {|x| puts "Got #{x}" }\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Got .\n Got ..\n Got config.h\n Got main.rb\n" full_name: Dir#each is_singleton: false name: each params: | dir.each { |filename| block } => dir visibility: public ri/1.8/system/Dir/inspect-i.yaml 0000644 00000000415 15217654525 0012321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a string describing this Dir object. full_name: Dir#inspect is_singleton: false name: inspect params: | dir.inspect => string visibility: public ri/1.8/system/Dir/chdir-c.yaml 0000644 00000002731 15217654525 0011742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Changes the current working directory of the process to the given string. When called without an argument, changes the directory to the value of the environment variable HOME, or LOGDIR. SystemCallError (probably Errno::ENOENT) if the target directory does not exist. - !ruby/struct:SM::Flow::P body: If a block is given, it is passed the name of the new current directory, and the block is executed with that as the current directory. The original working directory is restored when the block exits. The return value of chdir is the value of the block. chdir blocks can be nested, but in a multi-threaded program an error will be raised if a thread attempts to open a chdir block while another thread has one open. - !ruby/struct:SM::Flow::VERB body: " Dir.chdir("/var/spool/mail")\n puts Dir.pwd\n Dir.chdir("/tmp") do\n puts Dir.pwd\n Dir.chdir("/usr") do\n puts Dir.pwd\n end\n puts Dir.pwd\n end\n puts Dir.pwd\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " /var/spool/mail\n /tmp\n /usr\n /tmp\n /var/spool/mail\n" full_name: Dir::chdir is_singleton: true name: chdir params: | Dir.chdir( [ string] ) => 0 Dir.chdir( [ string] ) {| path | block } => anObject visibility: public ri/1.8/system/Dir/tmpdir-c.yaml 0000644 00000000373 15217654525 0012150 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the operating system's temporary file path. full_name: Dir::tmpdir is_singleton: true name: tmpdir params: () visibility: public ri/1.8/system/Dir/getwd-c.yaml 0000644 00000000703 15217654525 0011760 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the path to the current working directory of this process as a string. - !ruby/struct:SM::Flow::VERB body: " Dir.chdir("/tmp") #=> 0\n Dir.getwd #=> "/tmp"\n" full_name: Dir::getwd is_singleton: true name: getwd params: | Dir.getwd => string Dir.pwd => string visibility: public ri/1.8/system/Dir/mktmpdir-c.yaml 0000644 00000004541 15217654525 0012501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: path comment: - !ruby/struct:SM::Flow::P body: Dir.mktmpdir creates a temporary directory. - !ruby/struct:SM::Flow::P body: The directory is created with 0700 permission. - !ruby/struct:SM::Flow::P body: The prefix and suffix of the name of the directory is specified by the optional first argument, prefix_suffix. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: If it is not specified or nil, "d" is used as the prefix and no suffix is used. - !ruby/struct:SM::Flow::LI label: "-" body: If it is a string, it is used as the prefix and no suffix is used. - !ruby/struct:SM::Flow::LI label: "-" body: If it is an array, first element is used as the prefix and second element is used as a suffix. type: :BULLET - !ruby/struct:SM::Flow::VERB body: " Dir.mktmpdir {|dir| dir is ".../d..." }\n Dir.mktmpdir("foo") {|dir| dir is ".../foo..." }\n Dir.mktmpdir(["foo", "bar"]) {|dir| dir is ".../foo...bar" }\n" - !ruby/struct:SM::Flow::P body: The directory is created under Dir.tmpdir or the optional second argument tmpdir if non-nil value is given. - !ruby/struct:SM::Flow::VERB body: " Dir.mktmpdir {|dir| dir is "#{Dir.tmpdir}/d..." }\n Dir.mktmpdir(nil, "/var/tmp") {|dir| dir is "/var/tmp/d..." }\n" - !ruby/struct:SM::Flow::P body: If a block is given, it is yielded with the path of the directory. The directory and its contents are removed using FileUtils.remove_entry_secure before Dir.mktmpdir returns. The value of the block is returned. - !ruby/struct:SM::Flow::VERB body: " Dir.mktmpdir {|dir|\n # use the directory...\n open("#{dir}/foo", "w") { ... }\n }\n" - !ruby/struct:SM::Flow::P body: If a block is not given, The path of the directory is returned. In this case, Dir.mktmpdir doesn't remove the directory. - !ruby/struct:SM::Flow::VERB body: " dir = Dir.mktmpdir\n begin\n # use the directory...\n open("#{dir}/foo", "w") { ... }\n ensure\n # remove the directory.\n FileUtils.remove_entry_secure dir\n end\n" full_name: Dir::mktmpdir is_singleton: true name: mktmpdir params: (prefix_suffix=nil, tmpdir=nil) {|path| ...} visibility: public ri/1.8/system/Dir/mkdir-c.yaml 0000644 00000001135 15217654525 0011754 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Makes a new directory named by string, with permissions specified by the optional parameter anInteger. The permissions may be modified by the value of File::umask, and are ignored on NT. Raises a SystemCallError if the directory cannot be created. See also the discussion of permissions in the class documentation for File. full_name: Dir::mkdir is_singleton: true name: mkdir params: | Dir.mkdir( string [, integer] ) => 0 visibility: public ri/1.8/system/Dir/delete-c.yaml 0000644 00000000603 15217654525 0012107 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes the named directory. Raises a subclass of SystemCallError if the directory isn't empty. full_name: Dir::delete is_singleton: true name: delete params: | Dir.delete( string ) => 0 Dir.rmdir( string ) => 0 Dir.unlink( string ) => 0 visibility: public ri/1.8/system/Dir/pwd-c.yaml 0000644 00000000677 15217654525 0011452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the path to the current working directory of this process as a string. - !ruby/struct:SM::Flow::VERB body: " Dir.chdir("/tmp") #=> 0\n Dir.getwd #=> "/tmp"\n" full_name: Dir::pwd is_singleton: true name: pwd params: | Dir.getwd => string Dir.pwd => string visibility: public ri/1.8/system/Dir/pos%3d-i.yaml 0000644 00000001174 15217654525 0011754 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Synonym for Dir#seek, but returns the position parameter. - !ruby/struct:SM::Flow::VERB body: " d = Dir.new("testdir") #=> #<Dir:0x401b3c40>\n d.read #=> "."\n i = d.pos #=> 12\n d.read #=> ".."\n d.pos = i #=> 12\n d.read #=> ".."\n" full_name: Dir#pos= is_singleton: false name: pos= params: | dir.pos( integer ) => integer visibility: public ri/1.8/system/Dir/rmdir-c.yaml 0000644 00000000601 15217654525 0011760 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes the named directory. Raises a subclass of SystemCallError if the directory isn't empty. full_name: Dir::rmdir is_singleton: true name: rmdir params: | Dir.delete( string ) => 0 Dir.rmdir( string ) => 0 Dir.unlink( string ) => 0 visibility: public ri/1.8/system/Dir/unlink-c.yaml 0000644 00000000603 15217654525 0012145 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes the named directory. Raises a subclass of SystemCallError if the directory isn't empty. full_name: Dir::unlink is_singleton: true name: unlink params: | Dir.delete( string ) => 0 Dir.rmdir( string ) => 0 Dir.unlink( string ) => 0 visibility: public ri/1.8/system/Dir/entries-c.yaml 0000644 00000001043 15217654525 0012315 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array containing all of the filenames in the given directory. Will raise a SystemCallError if the named directory doesn't exist. - !ruby/struct:SM::Flow::VERB body: " Dir.entries("testdir") #=> [".", "..", "config.h", "main.rb"]\n" full_name: Dir::entries is_singleton: true name: entries params: | Dir.entries( dirname ) => array visibility: public ri/1.8/system/RSS/TaxonomyTopicModel/TaxonomyTopic/new-c.yaml 0000644 00000000305 15217654525 0020001 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TaxonomyTopicModel::TaxonomyTopic::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/TaxonomyTopicModel/TaxonomyTopic/maker_target-i.yaml 0000644 00000000330 15217654525 0021661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TaxonomyTopicModel::TaxonomyTopic#maker_target is_singleton: false name: maker_target params: (target) visibility: public ri/1.8/system/RSS/TaxonomyTopicModel/TaxonomyTopic/required_uri-c.yaml 0000644 00000000322 15217654525 0021706 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TaxonomyTopicModel::TaxonomyTopic::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/TaxonomyTopicModel/TaxonomyTopic/required_prefix-c.yaml 0000644 00000000330 15217654525 0022403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TaxonomyTopicModel::TaxonomyTopic::required_prefix is_singleton: true name: required_prefix params: () visibility: public ri/1.8/system/RSS/TaxonomyTopicModel/TaxonomyTopic/full_name-i.yaml 0000644 00000000314 15217654525 0021160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TaxonomyTopicModel::TaxonomyTopic#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RSS/TaxonomyTopicModel/TaxonomyTopic/cdesc-TaxonomyTopic.yaml 0000644 00000001215 15217654525 0022665 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_prefix - !ruby/object:RI::MethodSummary name: required_uri comment: constants: [] full_name: RSS::TaxonomyTopicModel::TaxonomyTopic includes: - !ruby/object:RI::IncludedModule name: RSS10 - !ruby/object:RI::IncludedModule name: DublinCoreModel - !ruby/object:RI::IncludedModule name: TaxonomyTopicsModel instance_methods: - !ruby/object:RI::MethodSummary name: full_name - !ruby/object:RI::MethodSummary name: maker_target name: TaxonomyTopic superclass: Element ri/1.8/system/RSS/TaxonomyTopicModel/cdesc-TaxonomyTopicModel.yaml 0000644 00000000407 15217654525 0021033 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: [] full_name: RSS::TaxonomyTopicModel includes: [] instance_methods: [] name: TaxonomyTopicModel superclass: ri/1.8/system/RSS/TaxonomyTopicModel/append_features-c.yaml 0000644 00000000316 15217654525 0017542 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TaxonomyTopicModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/XMLStyleSheet/new-c.yaml 0000644 00000000262 15217654525 0014042 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLStyleSheet::new is_singleton: true name: new params: (*attrs) visibility: public ri/1.8/system/RSS/XMLStyleSheet/to_s-i.yaml 0000644 00000000256 15217654525 0014226 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLStyleSheet#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/RSS/XMLStyleSheet/guess_type-i.yaml 0000644 00000000303 15217654525 0015442 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLStyleSheet#guess_type is_singleton: false name: guess_type params: (filename) visibility: private ri/1.8/system/RSS/XMLStyleSheet/cdesc-XMLStyleSheet.yaml 0000644 00000001543 15217654525 0016565 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: do_validate rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: ATTRIBUTES value: "%w(href type title media charset alternate)" - !ruby/object:RI::Constant comment: name: GUESS_TABLE value: "{ \"xsl\" => \"text/xsl\", \"css\" => \"text/css\", }" full_name: RSS::XMLStyleSheet includes: - !ruby/object:RI::IncludedModule name: Utils instance_methods: - !ruby/object:RI::MethodSummary name: alternate= - !ruby/object:RI::MethodSummary name: guess_type - !ruby/object:RI::MethodSummary name: href= - !ruby/object:RI::MethodSummary name: setup_maker - !ruby/object:RI::MethodSummary name: to_s name: XMLStyleSheet superclass: Object ri/1.8/system/RSS/XMLStyleSheet/alternate%3d-i.yaml 0000644 00000000277 15217654525 0015540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLStyleSheet#alternate= is_singleton: false name: alternate= params: (value) visibility: public ri/1.8/system/RSS/XMLStyleSheet/href%3d-i.yaml 0000644 00000000265 15217654525 0014502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLStyleSheet#href= is_singleton: false name: href= params: (value) visibility: public ri/1.8/system/RSS/XMLStyleSheet/setup_maker-i.yaml 0000644 00000000301 15217654525 0015570 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLStyleSheet#setup_maker is_singleton: false name: setup_maker params: (maker) visibility: public ri/1.8/system/RSS/UnknownTagError/new-c.yaml 0000644 00000000266 15217654525 0014501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::UnknownTagError::new is_singleton: true name: new params: (tag, uri) visibility: public ri/1.8/system/RSS/UnknownTagError/cdesc-UnknownTagError.yaml 0000644 00000000575 15217654525 0017657 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: tag rw: R - !ruby/object:RI::Attribute comment: name: uri rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::UnknownTagError includes: [] instance_methods: [] name: UnknownTagError superclass: InvalidRSSError ri/1.8/system/RSS/ImageFaviconModel/ImageFavicon/new-c.yaml 0000644 00000000303 15217654525 0017225 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ImageFaviconModel::ImageFavicon::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/ImageFaviconModel/ImageFavicon/maker_target-i.yaml 0000644 00000000327 15217654525 0021115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ImageFaviconModel::ImageFavicon#maker_target is_singleton: false name: maker_target params: (target) visibility: private ri/1.8/system/RSS/ImageFaviconModel/ImageFavicon/required_uri-c.yaml 0000644 00000000320 15217654525 0021132 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ImageFaviconModel::ImageFavicon::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/ImageFaviconModel/ImageFavicon/setup_maker_attributes-i.yaml 0000644 00000000354 15217654525 0023235 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ImageFaviconModel::ImageFavicon#setup_maker_attributes is_singleton: false name: setup_maker_attributes params: (favicon) visibility: private ri/1.8/system/RSS/ImageFaviconModel/ImageFavicon/cdesc-ImageFavicon.yaml 0000644 00000001522 15217654525 0021627 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_prefix - !ruby/object:RI::MethodSummary name: required_uri comment: constants: - !ruby/object:RI::Constant comment: name: AVAILABLE_SIZES value: "%w(small medium large)" full_name: RSS::ImageFaviconModel::ImageFavicon includes: - !ruby/object:RI::IncludedModule name: RSS10 - !ruby/object:RI::IncludedModule name: DublinCoreModel instance_methods: - !ruby/object:RI::MethodSummary name: full_name - !ruby/object:RI::MethodSummary name: image_size= - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: setup_maker_attributes - !ruby/object:RI::MethodSummary name: size= name: ImageFavicon superclass: Element ri/1.8/system/RSS/ImageFaviconModel/ImageFavicon/size%3d-i.yaml 0000644 00000000372 15217654525 0017716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: image_size= block_params: comment: full_name: RSS::ImageFaviconModel::ImageFavicon#size= is_singleton: false name: size= params: (new_value) visibility: public ri/1.8/system/RSS/ImageFaviconModel/ImageFavicon/required_prefix-c.yaml 0000644 00000000326 15217654525 0021636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ImageFaviconModel::ImageFavicon::required_prefix is_singleton: true name: required_prefix params: () visibility: public ri/1.8/system/RSS/ImageFaviconModel/ImageFavicon/full_name-i.yaml 0000644 00000000312 15217654525 0020404 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ImageFaviconModel::ImageFavicon#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RSS/ImageFaviconModel/ImageFavicon/image_size%3d-i.yaml 0000644 00000000416 15217654525 0021057 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #size=" full_name: RSS::ImageFaviconModel::ImageFavicon#image_size= is_singleton: false name: image_size= params: (new_value) visibility: public ri/1.8/system/RSS/ImageFaviconModel/cdesc-ImageFaviconModel.yaml 0000644 00000000475 15217654525 0020266 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: [] full_name: RSS::ImageFaviconModel includes: - !ruby/object:RI::IncludedModule name: ImageModelUtils instance_methods: [] name: ImageFaviconModel superclass: ri/1.8/system/RSS/ImageFaviconModel/append_features-c.yaml 0000644 00000000315 15217654525 0017254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ImageFaviconModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/MissingTagError/new-c.yaml 0000644 00000000271 15217654525 0014447 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::MissingTagError::new is_singleton: true name: new params: (tag, parent) visibility: public ri/1.8/system/RSS/MissingTagError/cdesc-MissingTagError.yaml 0000644 00000000600 15217654525 0017570 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: parent rw: R - !ruby/object:RI::Attribute comment: name: tag rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::MissingTagError includes: [] instance_methods: [] name: MissingTagError superclass: InvalidRSSError ri/1.8/system/RSS/REXMLLikeXMLParser/endElement-i.yaml 0000644 00000000303 15217654525 0016113 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::REXMLLikeXMLParser#endElement is_singleton: false name: endElement params: (name) visibility: public ri/1.8/system/RSS/REXMLLikeXMLParser/character-i.yaml 0000644 00000000301 15217654525 0015765 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::REXMLLikeXMLParser#character is_singleton: false name: character params: (data) visibility: public ri/1.8/system/RSS/REXMLLikeXMLParser/xmlDecl-i.yaml 0000644 00000000326 15217654525 0015430 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::REXMLLikeXMLParser#xmlDecl is_singleton: false name: xmlDecl params: (version, encoding, standalone) visibility: public ri/1.8/system/RSS/REXMLLikeXMLParser/processingInstruction-i.yaml 0000644 00000000344 15217654525 0020456 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::REXMLLikeXMLParser#processingInstruction is_singleton: false name: processingInstruction params: (target, content) visibility: public ri/1.8/system/RSS/REXMLLikeXMLParser/startElement-i.yaml 0000644 00000000316 15217654525 0016506 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::REXMLLikeXMLParser#startElement is_singleton: false name: startElement params: (name, attrs) visibility: public ri/1.8/system/RSS/REXMLLikeXMLParser/listener%3d-i.yaml 0000644 00000000305 15217654525 0016156 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::REXMLLikeXMLParser#listener= is_singleton: false name: listener= params: (listener) visibility: public ri/1.8/system/RSS/REXMLLikeXMLParser/cdesc-REXMLLikeXMLParser.yaml 0000644 00000001137 15217654526 0020125 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::REXMLLikeXMLParser includes: - !ruby/object:RI::IncludedModule name: "::XML::Encoding_ja" instance_methods: - !ruby/object:RI::MethodSummary name: character - !ruby/object:RI::MethodSummary name: endElement - !ruby/object:RI::MethodSummary name: listener= - !ruby/object:RI::MethodSummary name: processingInstruction - !ruby/object:RI::MethodSummary name: startElement - !ruby/object:RI::MethodSummary name: xmlDecl name: REXMLLikeXMLParser superclass: "::XML::Parser" ri/1.8/system/RSS/MissingAttributeError/new-c.yaml 0000644 00000000302 15217654526 0015673 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::MissingAttributeError::new is_singleton: true name: new params: (tag, attribute) visibility: public ri/1.8/system/RSS/MissingAttributeError/cdesc-MissingAttributeError.yaml 0000644 00000000617 15217654526 0022261 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: attribute rw: R - !ruby/object:RI::Attribute comment: name: tag rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::MissingAttributeError includes: [] instance_methods: [] name: MissingAttributeError superclass: InvalidRSSError ri/1.8/system/RSS/TooMuchTagError/new-c.yaml 0000644 00000000271 15217654526 0014415 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TooMuchTagError::new is_singleton: true name: new params: (tag, parent) visibility: public ri/1.8/system/RSS/TooMuchTagError/cdesc-TooMuchTagError.yaml 0000644 00000000600 15217654526 0017503 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: parent rw: R - !ruby/object:RI::Attribute comment: name: tag rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::TooMuchTagError includes: [] instance_methods: [] name: TooMuchTagError superclass: InvalidRSSError ri/1.8/system/RSS/ITunesModelUtils/def_element_class_accessor-i.yaml 0000644 00000000437 15217654526 0021341 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesModelUtils#def_element_class_accessor is_singleton: false name: def_element_class_accessor params: (klass, name, full_name, klass_name, recommended_attribute_name=nil) visibility: public ri/1.8/system/RSS/ITunesModelUtils/cdesc-ITunesModelUtils.yaml 0000644 00000000677 15217654526 0020073 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::ITunesModelUtils includes: - !ruby/object:RI::IncludedModule name: Utils instance_methods: - !ruby/object:RI::MethodSummary name: def_class_accessor - !ruby/object:RI::MethodSummary name: def_element_class_accessor - !ruby/object:RI::MethodSummary name: def_elements_class_accessor name: ITunesModelUtils superclass: ri/1.8/system/RSS/ITunesModelUtils/def_elements_class_accessor-i.yaml 0000644 00000000456 15217654526 0021525 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesModelUtils#def_elements_class_accessor is_singleton: false name: def_elements_class_accessor params: (klass, name, full_name, klass_name, plural_name, recommended_attribute_name=nil) visibility: public ri/1.8/system/RSS/ITunesModelUtils/def_class_accessor-i.yaml 0000644 00000000345 15217654526 0017626 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesModelUtils#def_class_accessor is_singleton: false name: def_class_accessor params: (klass, name, type, *args) visibility: public ri/1.8/system/RSS/XMLScanParser/cdesc-XMLScanParser.yaml 0000644 00000000456 15217654526 0016510 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: listener comment: constants: [] full_name: RSS::XMLScanParser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _parse name: XMLScanParser superclass: BaseParser ri/1.8/system/RSS/XMLScanParser/_parse-i.yaml 0000644 00000000263 15217654526 0014502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLScanParser#_parse is_singleton: false name: _parse params: () visibility: private ri/1.8/system/RSS/XMLScanParser/listener-c.yaml 0000644 00000000266 15217654526 0015053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLScanParser::listener is_singleton: true name: listener params: () visibility: public ri/1.8/system/RSS/UnsupportedMakerVersionError/new-c.yaml 0000644 00000000302 15217654526 0017254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::UnsupportedMakerVersionError::new is_singleton: true name: new params: (version) visibility: public ri/1.8/system/RSS/UnsupportedMakerVersionError/cdesc-UnsupportedMakerVersionError.yaml 0000644 00000000523 15217654526 0025217 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: version rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::UnsupportedMakerVersionError includes: [] instance_methods: [] name: UnsupportedMakerVersionError superclass: Error ri/1.8/system/RSS/NotValidXMLParser/new-c.yaml 0000644 00000000266 15217654526 0014653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::NotValidXMLParser::new is_singleton: true name: new params: (parser) visibility: public ri/1.8/system/RSS/NotValidXMLParser/cdesc-NotValidXMLParser.yaml 0000644 00000000376 15217654526 0020201 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::NotValidXMLParser includes: [] instance_methods: [] name: NotValidXMLParser superclass: Error ri/1.8/system/RSS/Maker/TaxonomyTopicModel/install_taxo_topic-c.yaml 0000644 00000000333 15217654526 0021333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::TaxonomyTopicModel::install_taxo_topic is_singleton: true name: install_taxo_topic params: (klass) visibility: public ri/1.8/system/RSS/Maker/TaxonomyTopicModel/TaxonomyTopicsBase/cdesc-TaxonomyTopicsBase.yaml 0000644 00000000357 15217654526 0025667 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::TaxonomyTopicModel::TaxonomyTopicsBase includes: [] instance_methods: [] name: TaxonomyTopicsBase superclass: Base RSS/Maker/TaxonomyTopicModel/TaxonomyTopicsBase/TaxonomyTopicBase/cdesc-TaxonomyTopicBase.yaml 0000644 00000000763 15217654526 0031036 0 ustar 00 ri/1.8/system --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: value rw: RW class_methods: [] comment: constants: [] full_name: RSS::Maker::TaxonomyTopicModel::TaxonomyTopicsBase::TaxonomyTopicBase includes: - !ruby/object:RI::IncludedModule name: DublinCoreModel - !ruby/object:RI::IncludedModule name: TaxonomyTopicsModel instance_methods: - !ruby/object:RI::MethodSummary name: have_required_values? name: TaxonomyTopicBase superclass: Base RSS/Maker/TaxonomyTopicModel/TaxonomyTopicsBase/TaxonomyTopicBase/have_required_values%3f-i.yaml 0000644 00000000403 15217654526 0031264 0 ustar 00 ri/1.8/system --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::TaxonomyTopicModel::TaxonomyTopicsBase::TaxonomyTopicBase#have_required_values? is_singleton: false name: have_required_values? params: () visibility: public ri/1.8/system/RSS/Maker/TaxonomyTopicModel/cdesc-TaxonomyTopicModel.yaml 0000644 00000000513 15217654526 0022071 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features - !ruby/object:RI::MethodSummary name: install_taxo_topic comment: constants: [] full_name: RSS::Maker::TaxonomyTopicModel includes: [] instance_methods: [] name: TaxonomyTopicModel superclass: ri/1.8/system/RSS/Maker/TaxonomyTopicModel/append_features-c.yaml 0000644 00000000325 15217654526 0020602 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::TaxonomyTopicModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Maker/ImageFaviconModel/install_image_favicon-c.yaml 0000644 00000000340 15217654526 0021462 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ImageFaviconModel::install_image_favicon is_singleton: true name: install_image_favicon params: (klass) visibility: public ri/1.8/system/RSS/Maker/ImageFaviconModel/cdesc-ImageFaviconModel.yaml 0000644 00000000514 15217654526 0021320 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features - !ruby/object:RI::MethodSummary name: install_image_favicon comment: constants: [] full_name: RSS::Maker::ImageFaviconModel includes: [] instance_methods: [] name: ImageFaviconModel superclass: ri/1.8/system/RSS/Maker/ImageFaviconModel/ImageFaviconBase/cdesc-ImageFaviconBase.yaml 0000644 00000001034 15217654526 0024253 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: about rw: RW - !ruby/object:RI::Attribute comment: name: image_size rw: RW class_methods: [] comment: constants: [] full_name: RSS::Maker::ImageFaviconModel::ImageFaviconBase includes: - !ruby/object:RI::IncludedModule name: Maker::DublinCoreModel instance_methods: - !ruby/object:RI::MethodSummary name: have_required_values? - !ruby/object:RI::MethodSummary name: to_feed name: ImageFaviconBase superclass: Base ri/1.8/system/RSS/Maker/ImageFaviconModel/ImageFaviconBase/to_feed-i.yaml 0000644 00000000336 15217654526 0021710 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ImageFaviconModel::ImageFaviconBase#to_feed is_singleton: false name: to_feed params: (feed, current) visibility: public ri/1.8/system/RSS/Maker/ImageFaviconModel/ImageFaviconBase/have_required_values%3f-i.yaml 0000644 00000000355 15217654526 0025004 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ImageFaviconModel::ImageFaviconBase#have_required_values? is_singleton: false name: have_required_values? params: () visibility: public ri/1.8/system/RSS/Maker/ImageFaviconModel/append_features-c.yaml 0000644 00000000324 15217654526 0020314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ImageFaviconModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Maker/TrackBackModel/TrackBackAboutsBase/cdesc-TrackBackAboutsBase.yaml 0000644 00000000355 15217654526 0024703 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::TrackBackModel::TrackBackAboutsBase includes: [] instance_methods: [] name: TrackBackAboutsBase superclass: Base ri/1.8/system/RSS/Maker/TrackBackModel/TrackBackAboutsBase/TrackBackAboutBase/to_feed-i.yaml 0000644 00000000362 15217654526 0025272 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::TrackBackModel::TrackBackAboutsBase::TrackBackAboutBase#to_feed is_singleton: false name: to_feed params: (feed, current) visibility: public RSS/Maker/TrackBackModel/TrackBackAboutsBase/TrackBackAboutBase/have_required_values%3f-i.yaml 0000644 00000000401 15217654526 0030300 0 ustar 00 ri/1.8/system --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::TrackBackModel::TrackBackAboutsBase::TrackBackAboutBase#have_required_values? is_singleton: false name: have_required_values? params: () visibility: public system/RSS/Maker/TrackBackModel/TrackBackAboutsBase/TrackBackAboutBase/cdesc-TrackBackAboutBase.yaml0000644 00000000655 15217654526 0030057 0 ustar 00 ri/1.8 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: value rw: RW class_methods: [] comment: constants: [] full_name: RSS::Maker::TrackBackModel::TrackBackAboutsBase::TrackBackAboutBase includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: have_required_values? - !ruby/object:RI::MethodSummary name: to_feed name: TrackBackAboutBase superclass: Base ri/1.8/system/RSS/Maker/TrackBackModel/cdesc-TrackBackModel.yaml 0000644 00000000406 15217654526 0020112 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: [] full_name: RSS::Maker::TrackBackModel includes: [] instance_methods: [] name: TrackBackModel superclass: ri/1.8/system/RSS/Maker/TrackBackModel/append_features-c.yaml 0000644 00000000321 15217654526 0017606 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::TrackBackModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Maker/AtomLogo/to_feed-i.yaml 0000644 00000000303 15217654526 0014767 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomLogo#to_feed is_singleton: false name: to_feed params: (feed, current) visibility: public ri/1.8/system/RSS/Maker/AtomLogo/required_variable_names-i.yaml 0000644 00000000327 15217654526 0020240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomLogo#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/AtomLogo/cdesc-AtomLogo.yaml 0000644 00000000464 15217654526 0015744 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::AtomLogo includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: AtomLogo superclass: ri/1.8/system/RSS/Maker/SetupDefaultDate/_parse_date_if_needed-i.yaml 0000644 00000000345 15217654526 0021302 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::SetupDefaultDate#_parse_date_if_needed is_singleton: false name: _parse_date_if_needed params: (date_value) visibility: private ri/1.8/system/RSS/Maker/SetupDefaultDate/cdesc-SetupDefaultDate.yaml 0000644 00000000516 15217654526 0021106 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::SetupDefaultDate includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _parse_date_if_needed - !ruby/object:RI::MethodSummary name: _set_default_values name: SetupDefaultDate superclass: ri/1.8/system/RSS/Maker/SetupDefaultDate/_set_default_values-i.yaml 0000644 00000000335 15217654526 0021066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::SetupDefaultDate#_set_default_values is_singleton: false name: _set_default_values params: (&block) visibility: private ri/1.8/system/RSS/Maker/AtomGenerator/cdesc-AtomGenerator.yaml 0000644 00000000476 15217654526 0020023 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::AtomGenerator includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: AtomGenerator superclass: ri/1.8/system/RSS/Maker/AtomGenerator/to_feed-i.yaml 0000644 00000000310 15217654526 0016013 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomGenerator#to_feed is_singleton: false name: to_feed params: (feed, current) visibility: public ri/1.8/system/RSS/Maker/AtomGenerator/required_variable_names-i.yaml 0000644 00000000334 15217654526 0021264 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomGenerator#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/Base/set_parent-i.yaml 0000644 00000000307 15217654526 0014663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base#set_parent is_singleton: false name: set_parent params: (target, parent) visibility: private ri/1.8/system/RSS/Maker/Base/new-c.yaml 0000644 00000000257 15217654526 0013306 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base::new is_singleton: true name: new params: (maker) visibility: public ri/1.8/system/RSS/Maker/Base/def_csv_element-c.yaml 0000644 00000000320 15217654526 0015626 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base::def_csv_element is_singleton: true name: def_csv_element params: (name, type=nil) visibility: public ri/1.8/system/RSS/Maker/Base/add_need_initialize_variable-c.yaml 0000644 00000000373 15217654526 0020325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base::add_need_initialize_variable is_singleton: true name: add_need_initialize_variable params: (variable_name, init_value="nil") visibility: public ri/1.8/system/RSS/Maker/Base/def_classed_element_without_accessor-c.yaml 0000644 00000000400 15217654526 0022115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base::def_classed_element_without_accessor is_singleton: true name: def_classed_element_without_accessor params: (name, class_name=nil) visibility: public ri/1.8/system/RSS/Maker/Base/def_classed_elements-c.yaml 0000644 00000000636 15217654526 0016646 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (local_variable_name, new_value_variable_name) comment: full_name: RSS::Maker::Base::def_classed_elements is_singleton: true name: def_classed_elements params: (name, attribute, plural_class_name=nil, plural_name=nil, new_name=nil) {|local_variable_name, new_value_variable_name| ...} visibility: public ri/1.8/system/RSS/Maker/Base/cdesc-Base.yaml 0000644 00000004016 15217654526 0014223 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: maker rw: R class_methods: - !ruby/object:RI::MethodSummary name: add_need_initialize_variable - !ruby/object:RI::MethodSummary name: add_other_element - !ruby/object:RI::MethodSummary name: def_array_element - !ruby/object:RI::MethodSummary name: def_classed_element - !ruby/object:RI::MethodSummary name: def_classed_element_without_accessor - !ruby/object:RI::MethodSummary name: def_classed_elements - !ruby/object:RI::MethodSummary name: def_csv_element - !ruby/object:RI::MethodSummary name: def_other_element - !ruby/object:RI::MethodSummary name: def_other_element_without_accessor - !ruby/object:RI::MethodSummary name: inherited - !ruby/object:RI::MethodSummary name: inherited_base - !ruby/object:RI::MethodSummary name: need_initialize_variables - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: other_elements comment: constants: - !ruby/object:RI::Constant comment: name: OTHER_ELEMENTS value: "[]" - !ruby/object:RI::Constant comment: name: NEED_INITIALIZE_VARIABLES value: "[]" full_name: RSS::Maker::Base includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: _set_default_values - !ruby/object:RI::MethodSummary name: current_element - !ruby/object:RI::MethodSummary name: have_required_values? - !ruby/object:RI::MethodSummary name: initialize_variables - !ruby/object:RI::MethodSummary name: not_set_required_variables - !ruby/object:RI::MethodSummary name: required_variables_are_set? - !ruby/object:RI::MethodSummary name: set_default_values - !ruby/object:RI::MethodSummary name: set_parent - !ruby/object:RI::MethodSummary name: setup_other_elements - !ruby/object:RI::MethodSummary name: setup_values - !ruby/object:RI::MethodSummary name: variable_is_set? - !ruby/object:RI::MethodSummary name: variables name: Base superclass: Object ri/1.8/system/RSS/Maker/Base/initialize_variables-i.yaml 0000644 00000000315 15217654526 0016707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base#initialize_variables is_singleton: false name: initialize_variables params: () visibility: private ri/1.8/system/RSS/Maker/Base/variable_is_set%3f-i.yaml 0000644 00000000304 15217654526 0016145 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base#variable_is_set? is_singleton: false name: variable_is_set? params: () visibility: public ri/1.8/system/RSS/Maker/Base/def_other_element_without_accessor-c.yaml 0000644 00000000354 15217654526 0021630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base::def_other_element_without_accessor is_singleton: true name: def_other_element_without_accessor params: (name) visibility: public ri/1.8/system/RSS/Maker/Base/add_other_element-c.yaml 0000644 00000000323 15217654526 0016151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base::add_other_element is_singleton: true name: add_other_element params: (variable_name) visibility: public ri/1.8/system/RSS/Maker/Base/def_other_element-c.yaml 0000644 00000000312 15217654526 0016155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base::def_other_element is_singleton: true name: def_other_element params: (name) visibility: public ri/1.8/system/RSS/Maker/Base/need_initialize_variables-c.yaml 0000644 00000000326 15217654526 0017676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base::need_initialize_variables is_singleton: true name: need_initialize_variables params: () visibility: public ri/1.8/system/RSS/Maker/Base/setup_values-i.yaml 0000644 00000000303 15217654526 0015232 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base#setup_values is_singleton: false name: setup_values params: (target) visibility: private ri/1.8/system/RSS/Maker/Base/inherited_base-c.yaml 0000644 00000000300 15217654526 0015447 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base::inherited_base is_singleton: true name: inherited_base params: () visibility: public ri/1.8/system/RSS/Maker/Base/def_array_element-c.yaml 0000644 00000000346 15217654526 0016161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base::def_array_element is_singleton: true name: def_array_element params: (name, plural=nil, klass_name=nil) visibility: public ri/1.8/system/RSS/Maker/Base/not_set_required_variables-i.yaml 0000644 00000000331 15217654526 0020117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base#not_set_required_variables is_singleton: false name: not_set_required_variables params: () visibility: private ri/1.8/system/RSS/Maker/Base/set_default_values-i.yaml 0000644 00000000414 15217654526 0016374 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: if @default_values_are_set comment: full_name: RSS::Maker::Base#set_default_values is_singleton: false name: set_default_values params: (&block) {|if @default_values_are_set| ...} visibility: private ri/1.8/system/RSS/Maker/Base/_set_default_values-i.yaml 0000644 00000000334 15217654526 0016534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: full_name: RSS::Maker::Base#_set_default_values is_singleton: false name: _set_default_values params: (&block) {|| ...} visibility: private ri/1.8/system/RSS/Maker/Base/inherited-c.yaml 0000644 00000000276 15217654526 0014471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base::inherited is_singleton: true name: inherited params: (subclass) visibility: public ri/1.8/system/RSS/Maker/Base/variables-i.yaml 0000644 00000000267 15217654526 0014474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base#variables is_singleton: false name: variables params: () visibility: private ri/1.8/system/RSS/Maker/Base/def_classed_element-c.yaml 0000644 00000000362 15217654526 0016457 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base::def_classed_element is_singleton: true name: def_classed_element params: (name, class_name=nil, attribute_name=nil) visibility: public ri/1.8/system/RSS/Maker/Base/other_elements-c.yaml 0000644 00000000300 15217654526 0015517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base::other_elements is_singleton: true name: other_elements params: () visibility: public ri/1.8/system/RSS/Maker/Base/setup_other_elements-i.yaml 0000644 00000000336 15217654526 0016756 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base#setup_other_elements is_singleton: false name: setup_other_elements params: (feed, current=nil) visibility: private ri/1.8/system/RSS/Maker/Base/have_required_values%3f-i.yaml 0000644 00000000316 15217654526 0017217 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base#have_required_values? is_singleton: false name: have_required_values? params: () visibility: public ri/1.8/system/RSS/Maker/Base/current_element-i.yaml 0000644 00000000307 15217654526 0015712 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base#current_element is_singleton: false name: current_element params: (feed) visibility: private ri/1.8/system/RSS/Maker/Base/required_variables_are_set%3f-i.yaml 0000644 00000000333 15217654526 0020366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Base#required_variables_are_set? is_singleton: false name: required_variables_are_set? params: () visibility: private ri/1.8/system/RSS/Maker/cdesc-Maker.yaml 0000644 00000000755 15217654526 0013544 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: add_maker - !ruby/object:RI::MethodSummary name: make - !ruby/object:RI::MethodSummary name: maker - !ruby/object:RI::MethodSummary name: makers - !ruby/object:RI::MethodSummary name: versions comment: constants: - !ruby/object:RI::Constant comment: name: MAKERS value: "{}" full_name: RSS::Maker includes: [] instance_methods: [] name: Maker superclass: ri/1.8/system/RSS/Maker/add_maker-c.yaml 0000644 00000000322 15217654526 0013543 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::add_maker is_singleton: true name: add_maker params: (version, normalized_version, maker) visibility: public ri/1.8/system/RSS/Maker/ITunesItemModel/ITunesDurationBase/minute%3d-i.yaml 0000644 00000000327 15217654526 0022163 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ITunesItemModel::ITunesDurationBase#minute= is_singleton: false name: minute= params: (minute) visibility: public ri/1.8/system/RSS/Maker/ITunesItemModel/ITunesDurationBase/update_content-i.yaml 0000644 00000000340 15217654526 0023375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ITunesItemModel::ITunesDurationBase#update_content is_singleton: false name: update_content params: () visibility: private ri/1.8/system/RSS/Maker/ITunesItemModel/ITunesDurationBase/second%3d-i.yaml 0000644 00000000327 15217654526 0022135 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ITunesItemModel::ITunesDurationBase#second= is_singleton: false name: second= params: (second) visibility: public ri/1.8/system/RSS/Maker/ITunesItemModel/ITunesDurationBase/cdesc-ITunesDurationBase.yaml 0000644 00000001132 15217654526 0024722 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: content rw: R class_methods: [] comment: constants: [] full_name: RSS::Maker::ITunesItemModel::ITunesDurationBase includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: content= - !ruby/object:RI::MethodSummary name: hour= - !ruby/object:RI::MethodSummary name: minute= - !ruby/object:RI::MethodSummary name: second= - !ruby/object:RI::MethodSummary name: to_feed - !ruby/object:RI::MethodSummary name: update_content name: ITunesDurationBase superclass: Base ri/1.8/system/RSS/Maker/ITunesItemModel/ITunesDurationBase/to_feed-i.yaml 0000644 00000000336 15217654526 0021773 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ITunesItemModel::ITunesDurationBase#to_feed is_singleton: false name: to_feed params: (feed, current) visibility: public ri/1.8/system/RSS/Maker/ITunesItemModel/ITunesDurationBase/content%3d-i.yaml 0000644 00000000332 15217654526 0022330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ITunesItemModel::ITunesDurationBase#content= is_singleton: false name: content= params: (content) visibility: public ri/1.8/system/RSS/Maker/ITunesItemModel/ITunesDurationBase/hour%3d-i.yaml 0000644 00000000321 15217654526 0021631 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ITunesItemModel::ITunesDurationBase#hour= is_singleton: false name: hour= params: (hour) visibility: public ri/1.8/system/RSS/Maker/ITunesItemModel/cdesc-ITunesItemModel.yaml 0000644 00000000410 15217654526 0020507 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: [] full_name: RSS::Maker::ITunesItemModel includes: [] instance_methods: [] name: ITunesItemModel superclass: ri/1.8/system/RSS/Maker/ITunesItemModel/append_features-c.yaml 0000644 00000000322 15217654526 0020010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ITunesItemModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Maker/RSSBase/new-c.yaml 0000644 00000000271 15217654526 0013672 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSSBase::new is_singleton: true name: new params: (feed_version) visibility: public ri/1.8/system/RSS/Maker/RSSBase/cdesc-RSSBase.yaml 0000644 00000001412 15217654526 0015200 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: encoding rw: RW - !ruby/object:RI::Attribute comment: name: feed_version rw: R - !ruby/object:RI::Attribute comment: name: standalone rw: RW - !ruby/object:RI::Attribute comment: name: version rw: RW class_methods: - !ruby/object:RI::MethodSummary name: make - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Maker::RSSBase includes: - !ruby/object:RI::IncludedModule name: TaxonomyTopicModel instance_methods: - !ruby/object:RI::MethodSummary name: make - !ruby/object:RI::MethodSummary name: make_xml_stylesheets - !ruby/object:RI::MethodSummary name: to_feed name: RSSBase superclass: Object ri/1.8/system/RSS/Maker/RSSBase/make-i.yaml 0000644 00000000302 15217654526 0014017 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (self) comment: full_name: RSS::Maker::RSSBase#make is_singleton: false name: make params: () {|self| ...} visibility: public ri/1.8/system/RSS/Maker/RSSBase/make_xml_stylesheets-i.yaml 0000644 00000000320 15217654526 0017333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSSBase#make_xml_stylesheets is_singleton: false name: make_xml_stylesheets params: () visibility: private ri/1.8/system/RSS/Maker/RSSBase/to_feed-i.yaml 0000644 00000000265 15217654526 0014517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSSBase#to_feed is_singleton: false name: to_feed params: () visibility: public ri/1.8/system/RSS/Maker/RSSBase/make-c.yaml 0000644 00000000276 15217654526 0014023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSSBase::make is_singleton: true name: make params: (version, &block) visibility: public ri/1.8/system/RSS/Maker/ContentModel/cdesc-ContentModel.yaml 0000644 00000000402 15217654526 0017460 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: [] full_name: RSS::Maker::ContentModel includes: [] instance_methods: [] name: ContentModel superclass: ri/1.8/system/RSS/Maker/ContentModel/append_features-c.yaml 0000644 00000000317 15217654526 0017400 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ContentModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Maker/RSS09/new-c.yaml 0000644 00000000276 15217654526 0013255 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::new is_singleton: true name: new params: (feed_version="0.92") visibility: public ri/1.8/system/RSS/Maker/RSS09/Textinput/cdesc-Textinput.yaml 0000644 00000000512 15217654526 0017324 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Textinput includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Textinput superclass: TextinputBase ri/1.8/system/RSS/Maker/RSS09/Textinput/to_feed-i.yaml 0000644 00000000301 15217654526 0016070 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Textinput#to_feed is_singleton: false name: to_feed params: (rss) visibility: public ri/1.8/system/RSS/Maker/RSS09/Textinput/required_variable_names-i.yaml 0000644 00000000337 15217654526 0021344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Textinput#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS09/Items/cdesc-Items.yaml 0000644 00000000374 15217654526 0015464 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Items superclass: ItemsBase ri/1.8/system/RSS/Maker/RSS09/Items/to_feed-i.yaml 0000644 00000000275 15217654526 0015157 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items#to_feed is_singleton: false name: to_feed params: (rss) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Links/to_feed-i.yaml 0000644 00000000320 15217654526 0017124 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Links#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Links/cdesc-Links.yaml 0000644 00000000411 15217654526 0017431 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Links includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Links superclass: LinksBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Links/Link/cdesc-Link.yaml 0000644 00000000517 15217654526 0020152 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Links::Link includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Link superclass: LinkBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Links/Link/to_feed-i.yaml 0000644 00000000326 15217654526 0020027 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Links::Link#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Links/Link/required_variable_names-i.yaml 0000644 00000000356 15217654526 0023275 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Links::Link#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS09/Items/Item/Title/cdesc-Title.yaml 0000644 00000000513 15217654526 0017436 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Title includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Title superclass: TitleBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Title/to_feed-i.yaml 0000644 00000000320 15217654526 0017125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Title#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Title/required_variable_names-i.yaml 0000644 00000000350 15217654526 0022373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Title#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS09/Items/Item/Guid/cdesc-Guid.yaml 0000644 00000000406 15217654526 0017055 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Guid includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Guid superclass: GuidBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Guid/to_feed-i.yaml 0000644 00000000313 15217654526 0016736 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Guid#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Authors/cdesc-Authors.yaml 0000644 00000000417 15217654526 0020351 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Authors includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Authors superclass: AuthorsBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Authors/Author/cdesc-Author.yaml 0000644 00000000346 15217654526 0021431 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Authors::Author includes: [] instance_methods: [] name: Author superclass: AuthorBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Authors/to_feed-i.yaml 0000644 00000000316 15217654526 0017476 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Authors#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Enclosure/to_feed-i.yaml 0000644 00000000320 15217654526 0020003 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Enclosure#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Enclosure/cdesc-Enclosure.yaml 0000644 00000000425 15217654526 0021174 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Enclosure includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Enclosure superclass: EnclosureBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Content/cdesc-Content.yaml 0000644 00000000417 15217654526 0020323 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Content includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Content superclass: ContentBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Content/to_feed-i.yaml 0000644 00000000322 15217654526 0017460 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Content#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Categories/cdesc-Categories.yaml 0000644 00000000430 15217654526 0021444 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Categories includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Categories superclass: CategoriesBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Categories/Category/cdesc-Category.yaml 0000644 00000000357 15217654526 0022721 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Categories::Category includes: [] instance_methods: [] name: Category superclass: CategoryBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Categories/to_feed-i.yaml 0000644 00000000321 15217654526 0020132 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Categories#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Links/to_feed-i.yaml 0000644 00000000324 15217654526 0020370 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Source::Links#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Links/cdesc-Links.yaml 0000644 00000000421 15217654526 0020672 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Source::Links includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Links superclass: LinksBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Links/Link/cdesc-Link.yaml 0000644 00000000346 15217654526 0021412 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Source::Links::Link includes: [] instance_methods: [] name: Link superclass: LinkBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Title/cdesc-Title.yaml 0000644 00000000421 15217654526 0020674 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Source::Title includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Title superclass: TitleBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Title/to_feed-i.yaml 0000644 00000000324 15217654526 0020371 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Source::Title#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Authors/cdesc-Authors.yaml 0000644 00000000427 15217654526 0021612 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Source::Authors includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Authors superclass: AuthorsBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Authors/Author/cdesc-Author.yaml 0000644 00000000356 15217654526 0022672 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Source::Authors::Author includes: [] instance_methods: [] name: Author superclass: AuthorBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Authors/to_feed-i.yaml 0000644 00000000326 15217654526 0020737 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Source::Authors#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Logo/cdesc-Logo.yaml 0000644 00000000416 15217654526 0020336 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Source::Logo includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Logo superclass: LogoBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Logo/to_feed-i.yaml 0000644 00000000323 15217654526 0020207 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Source::Logo#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Categories/cdesc-Categories.yaml 0000644 00000000440 15217654526 0022705 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Source::Categories includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Categories superclass: CategoriesBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Categories/Category/cdesc-Category.yaml 0000644 00000000367 15217654526 0024162 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Source::Categories::Category includes: [] instance_methods: [] name: Category superclass: CategoryBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Categories/to_feed-i.yaml 0000644 00000000331 15217654526 0021373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Source::Categories#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Generator/cdesc-Generator.yaml 0000644 00000000435 15217654526 0022413 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Source::Generator includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Generator superclass: GeneratorBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Generator/to_feed-i.yaml 0000644 00000000330 15217654526 0021233 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Source::Generator#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Subtitle/to_feed-i.yaml 0000644 00000000327 15217654526 0021106 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Source::Subtitle#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Subtitle/cdesc-Subtitle.yaml 0000644 00000000432 15217654526 0022122 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Source::Subtitle includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Subtitle superclass: SubtitleBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/to_feed-i.yaml 0000644 00000000315 15217654526 0017310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Source#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/cdesc-Source.yaml 0000644 00000000414 15217654526 0017774 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Source includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Source superclass: SourceBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Contributors/Contributor/cdesc-Contributor.yaml 0000644 00000000402 15217654526 0026052 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Source::Contributors::Contributor includes: [] instance_methods: [] name: Contributor superclass: ContributorBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Contributors/to_feed-i.yaml 0000644 00000000333 15217654526 0022005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Source::Contributors#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Contributors/cdesc-Contributors.yaml 0000644 00000000446 15217654526 0023733 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Source::Contributors includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Contributors superclass: ContributorsBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Rights/cdesc-Rights.yaml 0000644 00000000424 15217654526 0021235 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Source::Rights includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Rights superclass: RightsBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Rights/to_feed-i.yaml 0000644 00000000325 15217654526 0020551 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Source::Rights#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Icon/to_feed-i.yaml 0000644 00000000323 15217654526 0020177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Source::Icon#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Source/Icon/cdesc-Icon.yaml 0000644 00000000416 15217654526 0020316 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Source::Icon includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Icon superclass: IconBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/not_set_required_variables-i.yaml 0000644 00000000347 15217654526 0022053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item#not_set_required_variables is_singleton: false name: not_set_required_variables params: () visibility: private ri/1.8/system/RSS/Maker/RSS09/Items/Item/to_feed-i.yaml 0000644 00000000303 15217654526 0016045 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item#to_feed is_singleton: false name: to_feed params: (rss) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/required_variable_names-i.yaml 0000644 00000000341 15217654526 0021312 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS09/Items/Item/Description/cdesc-Description.yaml 0000644 00000000535 15217654526 0022046 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Description includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Description superclass: DescriptionBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Description/to_feed-i.yaml 0000644 00000000326 15217654526 0020335 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Description#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Description/required_variable_names-i.yaml 0000644 00000000356 15217654526 0023603 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Description#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS09/Items/Item/cdesc-Item.yaml 0000644 00000000607 15217654526 0016176 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: not_set_required_variables - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Item superclass: ItemBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Contributors/Contributor/cdesc-Contributor.yaml 0000644 00000000372 15217654526 0024620 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Contributors::Contributor includes: [] instance_methods: [] name: Contributor superclass: ContributorBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Contributors/to_feed-i.yaml 0000644 00000000327 15217654526 0020550 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Contributors#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS09/Items/Item/Contributors/cdesc-Contributors.yaml 0000644 00000000436 15217654526 0022472 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Contributors includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Contributors superclass: ContributorsBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Rights/cdesc-Rights.yaml 0000644 00000000414 15217654526 0017774 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Items::Item::Rights includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Rights superclass: RightsBase ri/1.8/system/RSS/Maker/RSS09/Items/Item/Rights/to_feed-i.yaml 0000644 00000000321 15217654526 0017305 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Items::Item::Rights#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS09/Channel/setup_items-i.yaml 0000644 00000000310 15217654526 0016370 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel#setup_items is_singleton: false name: setup_items params: (rss) visibility: private ri/1.8/system/RSS/Maker/RSS09/Channel/Links/to_feed-i.yaml 0000644 00000000317 15217654526 0016523 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::Links#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS09/Channel/Links/cdesc-Links.yaml 0000644 00000000405 15217654526 0017025 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Channel::Links includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Links superclass: LinksBase ri/1.8/system/RSS/Maker/RSS09/Channel/Links/Link/cdesc-Link.yaml 0000644 00000000513 15217654526 0017537 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Channel::Links::Link includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Link superclass: LinkBase ri/1.8/system/RSS/Maker/RSS09/Channel/Links/Link/to_feed-i.yaml 0000644 00000000325 15217654526 0017417 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::Links::Link#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS09/Channel/Links/Link/required_variable_names-i.yaml 0000644 00000000352 15217654526 0022662 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::Links::Link#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS09/Channel/Title/cdesc-Title.yaml 0000644 00000000507 15217654526 0017032 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Channel::Title includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Title superclass: TitleBase ri/1.8/system/RSS/Maker/RSS09/Channel/Title/to_feed-i.yaml 0000644 00000000317 15217654526 0016524 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::Title#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS09/Channel/Title/required_variable_names-i.yaml 0000644 00000000344 15217654526 0021767 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::Title#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS09/Channel/Authors/cdesc-Authors.yaml 0000644 00000000413 15217654526 0017736 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Channel::Authors includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Authors superclass: AuthorsBase ri/1.8/system/RSS/Maker/RSS09/Channel/Authors/Author/to_feed-i.yaml 0000644 00000000331 15217654526 0020326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::Authors::Author#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS09/Channel/Authors/Author/cdesc-Author.yaml 0000644 00000000421 15217654526 0021014 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Channel::Authors::Author includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Author superclass: AuthorBase ri/1.8/system/RSS/Maker/RSS09/Channel/Authors/to_feed-i.yaml 0000644 00000000321 15217654526 0017063 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::Authors#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS09/Channel/Copyright/cdesc-Copyright.yaml 0000644 00000000523 15217654526 0020606 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Channel::Copyright includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Copyright superclass: CopyrightBase ri/1.8/system/RSS/Maker/RSS09/Channel/Copyright/to_feed-i.yaml 0000644 00000000323 15217654526 0017410 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::Copyright#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS09/Channel/Copyright/required_variable_names-i.yaml 0000644 00000000350 15217654526 0022653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::Copyright#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS09/Channel/setup_image-i.yaml 0000644 00000000310 15217654526 0016331 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel#setup_image is_singleton: false name: setup_image params: (rss) visibility: private ri/1.8/system/RSS/Maker/RSS09/Channel/Categories/cdesc-Categories.yaml 0000644 00000000424 15217654526 0021040 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Channel::Categories includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Categories superclass: CategoriesBase ri/1.8/system/RSS/Maker/RSS09/Channel/Categories/Category/cdesc-Category.yaml 0000644 00000000353 15217654526 0022306 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Channel::Categories::Category includes: [] instance_methods: [] name: Category superclass: CategoryBase ri/1.8/system/RSS/Maker/RSS09/Channel/Categories/to_feed-i.yaml 0000644 00000000315 15217654526 0017526 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::Categories#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS09/Channel/setup_textinput-i.yaml 0000644 00000000320 15217654526 0017314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel#setup_textinput is_singleton: false name: setup_textinput params: (rss) visibility: private ri/1.8/system/RSS/Maker/RSS09/Channel/Generator/cdesc-Generator.yaml 0000644 00000000421 15217654526 0020537 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Channel::Generator includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Generator superclass: GeneratorBase ri/1.8/system/RSS/Maker/RSS09/Channel/Generator/to_feed-i.yaml 0000644 00000000323 15217654526 0017366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::Generator#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS09/Channel/cdesc-Channel.yaml 0000644 00000001143 15217654526 0016235 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Channel includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: not_set_required_variables - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: setup_image - !ruby/object:RI::MethodSummary name: setup_items - !ruby/object:RI::MethodSummary name: setup_textinput - !ruby/object:RI::MethodSummary name: to_feed - !ruby/object:RI::MethodSummary name: variables name: Channel superclass: ChannelBase ri/1.8/system/RSS/Maker/RSS09/Channel/SkipHours/Hour/cdesc-Hour.yaml 0000644 00000000517 15217654526 0020452 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Channel::SkipHours::Hour includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Hour superclass: HourBase ri/1.8/system/RSS/Maker/RSS09/Channel/SkipHours/Hour/to_feed-i.yaml 0000644 00000000327 15217654526 0020310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::SkipHours::Hour#to_feed is_singleton: false name: to_feed params: (rss, hours) visibility: public ri/1.8/system/RSS/Maker/RSS09/Channel/SkipHours/Hour/required_variable_names-i.yaml 0000644 00000000356 15217654526 0023555 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::SkipHours::Hour#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS09/Channel/SkipHours/to_feed-i.yaml 0000644 00000000323 15217654526 0017367 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::SkipHours#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS09/Channel/SkipHours/cdesc-SkipHours.yaml 0000644 00000000421 15217654526 0020541 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Channel::SkipHours includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: SkipHours superclass: SkipHoursBase ri/1.8/system/RSS/Maker/RSS09/Channel/not_set_required_variables-i.yaml 0000644 00000000343 15217654526 0021440 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel#not_set_required_variables is_singleton: false name: not_set_required_variables params: () visibility: private ri/1.8/system/RSS/Maker/RSS09/Channel/to_feed-i.yaml 0000644 00000000277 15217654526 0015450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel#to_feed is_singleton: false name: to_feed params: (rss) visibility: public ri/1.8/system/RSS/Maker/RSS09/Channel/variables-i.yaml 0000644 00000000301 15217654526 0015777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel#variables is_singleton: false name: variables params: () visibility: private ri/1.8/system/RSS/Maker/RSS09/Channel/required_variable_names-i.yaml 0000644 00000000335 15217654526 0020706 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS09/Channel/SkipDays/cdesc-SkipDays.yaml 0000644 00000000416 15217654526 0020145 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Channel::SkipDays includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: SkipDays superclass: SkipDaysBase ri/1.8/system/RSS/Maker/RSS09/Channel/SkipDays/to_feed-i.yaml 0000644 00000000322 15217654526 0017166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::SkipDays#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS09/Channel/SkipDays/Day/cdesc-Day.yaml 0000644 00000000513 15217654526 0017646 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Channel::SkipDays::Day includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Day superclass: DayBase ri/1.8/system/RSS/Maker/RSS09/Channel/SkipDays/Day/to_feed-i.yaml 0000644 00000000324 15217654526 0017705 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::SkipDays::Day#to_feed is_singleton: false name: to_feed params: (rss, days) visibility: public ri/1.8/system/RSS/Maker/RSS09/Channel/SkipDays/Day/required_variable_names-i.yaml 0000644 00000000354 15217654526 0023153 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::SkipDays::Day#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS09/Channel/Description/cdesc-Description.yaml 0000644 00000000531 15217654526 0021433 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Channel::Description includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Description superclass: DescriptionBase ri/1.8/system/RSS/Maker/RSS09/Channel/Description/to_feed-i.yaml 0000644 00000000325 15217654526 0017725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::Description#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS09/Channel/Description/required_variable_names-i.yaml 0000644 00000000352 15217654526 0023170 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::Description#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS09/Channel/Cloud/cdesc-Cloud.yaml 0000644 00000000405 15217654526 0017001 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Channel::Cloud includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Cloud superclass: CloudBase ri/1.8/system/RSS/Maker/RSS09/Channel/Cloud/to_feed-i.yaml 0000644 00000000310 15217654526 0016502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::Cloud#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS09/Channel/Contributors/Contributor/cdesc-Contributor.yaml 0000644 00000000366 15217654526 0024214 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Channel::Contributors::Contributor includes: [] instance_methods: [] name: Contributor superclass: ContributorBase ri/1.8/system/RSS/Maker/RSS09/Channel/Contributors/to_feed-i.yaml 0000644 00000000326 15217654526 0020140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Channel::Contributors#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS09/Channel/Contributors/cdesc-Contributors.yaml 0000644 00000000432 15217654526 0022057 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Channel::Contributors includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Contributors superclass: ContributorsBase ri/1.8/system/RSS/Maker/RSS09/setup_elements-i.yaml 0000644 00000000305 15217654526 0015517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09#setup_elements is_singleton: false name: setup_elements params: (rss) visibility: private ri/1.8/system/RSS/Maker/RSS09/make_feed-i.yaml 0000644 00000000270 15217654526 0014364 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09#make_feed is_singleton: false name: make_feed params: () visibility: private ri/1.8/system/RSS/Maker/RSS09/Image/cdesc-Image.yaml 0000644 00000000572 15217654526 0015366 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS09::Image includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_element? - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Image superclass: ImageBase ri/1.8/system/RSS/Maker/RSS09/Image/to_feed-i.yaml 0000644 00000000275 15217654526 0015120 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Image#to_feed is_singleton: false name: to_feed params: (rss) visibility: public ri/1.8/system/RSS/Maker/RSS09/Image/required_variable_names-i.yaml 0000644 00000000333 15217654526 0020356 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Image#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS09/Image/required_element%3f-i.yaml 0000644 00000000317 15217654526 0017337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS09::Image#required_element? is_singleton: false name: required_element? params: () visibility: private ri/1.8/system/RSS/Maker/RSS09/cdesc-RSS09.yaml 0000644 00000000531 15217654526 0014135 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Maker::RSS09 includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: make_feed - !ruby/object:RI::MethodSummary name: setup_elements name: RSS09 superclass: RSSBase ri/1.8/system/RSS/Maker/RSS10/new-c.yaml 0000644 00000000275 15217654526 0013244 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::new is_singleton: true name: new params: (feed_version="1.0") visibility: public ri/1.8/system/RSS/Maker/RSS10/Textinput/cdesc-Textinput.yaml 0000644 00000000612 15217654526 0017315 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Textinput includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: have_required_values? - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Textinput superclass: TextinputBase ri/1.8/system/RSS/Maker/RSS10/Textinput/to_feed-i.yaml 0000644 00000000301 15217654526 0016060 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Textinput#to_feed is_singleton: false name: to_feed params: (rss) visibility: public ri/1.8/system/RSS/Maker/RSS10/Textinput/required_variable_names-i.yaml 0000644 00000000337 15217654526 0021334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Textinput#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS10/Textinput/have_required_values%3f-i.yaml 0000644 00000000332 15217654526 0021157 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Textinput#have_required_values? is_singleton: false name: have_required_values? params: () visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/cdesc-Items.yaml 0000644 00000000374 15217654526 0015454 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Items superclass: ItemsBase ri/1.8/system/RSS/Maker/RSS10/Items/to_feed-i.yaml 0000644 00000000275 15217654526 0015147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items#to_feed is_singleton: false name: to_feed params: (rss) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Links/to_feed-i.yaml 0000644 00000000314 15217654526 0017117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Links#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Links/cdesc-Links.yaml 0000644 00000000411 15217654526 0017421 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Links includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Links superclass: LinksBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Links/Link/cdesc-Link.yaml 0000644 00000000336 15217654526 0020141 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Links::Link includes: [] instance_methods: [] name: Link superclass: LinkBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Title/cdesc-Title.yaml 0000644 00000000513 15217654526 0017426 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Title includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Title superclass: TitleBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Title/to_feed-i.yaml 0000644 00000000320 15217654526 0017115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Title#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Title/required_variable_names-i.yaml 0000644 00000000350 15217654526 0022363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Title#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS10/Items/Item/Guid/cdesc-Guid.yaml 0000644 00000000406 15217654526 0017045 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Guid includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Guid superclass: GuidBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Guid/to_feed-i.yaml 0000644 00000000313 15217654526 0016726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Guid#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Authors/cdesc-Authors.yaml 0000644 00000000417 15217654526 0020341 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Authors includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Authors superclass: AuthorsBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Authors/Author/cdesc-Author.yaml 0000644 00000000346 15217654526 0021421 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Authors::Author includes: [] instance_methods: [] name: Author superclass: AuthorBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Authors/to_feed-i.yaml 0000644 00000000316 15217654526 0017466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Authors#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Enclosure/to_feed-i.yaml 0000644 00000000320 15217654526 0017773 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Enclosure#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Enclosure/cdesc-Enclosure.yaml 0000644 00000000425 15217654526 0021164 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Enclosure includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Enclosure superclass: EnclosureBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Content/cdesc-Content.yaml 0000644 00000000417 15217654526 0020313 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Content includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Content superclass: ContentBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Content/to_feed-i.yaml 0000644 00000000322 15217654526 0017450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Content#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Categories/cdesc-Categories.yaml 0000644 00000000430 15217654526 0021434 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Categories includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Categories superclass: CategoriesBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Categories/Category/cdesc-Category.yaml 0000644 00000000357 15217654526 0022711 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Categories::Category includes: [] instance_methods: [] name: Category superclass: CategoryBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Categories/to_feed-i.yaml 0000644 00000000321 15217654526 0020122 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Categories#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Links/to_feed-i.yaml 0000644 00000000324 15217654526 0020360 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Source::Links#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Links/cdesc-Links.yaml 0000644 00000000421 15217654526 0020662 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Source::Links includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Links superclass: LinksBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Links/Link/cdesc-Link.yaml 0000644 00000000346 15217654526 0021402 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Source::Links::Link includes: [] instance_methods: [] name: Link superclass: LinkBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Title/cdesc-Title.yaml 0000644 00000000421 15217654526 0020664 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Source::Title includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Title superclass: TitleBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Title/to_feed-i.yaml 0000644 00000000324 15217654526 0020361 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Source::Title#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Authors/cdesc-Authors.yaml 0000644 00000000427 15217654526 0021602 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Source::Authors includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Authors superclass: AuthorsBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Authors/Author/cdesc-Author.yaml 0000644 00000000356 15217654526 0022662 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Source::Authors::Author includes: [] instance_methods: [] name: Author superclass: AuthorBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Authors/to_feed-i.yaml 0000644 00000000326 15217654526 0020727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Source::Authors#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Logo/cdesc-Logo.yaml 0000644 00000000416 15217654526 0020326 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Source::Logo includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Logo superclass: LogoBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Logo/to_feed-i.yaml 0000644 00000000323 15217654526 0020177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Source::Logo#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Categories/cdesc-Categories.yaml 0000644 00000000440 15217654526 0022675 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Source::Categories includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Categories superclass: CategoriesBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Categories/Category/cdesc-Category.yaml 0000644 00000000367 15217654526 0024152 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Source::Categories::Category includes: [] instance_methods: [] name: Category superclass: CategoryBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Categories/to_feed-i.yaml 0000644 00000000331 15217654526 0021363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Source::Categories#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Generator/cdesc-Generator.yaml 0000644 00000000435 15217654526 0022403 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Source::Generator includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Generator superclass: GeneratorBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Generator/to_feed-i.yaml 0000644 00000000330 15217654526 0021223 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Source::Generator#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Subtitle/to_feed-i.yaml 0000644 00000000327 15217654526 0021076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Source::Subtitle#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Subtitle/cdesc-Subtitle.yaml 0000644 00000000432 15217654526 0022112 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Source::Subtitle includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Subtitle superclass: SubtitleBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/to_feed-i.yaml 0000644 00000000315 15217654526 0017300 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Source#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/cdesc-Source.yaml 0000644 00000000414 15217654526 0017764 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Source includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Source superclass: SourceBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Contributors/Contributor/cdesc-Contributor.yaml 0000644 00000000402 15217654526 0026042 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Source::Contributors::Contributor includes: [] instance_methods: [] name: Contributor superclass: ContributorBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Contributors/to_feed-i.yaml 0000644 00000000333 15217654526 0021775 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Source::Contributors#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Contributors/cdesc-Contributors.yaml 0000644 00000000446 15217654526 0023723 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Source::Contributors includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Contributors superclass: ContributorsBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Rights/cdesc-Rights.yaml 0000644 00000000424 15217654526 0021225 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Source::Rights includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Rights superclass: RightsBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Rights/to_feed-i.yaml 0000644 00000000325 15217654526 0020541 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Source::Rights#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Icon/to_feed-i.yaml 0000644 00000000323 15217654526 0020167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Source::Icon#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Source/Icon/cdesc-Icon.yaml 0000644 00000000416 15217654526 0020306 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Source::Icon includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Icon superclass: IconBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/not_set_required_variables-i.yaml 0000644 00000000347 15217654526 0022043 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item#not_set_required_variables is_singleton: false name: not_set_required_variables params: () visibility: private ri/1.8/system/RSS/Maker/RSS10/Items/Item/to_feed-i.yaml 0000644 00000000303 15217654526 0016035 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item#to_feed is_singleton: false name: to_feed params: (rss) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/variables-i.yaml 0000644 00000000305 15217654526 0016402 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item#variables is_singleton: false name: variables params: () visibility: private ri/1.8/system/RSS/Maker/RSS10/Items/Item/required_variable_names-i.yaml 0000644 00000000341 15217654526 0021302 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS10/Items/Item/Description/cdesc-Description.yaml 0000644 00000000535 15217654526 0022036 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Description includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Description superclass: DescriptionBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Description/to_feed-i.yaml 0000644 00000000326 15217654526 0020325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Description#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Description/required_variable_names-i.yaml 0000644 00000000356 15217654526 0023573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Description#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS10/Items/Item/cdesc-Item.yaml 0000644 00000000673 15217654526 0016171 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: not_set_required_variables - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed - !ruby/object:RI::MethodSummary name: variables name: Item superclass: ItemBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Contributors/Contributor/cdesc-Contributor.yaml 0000644 00000000372 15217654526 0024610 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Contributors::Contributor includes: [] instance_methods: [] name: Contributor superclass: ContributorBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Contributors/to_feed-i.yaml 0000644 00000000327 15217654526 0020540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Contributors#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS10/Items/Item/Contributors/cdesc-Contributors.yaml 0000644 00000000436 15217654526 0022462 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Contributors includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Contributors superclass: ContributorsBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Rights/cdesc-Rights.yaml 0000644 00000000414 15217654526 0017764 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Items::Item::Rights includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Rights superclass: RightsBase ri/1.8/system/RSS/Maker/RSS10/Items/Item/Rights/to_feed-i.yaml 0000644 00000000321 15217654526 0017275 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Items::Item::Rights#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS10/Channel/setup_items-i.yaml 0000644 00000000310 15217654526 0016360 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel#setup_items is_singleton: false name: setup_items params: (rss) visibility: private ri/1.8/system/RSS/Maker/RSS10/Channel/Links/to_feed-i.yaml 0000644 00000000317 15217654526 0016513 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel::Links#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS10/Channel/Links/cdesc-Links.yaml 0000644 00000000405 15217654526 0017015 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Channel::Links includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Links superclass: LinksBase ri/1.8/system/RSS/Maker/RSS10/Channel/Links/Link/cdesc-Link.yaml 0000644 00000000513 15217654526 0017527 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Channel::Links::Link includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Link superclass: LinkBase ri/1.8/system/RSS/Maker/RSS10/Channel/Links/Link/to_feed-i.yaml 0000644 00000000325 15217654526 0017407 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel::Links::Link#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS10/Channel/Links/Link/required_variable_names-i.yaml 0000644 00000000352 15217654526 0022652 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel::Links::Link#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS10/Channel/Title/cdesc-Title.yaml 0000644 00000000507 15217654526 0017022 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Channel::Title includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Title superclass: TitleBase ri/1.8/system/RSS/Maker/RSS10/Channel/Title/to_feed-i.yaml 0000644 00000000317 15217654526 0016514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel::Title#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS10/Channel/Title/required_variable_names-i.yaml 0000644 00000000344 15217654526 0021757 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel::Title#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS10/Channel/Authors/cdesc-Authors.yaml 0000644 00000000413 15217654526 0017726 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Channel::Authors includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Authors superclass: AuthorsBase ri/1.8/system/RSS/Maker/RSS10/Channel/Authors/Author/to_feed-i.yaml 0000644 00000000331 15217654526 0020316 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel::Authors::Author#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS10/Channel/Authors/Author/cdesc-Author.yaml 0000644 00000000421 15217654526 0021004 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Channel::Authors::Author includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Author superclass: AuthorBase ri/1.8/system/RSS/Maker/RSS10/Channel/Authors/to_feed-i.yaml 0000644 00000000321 15217654526 0017053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel::Authors#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS10/Channel/Copyright/cdesc-Copyright.yaml 0000644 00000000421 15217654526 0020573 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Channel::Copyright includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Copyright superclass: CopyrightBase ri/1.8/system/RSS/Maker/RSS10/Channel/Copyright/to_feed-i.yaml 0000644 00000000323 15217654526 0017400 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel::Copyright#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS10/Channel/setup_image-i.yaml 0000644 00000000310 15217654526 0016321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel#setup_image is_singleton: false name: setup_image params: (rss) visibility: private ri/1.8/system/RSS/Maker/RSS10/Channel/Categories/cdesc-Categories.yaml 0000644 00000000424 15217654526 0021030 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Channel::Categories includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Categories superclass: CategoriesBase ri/1.8/system/RSS/Maker/RSS10/Channel/Categories/Category/cdesc-Category.yaml 0000644 00000000353 15217654526 0022276 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Channel::Categories::Category includes: [] instance_methods: [] name: Category superclass: CategoryBase ri/1.8/system/RSS/Maker/RSS10/Channel/Categories/to_feed-i.yaml 0000644 00000000315 15217654526 0017516 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel::Categories#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Channel/setup_textinput-i.yaml 0000644 00000000320 15217654526 0017304 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel#setup_textinput is_singleton: false name: setup_textinput params: (rss) visibility: private ri/1.8/system/RSS/Maker/RSS10/Channel/Generator/cdesc-Generator.yaml 0000644 00000000421 15217654526 0020527 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Channel::Generator includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Generator superclass: GeneratorBase ri/1.8/system/RSS/Maker/RSS10/Channel/Generator/to_feed-i.yaml 0000644 00000000323 15217654526 0017356 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel::Generator#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS10/Channel/cdesc-Channel.yaml 0000644 00000001057 15217654526 0016231 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Channel includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: not_set_required_variables - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: setup_image - !ruby/object:RI::MethodSummary name: setup_items - !ruby/object:RI::MethodSummary name: setup_textinput - !ruby/object:RI::MethodSummary name: to_feed name: Channel superclass: ChannelBase ri/1.8/system/RSS/Maker/RSS10/Channel/SkipHours/Hour/cdesc-Hour.yaml 0000644 00000000336 15217654526 0020441 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Channel::SkipHours::Hour includes: [] instance_methods: [] name: Hour superclass: HourBase ri/1.8/system/RSS/Maker/RSS10/Channel/SkipHours/to_feed-i.yaml 0000644 00000000314 15217654526 0017357 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel::SkipHours#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Channel/SkipHours/cdesc-SkipHours.yaml 0000644 00000000421 15217654526 0020531 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Channel::SkipHours includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: SkipHours superclass: SkipHoursBase ri/1.8/system/RSS/Maker/RSS10/Channel/not_set_required_variables-i.yaml 0000644 00000000343 15217654526 0021430 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel#not_set_required_variables is_singleton: false name: not_set_required_variables params: () visibility: private ri/1.8/system/RSS/Maker/RSS10/Channel/to_feed-i.yaml 0000644 00000000277 15217654526 0015440 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel#to_feed is_singleton: false name: to_feed params: (rss) visibility: public ri/1.8/system/RSS/Maker/RSS10/Channel/required_variable_names-i.yaml 0000644 00000000335 15217654526 0020676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS10/Channel/SkipDays/cdesc-SkipDays.yaml 0000644 00000000416 15217654526 0020135 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Channel::SkipDays includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: SkipDays superclass: SkipDaysBase ri/1.8/system/RSS/Maker/RSS10/Channel/SkipDays/to_feed-i.yaml 0000644 00000000313 15217654526 0017156 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel::SkipDays#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Channel/SkipDays/Day/cdesc-Day.yaml 0000644 00000000332 15217654526 0017635 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Channel::SkipDays::Day includes: [] instance_methods: [] name: Day superclass: DayBase ri/1.8/system/RSS/Maker/RSS10/Channel/Description/cdesc-Description.yaml 0000644 00000000531 15217654526 0021423 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Channel::Description includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Description superclass: DescriptionBase ri/1.8/system/RSS/Maker/RSS10/Channel/Description/to_feed-i.yaml 0000644 00000000325 15217654526 0017715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel::Description#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS10/Channel/Description/required_variable_names-i.yaml 0000644 00000000352 15217654526 0023160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel::Description#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS10/Channel/Cloud/cdesc-Cloud.yaml 0000644 00000000405 15217654526 0016771 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Channel::Cloud includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Cloud superclass: CloudBase ri/1.8/system/RSS/Maker/RSS10/Channel/Cloud/to_feed-i.yaml 0000644 00000000310 15217654526 0016472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel::Cloud#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/RSS10/Channel/Contributors/Contributor/cdesc-Contributor.yaml 0000644 00000000366 15217654526 0024204 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Channel::Contributors::Contributor includes: [] instance_methods: [] name: Contributor superclass: ContributorBase ri/1.8/system/RSS/Maker/RSS10/Channel/Contributors/to_feed-i.yaml 0000644 00000000326 15217654526 0020130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Channel::Contributors#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS10/Channel/Contributors/cdesc-Contributors.yaml 0000644 00000000432 15217654526 0022047 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Channel::Contributors includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Contributors superclass: ContributorsBase ri/1.8/system/RSS/Maker/RSS10/setup_elements-i.yaml 0000644 00000000305 15217654526 0015507 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10#setup_elements is_singleton: false name: setup_elements params: (rss) visibility: private ri/1.8/system/RSS/Maker/RSS10/cdesc-RSS10.yaml 0000644 00000000531 15217654526 0014115 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Maker::RSS10 includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: make_feed - !ruby/object:RI::MethodSummary name: setup_elements name: RSS10 superclass: RSSBase ri/1.8/system/RSS/Maker/RSS10/make_feed-i.yaml 0000644 00000000270 15217654526 0014354 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10#make_feed is_singleton: false name: make_feed params: () visibility: private ri/1.8/system/RSS/Maker/RSS10/Image/cdesc-Image.yaml 0000644 00000000662 15217654526 0015356 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS10::Image includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: have_required_values? - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed - !ruby/object:RI::MethodSummary name: variables name: Image superclass: ImageBase ri/1.8/system/RSS/Maker/RSS10/Image/to_feed-i.yaml 0000644 00000000275 15217654526 0015110 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Image#to_feed is_singleton: false name: to_feed params: (rss) visibility: public ri/1.8/system/RSS/Maker/RSS10/Image/variables-i.yaml 0000644 00000000277 15217654526 0015455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Image#variables is_singleton: false name: variables params: () visibility: private ri/1.8/system/RSS/Maker/RSS10/Image/required_variable_names-i.yaml 0000644 00000000333 15217654526 0020346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Image#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS10/Image/have_required_values%3f-i.yaml 0000644 00000000326 15217654526 0020200 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS10::Image#have_required_values? is_singleton: false name: have_required_values? params: () visibility: public ri/1.8/system/RSS/Maker/ImageBase/cdesc-ImageBase.yaml 0000644 00000000457 15217654526 0016136 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ImageBase includes: - !ruby/object:RI::IncludedModule name: DublinCoreModel instance_methods: - !ruby/object:RI::MethodSummary name: link name: ImageBase superclass: Object ri/1.8/system/RSS/Maker/ImageBase/link-i.yaml 0000644 00000000261 15217654526 0014416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ImageBase#link is_singleton: false name: link params: () visibility: public ri/1.8/system/RSS/Maker/versions-c.yaml 0000644 00000000256 15217654526 0013512 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::versions is_singleton: true name: versions params: () visibility: public ri/1.8/system/RSS/Maker/makers-c.yaml 0000644 00000000252 15217654526 0013120 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::makers is_singleton: true name: makers params: () visibility: public ri/1.8/system/RSS/Maker/XMLStyleSheets/XMLStyleSheet/guess_type_if_need-i.yaml 0000644 00000000345 15217654526 0023016 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::XMLStyleSheets::XMLStyleSheet#guess_type_if_need is_singleton: false name: guess_type_if_need params: (xss) visibility: private ri/1.8/system/RSS/Maker/XMLStyleSheets/XMLStyleSheet/to_feed-i.yaml 0000644 00000000317 15217654526 0020562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::XMLStyleSheets::XMLStyleSheet#to_feed is_singleton: false name: to_feed params: (feed) visibility: public ri/1.8/system/RSS/Maker/XMLStyleSheets/XMLStyleSheet/cdesc-XMLStyleSheet.yaml 0000644 00000000617 15217654526 0022463 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::XMLStyleSheets::XMLStyleSheet includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: guess_type_if_need - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: XMLStyleSheet superclass: Base ri/1.8/system/RSS/Maker/XMLStyleSheets/XMLStyleSheet/required_variable_names-i.yaml 0000644 00000000354 15217654526 0024026 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::XMLStyleSheets::XMLStyleSheet#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/XMLStyleSheets/cdesc-XMLStyleSheets.yaml 0000644 00000000323 15217654526 0020166 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::XMLStyleSheets includes: [] instance_methods: [] name: XMLStyleSheets superclass: Base ri/1.8/system/RSS/Maker/AtomCategory/cdesc-AtomCategory.yaml 0000644 00000000560 15217654526 0017473 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::AtomCategory includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed - !ruby/object:RI::MethodSummary name: variables name: AtomCategory superclass: ri/1.8/system/RSS/Maker/AtomCategory/to_feed-i.yaml 0000644 00000000307 15217654526 0015650 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomCategory#to_feed is_singleton: false name: to_feed params: (feed, current) visibility: public ri/1.8/system/RSS/Maker/AtomCategory/variables-i.yaml 0000644 00000000277 15217654526 0016221 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomCategory#variables is_singleton: false name: variables params: () visibility: private ri/1.8/system/RSS/Maker/AtomCategory/required_variable_names-i.yaml 0000644 00000000333 15217654526 0021112 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomCategory#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/SyndicationModel/append_features-c.yaml 0000644 00000000323 15217654526 0020247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::SyndicationModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Maker/SyndicationModel/cdesc-SyndicationModel.yaml 0000644 00000000412 15217654526 0021205 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: [] full_name: RSS::Maker::SyndicationModel includes: [] instance_methods: [] name: SyndicationModel superclass: ri/1.8/system/RSS/Maker/ImageItemModel/install_image_item-c.yaml 0000644 00000000327 15217654526 0020311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ImageItemModel::install_image_item is_singleton: true name: install_image_item params: (klass) visibility: public ri/1.8/system/RSS/Maker/ImageItemModel/cdesc-ImageItemModel.yaml 0000644 00000000503 15217654526 0020140 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features - !ruby/object:RI::MethodSummary name: install_image_item comment: constants: [] full_name: RSS::Maker::ImageItemModel includes: [] instance_methods: [] name: ImageItemModel superclass: ri/1.8/system/RSS/Maker/ImageItemModel/ImageItemBase/to_feed-i.yaml 0000644 00000000330 15217654526 0020524 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ImageItemModel::ImageItemBase#to_feed is_singleton: false name: to_feed params: (feed, current) visibility: public ri/1.8/system/RSS/Maker/ImageItemModel/ImageItemBase/cdesc-ImageItemBase.yaml 0000644 00000001240 15217654526 0022405 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: about rw: RW - !ruby/object:RI::Attribute comment: name: image_height rw: RW - !ruby/object:RI::Attribute comment: name: image_width rw: RW - !ruby/object:RI::Attribute comment: name: resource rw: RW class_methods: [] comment: constants: [] full_name: RSS::Maker::ImageItemModel::ImageItemBase includes: - !ruby/object:RI::IncludedModule name: Maker::DublinCoreModel instance_methods: - !ruby/object:RI::MethodSummary name: have_required_values? - !ruby/object:RI::MethodSummary name: to_feed name: ImageItemBase superclass: Base ri/1.8/system/RSS/Maker/ImageItemModel/ImageItemBase/have_required_values%3f-i.yaml 0000644 00000000347 15217654526 0023627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ImageItemModel::ImageItemBase#have_required_values? is_singleton: false name: have_required_values? params: () visibility: public ri/1.8/system/RSS/Maker/ImageItemModel/append_features-c.yaml 0000644 00000000321 15217654526 0017622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ImageItemModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Maker/maker-c.yaml 0000644 00000000257 15217654526 0012742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::maker is_singleton: true name: maker params: (version) visibility: public ri/1.8/system/RSS/Maker/DublinCoreModel/cdesc-DublinCoreModel.yaml 0000644 00000000506 15217654526 0020515 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features - !ruby/object:RI::MethodSummary name: install_dublin_core comment: constants: [] full_name: RSS::Maker::DublinCoreModel includes: [] instance_methods: [] name: DublinCoreModel superclass: ri/1.8/system/RSS/Maker/DublinCoreModel/install_dublin_core-c.yaml 0000644 00000000332 15217654526 0020657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::DublinCoreModel::install_dublin_core is_singleton: true name: install_dublin_core params: (klass) visibility: public ri/1.8/system/RSS/Maker/DublinCoreModel/append_features-c.yaml 0000644 00000000322 15217654526 0020010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::DublinCoreModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Maker/AtomPersons/cdesc-AtomPersons.yaml 0000644 00000000401 15217654526 0017215 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::AtomPersons includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: def_atom_persons name: AtomPersons superclass: ri/1.8/system/RSS/Maker/AtomPersons/def_atom_persons-i.yaml 0000644 00000000356 15217654526 0017452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomPersons#def_atom_persons is_singleton: false name: def_atom_persons params: (klass, name, maker_name, plural=nil) visibility: public ri/1.8/system/RSS/Maker/SlashModel/cdesc-SlashModel.yaml 0000644 00000000376 15217654526 0016572 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: [] full_name: RSS::Maker::SlashModel includes: [] instance_methods: [] name: SlashModel superclass: ri/1.8/system/RSS/Maker/SlashModel/append_features-c.yaml 0000644 00000000315 15217654526 0017036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::SlashModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Maker/Atom/cdesc-Atom.yaml 0000644 00000000273 15217654526 0014300 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom includes: [] instance_methods: [] name: Atom superclass: ri/1.8/system/RSS/Maker/Atom/Feed/new-c.yaml 0000644 00000000302 15217654526 0014166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::new is_singleton: true name: new params: (feed_version="1.0") visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/cdesc-Feed.yaml 0000644 00000000535 15217654526 0015107 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Maker::Atom::Feed includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: make_feed - !ruby/object:RI::MethodSummary name: setup_elements name: Feed superclass: RSSBase ri/1.8/system/RSS/Maker/Atom/Feed/Textinput/cdesc-Textinput.yaml 0000644 00000000336 15217654526 0020253 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Textinput includes: [] instance_methods: [] name: Textinput superclass: TextinputBase ri/1.8/system/RSS/Maker/Atom/Feed/Items/cdesc-Items.yaml 0000644 00000000401 15217654526 0016376 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Items includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Items superclass: ItemsBase ri/1.8/system/RSS/Maker/Atom/Feed/Items/to_feed-i.yaml 0000644 00000000303 15217654526 0016072 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items#to_feed is_singleton: false name: to_feed params: (feed) visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Links/cdesc-Links.yaml 0000644 00000000337 15217654526 0020363 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Items::Item::Links includes: [] instance_methods: [] name: Links superclass: LinksBase ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Links/Link/not_set_name-c.yaml 0000644 00000000334 15217654526 0022011 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item::Links::Link::not_set_name is_singleton: true name: not_set_name params: () visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Links/Link/cdesc-Link.yaml 0000644 00000000510 15217654526 0021066 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: not_set_name comment: constants: [] full_name: RSS::Maker::Atom::Feed::Items::Item::Links::Link includes: - !ruby/object:RI::IncludedModule name: AtomLink instance_methods: [] name: Link superclass: LinkBase ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Guid/cdesc-Guid.yaml 0000644 00000000413 15217654526 0017776 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Items::Item::Guid includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Guid superclass: GuidBase ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Guid/to_feed-i.yaml 0000644 00000000330 15217654526 0017660 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item::Guid#to_feed is_singleton: false name: to_feed params: (feed, current) visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Enclosure/to_feed-i.yaml 0000644 00000000335 15217654526 0020734 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item::Enclosure#to_feed is_singleton: false name: to_feed params: (feed, current) visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Enclosure/cdesc-Enclosure.yaml 0000644 00000000432 15217654526 0022115 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Items::Item::Enclosure includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Enclosure superclass: EnclosureBase ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Content/xml_type%3f-i.yaml 0000644 00000000323 15217654526 0021136 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item::Content#xml_type? is_singleton: false name: xml_type? params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Content/cdesc-Content.yaml 0000644 00000000676 15217654526 0021255 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Items::Item::Content includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed - !ruby/object:RI::MethodSummary name: variables - !ruby/object:RI::MethodSummary name: xml_type? name: Content superclass: ContentBase ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Content/to_feed-i.yaml 0000644 00000000333 15217654526 0020405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item::Content#to_feed is_singleton: false name: to_feed params: (feed, current) visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Content/variables-i.yaml 0000644 00000000323 15217654526 0020747 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item::Content#variables is_singleton: false name: variables params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Content/required_variable_names-i.yaml 0000644 00000000357 15217654526 0023656 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item::Content#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Categories/cdesc-Categories.yaml 0000644 00000000356 15217654526 0022376 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Items::Item::Categories includes: [] instance_methods: [] name: Categories superclass: CategoriesBase ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Categories/Category/not_set_name-c.yaml 0000644 00000000345 15217654526 0023700 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item::Categories::Category::not_set_name is_singleton: true name: not_set_name params: () visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Categories/Category/cdesc-Category.yaml 0000644 00000000535 15217654526 0023642 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: not_set_name comment: constants: [] full_name: RSS::Maker::Atom::Feed::Items::Item::Categories::Category includes: - !ruby/object:RI::IncludedModule name: AtomCategory instance_methods: [] name: Category superclass: CategoryBase ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Source/Links/cdesc-Links.yaml 0000644 00000000347 15217654526 0021624 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Items::Item::Source::Links includes: [] instance_methods: [] name: Links superclass: LinksBase ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Source/Links/Link/not_set_name-c.yaml 0000644 00000000344 15217654526 0023252 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item::Source::Links::Link::not_set_name is_singleton: true name: not_set_name params: () visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Source/Links/Link/cdesc-Link.yaml 0000644 00000000520 15217654526 0022327 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: not_set_name comment: constants: [] full_name: RSS::Maker::Atom::Feed::Items::Item::Source::Links::Link includes: - !ruby/object:RI::IncludedModule name: AtomLink instance_methods: [] name: Link superclass: LinkBase ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Source/Logo/not_set_name-c.yaml 0000644 00000000335 15217654526 0022175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item::Source::Logo::not_set_name is_singleton: true name: not_set_name params: () visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Source/Logo/cdesc-Logo.yaml 0000644 00000000511 15217654526 0021255 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: not_set_name comment: constants: [] full_name: RSS::Maker::Atom::Feed::Items::Item::Source::Logo includes: - !ruby/object:RI::IncludedModule name: AtomLogo instance_methods: [] name: Logo superclass: LogoBase ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Source/Categories/cdesc-Categories.yaml 0000644 00000000366 15217654526 0023637 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Items::Item::Source::Categories includes: [] instance_methods: [] name: Categories superclass: CategoriesBase ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Source/Categories/Category/not_set_name-c.yaml 0000644 00000000355 15217654526 0025141 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item::Source::Categories::Category::not_set_name is_singleton: true name: not_set_name params: () visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Source/Categories/Category/cdesc-Category.yaml 0000644 00000000545 15217654526 0025103 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: not_set_name comment: constants: [] full_name: RSS::Maker::Atom::Feed::Items::Item::Source::Categories::Category includes: - !ruby/object:RI::IncludedModule name: AtomCategory instance_methods: [] name: Category superclass: CategoryBase ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Source/Generator/not_set_name-c.yaml 0000644 00000000342 15217654526 0023221 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item::Source::Generator::not_set_name is_singleton: true name: not_set_name params: () visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Source/Generator/cdesc-Generator.yaml 0000644 00000000535 15217654526 0023337 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: not_set_name comment: constants: [] full_name: RSS::Maker::Atom::Feed::Items::Item::Source::Generator includes: - !ruby/object:RI::IncludedModule name: AtomGenerator instance_methods: [] name: Generator superclass: GeneratorBase ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Source/to_feed-i.yaml 0000644 00000000332 15217654526 0020232 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item::Source#to_feed is_singleton: false name: to_feed params: (feed, current) visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Source/variables-i.yaml 0000644 00000000322 15217654526 0020574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item::Source#variables is_singleton: false name: variables params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Source/required_variable_names-i.yaml 0000644 00000000356 15217654526 0023503 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item::Source#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Source/cdesc-Source.yaml 0000644 00000000607 15217654526 0020723 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Items::Item::Source includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed - !ruby/object:RI::MethodSummary name: variables name: Source superclass: SourceBase ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Source/Icon/to_feed-i.yaml 0000644 00000000340 15217654526 0021121 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item::Source::Icon#to_feed is_singleton: false name: to_feed params: (feed, current) visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Source/Icon/required_variable_names-i.yaml 0000644 00000000364 15217654526 0024372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item::Source::Icon#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/Source/Icon/cdesc-Icon.yaml 0000644 00000000525 15217654526 0021242 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Items::Item::Source::Icon includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Icon superclass: IconBase ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/not_set_required_variables-i.yaml 0000644 00000000354 15217654526 0022774 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item#not_set_required_variables is_singleton: false name: not_set_required_variables params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/_set_default_values-i.yaml 0000644 00000000344 15217654526 0021405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item#_set_default_values is_singleton: false name: _set_default_values params: (&block) visibility: private ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/to_feed-i.yaml 0000644 00000000311 15217654526 0016767 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item#to_feed is_singleton: false name: to_feed params: (feed) visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/variables-i.yaml 0000644 00000000312 15217654526 0017333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item#variables is_singleton: false name: variables params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/required_variable_names-i.yaml 0000644 00000000346 15217654526 0022242 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/cdesc-Item.yaml 0000644 00000001076 15217654526 0017122 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Items::Item includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _set_default_values - !ruby/object:RI::MethodSummary name: have_required_values? - !ruby/object:RI::MethodSummary name: not_set_required_variables - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed - !ruby/object:RI::MethodSummary name: variables name: Item superclass: ItemBase ri/1.8/system/RSS/Maker/Atom/Feed/Items/Item/have_required_values%3f-i.yaml 0000644 00000000341 15217654526 0022065 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Items::Item#have_required_values? is_singleton: false name: have_required_values? params: () visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Channel/Links/cdesc-Links.yaml 0000644 00000000333 15217654526 0017750 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Channel::Links includes: [] instance_methods: [] name: Links superclass: LinksBase ri/1.8/system/RSS/Maker/Atom/Feed/Channel/Links/Link/not_set_name-c.yaml 0000644 00000000330 15217654526 0021376 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Channel::Links::Link::not_set_name is_singleton: true name: not_set_name params: () visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Channel/Links/Link/cdesc-Link.yaml 0000644 00000000504 15217654526 0020462 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: not_set_name comment: constants: [] full_name: RSS::Maker::Atom::Feed::Channel::Links::Link includes: - !ruby/object:RI::IncludedModule name: AtomLink instance_methods: [] name: Link superclass: LinkBase ri/1.8/system/RSS/Maker/Atom/Feed/Channel/variable_is_set%3f-i.yaml 0000644 00000000324 15217654526 0020410 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Channel#variable_is_set? is_singleton: false name: variable_is_set? params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Feed/Channel/Categories/cdesc-Categories.yaml 0000644 00000000352 15217654526 0021763 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Channel::Categories includes: [] instance_methods: [] name: Categories superclass: CategoriesBase ri/1.8/system/RSS/Maker/Atom/Feed/Channel/Categories/Category/not_set_name-c.yaml 0000644 00000000341 15217654526 0023265 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Channel::Categories::Category::not_set_name is_singleton: true name: not_set_name params: () visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Channel/Categories/Category/cdesc-Category.yaml 0000644 00000000531 15217654526 0023227 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: not_set_name comment: constants: [] full_name: RSS::Maker::Atom::Feed::Channel::Categories::Category includes: - !ruby/object:RI::IncludedModule name: AtomCategory instance_methods: [] name: Category superclass: CategoryBase ri/1.8/system/RSS/Maker/Atom/Feed/Channel/Generator/not_set_name-c.yaml 0000644 00000000326 15217654526 0021354 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Channel::Generator::not_set_name is_singleton: true name: not_set_name params: () visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Channel/Generator/cdesc-Generator.yaml 0000644 00000000521 15217654526 0021463 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: not_set_name comment: constants: [] full_name: RSS::Maker::Atom::Feed::Channel::Generator includes: - !ruby/object:RI::IncludedModule name: AtomGenerator instance_methods: [] name: Generator superclass: GeneratorBase ri/1.8/system/RSS/Maker/Atom/Feed/Channel/cdesc-Channel.yaml 0000644 00000001173 15217654526 0017163 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Channel includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _set_default_values - !ruby/object:RI::MethodSummary name: have_required_values? - !ruby/object:RI::MethodSummary name: not_set_required_variables - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed - !ruby/object:RI::MethodSummary name: variable_is_set? - !ruby/object:RI::MethodSummary name: variables name: Channel superclass: ChannelBase ri/1.8/system/RSS/Maker/Atom/Feed/Channel/SkipHours/Hour/cdesc-Hour.yaml 0000644 00000000343 15217654526 0021372 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Channel::SkipHours::Hour includes: [] instance_methods: [] name: Hour superclass: HourBase ri/1.8/system/RSS/Maker/Atom/Feed/Channel/SkipHours/to_feed-i.yaml 0000644 00000000321 15217654526 0020310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Channel::SkipHours#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Channel/SkipHours/cdesc-SkipHours.yaml 0000644 00000000426 15217654526 0021471 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Channel::SkipHours includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: SkipHours superclass: SkipHoursBase ri/1.8/system/RSS/Maker/Atom/Feed/Channel/not_set_required_variables-i.yaml 0000644 00000000350 15217654526 0022361 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Channel#not_set_required_variables is_singleton: false name: not_set_required_variables params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Feed/Channel/_set_default_values-i.yaml 0000644 00000000340 15217654526 0020772 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Channel#_set_default_values is_singleton: false name: _set_default_values params: (&block) visibility: private ri/1.8/system/RSS/Maker/Atom/Feed/Channel/to_feed-i.yaml 0000644 00000000305 15217654526 0016363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Channel#to_feed is_singleton: false name: to_feed params: (feed) visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Channel/variables-i.yaml 0000644 00000000306 15217654526 0016727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Channel#variables is_singleton: false name: variables params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Feed/Channel/required_variable_names-i.yaml 0000644 00000000342 15217654526 0021627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Channel#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Feed/Channel/SkipDays/cdesc-SkipDays.yaml 0000644 00000000423 15217654526 0021066 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Channel::SkipDays includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: SkipDays superclass: SkipDaysBase ri/1.8/system/RSS/Maker/Atom/Feed/Channel/SkipDays/to_feed-i.yaml 0000644 00000000320 15217654526 0020107 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Channel::SkipDays#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Channel/SkipDays/Day/cdesc-Day.yaml 0000644 00000000337 15217654526 0020575 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Channel::SkipDays::Day includes: [] instance_methods: [] name: Day superclass: DayBase ri/1.8/system/RSS/Maker/Atom/Feed/Channel/Cloud/cdesc-Cloud.yaml 0000644 00000000412 15217654526 0017722 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Channel::Cloud includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Cloud superclass: CloudBase ri/1.8/system/RSS/Maker/Atom/Feed/Channel/Cloud/to_feed-i.yaml 0000644 00000000315 15217654526 0017432 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Channel::Cloud#to_feed is_singleton: false name: to_feed params: (*args) visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Channel/have_required_values%3f-i.yaml 0000644 00000000335 15217654526 0021461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Channel#have_required_values? is_singleton: false name: have_required_values? params: () visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/setup_elements-i.yaml 0000644 00000000313 15217654526 0016441 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed#setup_elements is_singleton: false name: setup_elements params: (feed) visibility: private ri/1.8/system/RSS/Maker/Atom/Feed/make_feed-i.yaml 0000644 00000000275 15217654526 0015314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed#make_feed is_singleton: false name: make_feed params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Feed/Image/cdesc-Image.yaml 0000644 00000000503 15217654526 0016303 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Feed::Image includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Image superclass: ImageBase ri/1.8/system/RSS/Maker/Atom/Feed/Image/to_feed-i.yaml 0000644 00000000303 15217654526 0016033 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Image#to_feed is_singleton: false name: to_feed params: (feed) visibility: public ri/1.8/system/RSS/Maker/Atom/Feed/Image/required_variable_names-i.yaml 0000644 00000000340 15217654526 0021277 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Feed::Image#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Entry/new-c.yaml 0000644 00000000303 15217654526 0014425 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Entry::new is_singleton: true name: new params: (feed_version="1.0") visibility: public ri/1.8/system/RSS/Maker/Atom/Entry/cdesc-Entry.yaml 0000644 00000000537 15217654526 0015605 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Maker::Atom::Entry includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: make_feed - !ruby/object:RI::MethodSummary name: setup_elements name: Entry superclass: RSSBase ri/1.8/system/RSS/Maker/Atom/Entry/Textinput/cdesc-Textinput.yaml 0000644 00000000337 15217654526 0020512 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Entry::Textinput includes: [] instance_methods: [] name: Textinput superclass: TextinputBase ri/1.8/system/RSS/Maker/Atom/Entry/Items/cdesc-Items.yaml 0000644 00000000402 15217654526 0016635 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Entry::Items includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Items superclass: ItemsBase ri/1.8/system/RSS/Maker/Atom/Entry/Items/to_feed-i.yaml 0000644 00000000305 15217654526 0016332 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Entry::Items#to_feed is_singleton: false name: to_feed params: (entry) visibility: public ri/1.8/system/RSS/Maker/Atom/Entry/Items/Item/variable_is_set%3f-i.yaml 0000644 00000000331 15217654526 0021253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Entry::Items::Item#variable_is_set? is_singleton: false name: variable_is_set? params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Entry/Items/Item/not_set_required_variables-i.yaml 0000644 00000000355 15217654526 0023233 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Entry::Items::Item#not_set_required_variables is_singleton: false name: not_set_required_variables params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Entry/Items/Item/_set_default_values-i.yaml 0000644 00000000345 15217654526 0021644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Entry::Items::Item#_set_default_values is_singleton: false name: _set_default_values params: (&block) visibility: private ri/1.8/system/RSS/Maker/Atom/Entry/Items/Item/to_feed-i.yaml 0000644 00000000313 15217654526 0017227 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Entry::Items::Item#to_feed is_singleton: false name: to_feed params: (entry) visibility: public ri/1.8/system/RSS/Maker/Atom/Entry/Items/Item/variables-i.yaml 0000644 00000000313 15217654526 0017572 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Entry::Items::Item#variables is_singleton: false name: variables params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Entry/Items/Item/required_variable_names-i.yaml 0000644 00000000347 15217654526 0022501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Entry::Items::Item#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Entry/Items/Item/cdesc-Item.yaml 0000644 00000003100 15217654526 0017346 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: Guid value: Feed::Items::Item::Guid - !ruby/object:RI::Constant comment: name: Enclosure value: Feed::Items::Item::Enclosure - !ruby/object:RI::Constant comment: name: Source value: Feed::Items::Item::Source - !ruby/object:RI::Constant comment: name: Categories value: Feed::Items::Item::Categories - !ruby/object:RI::Constant comment: name: Authors value: Feed::Items::Item::Authors - !ruby/object:RI::Constant comment: name: Contributors value: Feed::Items::Item::Contributors - !ruby/object:RI::Constant comment: name: Links value: Feed::Items::Item::Links - !ruby/object:RI::Constant comment: name: Rights value: Feed::Items::Item::Rights - !ruby/object:RI::Constant comment: name: Description value: Feed::Items::Item::Description - !ruby/object:RI::Constant comment: name: Title value: Feed::Items::Item::Title - !ruby/object:RI::Constant comment: name: Content value: Feed::Items::Item::Content full_name: RSS::Maker::Atom::Entry::Items::Item includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _set_default_values - !ruby/object:RI::MethodSummary name: not_set_required_variables - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed - !ruby/object:RI::MethodSummary name: variable_is_set? - !ruby/object:RI::MethodSummary name: variables name: Item superclass: ItemBase ri/1.8/system/RSS/Maker/Atom/Entry/Channel/Generator/not_set_name-c.yaml 0000644 00000000327 15217654526 0021613 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Entry::Channel::Generator::not_set_name is_singleton: true name: not_set_name params: () visibility: public ri/1.8/system/RSS/Maker/Atom/Entry/Channel/Generator/cdesc-Generator.yaml 0000644 00000000522 15217654526 0021722 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: not_set_name comment: constants: [] full_name: RSS::Maker::Atom::Entry::Channel::Generator includes: - !ruby/object:RI::IncludedModule name: AtomGenerator instance_methods: [] name: Generator superclass: GeneratorBase ri/1.8/system/RSS/Maker/Atom/Entry/Channel/cdesc-Channel.yaml 0000644 00000001370 15217654526 0017420 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: Categories value: Feed::Channel::Categories - !ruby/object:RI::Constant comment: name: Links value: Feed::Channel::Links - !ruby/object:RI::Constant comment: name: Authors value: Feed::Channel::Authors - !ruby/object:RI::Constant comment: name: Contributors value: Feed::Channel::Contributors - !ruby/object:RI::Constant comment: name: Copyright value: Feed::Channel::Copyright - !ruby/object:RI::Constant comment: name: Title value: Feed::Channel::Title full_name: RSS::Maker::Atom::Entry::Channel includes: [] instance_methods: [] name: Channel superclass: ChannelBase ri/1.8/system/RSS/Maker/Atom/Entry/Channel/SkipHours/Hour/cdesc-Hour.yaml 0000644 00000000344 15217654526 0021631 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Entry::Channel::SkipHours::Hour includes: [] instance_methods: [] name: Hour superclass: HourBase ri/1.8/system/RSS/Maker/Atom/Entry/Channel/SkipHours/cdesc-SkipHours.yaml 0000644 00000000350 15217654526 0021723 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Entry::Channel::SkipHours includes: [] instance_methods: [] name: SkipHours superclass: SkipHoursBase ri/1.8/system/RSS/Maker/Atom/Entry/Channel/SkipDays/cdesc-SkipDays.yaml 0000644 00000000345 15217654526 0021327 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Entry::Channel::SkipDays includes: [] instance_methods: [] name: SkipDays superclass: SkipDaysBase ri/1.8/system/RSS/Maker/Atom/Entry/Channel/SkipDays/Day/cdesc-Day.yaml 0000644 00000000340 15217654526 0021025 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Entry::Channel::SkipDays::Day includes: [] instance_methods: [] name: Day superclass: DayBase ri/1.8/system/RSS/Maker/Atom/Entry/Channel/Description/cdesc-Description.yaml 0000644 00000000356 15217654526 0022621 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Entry::Channel::Description includes: [] instance_methods: [] name: Description superclass: DescriptionBase ri/1.8/system/RSS/Maker/Atom/Entry/Channel/Cloud/cdesc-Cloud.yaml 0000644 00000000334 15217654526 0020163 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Entry::Channel::Cloud includes: [] instance_methods: [] name: Cloud superclass: CloudBase ri/1.8/system/RSS/Maker/Atom/Entry/setup_elements-i.yaml 0000644 00000000315 15217654526 0016701 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Entry#setup_elements is_singleton: false name: setup_elements params: (entry) visibility: private ri/1.8/system/RSS/Maker/Atom/Entry/make_feed-i.yaml 0000644 00000000276 15217654526 0015553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::Atom::Entry#make_feed is_singleton: false name: make_feed params: () visibility: private ri/1.8/system/RSS/Maker/Atom/Entry/Image/cdesc-Image.yaml 0000644 00000000323 15217654526 0016541 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::Atom::Entry::Image includes: [] instance_methods: [] name: Image superclass: ImageBase ri/1.8/system/RSS/Maker/AtomPersonConstructBase/cdesc-AtomPersonConstructBase.yaml 0000644 00000000430 15217654526 0024051 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: [] full_name: RSS::Maker::AtomPersonConstructBase includes: [] instance_methods: [] name: AtomPersonConstructBase superclass: ri/1.8/system/RSS/Maker/AtomPersonConstructBase/append_features-c.yaml 0000644 00000000332 15217654526 0021571 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomPersonConstructBase::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Maker/make-c.yaml 0000644 00000000265 15217654526 0012557 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::make is_singleton: true name: make params: (version, &block) visibility: public ri/1.8/system/RSS/Maker/AtomLink/to_feed-i.yaml 0000644 00000000303 15217654526 0014764 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomLink#to_feed is_singleton: false name: to_feed params: (feed, current) visibility: public ri/1.8/system/RSS/Maker/AtomLink/required_variable_names-i.yaml 0000644 00000000327 15217654526 0020235 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomLink#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/AtomLink/cdesc-AtomLink.yaml 0000644 00000000464 15217654526 0015736 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::AtomLink includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: AtomLink superclass: ri/1.8/system/RSS/Maker/ITunesBaseModel/cdesc-ITunesBaseModel.yaml 0000644 00000001024 15217654526 0020441 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ITunesBaseModel includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: def_class_accessor - !ruby/object:RI::MethodSummary name: def_csv_accessor - !ruby/object:RI::MethodSummary name: def_elements_class_accessor - !ruby/object:RI::MethodSummary name: def_yes_clean_other_accessor - !ruby/object:RI::MethodSummary name: def_yes_other_accessor name: ITunesBaseModel superclass: ri/1.8/system/RSS/Maker/ITunesBaseModel/def_elements_class_accessor-i.yaml 0000644 00000000514 15217654526 0022331 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ITunesBaseModel#def_elements_class_accessor is_singleton: false name: def_elements_class_accessor params: (klass, name, full_name, full_plural_name, klass_name, plural_klass_name, recommended_attribute_name=nil) visibility: public ri/1.8/system/RSS/Maker/ITunesBaseModel/def_yes_other_accessor-i.yaml 0000644 00000000353 15217654526 0021332 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ITunesBaseModel#def_yes_other_accessor is_singleton: false name: def_yes_other_accessor params: (klass, full_name) visibility: public ri/1.8/system/RSS/Maker/ITunesBaseModel/def_class_accessor-i.yaml 0000644 00000000353 15217654526 0020436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ITunesBaseModel#def_class_accessor is_singleton: false name: def_class_accessor params: (klass, name, type, *args) visibility: public ri/1.8/system/RSS/Maker/ITunesBaseModel/def_yes_clean_other_accessor-i.yaml 0000644 00000000367 15217654526 0022501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ITunesBaseModel#def_yes_clean_other_accessor is_singleton: false name: def_yes_clean_other_accessor params: (klass, full_name) visibility: public ri/1.8/system/RSS/Maker/ITunesBaseModel/def_csv_accessor-i.yaml 0000644 00000000337 15217654526 0020126 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ITunesBaseModel#def_csv_accessor is_singleton: false name: def_csv_accessor params: (klass, full_name) visibility: public ri/1.8/system/RSS/Maker/ItemsBase/new-c.yaml 0000644 00000000264 15217654526 0014306 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase::new is_singleton: true name: new params: (maker) visibility: public ri/1.8/system/RSS/Maker/ItemsBase/cdesc-ItemsBase.yaml 0000644 00000000742 15217654526 0016231 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: do_sort rw: RW - !ruby/object:RI::Attribute comment: name: max_size rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Maker::ItemsBase includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: normalize - !ruby/object:RI::MethodSummary name: sort_if_need name: ItemsBase superclass: Object ri/1.8/system/RSS/Maker/ItemsBase/sort_if_need-i.yaml 0000644 00000000302 15217654526 0016154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase#sort_if_need is_singleton: false name: sort_if_need params: () visibility: private ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/pubDate-i.yaml 0000644 00000000301 15217654526 0016570 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase::ItemBase#pubDate is_singleton: false name: pubDate params: () visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/date%3d-i.yaml 0000644 00000000302 15217654526 0016416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase::ItemBase#date= is_singleton: false name: date= params: (_date) visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/TitleBase/cdesc-TitleBase.yaml 0000644 00000000434 15217654526 0021574 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ItemsBase::ItemBase::TitleBase includes: - !ruby/object:RI::IncludedModule name: AtomTextConstructBase instance_methods: [] name: TitleBase superclass: Base ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/DescriptionBase/cdesc-DescriptionBase.yaml 0000644 00000000450 15217654526 0024176 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ItemsBase::ItemBase::DescriptionBase includes: - !ruby/object:RI::IncludedModule name: AtomTextConstructBase instance_methods: [] name: DescriptionBase superclass: Base ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/pubDate%3d-i.yaml 0000644 00000000307 15217654526 0017072 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase::ItemBase#pubDate= is_singleton: false name: pubDate= params: (date) visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/%3c%3d%3e-i.yaml 0000644 00000000276 15217654526 0016362 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase::ItemBase#<=> is_singleton: false name: <=> params: (other) visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/ContentBase/xml%3d-i.yaml 0000644 00000000415 15217654526 0020513 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #xml_content=" full_name: RSS::Maker::ItemsBase::ItemBase::ContentBase#xml= is_singleton: false name: xml= params: (content) visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/ContentBase/inline_text%3f-i.yaml 0000644 00000000330 15217654526 0022233 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase::ItemBase::ContentBase#inline_text? is_singleton: false name: inline_text? params: () visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/ContentBase/cdesc-ContentBase.yaml 0000644 00000001542 15217654526 0022457 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ItemsBase::ItemBase::ContentBase includes: - !ruby/object:RI::IncludedModule name: AtomTextConstructBase::EnsureXMLContent instance_methods: - !ruby/object:RI::MethodSummary name: inline_html? - !ruby/object:RI::MethodSummary name: inline_other? - !ruby/object:RI::MethodSummary name: inline_other_base64? - !ruby/object:RI::MethodSummary name: inline_other_text? - !ruby/object:RI::MethodSummary name: inline_other_xml? - !ruby/object:RI::MethodSummary name: inline_text? - !ruby/object:RI::MethodSummary name: inline_xhtml? - !ruby/object:RI::MethodSummary name: out_of_line? - !ruby/object:RI::MethodSummary name: xml= - !ruby/object:RI::MethodSummary name: xml_content= name: ContentBase superclass: Base ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/ContentBase/inline_html%3f-i.yaml 0000644 00000000330 15217654526 0022213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase::ItemBase::ContentBase#inline_html? is_singleton: false name: inline_html? params: () visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/ContentBase/inline_xhtml%3f-i.yaml 0000644 00000000332 15217654526 0022405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase::ItemBase::ContentBase#inline_xhtml? is_singleton: false name: inline_xhtml? params: () visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/ContentBase/inline_other_xml%3f-i.yaml 0000644 00000000342 15217654526 0023253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase::ItemBase::ContentBase#inline_other_xml? is_singleton: false name: inline_other_xml? params: () visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/ContentBase/xml_content%3d-i.yaml 0000644 00000000407 15217654526 0022246 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: xml= block_params: comment: full_name: RSS::Maker::ItemsBase::ItemBase::ContentBase#xml_content= is_singleton: false name: xml_content= params: (content) visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/ContentBase/inline_other_text%3f-i.yaml 0000644 00000000344 15217654526 0023441 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase::ItemBase::ContentBase#inline_other_text? is_singleton: false name: inline_other_text? params: () visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/ContentBase/out_of_line%3f-i.yaml 0000644 00000000330 15217654526 0022213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase::ItemBase::ContentBase#out_of_line? is_singleton: false name: out_of_line? params: () visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/ContentBase/inline_other%3f-i.yaml 0000644 00000000332 15217654526 0022372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase::ItemBase::ContentBase#inline_other? is_singleton: false name: inline_other? params: () visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/ContentBase/inline_other_base64%3f-i.yaml 0000644 00000000350 15217654526 0023536 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase::ItemBase::ContentBase#inline_other_base64? is_singleton: false name: inline_other_base64? params: () visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/cdesc-ItemBase.yaml 0000644 00000002534 15217654526 0017540 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: CategoriesBase value: ChannelBase::CategoriesBase - !ruby/object:RI::Constant comment: name: AuthorsBase value: ChannelBase::AuthorsBase - !ruby/object:RI::Constant comment: name: LinksBase value: ChannelBase::LinksBase - !ruby/object:RI::Constant comment: name: ContributorsBase value: ChannelBase::ContributorsBase full_name: RSS::Maker::ItemsBase::ItemBase includes: - !ruby/object:RI::IncludedModule name: DublinCoreModel - !ruby/object:RI::IncludedModule name: TrackBackModel - !ruby/object:RI::IncludedModule name: Maker::ITunesItemModel - !ruby/object:RI::IncludedModule name: Maker::ImageItemModel - !ruby/object:RI::IncludedModule name: ContentModel - !ruby/object:RI::IncludedModule name: TaxonomyTopicsModel - !ruby/object:RI::IncludedModule name: SetupDefaultDate - !ruby/object:RI::IncludedModule name: SlashModel instance_methods: - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: date= - !ruby/object:RI::MethodSummary name: pubDate - !ruby/object:RI::MethodSummary name: pubDate= - !ruby/object:RI::MethodSummary name: updated - !ruby/object:RI::MethodSummary name: updated= name: ItemBase superclass: Object ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/SourceBase/SubtitleBase/cdesc-SubtitleBase.yaml 0000644 00000000456 15217654526 0025057 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ItemsBase::ItemBase::SourceBase::SubtitleBase includes: - !ruby/object:RI::IncludedModule name: AtomTextConstructBase instance_methods: [] name: SubtitleBase superclass: Base ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/SourceBase/date%3d-i.yaml 0000644 00000000316 15217654526 0020456 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase::ItemBase::SourceBase#date= is_singleton: false name: date= params: (_date) visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/SourceBase/TitleBase/cdesc-TitleBase.yaml 0000644 00000000450 15217654526 0023625 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ItemsBase::ItemBase::SourceBase::TitleBase includes: - !ruby/object:RI::IncludedModule name: AtomTextConstructBase instance_methods: [] name: TitleBase superclass: Base ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/SourceBase/cdesc-SourceBase.yaml 0000644 00000001623 15217654526 0022133 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: AuthorsBase value: ChannelBase::AuthorsBase - !ruby/object:RI::Constant comment: name: CategoriesBase value: ChannelBase::CategoriesBase - !ruby/object:RI::Constant comment: name: ContributorsBase value: ChannelBase::ContributorsBase - !ruby/object:RI::Constant comment: name: GeneratorBase value: ChannelBase::GeneratorBase - !ruby/object:RI::Constant comment: name: LinksBase value: ChannelBase::LinksBase full_name: RSS::Maker::ItemsBase::ItemBase::SourceBase includes: - !ruby/object:RI::IncludedModule name: SetupDefaultDate instance_methods: - !ruby/object:RI::MethodSummary name: date= - !ruby/object:RI::MethodSummary name: updated - !ruby/object:RI::MethodSummary name: updated= name: SourceBase superclass: Base ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/SourceBase/IconBase/cdesc-IconBase.yaml 0000644 00000000350 15217654526 0023242 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ItemsBase::ItemBase::SourceBase::IconBase includes: [] instance_methods: [] name: IconBase superclass: Base ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/SourceBase/LogoBase/cdesc-LogoBase.yaml 0000644 00000000350 15217654526 0023262 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ItemsBase::ItemBase::SourceBase::LogoBase includes: [] instance_methods: [] name: LogoBase superclass: Base ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/SourceBase/RightsBase/cdesc-RightsBase.yaml 0000644 00000000452 15217654526 0024165 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ItemsBase::ItemBase::SourceBase::RightsBase includes: - !ruby/object:RI::IncludedModule name: AtomTextConstructBase instance_methods: [] name: RightsBase superclass: Base ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/SourceBase/updated-i.yaml 0000644 00000000315 15217654526 0020672 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase::ItemBase::SourceBase#updated is_singleton: false name: updated params: () visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/SourceBase/updated%3d-i.yaml 0000644 00000000323 15217654526 0021165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase::ItemBase::SourceBase#updated= is_singleton: false name: updated= params: (date) visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/RightsBase/cdesc-RightsBase.yaml 0000644 00000000436 15217654526 0022134 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ItemsBase::ItemBase::RightsBase includes: - !ruby/object:RI::IncludedModule name: AtomTextConstructBase instance_methods: [] name: RightsBase superclass: Base ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/GuidBase/cdesc-GuidBase.yaml 0000644 00000000334 15217654526 0021211 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ItemsBase::ItemBase::GuidBase includes: [] instance_methods: [] name: GuidBase superclass: Base ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/ITunesDuration/cdesc-ITunesDuration.yaml 0000644 00000000366 15217654526 0023702 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ItemsBase::ItemBase::ITunesDuration includes: [] instance_methods: [] name: ITunesDuration superclass: ITunesDurationBase ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/updated-i.yaml 0000644 00000000301 15217654526 0016632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase::ItemBase#updated is_singleton: false name: updated params: () visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/updated%3d-i.yaml 0000644 00000000307 15217654526 0017134 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase::ItemBase#updated= is_singleton: false name: updated= params: (date) visibility: public ri/1.8/system/RSS/Maker/ItemsBase/ItemBase/EnclosureBase/cdesc-EnclosureBase.yaml 0000644 00000000346 15217654526 0023332 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ItemsBase::ItemBase::EnclosureBase includes: [] instance_methods: [] name: EnclosureBase superclass: Base ri/1.8/system/RSS/Maker/ItemsBase/normalize-i.yaml 0000644 00000000273 15217654526 0015523 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ItemsBase#normalize is_singleton: false name: normalize params: () visibility: public ri/1.8/system/RSS/Maker/ChannelBase/SkipDaysBase/cdesc-SkipDaysBase.yaml 0000644 00000000334 15217654526 0021505 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::SkipDaysBase includes: [] instance_methods: [] name: SkipDaysBase superclass: Base ri/1.8/system/RSS/Maker/ChannelBase/SkipDaysBase/DayBase/cdesc-DayBase.yaml 0000644 00000000340 15217654526 0022000 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::SkipDaysBase::DayBase includes: [] instance_methods: [] name: DayBase superclass: Base ri/1.8/system/RSS/Maker/ChannelBase/CloudBase/cdesc-CloudBase.yaml 0000644 00000000326 15217654526 0020344 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::CloudBase includes: [] instance_methods: [] name: CloudBase superclass: Base ri/1.8/system/RSS/Maker/ChannelBase/pubDate-i.yaml 0000644 00000000271 15217654526 0015374 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ChannelBase#pubDate is_singleton: false name: pubDate params: () visibility: public ri/1.8/system/RSS/Maker/ChannelBase/AuthorsBase/AuthorBase/cdesc-AuthorBase.yaml 0000644 00000000445 15217654526 0023156 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::AuthorsBase::AuthorBase includes: - !ruby/object:RI::IncludedModule name: AtomPersonConstructBase instance_methods: [] name: AuthorBase superclass: Base ri/1.8/system/RSS/Maker/ChannelBase/AuthorsBase/cdesc-AuthorsBase.yaml 0000644 00000000332 15217654526 0021277 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::AuthorsBase includes: [] instance_methods: [] name: AuthorsBase superclass: Base ri/1.8/system/RSS/Maker/ChannelBase/ITunesCategories/cdesc-ITunesCategories.yaml 0000644 00000000364 15217654526 0023276 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::ITunesCategories includes: [] instance_methods: [] name: ITunesCategories superclass: ITunesCategoriesBase ri/1.8/system/RSS/Maker/ChannelBase/ITunesCategories/ITunesCategory/cdesc-ITunesCategory.yaml 0000644 00000000513 15217654526 0025667 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: ITunesCategory value: self full_name: RSS::Maker::ChannelBase::ITunesCategories::ITunesCategory includes: [] instance_methods: [] name: ITunesCategory superclass: ITunesCategoryBase ri/1.8/system/RSS/Maker/ChannelBase/lastBuildDate%3d-i.yaml 0000644 00000000314 15217654526 0017023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ChannelBase#lastBuildDate= is_singleton: false name: lastBuildDate= params: (_date) visibility: public ri/1.8/system/RSS/Maker/ChannelBase/CopyrightBase/cdesc-CopyrightBase.yaml 0000644 00000000434 15217654526 0022150 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::CopyrightBase includes: - !ruby/object:RI::IncludedModule name: AtomTextConstructBase instance_methods: [] name: CopyrightBase superclass: Base ri/1.8/system/RSS/Maker/ChannelBase/ITunesImage/cdesc-ITunesImage.yaml 0000644 00000000345 15217654526 0021167 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::ITunesImage includes: [] instance_methods: [] name: ITunesImage superclass: ITunesImageBase ri/1.8/system/RSS/Maker/ChannelBase/date%3d-i.yaml 0000644 00000000272 15217654526 0015222 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ChannelBase#date= is_singleton: false name: date= params: (_date) visibility: public ri/1.8/system/RSS/Maker/ChannelBase/TitleBase/cdesc-TitleBase.yaml 0000644 00000000424 15217654526 0020371 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::TitleBase includes: - !ruby/object:RI::IncludedModule name: AtomTextConstructBase instance_methods: [] name: TitleBase superclass: Base ri/1.8/system/RSS/Maker/ChannelBase/DescriptionBase/cdesc-DescriptionBase.yaml 0000644 00000000440 15217654526 0022773 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::DescriptionBase includes: - !ruby/object:RI::IncludedModule name: AtomTextConstructBase instance_methods: [] name: DescriptionBase superclass: Base ri/1.8/system/RSS/Maker/ChannelBase/ITunesOwner/cdesc-ITunesOwner.yaml 0000644 00000000345 15217654526 0021307 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::ITunesOwner includes: [] instance_methods: [] name: ITunesOwner superclass: ITunesOwnerBase ri/1.8/system/RSS/Maker/ChannelBase/pubDate%3d-i.yaml 0000644 00000000277 15217654526 0015676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ChannelBase#pubDate= is_singleton: false name: pubDate= params: (date) visibility: public ri/1.8/system/RSS/Maker/ChannelBase/LinksBase/cdesc-LinksBase.yaml 0000644 00000000326 15217654526 0020370 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::LinksBase includes: [] instance_methods: [] name: LinksBase superclass: Base ri/1.8/system/RSS/Maker/ChannelBase/LinksBase/LinkBase/cdesc-LinkBase.yaml 0000644 00000000337 15217654526 0021677 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::LinksBase::LinkBase includes: [] instance_methods: [] name: LinkBase superclass: Base ri/1.8/system/RSS/Maker/ChannelBase/logo%3d-i.yaml 0000644 00000000270 15217654526 0015243 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ChannelBase#logo= is_singleton: false name: logo= params: (url) visibility: public ri/1.8/system/RSS/Maker/ChannelBase/CategoriesBase/cdesc-CategoriesBase.yaml 0000644 00000000340 15217654526 0022376 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::CategoriesBase includes: [] instance_methods: [] name: CategoriesBase superclass: Base ri/1.8/system/RSS/Maker/ChannelBase/CategoriesBase/CategoryBase/cdesc-CategoryBase.yaml 0000644 00000000354 15217654526 0024443 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::CategoriesBase::CategoryBase includes: [] instance_methods: [] name: CategoryBase superclass: Base ri/1.8/system/RSS/Maker/ChannelBase/GeneratorBase/cdesc-GeneratorBase.yaml 0000644 00000000336 15217654526 0022105 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::GeneratorBase includes: [] instance_methods: [] name: GeneratorBase superclass: Base ri/1.8/system/RSS/Maker/ChannelBase/SkipHoursBase/HourBase/cdesc-HourBase.yaml 0000644 00000000343 15217654526 0022603 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::SkipHoursBase::HourBase includes: [] instance_methods: [] name: HourBase superclass: Base ri/1.8/system/RSS/Maker/ChannelBase/SkipHoursBase/cdesc-SkipHoursBase.yaml 0000644 00000000336 15217654526 0022107 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::SkipHoursBase includes: [] instance_methods: [] name: SkipHoursBase superclass: Base ri/1.8/system/RSS/Maker/ChannelBase/ContributorsBase/cdesc-ContributorsBase.yaml 0000644 00000000344 15217654526 0023422 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::ContributorsBase includes: [] instance_methods: [] name: ContributorsBase superclass: Base ri/1.8/system/RSS/Maker/ChannelBase/ContributorsBase/ContributorBase/cdesc-ContributorBase.yaml 0000644 00000000464 15217654526 0026347 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase::ContributorsBase::ContributorBase includes: - !ruby/object:RI::IncludedModule name: AtomPersonConstructBase instance_methods: [] name: ContributorBase superclass: Base ri/1.8/system/RSS/Maker/ChannelBase/icon-i.yaml 0000644 00000000263 15217654526 0014741 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ChannelBase#icon is_singleton: false name: icon params: () visibility: public ri/1.8/system/RSS/Maker/ChannelBase/updated-i.yaml 0000644 00000000271 15217654526 0015436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ChannelBase#updated is_singleton: false name: updated params: () visibility: public ri/1.8/system/RSS/Maker/ChannelBase/logo-i.yaml 0000644 00000000263 15217654526 0014751 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ChannelBase#logo is_singleton: false name: logo params: () visibility: public ri/1.8/system/RSS/Maker/ChannelBase/icon%3d-i.yaml 0000644 00000000270 15217654526 0015233 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ChannelBase#icon= is_singleton: false name: icon= params: (url) visibility: public ri/1.8/system/RSS/Maker/ChannelBase/updated%3d-i.yaml 0000644 00000000277 15217654526 0015740 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ChannelBase#updated= is_singleton: false name: updated= params: (date) visibility: public ri/1.8/system/RSS/Maker/ChannelBase/cdesc-ChannelBase.yaml 0000644 00000002065 15217654526 0017007 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ChannelBase includes: - !ruby/object:RI::IncludedModule name: DublinCoreModel - !ruby/object:RI::IncludedModule name: Maker::ITunesChannelModel - !ruby/object:RI::IncludedModule name: SyndicationModel - !ruby/object:RI::IncludedModule name: Maker::ImageFaviconModel - !ruby/object:RI::IncludedModule name: TaxonomyTopicsModel - !ruby/object:RI::IncludedModule name: SetupDefaultDate instance_methods: - !ruby/object:RI::MethodSummary name: date= - !ruby/object:RI::MethodSummary name: icon - !ruby/object:RI::MethodSummary name: icon= - !ruby/object:RI::MethodSummary name: lastBuildDate= - !ruby/object:RI::MethodSummary name: logo - !ruby/object:RI::MethodSummary name: logo= - !ruby/object:RI::MethodSummary name: pubDate - !ruby/object:RI::MethodSummary name: pubDate= - !ruby/object:RI::MethodSummary name: updated - !ruby/object:RI::MethodSummary name: updated= name: ChannelBase superclass: Object ri/1.8/system/RSS/Maker/TaxonomyTopicsModel/install_taxo_topics-c.yaml 0000644 00000000336 15217654526 0021704 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::TaxonomyTopicsModel::install_taxo_topics is_singleton: true name: install_taxo_topics params: (klass) visibility: public ri/1.8/system/RSS/Maker/TaxonomyTopicsModel/TaxonomyTopicsBase/cdesc-TaxonomyTopicsBase.yaml 0000644 00000000461 15217654526 0026046 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: resources rw: R class_methods: [] comment: constants: [] full_name: RSS::Maker::TaxonomyTopicsModel::TaxonomyTopicsBase includes: [] instance_methods: [] name: TaxonomyTopicsBase superclass: Base ri/1.8/system/RSS/Maker/TaxonomyTopicsModel/cdesc-TaxonomyTopicsModel.yaml 0000644 00000000516 15217654526 0022442 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features - !ruby/object:RI::MethodSummary name: install_taxo_topics comment: constants: [] full_name: RSS::Maker::TaxonomyTopicsModel includes: [] instance_methods: [] name: TaxonomyTopicsModel superclass: ri/1.8/system/RSS/Maker/TaxonomyTopicsModel/append_features-c.yaml 0000644 00000000326 15217654526 0020766 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::TaxonomyTopicsModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Maker/RSS20/new-c.yaml 0000644 00000000275 15217654526 0013245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::new is_singleton: true name: new params: (feed_version="2.0") visibility: public ri/1.8/system/RSS/Maker/RSS20/Textinput/cdesc-Textinput.yaml 0000644 00000000334 15217654526 0017317 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Textinput includes: [] instance_methods: [] name: Textinput superclass: RSS09::Textinput ri/1.8/system/RSS/Maker/RSS20/cdesc-RSS20.yaml 0000644 00000000355 15217654526 0014123 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Maker::RSS20 includes: [] instance_methods: [] name: RSS20 superclass: RSS09 ri/1.8/system/RSS/Maker/RSS20/Items/cdesc-Items.yaml 0000644 00000000320 15217654526 0015444 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Items includes: [] instance_methods: [] name: Items superclass: RSS09::Items ri/1.8/system/RSS/Maker/RSS20/Items/Item/Guid/cdesc-Guid.yaml 0000644 00000000530 15217654526 0017044 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Items::Item::Guid includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Guid superclass: RSS09::Items::Item::Guid ri/1.8/system/RSS/Maker/RSS20/Items/Item/Guid/to_feed-i.yaml 0000644 00000000317 15217654526 0016733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Items::Item::Guid#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS20/Items/Item/Guid/required_variable_names-i.yaml 0000644 00000000347 15217654526 0022201 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Items::Item::Guid#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS20/Items/Item/Authors/cdesc-Authors.yaml 0000644 00000000437 15217654526 0020344 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Items::Item::Authors includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Authors superclass: RSS09::Items::Item::Authors ri/1.8/system/RSS/Maker/RSS20/Items/Item/Authors/Author/to_feed-i.yaml 0000644 00000000332 15217654526 0020727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Items::Item::Authors::Author#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS20/Items/Item/Authors/Author/cdesc-Author.yaml 0000644 00000000456 15217654526 0021424 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Items::Item::Authors::Author includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Author superclass: RSS09::Items::Item::Authors::Author ri/1.8/system/RSS/Maker/RSS20/Items/Item/Authors/to_feed-i.yaml 0000644 00000000322 15217654526 0017464 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Items::Item::Authors#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS20/Items/Item/Enclosure/to_feed-i.yaml 0000644 00000000324 15217654526 0020000 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Items::Item::Enclosure#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS20/Items/Item/Enclosure/required_variable_names-i.yaml 0000644 00000000354 15217654526 0023246 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Items::Item::Enclosure#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS20/Items/Item/Enclosure/cdesc-Enclosure.yaml 0000644 00000000547 15217654526 0021172 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Items::Item::Enclosure includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Enclosure superclass: RSS09::Items::Item::Enclosure ri/1.8/system/RSS/Maker/RSS20/Items/Item/Categories/cdesc-Categories.yaml 0000644 00000000450 15217654526 0021437 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Items::Item::Categories includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Categories superclass: RSS09::Items::Item::Categories ri/1.8/system/RSS/Maker/RSS20/Items/Item/Categories/Category/cdesc-Category.yaml 0000644 00000000574 15217654526 0022713 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Items::Item::Categories::Category includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Category superclass: RSS09::Items::Item::Categories::Category ri/1.8/system/RSS/Maker/RSS20/Items/Item/Categories/Category/to_feed-i.yaml 0000644 00000000337 15217654526 0021707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Items::Item::Categories::Category#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS20/Items/Item/Categories/Category/required_variable_names-i.yaml 0000644 00000000367 15217654526 0025155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Items::Item::Categories::Category#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS20/Items/Item/Categories/to_feed-i.yaml 0000644 00000000325 15217654526 0020127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Items::Item::Categories#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS20/Items/Item/Source/Links/to_feed-i.yaml 0000644 00000000332 15217654526 0020360 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Items::Item::Source::Links#to_feed is_singleton: false name: to_feed params: (rss, source) visibility: public ri/1.8/system/RSS/Maker/RSS20/Items/Item/Source/Links/cdesc-Links.yaml 0000644 00000000451 15217654526 0020666 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Items::Item::Source::Links includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Links superclass: RSS09::Items::Item::Source::Links ri/1.8/system/RSS/Maker/RSS20/Items/Item/Source/Links/Link/cdesc-Link.yaml 0000644 00000000464 15217654526 0021404 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Items::Item::Source::Links::Link includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Link superclass: RSS09::Items::Item::Source::Links::Link ri/1.8/system/RSS/Maker/RSS20/Items/Item/Source/Links/Link/to_feed-i.yaml 0000644 00000000340 15217654526 0021254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Items::Item::Source::Links::Link#to_feed is_singleton: false name: to_feed params: (rss, source) visibility: public ri/1.8/system/RSS/Maker/RSS20/Items/Item/Source/to_feed-i.yaml 0000644 00000000321 15217654526 0017276 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Items::Item::Source#to_feed is_singleton: false name: to_feed params: (rss, item) visibility: public ri/1.8/system/RSS/Maker/RSS20/Items/Item/Source/required_variable_names-i.yaml 0000644 00000000351 15217654526 0022544 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Items::Item::Source#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS20/Items/Item/Source/cdesc-Source.yaml 0000644 00000000536 15217654526 0017772 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Items::Item::Source includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Source superclass: RSS09::Items::Item::Source ri/1.8/system/RSS/Maker/RSS20/Items/Item/not_set_required_variables-i.yaml 0000644 00000000347 15217654526 0022044 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Items::Item#not_set_required_variables is_singleton: false name: not_set_required_variables params: () visibility: private ri/1.8/system/RSS/Maker/RSS20/Items/Item/variables-i.yaml 0000644 00000000305 15217654526 0016403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Items::Item#variables is_singleton: false name: variables params: () visibility: private ri/1.8/system/RSS/Maker/RSS20/Items/Item/required_variable_names-i.yaml 0000644 00000000341 15217654526 0021303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Items::Item#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS20/Items/Item/cdesc-Item.yaml 0000644 00000000623 15217654526 0016165 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Items::Item includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: not_set_required_variables - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: variables name: Item superclass: RSS09::Items::Item ri/1.8/system/RSS/Maker/RSS20/Channel/Categories/cdesc-Categories.yaml 0000644 00000000440 15217654526 0021027 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Channel::Categories includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: Categories superclass: RSS09::Channel::Categories ri/1.8/system/RSS/Maker/RSS20/Channel/Categories/Category/cdesc-Category.yaml 0000644 00000000564 15217654526 0022303 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Channel::Categories::Category includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Category superclass: RSS09::Channel::Categories::Category ri/1.8/system/RSS/Maker/RSS20/Channel/Categories/Category/to_feed-i.yaml 0000644 00000000336 15217654526 0021277 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Channel::Categories::Category#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS20/Channel/Categories/Category/required_variable_names-i.yaml 0000644 00000000363 15217654526 0024542 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Channel::Categories::Category#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS20/Channel/Categories/to_feed-i.yaml 0000644 00000000324 15217654526 0017517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Channel::Categories#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS20/Channel/Generator/cdesc-Generator.yaml 0000644 00000000523 15217654526 0020533 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Channel::Generator includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Generator superclass: GeneratorBase ri/1.8/system/RSS/Maker/RSS20/Channel/Generator/to_feed-i.yaml 0000644 00000000323 15217654526 0017357 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Channel::Generator#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS20/Channel/Generator/required_variable_names-i.yaml 0000644 00000000350 15217654526 0022622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Channel::Generator#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS20/Channel/cdesc-Channel.yaml 0000644 00000000425 15217654526 0016230 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Channel includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names name: Channel superclass: RSS09::Channel ri/1.8/system/RSS/Maker/RSS20/Channel/SkipHours/Hour/cdesc-Hour.yaml 0000644 00000000365 15217654526 0020444 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Channel::SkipHours::Hour includes: [] instance_methods: [] name: Hour superclass: RSS09::Channel::SkipHours::Hour ri/1.8/system/RSS/Maker/RSS20/Channel/SkipHours/cdesc-SkipHours.yaml 0000644 00000000356 15217654526 0020541 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Channel::SkipHours includes: [] instance_methods: [] name: SkipHours superclass: RSS09::Channel::SkipHours ri/1.8/system/RSS/Maker/RSS20/Channel/required_variable_names-i.yaml 0000644 00000000335 15217654526 0020677 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Channel#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS20/Channel/SkipDays/cdesc-SkipDays.yaml 0000644 00000000353 15217654526 0020136 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Channel::SkipDays includes: [] instance_methods: [] name: SkipDays superclass: RSS09::Channel::SkipDays ri/1.8/system/RSS/Maker/RSS20/Channel/SkipDays/Day/cdesc-Day.yaml 0000644 00000000360 15217654526 0017637 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Channel::SkipDays::Day includes: [] instance_methods: [] name: Day superclass: RSS09::Channel::SkipDays::Day ri/1.8/system/RSS/Maker/RSS20/Channel/Cloud/cdesc-Cloud.yaml 0000644 00000000523 15217654526 0016773 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Channel::Cloud includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: Cloud superclass: RSS09::Channel::Cloud ri/1.8/system/RSS/Maker/RSS20/Channel/Cloud/to_feed-i.yaml 0000644 00000000317 15217654526 0016502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Channel::Cloud#to_feed is_singleton: false name: to_feed params: (rss, channel) visibility: public ri/1.8/system/RSS/Maker/RSS20/Channel/Cloud/required_variable_names-i.yaml 0000644 00000000344 15217654526 0021745 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Channel::Cloud#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/RSS20/Image/cdesc-Image.yaml 0000644 00000000411 15217654526 0015347 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::RSS20::Image includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_element? name: Image superclass: RSS09::Image ri/1.8/system/RSS/Maker/RSS20/Image/required_element%3f-i.yaml 0000644 00000000317 15217654526 0017330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::RSS20::Image#required_element? is_singleton: false name: required_element? params: () visibility: private ri/1.8/system/RSS/Maker/ITunesChannelModel/cdesc-ITunesChannelModel.yaml 0000644 00000000416 15217654526 0021641 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: [] full_name: RSS::Maker::ITunesChannelModel includes: [] instance_methods: [] name: ITunesChannelModel superclass: ri/1.8/system/RSS/Maker/ITunesChannelModel/ITunesImageBase/to_feed-i.yaml 0000644 00000000336 15217654526 0021702 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ITunesChannelModel::ITunesImageBase#to_feed is_singleton: false name: to_feed params: (feed, current) visibility: public ri/1.8/system/RSS/Maker/ITunesChannelModel/ITunesImageBase/cdesc-ITunesImageBase.yaml 0000644 00000000525 15217654526 0024073 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: href rw: RW class_methods: [] comment: constants: [] full_name: RSS::Maker::ITunesChannelModel::ITunesImageBase includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_feed name: ITunesImageBase superclass: Base ri/1.8/system/RSS/Maker/ITunesChannelModel/ITunesCategoriesBase/cdesc-ITunesCategoriesBase.yaml 0000644 00000000363 15217654526 0026201 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ITunesChannelModel::ITunesCategoriesBase includes: [] instance_methods: [] name: ITunesCategoriesBase superclass: Base RSS/Maker/ITunesChannelModel/ITunesCategoriesBase/ITunesCategoryBase/cdesc-ITunesCategoryBase.yaml 0000644 00000000661 15217654526 0031313 0 ustar 00 ri/1.8/system --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: text rw: RW class_methods: [] comment: constants: [] full_name: RSS::Maker::ITunesChannelModel::ITunesCategoriesBase::ITunesCategoryBase includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: have_required_values? - !ruby/object:RI::MethodSummary name: to_feed name: ITunesCategoryBase superclass: Base ri/1.8/system/RSS/Maker/ITunesChannelModel/ITunesCategoriesBase/ITunesCategoryBase/to_feed-i.yaml 0000644 00000000367 15217654526 0026451 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ITunesChannelModel::ITunesCategoriesBase::ITunesCategoryBase#to_feed is_singleton: false name: to_feed params: (feed, current) visibility: public RSS/Maker/ITunesChannelModel/ITunesCategoriesBase/ITunesCategoryBase/have_required_values%3f-i.yaml 0000644 00000000406 15217654526 0031457 0 ustar 00 ri/1.8/system --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ITunesChannelModel::ITunesCategoriesBase::ITunesCategoryBase#have_required_values? is_singleton: false name: have_required_values? params: () visibility: public ri/1.8/system/RSS/Maker/ITunesChannelModel/ITunesOwnerBase/cdesc-ITunesOwnerBase.yaml 0000644 00000000532 15217654526 0024211 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::ITunesChannelModel::ITunesOwnerBase includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: to_feed name: ITunesOwnerBase superclass: Base ri/1.8/system/RSS/Maker/ITunesChannelModel/ITunesOwnerBase/to_feed-i.yaml 0000644 00000000336 15217654526 0021752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ITunesChannelModel::ITunesOwnerBase#to_feed is_singleton: false name: to_feed params: (feed, current) visibility: public ri/1.8/system/RSS/Maker/ITunesChannelModel/ITunesOwnerBase/required_variable_names-i.yaml 0000644 00000000362 15217654526 0025214 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ITunesChannelModel::ITunesOwnerBase#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/ITunesChannelModel/append_features-c.yaml 0000644 00000000325 15217654526 0020465 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::ITunesChannelModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Maker/AtomTextConstruct/def_atom_text_construct-c.yaml 0000644 00000000433 15217654526 0022237 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomTextConstruct::def_atom_text_construct is_singleton: true name: def_atom_text_construct params: (klass, name, maker_name, klass_name=nil, atom_klass_name=nil) visibility: public ri/1.8/system/RSS/Maker/AtomTextConstruct/variables-i.yaml 0000644 00000000304 15217654526 0017264 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomTextConstruct#variables is_singleton: false name: variables params: () visibility: private ri/1.8/system/RSS/Maker/AtomTextConstruct/required_variable_names-i.yaml 0000644 00000000340 15217654526 0022164 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomTextConstruct#required_variable_names is_singleton: false name: required_variable_names params: () visibility: private ri/1.8/system/RSS/Maker/AtomTextConstruct/cdesc-AtomTextConstruct.yaml 0000644 00000000607 15217654526 0021625 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: def_atom_text_construct comment: constants: [] full_name: RSS::Maker::AtomTextConstruct includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: required_variable_names - !ruby/object:RI::MethodSummary name: variables name: AtomTextConstruct superclass: ri/1.8/system/RSS/Maker/TextinputBase/cdesc-TextinputBase.yaml 0000644 00000000413 15217654526 0020072 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Maker::TextinputBase includes: - !ruby/object:RI::IncludedModule name: DublinCoreModel instance_methods: [] name: TextinputBase superclass: Object ri/1.8/system/RSS/Maker/AtomTextConstructBase/cdesc-AtomTextConstructBase.yaml 0000644 00000000515 15217654526 0023211 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: [] full_name: RSS::Maker::AtomTextConstructBase includes: - !ruby/object:RI::IncludedModule name: EnsureXMLContent instance_methods: [] name: AtomTextConstructBase superclass: ri/1.8/system/RSS/Maker/AtomTextConstructBase/EnsureXMLContent/xhtml%3d-i.yaml 0000644 00000000332 15217654526 0022715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomTextConstructBase::EnsureXMLContent#xhtml= is_singleton: false name: xhtml= params: (content) visibility: public ri/1.8/system/RSS/Maker/AtomTextConstructBase/EnsureXMLContent/cdesc-EnsureXMLContent.yaml 0000644 00000001003 15217654526 0025267 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: included comment: constants: [] full_name: RSS::Maker::AtomTextConstructBase::EnsureXMLContent includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: ensure_xml_content - !ruby/object:RI::MethodSummary name: set_xhtml_uri_as_default_uri - !ruby/object:RI::MethodSummary name: xhtml= - !ruby/object:RI::MethodSummary name: xml_content= name: EnsureXMLContent superclass: ri/1.8/system/RSS/Maker/AtomTextConstructBase/EnsureXMLContent/ensure_xml_content-i.yaml 0000644 00000000362 15217654526 0025203 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomTextConstructBase::EnsureXMLContent#ensure_xml_content is_singleton: false name: ensure_xml_content params: (content) visibility: public ri/1.8/system/RSS/Maker/AtomTextConstructBase/EnsureXMLContent/xml_content%3d-i.yaml 0000644 00000000346 15217654526 0024120 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomTextConstructBase::EnsureXMLContent#xml_content= is_singleton: false name: xml_content= params: (content) visibility: public ri/1.8/system/RSS/Maker/AtomTextConstructBase/EnsureXMLContent/set_xhtml_uri_as_default_uri-i.yaml 0000644 00000000410 15217654526 0027216 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomTextConstructBase::EnsureXMLContent#set_xhtml_uri_as_default_uri is_singleton: false name: set_xhtml_uri_as_default_uri params: (children) visibility: private ri/1.8/system/RSS/Maker/AtomTextConstructBase/EnsureXMLContent/included-c.yaml 0000644 00000000333 15217654526 0023047 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomTextConstructBase::EnsureXMLContent::included is_singleton: true name: included params: (base) visibility: public ri/1.8/system/RSS/Maker/AtomTextConstructBase/append_features-c.yaml 0000644 00000000330 15217654526 0021245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Maker::AtomTextConstructBase::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/REXMLListener/raise_for_undefined_entity%3f-c.yaml 0000644 00000000334 15217654526 0021061 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::REXMLListener::raise_for_undefined_entity? is_singleton: true name: raise_for_undefined_entity? params: () visibility: public ri/1.8/system/RSS/REXMLListener/xmldecl-i.yaml 0000644 00000000321 15217654526 0014627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::REXMLListener#xmldecl is_singleton: false name: xmldecl params: (version, encoding, standalone) visibility: public ri/1.8/system/RSS/REXMLListener/cdesc-REXMLListener.yaml 0000644 00000000673 15217654526 0016437 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: raise_for_undefined_entity? comment: constants: [] full_name: RSS::REXMLListener includes: - !ruby/object:RI::IncludedModule name: REXML::StreamListener - !ruby/object:RI::IncludedModule name: ListenerMixin instance_methods: - !ruby/object:RI::MethodSummary name: xmldecl name: REXMLListener superclass: BaseListener ri/1.8/system/RSS/InvalidRSSError/cdesc-InvalidRSSError.yaml 0000644 00000000317 15217654526 0017420 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::InvalidRSSError includes: [] instance_methods: [] name: InvalidRSSError superclass: Error ri/1.8/system/RSS/ITunesItemModel/cdesc-ITunesItemModel.yaml 0000644 00000000711 15217654526 0017454 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: - !ruby/object:RI::Constant comment: name: ELEMENT_INFOS value: ITunesBaseModel::ELEMENT_INFOS + [["duration", :element, "content"]] full_name: RSS::ITunesItemModel includes: - !ruby/object:RI::IncludedModule name: ITunesBaseModel instance_methods: [] name: ITunesItemModel superclass: ri/1.8/system/RSS/ITunesItemModel/ITunesDuration/minute%3d-i.yaml 0000644 00000000314 15217654526 0020325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesItemModel::ITunesDuration#minute= is_singleton: false name: minute= params: (minute) visibility: public ri/1.8/system/RSS/ITunesItemModel/ITunesDuration/new-c.yaml 0000644 00000000303 15217654526 0017311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesItemModel::ITunesDuration::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/ITunesItemModel/ITunesDuration/update_content-i.yaml 0000644 00000000325 15217654526 0021546 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesItemModel::ITunesDuration#update_content is_singleton: false name: update_content params: () visibility: private ri/1.8/system/RSS/ITunesItemModel/ITunesDuration/maker_target-i.yaml 0000644 00000000327 15217654526 0021201 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesItemModel::ITunesDuration#maker_target is_singleton: false name: maker_target params: (target) visibility: private ri/1.8/system/RSS/ITunesItemModel/ITunesDuration/required_uri-c.yaml 0000644 00000000320 15217654526 0021216 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesItemModel::ITunesDuration::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/ITunesItemModel/ITunesDuration/second%3d-i.yaml 0000644 00000000314 15217654526 0020277 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesItemModel::ITunesDuration#second= is_singleton: false name: second= params: (second) visibility: public ri/1.8/system/RSS/ITunesItemModel/ITunesDuration/value%3d-i.yaml 0000644 00000000403 15217654526 0020137 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #content=" full_name: RSS::ITunesItemModel::ITunesDuration#value= is_singleton: false name: value= params: (value) visibility: public ri/1.8/system/RSS/ITunesItemModel/ITunesDuration/parse-c.yaml 0000644 00000000334 15217654526 0017636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesItemModel::ITunesDuration::parse is_singleton: true name: parse params: (duration, do_validate=true) visibility: public ri/1.8/system/RSS/ITunesItemModel/ITunesDuration/setup_maker_element-i.yaml 0000644 00000000347 15217654526 0022566 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesItemModel::ITunesDuration#setup_maker_element is_singleton: false name: setup_maker_element params: (duration) visibility: private ri/1.8/system/RSS/ITunesItemModel/ITunesDuration/required_prefix-c.yaml 0000644 00000000326 15217654526 0021722 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesItemModel::ITunesDuration::required_prefix is_singleton: true name: required_prefix params: () visibility: public ri/1.8/system/RSS/ITunesItemModel/ITunesDuration/full_name-i.yaml 0000644 00000000312 15217654526 0020470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesItemModel::ITunesDuration#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RSS/ITunesItemModel/ITunesDuration/content%3d-i.yaml 0000644 00000000367 15217654526 0020506 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: value= block_params: comment: full_name: RSS::ITunesItemModel::ITunesDuration#content= is_singleton: false name: content= params: (value) visibility: public ri/1.8/system/RSS/ITunesItemModel/ITunesDuration/cdesc-ITunesDuration.yaml 0000644 00000002243 15217654526 0022301 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: hour rw: R - !ruby/object:RI::Attribute comment: name: minute rw: R - !ruby/object:RI::Attribute comment: name: second rw: R class_methods: - !ruby/object:RI::MethodSummary name: construct - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: required_prefix - !ruby/object:RI::MethodSummary name: required_uri comment: constants: [] full_name: RSS::ITunesItemModel::ITunesDuration includes: - !ruby/object:RI::IncludedModule name: RSS09 instance_methods: - !ruby/object:RI::MethodSummary name: content= - !ruby/object:RI::MethodSummary name: full_name - !ruby/object:RI::MethodSummary name: hour= - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: minute= - !ruby/object:RI::MethodSummary name: second= - !ruby/object:RI::MethodSummary name: setup_maker_element - !ruby/object:RI::MethodSummary name: update_content - !ruby/object:RI::MethodSummary name: value= name: ITunesDuration superclass: Element ri/1.8/system/RSS/ITunesItemModel/ITunesDuration/hour%3d-i.yaml 0000644 00000000306 15217654526 0020002 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesItemModel::ITunesDuration#hour= is_singleton: false name: hour= params: (hour) visibility: public ri/1.8/system/RSS/ITunesItemModel/ITunesDuration/construct-c.yaml 0000644 00000000336 15217654526 0020552 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesItemModel::ITunesDuration::construct is_singleton: true name: construct params: (hour, minute, second) visibility: public ri/1.8/system/RSS/ITunesItemModel/append_features-c.yaml 0000644 00000000313 15217654526 0016751 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesItemModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/OverlappedPrefixError/new-c.yaml 0000644 00000000272 15217654526 0015663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::OverlappedPrefixError::new is_singleton: true name: new params: (prefix) visibility: public ri/1.8/system/RSS/OverlappedPrefixError/cdesc-OverlappedPrefixError.yaml 0000644 00000000504 15217654526 0022220 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: prefix rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::OverlappedPrefixError includes: [] instance_methods: [] name: OverlappedPrefixError superclass: Error ri/1.8/system/RSS/TrackBackModel10/TrackBackAbout/new-c.yaml 0000644 00000000304 15217654526 0017155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackModel10::TrackBackAbout::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/TrackBackModel10/TrackBackAbout/maker_target-i.yaml 0000644 00000000330 15217654526 0021036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackModel10::TrackBackAbout#maker_target is_singleton: false name: maker_target params: (abouts) visibility: private ri/1.8/system/RSS/TrackBackModel10/TrackBackAbout/required_uri-c.yaml 0000644 00000000321 15217654526 0021062 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackModel10::TrackBackAbout::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/TrackBackModel10/TrackBackAbout/setup_maker_attributes-i.yaml 0000644 00000000353 15217654526 0023163 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackModel10::TrackBackAbout#setup_maker_attributes is_singleton: false name: setup_maker_attributes params: (about) visibility: private ri/1.8/system/RSS/TrackBackModel10/TrackBackAbout/required_prefix-c.yaml 0000644 00000000327 15217654526 0021566 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackModel10::TrackBackAbout::required_prefix is_singleton: true name: required_prefix params: () visibility: public ri/1.8/system/RSS/TrackBackModel10/TrackBackAbout/full_name-i.yaml 0000644 00000000313 15217654526 0020334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackModel10::TrackBackAbout#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RSS/TrackBackModel10/TrackBackAbout/cdesc-TrackBackAbout.yaml 0000644 00000001124 15217654526 0022044 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_prefix - !ruby/object:RI::MethodSummary name: required_uri comment: constants: [] full_name: RSS::TrackBackModel10::TrackBackAbout includes: - !ruby/object:RI::IncludedModule name: RSS10 instance_methods: - !ruby/object:RI::MethodSummary name: full_name - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: setup_maker_attributes name: TrackBackAbout superclass: Element ri/1.8/system/RSS/TrackBackModel10/TrackBackPing/new-c.yaml 0000644 00000000303 15217654526 0016777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackModel10::TrackBackPing::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/TrackBackModel10/TrackBackPing/required_uri-c.yaml 0000644 00000000320 15217654526 0020704 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackModel10::TrackBackPing::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/TrackBackModel10/TrackBackPing/cdesc-TrackBackPing.yaml 0000644 00000000732 15217654526 0021516 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_prefix - !ruby/object:RI::MethodSummary name: required_uri comment: constants: [] full_name: RSS::TrackBackModel10::TrackBackPing includes: - !ruby/object:RI::IncludedModule name: RSS10 instance_methods: - !ruby/object:RI::MethodSummary name: full_name name: TrackBackPing superclass: Element ri/1.8/system/RSS/TrackBackModel10/TrackBackPing/required_prefix-c.yaml 0000644 00000000326 15217654526 0021410 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackModel10::TrackBackPing::required_prefix is_singleton: true name: required_prefix params: () visibility: public ri/1.8/system/RSS/TrackBackModel10/TrackBackPing/full_name-i.yaml 0000644 00000000312 15217654526 0020156 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackModel10::TrackBackPing#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RSS/TrackBackModel10/cdesc-TrackBackModel10.yaml 0000644 00000000314 15217654526 0017353 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::TrackBackModel10 includes: [] instance_methods: [] name: TrackBackModel10 superclass: ri/1.8/system/RSS/ContentModel/cdesc-ContentModel.yaml 0000644 00000000535 15217654526 0016430 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: - !ruby/object:RI::Constant comment: name: ELEMENTS value: "[\"#{CONTENT_PREFIX}_encoded\"]" full_name: RSS::ContentModel includes: [] instance_methods: [] name: ContentModel superclass: ri/1.8/system/RSS/ContentModel/append_features-c.yaml 0000644 00000000310 15217654526 0016332 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ContentModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/RSS09/cdesc-RSS09.yaml 0000644 00000000570 15217654526 0013101 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: - !ruby/object:RI::Constant comment: name: NSPOOL value: "{}" - !ruby/object:RI::Constant comment: name: ELEMENTS value: "[]" full_name: RSS::RSS09 includes: [] instance_methods: [] name: RSS09 superclass: ri/1.8/system/RSS/RSS09/append_features-c.yaml 0000644 00000000301 15217654526 0014557 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RSS09::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/RSS10/cdesc-RSS10.yaml 0000644 00000000570 15217654526 0013061 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: - !ruby/object:RI::Constant comment: name: NSPOOL value: "{}" - !ruby/object:RI::Constant comment: name: ELEMENTS value: "[]" full_name: RSS::RSS10 includes: [] instance_methods: [] name: RSS10 superclass: ri/1.8/system/RSS/RSS10/append_features-c.yaml 0000644 00000000301 15217654526 0014547 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RSS10::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/UnknownConversionMethodError/new-c.yaml 0000644 00000000303 15217654526 0017245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::UnknownConversionMethodError::new is_singleton: true name: new params: (to, from) visibility: public ri/1.8/system/RSS/UnknownConversionMethodError/cdesc-UnknownConversionMethodError.yaml 0000644 00000000615 15217654526 0025201 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: from rw: R - !ruby/object:RI::Attribute comment: name: to rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::UnknownConversionMethodError includes: [] instance_methods: [] name: UnknownConversionMethodError superclass: Error ri/1.8/system/RSS/cdesc-RSS.yaml 0000644 00000005604 15217654526 0012113 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: DC_PREFIX value: "'dc'" - !ruby/object:RI::Constant comment: name: DC_URI value: "\"http://purl.org/dc/elements/1.1/\"" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: For backward compatibility name: DublincoreModel value: DublinCoreModel - !ruby/object:RI::Constant comment: name: TRACKBACK_PREFIX value: "'trackback'" - !ruby/object:RI::Constant comment: name: TRACKBACK_URI value: "'http://madskills.com/public/xml/rss/module/trackback/'" - !ruby/object:RI::Constant comment: name: VERSION value: "\"0.2.4\"" - !ruby/object:RI::Constant comment: name: URI value: "\"http://purl.org/rss/1.0/\"" - !ruby/object:RI::Constant comment: name: DEBUG value: "false" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: For backward compatibility :X name: NotExceptedTagError value: NotExpectedTagError - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: for backward compatibility name: UnknownConvertMethod value: UnknownConversionMethodError - !ruby/object:RI::Constant comment: name: ITUNES_PREFIX value: "'itunes'" - !ruby/object:RI::Constant comment: name: ITUNES_URI value: "'http://www.itunes.com/dtds/podcast-1.0.dtd'" - !ruby/object:RI::Constant comment: name: SY_PREFIX value: "'sy'" - !ruby/object:RI::Constant comment: name: SY_URI value: "\"http://purl.org/rss/1.0/modules/syndication/\"" - !ruby/object:RI::Constant comment: name: IMAGE_PREFIX value: "'image'" - !ruby/object:RI::Constant comment: name: IMAGE_URI value: "'http://purl.org/rss/1.0/modules/image/'" - !ruby/object:RI::Constant comment: name: IMAGE_ELEMENTS value: "[]" - !ruby/object:RI::Constant comment: name: CONTENT_PREFIX value: "'content'" - !ruby/object:RI::Constant comment: name: CONTENT_URI value: "\"http://purl.org/rss/1.0/modules/content/\"" - !ruby/object:RI::Constant comment: name: AVAILABLE_PARSER_LIBRARIES value: "[ [\"rss/xmlparser\", :XMLParserParser], [\"rss/xmlscanner\", :XMLScanParser], [\"rss/rexmlparser\", :REXMLParser], ]" - !ruby/object:RI::Constant comment: name: AVAILABLE_PARSERS value: "[]" - !ruby/object:RI::Constant comment: name: TAXO_PREFIX value: "\"taxo\"" - !ruby/object:RI::Constant comment: name: TAXO_URI value: "\"http://purl.org/rss/1.0/modules/taxonomy/\"" - !ruby/object:RI::Constant comment: name: TAXO_ELEMENTS value: "[]" - !ruby/object:RI::Constant comment: name: SLASH_PREFIX value: "'slash'" - !ruby/object:RI::Constant comment: name: SLASH_URI value: "\"http://purl.org/rss/1.0/modules/slash/\"" full_name: RSS includes: [] instance_methods: [] name: RSS superclass: ri/1.8/system/RSS/BaseDublinCoreModel/append_features-i.yaml 0000644 00000000317 15217654526 0017556 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseDublinCoreModel#append_features is_singleton: false name: append_features params: (klass) visibility: public ri/1.8/system/RSS/BaseDublinCoreModel/cdesc-BaseDublinCoreModel.yaml 0000644 00000000411 15217654526 0021037 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::BaseDublinCoreModel includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: append_features name: BaseDublinCoreModel superclass: ri/1.8/system/RSS/Utils/cdesc-Utils.yaml 0000644 00000001036 15217654526 0013637 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Utils includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: element_initialize_arguments? - !ruby/object:RI::MethodSummary name: get_file_and_line_from_caller - !ruby/object:RI::MethodSummary name: h - !ruby/object:RI::MethodSummary name: html_escape - !ruby/object:RI::MethodSummary name: new_with_value_if_need - !ruby/object:RI::MethodSummary name: to_class_name name: Utils superclass: ri/1.8/system/RSS/Utils/h-i.yaml 0000644 00000000336 15217654526 0012137 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #html_escape" full_name: RSS::Utils#h is_singleton: false name: h params: (s) visibility: public ri/1.8/system/RSS/Utils/element_initialize_arguments%3f-i.yaml 0000644 00000000334 15217654526 0020143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Utils#element_initialize_arguments? is_singleton: false name: element_initialize_arguments? params: (args) visibility: public ri/1.8/system/RSS/Utils/get_file_and_line_from_caller-i.yaml 0000644 00000000333 15217654526 0017661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Utils#get_file_and_line_from_caller is_singleton: false name: get_file_and_line_from_caller params: (i=0) visibility: public ri/1.8/system/RSS/Utils/html_escape-i.yaml 0000644 00000000473 15217654526 0014176 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: h block_params: comment: - !ruby/struct:SM::Flow::P body: escape '&', '"', '<' and '>' for use in HTML. full_name: RSS::Utils#html_escape is_singleton: false name: html_escape params: (s) visibility: public ri/1.8/system/RSS/Utils/YesCleanOther/parse-i.yaml 0000644 00000000274 15217654526 0015530 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Utils::YesCleanOther#parse is_singleton: false name: parse params: (value) visibility: public ri/1.8/system/RSS/Utils/YesCleanOther/cdesc-YesCleanOther.yaml 0000644 00000000372 15217654526 0017753 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Utils::YesCleanOther includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse name: YesCleanOther superclass: ri/1.8/system/RSS/Utils/InheritedReader/inherited_reader-i.yaml 0000644 00000000463 15217654526 0020244 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (result, klass.const_get(constant_name)) comment: full_name: RSS::Utils::InheritedReader#inherited_reader is_singleton: false name: inherited_reader params: (constant_name) {|result, klass.const_get(constant_name)| ...} visibility: public ri/1.8/system/RSS/Utils/InheritedReader/cdesc-InheritedReader.yaml 0000644 00000000612 15217654526 0020632 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Utils::InheritedReader includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: inherited_array_reader - !ruby/object:RI::MethodSummary name: inherited_hash_reader - !ruby/object:RI::MethodSummary name: inherited_reader name: InheritedReader superclass: ri/1.8/system/RSS/Utils/InheritedReader/inherited_array_reader-i.yaml 0000644 00000000350 15217654526 0021435 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Utils::InheritedReader#inherited_array_reader is_singleton: false name: inherited_array_reader params: (constant_name) visibility: public ri/1.8/system/RSS/Utils/InheritedReader/inherited_hash_reader-i.yaml 0000644 00000000346 15217654526 0021247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Utils::InheritedReader#inherited_hash_reader is_singleton: false name: inherited_hash_reader params: (constant_name) visibility: public ri/1.8/system/RSS/Utils/YesOther/cdesc-YesOther.yaml 0000644 00000000360 15217654526 0016042 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Utils::YesOther includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse name: YesOther superclass: ri/1.8/system/RSS/Utils/YesOther/parse-i.yaml 0000644 00000000267 15217654526 0014567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Utils::YesOther#parse is_singleton: false name: parse params: (value) visibility: public ri/1.8/system/RSS/Utils/CSV/parse-i.yaml 0000644 00000000272 15217654526 0013454 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Utils::CSV#parse is_singleton: false name: parse params: (value, &block) visibility: public ri/1.8/system/RSS/Utils/CSV/cdesc-CSV.yaml 0000644 00000000346 15217654526 0013630 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Utils::CSV includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse name: CSV superclass: ri/1.8/system/RSS/Utils/to_class_name-i.yaml 0000644 00000000416 15217654526 0014516 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a name_with_underscores to CamelCase. full_name: RSS::Utils#to_class_name is_singleton: false name: to_class_name params: (name) visibility: public ri/1.8/system/RSS/Utils/new_with_value_if_need-i.yaml 0000644 00000000607 15217654526 0016402 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: If value is an instance of class klass, return it, else create a new instance of klass with value value. full_name: RSS::Utils#new_with_value_if_need is_singleton: false name: new_with_value_if_need params: (klass, value) visibility: public ri/1.8/system/RSS/XML/Element/new-c.yaml 0000644 00000000340 15217654526 0013417 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XML::Element::new is_singleton: true name: new params: (name, prefix=nil, uri=nil, attributes={}, children=[]) visibility: public ri/1.8/system/RSS/XML/Element/to_s-i.yaml 0000644 00000000255 15217654526 0013605 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XML::Element#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/RSS/XML/Element/%3c%3c-i.yaml 0000644 00000000260 15217654526 0013502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XML::Element#<< is_singleton: false name: "<<" params: (child) visibility: public ri/1.8/system/RSS/XML/Element/%5b%5d%3d-i.yaml 0000644 00000000270 15217654526 0014003 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XML::Element#[]= is_singleton: false name: "[]=" params: (name, value) visibility: public ri/1.8/system/RSS/XML/Element/%5b%5d-i.yaml 0000644 00000000257 15217654526 0013514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XML::Element#[] is_singleton: false name: "[]" params: (name) visibility: public ri/1.8/system/RSS/XML/Element/each-i.yaml 0000644 00000000263 15217654526 0013540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XML::Element#each is_singleton: false name: each params: (&block) visibility: public ri/1.8/system/RSS/XML/Element/cdesc-Element.yaml 0000644 00000001660 15217654526 0015064 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: attributes rw: R - !ruby/object:RI::Attribute comment: name: children rw: R - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: prefix rw: R - !ruby/object:RI::Attribute comment: name: uri rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::XML::Element includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: full_name - !ruby/object:RI::MethodSummary name: to_s name: Element superclass: Object ri/1.8/system/RSS/XML/Element/full_name-i.yaml 0000644 00000000267 15217654526 0014606 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XML::Element#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RSS/XML/Element/%3d%3d-i.yaml 0000644 00000000256 15217654526 0013511 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XML::Element#== is_singleton: false name: == params: (other) visibility: public ri/1.8/system/RSS/XML/cdesc-XML.yaml 0000644 00000000262 15217654526 0012537 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::XML includes: [] instance_methods: [] name: XML superclass: ri/1.8/system/RSS/BaseTrackBackModel/append_features-i.yaml 0000644 00000000316 15217654526 0017354 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseTrackBackModel#append_features is_singleton: false name: append_features params: (klass) visibility: public ri/1.8/system/RSS/BaseTrackBackModel/cdesc-BaseTrackBackModel.yaml 0000644 00000000617 15217654526 0020445 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: ELEMENTS value: "%w(ping about)" full_name: RSS::BaseTrackBackModel includes: - !ruby/object:RI::IncludedModule name: TrackBackUtils instance_methods: - !ruby/object:RI::MethodSummary name: append_features name: BaseTrackBackModel superclass: ri/1.8/system/RSS/Error/cdesc-Error.yaml 0000644 00000000303 15217654526 0013615 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Error includes: [] instance_methods: [] name: Error superclass: StandardError ri/1.8/system/RSS/SyndicationModel/validate_sy_updatePeriod-i.yaml 0000644 00000000337 15217654526 0021067 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::SyndicationModel#validate_sy_updatePeriod is_singleton: false name: validate_sy_updatePeriod params: (value) visibility: private ri/1.8/system/RSS/SyndicationModel/append_features-c.yaml 0000644 00000000314 15217654526 0017210 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::SyndicationModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/SyndicationModel/cdesc-SyndicationModel.yaml 0000644 00000001014 15217654526 0020145 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: - !ruby/object:RI::Constant comment: name: ELEMENTS value: "[]" - !ruby/object:RI::Constant comment: name: SY_UPDATEPERIOD_AVAILABLE_VALUES value: "%w(hourly daily weekly monthly yearly)" full_name: RSS::SyndicationModel includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: validate_sy_updatePeriod name: SyndicationModel superclass: ri/1.8/system/RSS/ImageItemModel/cdesc-ImageItemModel.yaml 0000644 00000000467 15217654526 0017112 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: [] full_name: RSS::ImageItemModel includes: - !ruby/object:RI::IncludedModule name: ImageModelUtils instance_methods: [] name: ImageItemModel superclass: ri/1.8/system/RSS/ImageItemModel/ImageItem/new-c.yaml 0000644 00000000275 15217654526 0016060 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ImageItemModel::ImageItem::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/ImageItemModel/ImageItem/maker_target-i.yaml 0000644 00000000321 15217654526 0017732 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ImageItemModel::ImageItem#maker_target is_singleton: false name: maker_target params: (target) visibility: private ri/1.8/system/RSS/ImageItemModel/ImageItem/required_uri-c.yaml 0000644 00000000312 15217654526 0017756 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ImageItemModel::ImageItem::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/ImageItemModel/ImageItem/setup_maker_attributes-i.yaml 0000644 00000000343 15217654526 0022056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ImageItemModel::ImageItem#setup_maker_attributes is_singleton: false name: setup_maker_attributes params: (item) visibility: private ri/1.8/system/RSS/ImageItemModel/ImageItem/cdesc-ImageItem.yaml 0000644 00000001203 15217654526 0017757 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_prefix - !ruby/object:RI::MethodSummary name: required_uri comment: constants: [] full_name: RSS::ImageItemModel::ImageItem includes: - !ruby/object:RI::IncludedModule name: RSS10 - !ruby/object:RI::IncludedModule name: DublinCoreModel instance_methods: - !ruby/object:RI::MethodSummary name: full_name - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: setup_maker_attributes name: ImageItem superclass: Element ri/1.8/system/RSS/ImageItemModel/ImageItem/required_prefix-c.yaml 0000644 00000000320 15217654526 0020453 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ImageItemModel::ImageItem::required_prefix is_singleton: true name: required_prefix params: () visibility: public ri/1.8/system/RSS/ImageItemModel/ImageItem/full_name-i.yaml 0000644 00000000304 15217654526 0017230 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ImageItemModel::ImageItem#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RSS/ImageItemModel/append_features-c.yaml 0000644 00000000312 15217654526 0016563 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ImageItemModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/BaseModel/boolean_writer-i.yaml 0000644 00000000323 15217654526 0015452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#boolean_writer is_singleton: false name: boolean_writer params: (name, disp_name=name) visibility: private ri/1.8/system/RSS/BaseModel/csv_writer-i.yaml 0000644 00000000313 15217654526 0014625 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#csv_writer is_singleton: false name: csv_writer params: (name, disp_name=name) visibility: private ri/1.8/system/RSS/BaseModel/install_text_element-i.yaml 0000644 00000000402 15217654526 0016660 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#install_text_element is_singleton: false name: install_text_element params: (tag_name, uri, occurs, name=nil, type=nil, disp_name=nil) visibility: public ri/1.8/system/RSS/BaseModel/csv_integer_writer-i.yaml 0000644 00000000333 15217654526 0016344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#csv_integer_writer is_singleton: false name: csv_integer_writer params: (name, disp_name=name) visibility: private ri/1.8/system/RSS/BaseModel/install_have_children_element-i.yaml 0000644 00000000414 15217654526 0020472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#install_have_children_element is_singleton: false name: install_have_children_element params: (tag_name, uri, occurs, name=nil, plural_name=nil) visibility: public ri/1.8/system/RSS/BaseModel/cdesc-BaseModel.yaml 0000644 00000003211 15217654526 0015122 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::BaseModel includes: - !ruby/object:RI::IncludedModule name: Utils instance_methods: - !ruby/object:RI::MethodSummary name: boolean_writer - !ruby/object:RI::MethodSummary name: content_writer - !ruby/object:RI::MethodSummary name: convert_attr_reader - !ruby/object:RI::MethodSummary name: csv_attr_reader - !ruby/object:RI::MethodSummary name: csv_integer_writer - !ruby/object:RI::MethodSummary name: csv_writer - !ruby/object:RI::MethodSummary name: date_writer - !ruby/object:RI::MethodSummary name: def_children_accessor - !ruby/object:RI::MethodSummary name: inherit_convert_attr_reader - !ruby/object:RI::MethodSummary name: install_date_element - !ruby/object:RI::MethodSummary name: install_element - !ruby/object:RI::MethodSummary name: install_have_attribute_element - !ruby/object:RI::MethodSummary name: install_have_child_element - !ruby/object:RI::MethodSummary name: install_have_children_element - !ruby/object:RI::MethodSummary name: install_text_element - !ruby/object:RI::MethodSummary name: integer_writer - !ruby/object:RI::MethodSummary name: positive_integer_writer - !ruby/object:RI::MethodSummary name: text_type_writer - !ruby/object:RI::MethodSummary name: uri_convert_attr_reader - !ruby/object:RI::MethodSummary name: yes_clean_other_attr_reader - !ruby/object:RI::MethodSummary name: yes_clean_other_writer - !ruby/object:RI::MethodSummary name: yes_other_attr_reader - !ruby/object:RI::MethodSummary name: yes_other_writer name: BaseModel superclass: ri/1.8/system/RSS/BaseModel/convert_attr_reader-i.yaml 0000644 00000000317 15217654526 0016476 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#convert_attr_reader is_singleton: false name: convert_attr_reader params: (*attrs) visibility: private ri/1.8/system/RSS/BaseModel/yes_clean_other_attr_reader-i.yaml 0000644 00000000337 15217654526 0020163 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#yes_clean_other_attr_reader is_singleton: false name: yes_clean_other_attr_reader params: (*attrs) visibility: private ri/1.8/system/RSS/BaseModel/uri_convert_attr_reader-i.yaml 0000644 00000000327 15217654526 0017356 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#uri_convert_attr_reader is_singleton: false name: uri_convert_attr_reader params: (*attrs) visibility: private ri/1.8/system/RSS/BaseModel/install_have_attribute_element-i.yaml 0000644 00000000523 15217654526 0020706 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #install_have_child_element" full_name: RSS::BaseModel#install_have_attribute_element is_singleton: false name: install_have_attribute_element params: (tag_name, uri, occurs, name=nil, type=nil) visibility: public ri/1.8/system/RSS/BaseModel/positive_integer_writer-i.yaml 0000644 00000000345 15217654526 0017416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#positive_integer_writer is_singleton: false name: positive_integer_writer params: (name, disp_name=name) visibility: private ri/1.8/system/RSS/BaseModel/yes_other_writer-i.yaml 0000644 00000000327 15217654526 0016040 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#yes_other_writer is_singleton: false name: yes_other_writer params: (name, disp_name=name) visibility: private ri/1.8/system/RSS/BaseModel/csv_attr_reader-i.yaml 0000644 00000000307 15217654526 0015610 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#csv_attr_reader is_singleton: false name: csv_attr_reader params: (*attrs) visibility: private ri/1.8/system/RSS/BaseModel/inherit_convert_attr_reader-i.yaml 0000644 00000000337 15217654526 0020222 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#inherit_convert_attr_reader is_singleton: false name: inherit_convert_attr_reader params: (*attrs) visibility: private ri/1.8/system/RSS/BaseModel/install_element-i.yaml 0000644 00000000321 15217654526 0015614 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#install_element is_singleton: false name: install_element params: (name, postfix="") visibility: private ri/1.8/system/RSS/BaseModel/install_date_element-i.yaml 0000644 00000000402 15217654526 0016611 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#install_date_element is_singleton: false name: install_date_element params: (tag_name, uri, occurs, name=nil, type=nil, disp_name=nil) visibility: public ri/1.8/system/RSS/BaseModel/install_have_child_element-i.yaml 0000644 00000000501 15217654526 0017762 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: install_have_attribute_element block_params: comment: full_name: RSS::BaseModel#install_have_child_element is_singleton: false name: install_have_child_element params: (tag_name, uri, occurs, name=nil, type=nil) visibility: public ri/1.8/system/RSS/BaseModel/yes_clean_other_writer-i.yaml 0000644 00000000343 15217654526 0017200 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#yes_clean_other_writer is_singleton: false name: yes_clean_other_writer params: (name, disp_name=name) visibility: private ri/1.8/system/RSS/BaseModel/def_children_accessor-i.yaml 0000644 00000000347 15217654526 0016735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#def_children_accessor is_singleton: false name: def_children_accessor params: (accessor_name, plural_name) visibility: private ri/1.8/system/RSS/BaseModel/text_type_writer-i.yaml 0000644 00000000327 15217654526 0016064 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#text_type_writer is_singleton: false name: text_type_writer params: (name, disp_name=name) visibility: private ri/1.8/system/RSS/BaseModel/content_writer-i.yaml 0000644 00000000323 15217654526 0015505 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#content_writer is_singleton: false name: content_writer params: (name, disp_name=name) visibility: private ri/1.8/system/RSS/BaseModel/yes_other_attr_reader-i.yaml 0000644 00000000323 15217654526 0017014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#yes_other_attr_reader is_singleton: false name: yes_other_attr_reader params: (*attrs) visibility: private ri/1.8/system/RSS/BaseModel/date_writer-i.yaml 0000644 00000000323 15217654526 0014750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#date_writer is_singleton: false name: date_writer params: (name, type, disp_name=name) visibility: private ri/1.8/system/RSS/BaseModel/integer_writer-i.yaml 0000644 00000000323 15217654526 0015470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseModel#integer_writer is_singleton: false name: integer_writer params: (name, disp_name=name) visibility: private ri/1.8/system/RSS/RDF/new-c.yaml 0000644 00000000313 15217654526 0012001 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::new is_singleton: true name: new params: (version=nil, encoding=nil, standalone=nil) visibility: public ri/1.8/system/RSS/RDF/required_uri-c.yaml 0000644 00000000264 15217654526 0013714 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/RDF/Li/new-c.yaml 0000644 00000000253 15217654526 0012350 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Li::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/RDF/Li/required_uri-c.yaml 0000644 00000000270 15217654526 0014255 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Li::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/RDF/Li/full_name-i.yaml 0000644 00000000262 15217654526 0013527 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Li#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RSS/RDF/Li/cdesc-Li.yaml 0000644 00000000575 15217654526 0012771 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_uri comment: constants: [] full_name: RSS::RDF::Li includes: - !ruby/object:RI::IncludedModule name: RSS10 instance_methods: - !ruby/object:RI::MethodSummary name: full_name name: Li superclass: Element ri/1.8/system/RSS/RDF/Textinput/new-c.yaml 0000644 00000000262 15217654526 0014010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Textinput::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/RDF/Textinput/maker_target-i.yaml 0000644 00000000305 15217654526 0015670 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Textinput#maker_target is_singleton: false name: maker_target params: (maker) visibility: private ri/1.8/system/RSS/RDF/Textinput/required_uri-c.yaml 0000644 00000000277 15217654526 0015724 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Textinput::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/RDF/Textinput/cdesc-Textinput.yaml 0000644 00000000711 15217654526 0016061 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_uri comment: constants: [] full_name: RSS::RDF::Textinput includes: - !ruby/object:RI::IncludedModule name: RSS10 - !ruby/object:RI::IncludedModule name: DublinCoreModel instance_methods: - !ruby/object:RI::MethodSummary name: maker_target name: Textinput superclass: Element ri/1.8/system/RSS/RDF/Seq/new-c.yaml 0000644 00000000254 15217654526 0012535 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Seq::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/RDF/Seq/required_uri-c.yaml 0000644 00000000271 15217654526 0014442 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Seq::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/RDF/Seq/cdesc-Seq.yaml 0000644 00000001000 15217654526 0013321 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_uri comment: constants: - !ruby/object:RI::Constant comment: name: Li value: "::RSS::RDF::Li" full_name: RSS::RDF::Seq includes: - !ruby/object:RI::IncludedModule name: RSS10 instance_methods: - !ruby/object:RI::MethodSummary name: full_name - !ruby/object:RI::MethodSummary name: setup_maker name: Seq superclass: Element ri/1.8/system/RSS/RDF/Seq/full_name-i.yaml 0000644 00000000263 15217654526 0013714 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Seq#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RSS/RDF/Seq/setup_maker-i.yaml 0000644 00000000275 15217654526 0014274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Seq#setup_maker is_singleton: false name: setup_maker params: (target) visibility: public ri/1.8/system/RSS/RDF/cdesc-RDF.yaml 0000644 00000001251 15217654526 0012464 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_uri comment: constants: - !ruby/object:RI::Constant comment: name: PREFIX value: "'rdf'" - !ruby/object:RI::Constant comment: name: URI value: "\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"" full_name: RSS::RDF includes: - !ruby/object:RI::IncludedModule name: RSS10 - !ruby/object:RI::IncludedModule name: RootElementMixin - !ruby/object:RI::IncludedModule name: TaxonomyTopicModel instance_methods: - !ruby/object:RI::MethodSummary name: full_name name: RDF superclass: Object ri/1.8/system/RSS/RDF/full_name-i.yaml 0000644 00000000256 15217654526 0013166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RSS/RDF/Channel/new-c.yaml 0000644 00000000260 15217654526 0013352 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Channel::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/RDF/Channel/maker_target-i.yaml 0000644 00000000303 15217654526 0015232 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Channel#maker_target is_singleton: false name: maker_target params: (maker) visibility: private ri/1.8/system/RSS/RDF/Channel/required_uri-c.yaml 0000644 00000000275 15217654526 0015266 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Channel::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/RDF/Channel/setup_maker_attributes-i.yaml 0000644 00000000331 15217654526 0017353 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Channel#setup_maker_attributes is_singleton: false name: setup_maker_attributes params: (channel) visibility: private ri/1.8/system/RSS/RDF/Channel/Textinput/new-c.yaml 0000644 00000000273 15217654526 0015362 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Channel::Textinput::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/RDF/Channel/Textinput/required_uri-c.yaml 0000644 00000000310 15217654526 0017260 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Channel::Textinput::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/RDF/Channel/Textinput/cdesc-Textinput.yaml 0000644 00000000543 15217654526 0017434 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_uri comment: constants: [] full_name: RSS::RDF::Channel::Textinput includes: - !ruby/object:RI::IncludedModule name: RSS10 instance_methods: [] name: Textinput superclass: Element ri/1.8/system/RSS/RDF/Channel/cdesc-Channel.yaml 0000644 00000001276 15217654526 0015000 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_uri comment: constants: [] full_name: RSS::RDF::Channel includes: - !ruby/object:RI::IncludedModule name: RSS10 - !ruby/object:RI::IncludedModule name: SyndicationModel - !ruby/object:RI::IncludedModule name: ImageFaviconModel - !ruby/object:RI::IncludedModule name: TaxonomyTopicsModel - !ruby/object:RI::IncludedModule name: DublinCoreModel instance_methods: - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: setup_maker_attributes name: Channel superclass: Element ri/1.8/system/RSS/RDF/Channel/Items/cdesc-Items.yaml 0000644 00000001037 15217654526 0015565 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_uri comment: constants: - !ruby/object:RI::Constant comment: name: Seq value: "::RSS::RDF::Seq" - !ruby/object:RI::Constant comment: name: Seq value: args[0] full_name: RSS::RDF::Channel::Items includes: - !ruby/object:RI::IncludedModule name: RSS10 instance_methods: - !ruby/object:RI::MethodSummary name: resources name: Items superclass: Element ri/1.8/system/RSS/RDF/Channel/Items/new-c.yaml 0000644 00000000267 15217654526 0014442 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Channel::Items::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/RDF/Channel/Items/required_uri-c.yaml 0000644 00000000304 15217654526 0016340 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Channel::Items::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/RDF/Channel/Items/resources-i.yaml 0000644 00000000276 15217654526 0015671 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Channel::Items#resources is_singleton: false name: resources params: () visibility: public ri/1.8/system/RSS/RDF/Channel/Image/new-c.yaml 0000644 00000000267 15217654526 0014403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Channel::Image::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/RDF/Channel/Image/required_uri-c.yaml 0000644 00000000304 15217654526 0016301 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Channel::Image::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/RDF/Channel/Image/cdesc-Image.yaml 0000644 00000000533 15217654526 0015467 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_uri comment: constants: [] full_name: RSS::RDF::Channel::Image includes: - !ruby/object:RI::IncludedModule name: RSS10 instance_methods: [] name: Image superclass: Element ri/1.8/system/RSS/RDF/Bag/new-c.yaml 0000644 00000000254 15217654526 0012476 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Bag::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/RDF/Bag/required_uri-c.yaml 0000644 00000000271 15217654526 0014403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Bag::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/RDF/Bag/full_name-i.yaml 0000644 00000000263 15217654526 0013655 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Bag#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RSS/RDF/Bag/cdesc-Bag.yaml 0000644 00000001000 15217654526 0013223 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_uri comment: constants: - !ruby/object:RI::Constant comment: name: Li value: "::RSS::RDF::Li" full_name: RSS::RDF::Bag includes: - !ruby/object:RI::IncludedModule name: RSS10 instance_methods: - !ruby/object:RI::MethodSummary name: full_name - !ruby/object:RI::MethodSummary name: setup_maker name: Bag superclass: Element ri/1.8/system/RSS/RDF/Bag/setup_maker-i.yaml 0000644 00000000275 15217654526 0014235 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Bag#setup_maker is_singleton: false name: setup_maker params: (target) visibility: public ri/1.8/system/RSS/RDF/Item/new-c.yaml 0000644 00000000255 15217654526 0012704 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Item::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/RDF/Item/maker_target-i.yaml 0000644 00000000300 15217654526 0014555 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Item#maker_target is_singleton: false name: maker_target params: (items) visibility: private ri/1.8/system/RSS/RDF/Item/required_uri-c.yaml 0000644 00000000272 15217654526 0014611 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Item::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/RDF/Item/cdesc-Item.yaml 0000644 00000001341 15217654526 0013645 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_uri comment: constants: [] full_name: RSS::RDF::Item includes: - !ruby/object:RI::IncludedModule name: ContentModel - !ruby/object:RI::IncludedModule name: TrackBackModel10 - !ruby/object:RI::IncludedModule name: RSS10 - !ruby/object:RI::IncludedModule name: ImageItemModel - !ruby/object:RI::IncludedModule name: TaxonomyTopicsModel - !ruby/object:RI::IncludedModule name: SlashModel - !ruby/object:RI::IncludedModule name: DublinCoreModel instance_methods: - !ruby/object:RI::MethodSummary name: maker_target name: Item superclass: Object ri/1.8/system/RSS/RDF/Image/new-c.yaml 0000644 00000000256 15217654526 0013031 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Image::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/RDF/Image/maker_target-i.yaml 0000644 00000000301 15217654526 0014702 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Image#maker_target is_singleton: false name: maker_target params: (maker) visibility: private ri/1.8/system/RSS/RDF/Image/required_uri-c.yaml 0000644 00000000273 15217654526 0014736 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RDF::Image::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/RDF/Image/cdesc-Image.yaml 0000644 00000000701 15217654526 0014114 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_uri comment: constants: [] full_name: RSS::RDF::Image includes: - !ruby/object:RI::IncludedModule name: RSS10 - !ruby/object:RI::IncludedModule name: DublinCoreModel instance_methods: - !ruby/object:RI::MethodSummary name: maker_target name: Image superclass: Element ri/1.8/system/RSS/ImageModelUtils/validate_one_tag_name-i.yaml 0000644 00000000364 15217654526 0020122 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ImageModelUtils#validate_one_tag_name is_singleton: false name: validate_one_tag_name params: (ignore_unknown_element, name, tags) visibility: public ri/1.8/system/RSS/ImageModelUtils/cdesc-ImageModelUtils.yaml 0000644 00000000407 15217654526 0017510 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::ImageModelUtils includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: validate_one_tag_name name: ImageModelUtils superclass: ri/1.8/system/RSS/XMLParserNotFound/new-c.yaml 0000644 00000000260 15217654526 0014661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLParserNotFound::new is_singleton: true name: new params: () visibility: public ri/1.8/system/RSS/XMLParserNotFound/cdesc-XMLParserNotFound.yaml 0000644 00000000376 15217654526 0020231 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::XMLParserNotFound includes: [] instance_methods: [] name: XMLParserNotFound superclass: Error ri/1.8/system/RSS/XMLParserListener/cdesc-XMLParserListener.yaml 0000644 00000000477 15217654526 0020315 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::XMLParserListener includes: - !ruby/object:RI::IncludedModule name: ListenerMixin instance_methods: - !ruby/object:RI::MethodSummary name: xmldecl name: XMLParserListener superclass: BaseListener ri/1.8/system/RSS/XMLParserListener/xmldecl-i.yaml 0000644 00000000325 15217654526 0015561 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLParserListener#xmldecl is_singleton: false name: xmldecl params: (version, encoding, standalone) visibility: public ri/1.8/system/RSS/NSError/new-c.yaml 0000644 00000000276 15217654526 0012730 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::NSError::new is_singleton: true name: new params: (tag, prefix, require_uri) visibility: public ri/1.8/system/RSS/NSError/cdesc-NSError.yaml 0000644 00000000656 15217654526 0014332 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: prefix rw: R - !ruby/object:RI::Attribute comment: name: tag rw: R - !ruby/object:RI::Attribute comment: name: uri rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::NSError includes: [] instance_methods: [] name: NSError superclass: InvalidRSSError ri/1.8/system/RSS/Rss/new-c.yaml 0000644 00000000331 15217654526 0012135 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::new is_singleton: true name: new params: (feed_version, version=nil, encoding=nil, standalone=nil) visibility: public ri/1.8/system/RSS/Rss/items-i.yaml 0000644 00000000246 15217654526 0012500 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss#items is_singleton: false name: items params: () visibility: public ri/1.8/system/RSS/Rss/image-i.yaml 0000644 00000000246 15217654526 0012441 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss#image is_singleton: false name: image params: () visibility: public ri/1.8/system/RSS/Rss/cdesc-Rss.yaml 0000644 00000001223 15217654526 0012753 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: feed_version rw: W class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Rss includes: - !ruby/object:RI::IncludedModule name: RSS09 - !ruby/object:RI::IncludedModule name: RootElementMixin instance_methods: - !ruby/object:RI::MethodSummary name: _attrs - !ruby/object:RI::MethodSummary name: image - !ruby/object:RI::MethodSummary name: items - !ruby/object:RI::MethodSummary name: setup_maker_elements - !ruby/object:RI::MethodSummary name: textinput name: Rss superclass: Element ri/1.8/system/RSS/Rss/textinput-i.yaml 0000644 00000000256 15217654526 0013424 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss#textinput is_singleton: false name: textinput params: () visibility: public ri/1.8/system/RSS/Rss/setup_maker_elements-i.yaml 0000644 00000000311 15217654526 0015563 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss#setup_maker_elements is_singleton: false name: setup_maker_elements params: (maker) visibility: public ri/1.8/system/RSS/Rss/Channel/maker_target-i.yaml 0000644 00000000303 15217654526 0015366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel#maker_target is_singleton: false name: maker_target params: (maker) visibility: private ri/1.8/system/RSS/Rss/Channel/not_need_to_call_setup_maker_variables-i.yaml 0000644 00000000362 15217654526 0022645 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel#not_need_to_call_setup_maker_variables is_singleton: false name: not_need_to_call_setup_maker_variables params: () visibility: private ri/1.8/system/RSS/Rss/Channel/cdesc-Channel.yaml 0000644 00000001200 15217654526 0015117 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: Category value: Item::Category full_name: RSS::Rss::Channel includes: - !ruby/object:RI::IncludedModule name: RSS09 - !ruby/object:RI::IncludedModule name: ITunesChannelModel - !ruby/object:RI::IncludedModule name: DublinCoreModel instance_methods: - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: not_need_to_call_setup_maker_variables - !ruby/object:RI::MethodSummary name: setup_maker_elements name: Channel superclass: Element ri/1.8/system/RSS/Rss/Channel/SkipHours/Hour/new-c.yaml 0000644 00000000301 15217654526 0016346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::SkipHours::Hour::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/Rss/Channel/SkipHours/Hour/cdesc-Hour.yaml 0000644 00000000455 15217654526 0017343 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Rss::Channel::SkipHours::Hour includes: - !ruby/object:RI::IncludedModule name: RSS09 instance_methods: [] name: Hour superclass: Element ri/1.8/system/RSS/Rss/Channel/SkipHours/cdesc-SkipHours.yaml 0000644 00000000401 15217654526 0017427 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Rss::Channel::SkipHours includes: - !ruby/object:RI::IncludedModule name: RSS09 instance_methods: [] name: SkipHours superclass: Element ri/1.8/system/RSS/Rss/Channel/setup_maker_elements-i.yaml 0000644 00000000325 15217654526 0017140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel#setup_maker_elements is_singleton: false name: setup_maker_elements params: (channel) visibility: private ri/1.8/system/RSS/Rss/Channel/SkipDays/cdesc-SkipDays.yaml 0000644 00000000377 15217654526 0017043 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Rss::Channel::SkipDays includes: - !ruby/object:RI::IncludedModule name: RSS09 instance_methods: [] name: SkipDays superclass: Element ri/1.8/system/RSS/Rss/Channel/SkipDays/Day/new-c.yaml 0000644 00000000277 15217654526 0015762 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::SkipDays::Day::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/Rss/Channel/SkipDays/Day/cdesc-Day.yaml 0000644 00000000452 15217654526 0016540 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Rss::Channel::SkipDays::Day includes: - !ruby/object:RI::IncludedModule name: RSS09 instance_methods: [] name: Day superclass: Element ri/1.8/system/RSS/Rss/Channel/Cloud/new-c.yaml 0000644 00000000267 15217654526 0014563 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::Cloud::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/Rss/Channel/Cloud/cdesc-Cloud.yaml 0000644 00000000444 15217654526 0015674 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Rss::Channel::Cloud includes: - !ruby/object:RI::IncludedModule name: RSS09 instance_methods: [] name: Cloud superclass: Element ri/1.8/system/RSS/Rss/Channel/TextInput/new-c.yaml 0000644 00000000273 15217654526 0015456 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::TextInput::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/Rss/Channel/TextInput/maker_target-i.yaml 0000644 00000000316 15217654526 0017336 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::TextInput#maker_target is_singleton: false name: maker_target params: (maker) visibility: private ri/1.8/system/RSS/Rss/Channel/TextInput/cdesc-TextInput.yaml 0000644 00000000540 15217654526 0017465 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Rss::Channel::TextInput includes: - !ruby/object:RI::IncludedModule name: RSS09 instance_methods: - !ruby/object:RI::MethodSummary name: maker_target name: TextInput superclass: Element ri/1.8/system/RSS/Rss/Channel/Item/Guid/new-c.yaml 0000644 00000000274 15217654526 0015301 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::Item::Guid::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/Rss/Channel/Item/Guid/maker_target-i.yaml 0000644 00000000316 15217654526 0017160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::Item::Guid#maker_target is_singleton: false name: maker_target params: (item) visibility: private ri/1.8/system/RSS/Rss/Channel/Item/Guid/setup_maker_attributes-i.yaml 0000644 00000000342 15217654526 0021277 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::Item::Guid#setup_maker_attributes is_singleton: false name: setup_maker_attributes params: (guid) visibility: private ri/1.8/system/RSS/Rss/Channel/Item/Guid/cdesc-Guid.yaml 0000644 00000000722 15217654526 0016235 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Rss::Channel::Item::Guid includes: - !ruby/object:RI::IncludedModule name: RSS09 instance_methods: - !ruby/object:RI::MethodSummary name: PermaLink? - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: setup_maker_attributes name: Guid superclass: Element ri/1.8/system/RSS/Rss/Channel/Item/Guid/PermaLink%3f-i.yaml 0000644 00000000305 15217654526 0016671 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::Item::Guid#PermaLink? is_singleton: false name: PermaLink? params: () visibility: public ri/1.8/system/RSS/Rss/Channel/Item/maker_target-i.yaml 0000644 00000000311 15217654526 0016263 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::Item#maker_target is_singleton: false name: maker_target params: (items) visibility: private ri/1.8/system/RSS/Rss/Channel/Item/Enclosure/new-c.yaml 0000644 00000000301 15217654526 0016337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::Item::Enclosure::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/Rss/Channel/Item/Enclosure/maker_target-i.yaml 0000644 00000000323 15217654526 0020225 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::Item::Enclosure#maker_target is_singleton: false name: maker_target params: (item) visibility: private ri/1.8/system/RSS/Rss/Channel/Item/Enclosure/setup_maker_attributes-i.yaml 0000644 00000000354 15217654526 0022351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::Item::Enclosure#setup_maker_attributes is_singleton: false name: setup_maker_attributes params: (enclosure) visibility: private ri/1.8/system/RSS/Rss/Channel/Item/Enclosure/cdesc-Enclosure.yaml 0000644 00000000647 15217654526 0020361 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Rss::Channel::Item::Enclosure includes: - !ruby/object:RI::IncludedModule name: RSS09 instance_methods: - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: setup_maker_attributes name: Enclosure superclass: Element ri/1.8/system/RSS/Rss/Channel/Item/Source/new-c.yaml 0000644 00000000276 15217654526 0015653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::Item::Source::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/Rss/Channel/Item/Source/maker_target-i.yaml 0000644 00000000320 15217654526 0017523 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::Item::Source#maker_target is_singleton: false name: maker_target params: (item) visibility: private ri/1.8/system/RSS/Rss/Channel/Item/Source/setup_maker_attributes-i.yaml 0000644 00000000346 15217654526 0021653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::Item::Source#setup_maker_attributes is_singleton: false name: setup_maker_attributes params: (source) visibility: private ri/1.8/system/RSS/Rss/Channel/Item/Source/cdesc-Source.yaml 0000644 00000000641 15217654526 0017155 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Rss::Channel::Item::Source includes: - !ruby/object:RI::IncludedModule name: RSS09 instance_methods: - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: setup_maker_attributes name: Source superclass: Element ri/1.8/system/RSS/Rss/Channel/Item/setup_maker_element-i.yaml 0000644 00000000326 15217654526 0017654 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::Item#setup_maker_element is_singleton: false name: setup_maker_element params: (item) visibility: private ri/1.8/system/RSS/Rss/Channel/Item/Category/new-c.yaml 0000644 00000000300 15217654526 0016154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::Item::Category::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/Rss/Channel/Item/Category/maker_target-i.yaml 0000644 00000000322 15217654526 0020042 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::Item::Category#maker_target is_singleton: false name: maker_target params: (item) visibility: private ri/1.8/system/RSS/Rss/Channel/Item/Category/setup_maker_attributes-i.yaml 0000644 00000000352 15217654526 0022165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::Item::Category#setup_maker_attributes is_singleton: false name: setup_maker_attributes params: (category) visibility: private ri/1.8/system/RSS/Rss/Channel/Item/Category/cdesc-Category.yaml 0000644 00000000645 15217654526 0020013 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Rss::Channel::Item::Category includes: - !ruby/object:RI::IncludedModule name: RSS09 instance_methods: - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: setup_maker_attributes name: Category superclass: Element ri/1.8/system/RSS/Rss/Channel/Item/_setup_maker_element-i.yaml 0000644 00000000435 15217654526 0020014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #setup_maker_element" full_name: RSS::Rss::Channel::Item#_setup_maker_element is_singleton: false name: _setup_maker_element params: (item) visibility: private ri/1.8/system/RSS/Rss/Channel/Item/cdesc-Item.yaml 0000644 00000001320 15217654526 0015346 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Rss::Channel::Item includes: - !ruby/object:RI::IncludedModule name: RSS09 - !ruby/object:RI::IncludedModule name: ContentModel - !ruby/object:RI::IncludedModule name: TrackBackModel20 - !ruby/object:RI::IncludedModule name: ITunesItemModel - !ruby/object:RI::IncludedModule name: DublinCoreModel instance_methods: - !ruby/object:RI::MethodSummary name: _setup_maker_element - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: setup_maker_element - !ruby/object:RI::MethodSummary name: setup_maker_element name: Item superclass: Element ri/1.8/system/RSS/Rss/Channel/Image/new-c.yaml 0000644 00000000267 15217654526 0014537 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::Image::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/Rss/Channel/Image/maker_target-i.yaml 0000644 00000000312 15217654526 0016410 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss::Channel::Image#maker_target is_singleton: false name: maker_target params: (maker) visibility: private ri/1.8/system/RSS/Rss/Channel/Image/cdesc-Image.yaml 0000644 00000000530 15217654526 0015620 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Rss::Channel::Image includes: - !ruby/object:RI::IncludedModule name: RSS09 instance_methods: - !ruby/object:RI::MethodSummary name: maker_target name: Image superclass: Element ri/1.8/system/RSS/Rss/_attrs-i.yaml 0000644 00000000251 15217654526 0012647 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Rss#_attrs is_singleton: false name: _attrs params: () visibility: private ri/1.8/system/RSS/DublinCoreModel/cdesc-DublinCoreModel.yaml 0000644 00000001736 15217654526 0017464 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: TEXT_ELEMENTS value: "{ \"title\" => nil, \"description\" => nil, \"creator\" => nil, \"subject\" => nil, \"publisher\" => nil, \"contributor\" => nil, \"type\" => nil, \"format\" => nil, \"identifier\" => nil, \"source\" => nil, \"language\" => nil, \"relation\" => nil, \"coverage\" => nil, \"rights\" => \"rights_list\"" - !ruby/object:RI::Constant comment: name: DATE_ELEMENTS value: "{ \"date\" => \"w3cdtf\", }" - !ruby/object:RI::Constant comment: name: ELEMENT_NAME_INFOS value: DublinCoreModel::TEXT_ELEMENTS.to_a - !ruby/object:RI::Constant comment: name: ELEMENTS value: TEXT_ELEMENTS.keys + DATE_ELEMENTS.keys full_name: RSS::DublinCoreModel includes: [] instance_methods: [] name: DublinCoreModel superclass: ri/1.8/system/RSS/RootElementMixin/output_encoding%3d-i.yaml 0000644 00000000314 15217654526 0017550 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RootElementMixin#output_encoding= is_singleton: false name: output_encoding= params: (enc) visibility: public ri/1.8/system/RSS/RootElementMixin/new-c.yaml 0000644 00000000346 15217654526 0014636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RootElementMixin::new is_singleton: true name: new params: (feed_version, version=nil, encoding=nil, standalone=nil) visibility: public ri/1.8/system/RSS/RootElementMixin/maker_target-i.yaml 0000644 00000000310 15217654526 0016507 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RootElementMixin#maker_target is_singleton: false name: maker_target params: (target) visibility: private ri/1.8/system/RSS/RootElementMixin/to_rss-i.yaml 0000644 00000000301 15217654526 0015353 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RootElementMixin#to_rss is_singleton: false name: to_rss params: (type, &block) visibility: public ri/1.8/system/RSS/RootElementMixin/to_atom-i.yaml 0000644 00000000303 15217654526 0015506 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RootElementMixin#to_atom is_singleton: false name: to_atom params: (type, &block) visibility: public ri/1.8/system/RSS/RootElementMixin/cdesc-RootElementMixin.yaml 0000644 00000002613 15217654526 0020145 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: encoding rw: RW - !ruby/object:RI::Attribute comment: name: feed_subtype rw: R - !ruby/object:RI::Attribute comment: name: feed_type rw: R - !ruby/object:RI::Attribute comment: name: feed_version rw: R - !ruby/object:RI::Attribute comment: name: output_encoding rw: R - !ruby/object:RI::Attribute comment: name: standalone rw: RW - !ruby/object:RI::Attribute comment: name: version rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::RootElementMixin includes: - !ruby/object:RI::IncludedModule name: XMLStyleSheetMixin instance_methods: - !ruby/object:RI::MethodSummary name: feed_info - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: ns_declarations - !ruby/object:RI::MethodSummary name: output_encoding= - !ruby/object:RI::MethodSummary name: same_feed_type? - !ruby/object:RI::MethodSummary name: setup_maker - !ruby/object:RI::MethodSummary name: tag - !ruby/object:RI::MethodSummary name: to_atom - !ruby/object:RI::MethodSummary name: to_feed - !ruby/object:RI::MethodSummary name: to_rss - !ruby/object:RI::MethodSummary name: to_xml - !ruby/object:RI::MethodSummary name: xmldecl name: RootElementMixin superclass: ri/1.8/system/RSS/RootElementMixin/to_feed-i.yaml 0000644 00000000303 15217654526 0015451 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RootElementMixin#to_feed is_singleton: false name: to_feed params: (type, &block) visibility: public ri/1.8/system/RSS/RootElementMixin/to_xml-i.yaml 0000644 00000000305 15217654526 0015350 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RootElementMixin#to_xml is_singleton: false name: to_xml params: (type=nil, &block) visibility: public ri/1.8/system/RSS/RootElementMixin/same_feed_type%3f-i.yaml 0000644 00000000314 15217654526 0017315 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RootElementMixin#same_feed_type? is_singleton: false name: same_feed_type? params: (type) visibility: private ri/1.8/system/RSS/RootElementMixin/xmldecl-i.yaml 0000644 00000000270 15217654526 0015477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RootElementMixin#xmldecl is_singleton: false name: xmldecl params: () visibility: private ri/1.8/system/RSS/RootElementMixin/ns_declarations-i.yaml 0000644 00000000310 15217654526 0017212 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RootElementMixin#ns_declarations is_singleton: false name: ns_declarations params: () visibility: private ri/1.8/system/RSS/RootElementMixin/tag-i.yaml 0000644 00000000310 15217654526 0014615 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RootElementMixin#tag is_singleton: false name: tag params: (indent, attrs={}, &block) visibility: private ri/1.8/system/RSS/RootElementMixin/feed_info-i.yaml 0000644 00000000273 15217654526 0015770 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RootElementMixin#feed_info is_singleton: false name: feed_info params: () visibility: public ri/1.8/system/RSS/RootElementMixin/setup_maker-i.yaml 0000644 00000000304 15217654526 0016364 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::RootElementMixin#setup_maker is_singleton: false name: setup_maker params: (maker) visibility: public ri/1.8/system/RSS/Parser/new-c.yaml 0000644 00000000320 15217654526 0012620 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Parser::new is_singleton: true name: new params: (rss, parser_class=self.class.default_parser) visibility: public ri/1.8/system/RSS/Parser/maybe_xml%3f-i.yaml 0000644 00000000432 15217654526 0014314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: maybe_xml? tests if source is a string that looks like XML. full_name: RSS::Parser#maybe_xml? is_singleton: false name: maybe_xml? params: (source) visibility: private ri/1.8/system/RSS/Parser/cdesc-Parser.yaml 0000644 00000001047 15217654526 0014131 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: default_parser - !ruby/object:RI::MethodSummary name: default_parser= - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: parse comment: constants: [] full_name: RSS::Parser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: maybe_xml? - !ruby/object:RI::MethodSummary name: normalize_rss - !ruby/object:RI::MethodSummary name: to_uri name: Parser superclass: Object ri/1.8/system/RSS/Parser/default_parser%3d-c.yaml 0000644 00000000527 15217654526 0015334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set @@default_parser to new_value if it is one of the available parsers. Else raise NotValidXMLParser error. full_name: RSS::Parser::default_parser= is_singleton: true name: default_parser= params: (new_value) visibility: public ri/1.8/system/RSS/Parser/parse-c.yaml 0000644 00000000370 15217654526 0013146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Parser::parse is_singleton: true name: parse params: (rss, do_validate=true, ignore_unknown_element=true, parser_class=default_parser) visibility: public ri/1.8/system/RSS/Parser/default_parser-c.yaml 0000644 00000000273 15217654526 0015036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Parser::default_parser is_singleton: true name: default_parser params: () visibility: public ri/1.8/system/RSS/Parser/normalize_rss-i.yaml 0000644 00000000564 15217654526 0014736 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Try to get the XML associated with rss. Return rss if it already looks like XML, or treat it as a URI, or a file to get the XML, full_name: RSS::Parser#normalize_rss is_singleton: false name: normalize_rss params: (rss) visibility: private ri/1.8/system/RSS/Parser/to_uri-i.yaml 0000644 00000000441 15217654526 0013342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Attempt to convert rss to a URI, but just return it if there's a ::URI::Error full_name: RSS::Parser#to_uri is_singleton: false name: to_uri params: (rss) visibility: private ri/1.8/system/RSS/TrackBackModel20/TrackBackAbout/new-c.yaml 0000644 00000000304 15217654526 0017156 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackModel20::TrackBackAbout::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/TrackBackModel20/TrackBackAbout/required_uri-c.yaml 0000644 00000000321 15217654526 0021063 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackModel20::TrackBackAbout::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/TrackBackModel20/TrackBackAbout/required_prefix-c.yaml 0000644 00000000327 15217654526 0021567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackModel20::TrackBackAbout::required_prefix is_singleton: true name: required_prefix params: () visibility: public ri/1.8/system/RSS/TrackBackModel20/TrackBackAbout/full_name-i.yaml 0000644 00000000313 15217654526 0020335 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackModel20::TrackBackAbout#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RSS/TrackBackModel20/TrackBackAbout/cdesc-TrackBackAbout.yaml 0000644 00000000734 15217654526 0022053 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_prefix - !ruby/object:RI::MethodSummary name: required_uri comment: constants: [] full_name: RSS::TrackBackModel20::TrackBackAbout includes: - !ruby/object:RI::IncludedModule name: RSS09 instance_methods: - !ruby/object:RI::MethodSummary name: full_name name: TrackBackAbout superclass: Element ri/1.8/system/RSS/TrackBackModel20/TrackBackPing/new-c.yaml 0000644 00000000303 15217654526 0017000 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackModel20::TrackBackPing::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/TrackBackModel20/TrackBackPing/required_uri-c.yaml 0000644 00000000320 15217654526 0020705 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackModel20::TrackBackPing::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/TrackBackModel20/TrackBackPing/cdesc-TrackBackPing.yaml 0000644 00000000732 15217654526 0021517 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_prefix - !ruby/object:RI::MethodSummary name: required_uri comment: constants: [] full_name: RSS::TrackBackModel20::TrackBackPing includes: - !ruby/object:RI::IncludedModule name: RSS09 instance_methods: - !ruby/object:RI::MethodSummary name: full_name name: TrackBackPing superclass: Element ri/1.8/system/RSS/TrackBackModel20/TrackBackPing/required_prefix-c.yaml 0000644 00000000326 15217654526 0021411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackModel20::TrackBackPing::required_prefix is_singleton: true name: required_prefix params: () visibility: public ri/1.8/system/RSS/TrackBackModel20/TrackBackPing/full_name-i.yaml 0000644 00000000312 15217654526 0020157 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackModel20::TrackBackPing#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RSS/TrackBackModel20/cdesc-TrackBackModel20.yaml 0000644 00000000314 15217654526 0017355 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::TrackBackModel20 includes: [] instance_methods: [] name: TrackBackModel20 superclass: ri/1.8/system/RSS/XMLParserParser/cdesc-XMLParserParser.yaml 0000644 00000000462 15217654526 0017425 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: listener comment: constants: [] full_name: RSS::XMLParserParser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _parse name: XMLParserParser superclass: BaseParser ri/1.8/system/RSS/XMLParserParser/_parse-i.yaml 0000644 00000000265 15217654526 0015054 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLParserParser#_parse is_singleton: false name: _parse params: () visibility: private ri/1.8/system/RSS/XMLParserParser/listener-c.yaml 0000644 00000000270 15217654526 0015416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLParserParser::listener is_singleton: true name: listener params: () visibility: public ri/1.8/system/RSS/Element/converter%3d-i.yaml 0000644 00000000275 15217654526 0014506 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#converter= is_singleton: false name: converter= params: (converter) visibility: public ri/1.8/system/RSS/Element/new-c.yaml 0000644 00000000301 15217654526 0012754 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::new is_singleton: true name: new params: (do_validate=true, attrs=nil) visibility: public ri/1.8/system/RSS/Element/make_start_tag-i.yaml 0000644 00000000327 15217654526 0015166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#make_start_tag is_singleton: false name: make_start_tag params: (indent, next_indent, attrs) visibility: private ri/1.8/system/RSS/Element/to_s-i.yaml 0000644 00000000304 15217654526 0013140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#to_s is_singleton: false name: to_s params: (need_convert=true, indent='') visibility: public ri/1.8/system/RSS/Element/validate_attribute-i.yaml 0000644 00000000305 15217654526 0016051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#validate_attribute is_singleton: false name: validate_attribute params: () visibility: private ri/1.8/system/RSS/Element/add_need_initialize_variable-c.yaml 0000644 00000000345 15217654526 0020004 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::add_need_initialize_variable is_singleton: true name: add_need_initialize_variable params: (variable_name) visibility: public ri/1.8/system/RSS/Element/have_xml_content%3f-i.yaml 0000644 00000000302 15217654526 0016025 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#have_xml_content? is_singleton: false name: have_xml_content? params: () visibility: public ri/1.8/system/RSS/Element/add_to_element_method-c.yaml 0000644 00000000325 15217654526 0016474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::add_to_element_method is_singleton: true name: add_to_element_method params: (method_name) visibility: public ri/1.8/system/RSS/Element/collect_attrs-i.yaml 0000644 00000000273 15217654526 0015043 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#collect_attrs is_singleton: false name: collect_attrs params: () visibility: private ri/1.8/system/RSS/Element/have_required_elements%3f-i.yaml 0000644 00000000321 15217654526 0017210 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#have_required_elements? is_singleton: false name: have_required_elements? params: () visibility: protected ri/1.8/system/RSS/Element/required_uri-c.yaml 0000644 00000000270 15217654526 0014667 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/Element/calc_indent-i.yaml 0000644 00000000366 15217654526 0014447 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: For backward compatibility full_name: RSS::Element#calc_indent is_singleton: false name: calc_indent params: () visibility: private ri/1.8/system/RSS/Element/xmled_content-i.yaml 0000644 00000000273 15217654526 0015044 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#xmled_content is_singleton: false name: xmled_content params: () visibility: private ri/1.8/system/RSS/Element/need_base64_encode%3f-i.yaml 0000644 00000000306 15217654526 0016070 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#need_base64_encode? is_singleton: false name: need_base64_encode? params: () visibility: public ri/1.8/system/RSS/Element/have_content%3f-c.yaml 0000644 00000000272 15217654526 0015145 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::have_content? is_singleton: true name: have_content? params: () visibility: public ri/1.8/system/RSS/Element/tag_name-i.yaml 0000644 00000000260 15217654526 0013750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#tag_name is_singleton: false name: tag_name params: () visibility: public ri/1.8/system/RSS/Element/initialize_variables-i.yaml 0000644 00000000316 15217654526 0016370 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#initialize_variables is_singleton: false name: initialize_variables params: (attrs) visibility: private ri/1.8/system/RSS/Element/to_element_methods-c.yaml 0000644 00000000304 15217654526 0016044 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::to_element_methods is_singleton: true name: to_element_methods params: () visibility: public ri/1.8/system/RSS/Element/set_next_element-i.yaml 0000644 00000000326 15217654526 0015542 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#set_next_element is_singleton: false name: set_next_element params: (tag_name, next_element) visibility: public ri/1.8/system/RSS/Element/must_call_validators-c.yaml 0000644 00000000310 15217654526 0016376 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::must_call_validators is_singleton: true name: must_call_validators params: () visibility: public ri/1.8/system/RSS/Element/convert-i.yaml 0000644 00000000263 15217654526 0013660 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#convert is_singleton: false name: convert params: (value) visibility: public ri/1.8/system/RSS/Element/install_get_attribute-c.yaml 0000644 00000000415 15217654526 0016561 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::install_get_attribute is_singleton: true name: install_get_attribute params: (name, uri, required=true, type=nil, disp_name=nil, element_name=nil) visibility: public ri/1.8/system/RSS/Element/validate-i.yaml 0000644 00000000313 15217654526 0013765 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#validate is_singleton: false name: validate params: (ignore_unknown_element=true) visibility: public ri/1.8/system/RSS/Element/__validate-i.yaml 0000644 00000000347 15217654526 0014272 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#__validate is_singleton: false name: __validate params: (ignore_unknown_element, tags=_tags, recursive=true) visibility: private ri/1.8/system/RSS/Element/initialize_have_children_elements-i.yaml 0000644 00000000343 15217654526 0021107 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#initialize_have_children_elements is_singleton: false name: initialize_have_children_elements params: () visibility: private ri/1.8/system/RSS/Element/need_parent%3f-c.yaml 0000644 00000000270 15217654526 0014752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::need_parent? is_singleton: true name: need_parent? params: () visibility: public ri/1.8/system/RSS/Element/get_attributes-c.yaml 0000644 00000000274 15217654526 0015221 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::get_attributes is_singleton: true name: get_attributes params: () visibility: public ri/1.8/system/RSS/Element/have_children_elements-c.yaml 0000644 00000000314 15217654526 0016656 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::have_children_elements is_singleton: true name: have_children_elements params: () visibility: public ri/1.8/system/RSS/Element/install_must_call_validator-c.yaml 0000644 00000000341 15217654526 0017745 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::install_must_call_validator is_singleton: true name: install_must_call_validator params: (prefix, uri) visibility: public ri/1.8/system/RSS/Element/need_initialize_variables-c.yaml 0000644 00000000322 15217654526 0017352 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::need_initialize_variables is_singleton: true name: need_initialize_variables params: () visibility: public ri/1.8/system/RSS/Element/tag_name_with_prefix-i.yaml 0000644 00000000317 15217654526 0016363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#tag_name_with_prefix is_singleton: false name: tag_name_with_prefix params: (prefix) visibility: private ri/1.8/system/RSS/Element/inherited_base-c.yaml 0000644 00000000274 15217654526 0015141 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::inherited_base is_singleton: true name: inherited_base params: () visibility: public ri/1.8/system/RSS/Element/empty_content%3f-i.yaml 0000644 00000000275 15217654526 0015371 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#empty_content? is_singleton: false name: empty_content? params: () visibility: private ri/1.8/system/RSS/Element/add_plural_form-c.yaml 0000644 00000000316 15217654526 0015323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::add_plural_form is_singleton: true name: add_plural_form params: (singular, plural) visibility: public ri/1.8/system/RSS/Element/validate_for_stream-i.yaml 0000644 00000000347 15217654526 0016215 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#validate_for_stream is_singleton: false name: validate_for_stream params: (tags, ignore_unknown_element=true) visibility: public ri/1.8/system/RSS/Element/cdesc-Element.yaml 0000644 00000010175 15217654526 0014425 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: do_validate rw: RW - !ruby/object:RI::Attribute comment: name: parent rw: RW class_methods: - !ruby/object:RI::MethodSummary name: add_have_children_element - !ruby/object:RI::MethodSummary name: add_need_initialize_variable - !ruby/object:RI::MethodSummary name: add_plural_form - !ruby/object:RI::MethodSummary name: add_to_element_method - !ruby/object:RI::MethodSummary name: content_setup - !ruby/object:RI::MethodSummary name: def_corresponded_attr_reader - !ruby/object:RI::MethodSummary name: def_corresponded_attr_writer - !ruby/object:RI::MethodSummary name: get_attributes - !ruby/object:RI::MethodSummary name: have_children_elements - !ruby/object:RI::MethodSummary name: have_content? - !ruby/object:RI::MethodSummary name: inherited - !ruby/object:RI::MethodSummary name: inherited_base - !ruby/object:RI::MethodSummary name: install_get_attribute - !ruby/object:RI::MethodSummary name: install_model - !ruby/object:RI::MethodSummary name: install_must_call_validator - !ruby/object:RI::MethodSummary name: install_ns - !ruby/object:RI::MethodSummary name: models - !ruby/object:RI::MethodSummary name: must_call_validators - !ruby/object:RI::MethodSummary name: need_initialize_variables - !ruby/object:RI::MethodSummary name: need_parent? - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: plural_forms - !ruby/object:RI::MethodSummary name: required_prefix - !ruby/object:RI::MethodSummary name: required_uri - !ruby/object:RI::MethodSummary name: tag_name - !ruby/object:RI::MethodSummary name: to_element_methods comment: constants: - !ruby/object:RI::Constant comment: name: INDENT value: "\" \"" - !ruby/object:RI::Constant comment: name: MUST_CALL_VALIDATORS value: "{}" - !ruby/object:RI::Constant comment: name: MODELS value: "[]" - !ruby/object:RI::Constant comment: name: GET_ATTRIBUTES value: "[]" - !ruby/object:RI::Constant comment: name: HAVE_CHILDREN_ELEMENTS value: "[]" - !ruby/object:RI::Constant comment: name: TO_ELEMENT_METHODS value: "[]" - !ruby/object:RI::Constant comment: name: NEED_INITIALIZE_VARIABLES value: "[]" - !ruby/object:RI::Constant comment: name: PLURAL_FORMS value: "{}" full_name: RSS::Element includes: - !ruby/object:RI::IncludedModule name: Utils - !ruby/object:RI::IncludedModule name: SetupMaker instance_methods: - !ruby/object:RI::MethodSummary name: __validate - !ruby/object:RI::MethodSummary name: _attrs - !ruby/object:RI::MethodSummary name: _tags - !ruby/object:RI::MethodSummary name: _validate - !ruby/object:RI::MethodSummary name: calc_indent - !ruby/object:RI::MethodSummary name: children - !ruby/object:RI::MethodSummary name: collect_attrs - !ruby/object:RI::MethodSummary name: content_is_set? - !ruby/object:RI::MethodSummary name: convert - !ruby/object:RI::MethodSummary name: converter= - !ruby/object:RI::MethodSummary name: empty_content? - !ruby/object:RI::MethodSummary name: full_name - !ruby/object:RI::MethodSummary name: have_required_elements? - !ruby/object:RI::MethodSummary name: have_xml_content? - !ruby/object:RI::MethodSummary name: initialize_have_children_elements - !ruby/object:RI::MethodSummary name: initialize_variables - !ruby/object:RI::MethodSummary name: make_start_tag - !ruby/object:RI::MethodSummary name: need_base64_encode? - !ruby/object:RI::MethodSummary name: set_next_element - !ruby/object:RI::MethodSummary name: tag - !ruby/object:RI::MethodSummary name: tag_filter - !ruby/object:RI::MethodSummary name: tag_name - !ruby/object:RI::MethodSummary name: tag_name_with_prefix - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: valid? - !ruby/object:RI::MethodSummary name: validate - !ruby/object:RI::MethodSummary name: validate_attribute - !ruby/object:RI::MethodSummary name: validate_for_stream - !ruby/object:RI::MethodSummary name: xmled_content name: Element superclass: Object ri/1.8/system/RSS/Element/_validate-i.yaml 0000644 00000000356 15217654526 0014133 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#_validate is_singleton: false name: _validate params: (ignore_unknown_element, tags, uri, models=self.class.models) visibility: private ri/1.8/system/RSS/Element/required_prefix-c.yaml 0000644 00000000276 15217654526 0015373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::required_prefix is_singleton: true name: required_prefix params: () visibility: public ri/1.8/system/RSS/Element/full_name-i.yaml 0000644 00000000262 15217654526 0014141 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RSS/Element/def_corresponded_attr_writer-c.yaml 0000644 00000000365 15217654526 0020130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::def_corresponded_attr_writer is_singleton: true name: def_corresponded_attr_writer params: (name, type=nil, disp_name=nil) visibility: public ri/1.8/system/RSS/Element/inherited-c.yaml 0000644 00000000267 15217654526 0014151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::inherited is_singleton: true name: inherited params: (klass) visibility: public ri/1.8/system/RSS/Element/add_have_children_element-c.yaml 0000644 00000000354 15217654526 0017307 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::add_have_children_element is_singleton: true name: add_have_children_element params: (variable_name, plural_name) visibility: public ri/1.8/system/RSS/Element/children-i.yaml 0000644 00000000261 15217654526 0013766 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#children is_singleton: false name: children params: () visibility: private ri/1.8/system/RSS/Element/plural_forms-c.yaml 0000644 00000000270 15217654526 0014675 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::plural_forms is_singleton: true name: plural_forms params: () visibility: public ri/1.8/system/RSS/Element/content_is_set%3f-i.yaml 0000644 00000000277 15217654526 0015523 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#content_is_set? is_singleton: false name: content_is_set? params: () visibility: private ri/1.8/system/RSS/Element/content_setup-c.yaml 0000644 00000000321 15217654526 0015057 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::content_setup is_singleton: true name: content_setup params: (type=nil, disp_name=nil) visibility: public ri/1.8/system/RSS/Element/valid%3f-i.yaml 0000644 00000000307 15217654526 0013574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#valid? is_singleton: false name: valid? params: (ignore_unknown_element=true) visibility: public ri/1.8/system/RSS/Element/tag_name-c.yaml 0000644 00000000260 15217654526 0013742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::tag_name is_singleton: true name: tag_name params: () visibility: public ri/1.8/system/RSS/Element/tag_filter-i.yaml 0000644 00000000271 15217654526 0014317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#tag_filter is_singleton: false name: tag_filter params: (tags) visibility: private ri/1.8/system/RSS/Element/_attrs-i.yaml 0000644 00000000255 15217654526 0013475 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#_attrs is_singleton: false name: _attrs params: () visibility: private ri/1.8/system/RSS/Element/models-c.yaml 0000644 00000000254 15217654526 0013455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::models is_singleton: true name: models params: () visibility: public ri/1.8/system/RSS/Element/tag-i.yaml 0000644 00000000312 15217654526 0012746 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#tag is_singleton: false name: tag params: (indent, additional_attrs={}, &block) visibility: private ri/1.8/system/RSS/Element/install_model-c.yaml 0000644 00000000350 15217654526 0015015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::install_model is_singleton: true name: install_model params: (tag, uri, occurs=nil, getter=nil, plural=false) visibility: public ri/1.8/system/RSS/Element/_tags-i.yaml 0000644 00000000253 15217654526 0013274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element#_tags is_singleton: false name: _tags params: () visibility: private ri/1.8/system/RSS/Element/install_ns-c.yaml 0000644 00000000277 15217654526 0014345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::install_ns is_singleton: true name: install_ns params: (prefix, uri) visibility: public ri/1.8/system/RSS/Element/def_corresponded_attr_reader-c.yaml 0000644 00000000346 15217654526 0020055 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Element::def_corresponded_attr_reader is_singleton: true name: def_corresponded_attr_reader params: (name, type=nil) visibility: public ri/1.8/system/RSS/BaseParser/new-c.yaml 0000644 00000000254 15217654526 0013421 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseParser::new is_singleton: true name: new params: (rss) visibility: public ri/1.8/system/RSS/BaseParser/do_validate-i.yaml 0000644 00000000271 15217654526 0015110 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseParser#do_validate is_singleton: false name: do_validate params: () visibility: public ri/1.8/system/RSS/BaseParser/do_validate%3d-i.yaml 0000644 00000000304 15217654526 0015401 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseParser#do_validate= is_singleton: false name: do_validate= params: (new_value) visibility: public ri/1.8/system/RSS/BaseParser/raise_for_undefined_entity%3f-c.yaml 0000644 00000000331 15217654526 0020510 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseParser::raise_for_undefined_entity? is_singleton: true name: raise_for_undefined_entity? params: () visibility: public ri/1.8/system/RSS/BaseParser/parse-i.yaml 0000644 00000000255 15217654526 0013751 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseParser#parse is_singleton: false name: parse params: () visibility: public ri/1.8/system/RSS/BaseParser/ignore_unknown_element-i.yaml 0000644 00000000317 15217654526 0017411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseParser#ignore_unknown_element is_singleton: false name: ignore_unknown_element params: () visibility: public ri/1.8/system/RSS/BaseParser/rss-i.yaml 0000644 00000000251 15217654526 0013442 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseParser#rss is_singleton: false name: rss params: () visibility: public ri/1.8/system/RSS/BaseParser/cdesc-BaseParser.yaml 0000644 00000001202 15217654526 0015510 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: raise_for_undefined_entity? comment: constants: [] full_name: RSS::BaseParser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: do_validate - !ruby/object:RI::MethodSummary name: do_validate= - !ruby/object:RI::MethodSummary name: ignore_unknown_element - !ruby/object:RI::MethodSummary name: ignore_unknown_element= - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: rss name: BaseParser superclass: Object ri/1.8/system/RSS/BaseParser/ignore_unknown_element%3d-i.yaml 0000644 00000000332 15217654526 0017702 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseParser#ignore_unknown_element= is_singleton: false name: ignore_unknown_element= params: (new_value) visibility: public ri/1.8/system/RSS/SetupMaker/maker_target-i.yaml 0000644 00000000301 15217654526 0015325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::SetupMaker#maker_target is_singleton: false name: maker_target params: (maker) visibility: private ri/1.8/system/RSS/SetupMaker/not_need_to_call_setup_maker_variables-i.yaml 0000644 00000000360 15217654526 0022604 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::SetupMaker#not_need_to_call_setup_maker_variables is_singleton: false name: not_need_to_call_setup_maker_variables params: () visibility: private ri/1.8/system/RSS/SetupMaker/setup_maker_attributes-i.yaml 0000644 00000000326 15217654526 0017454 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::SetupMaker#setup_maker_attributes is_singleton: false name: setup_maker_attributes params: (target) visibility: private ri/1.8/system/RSS/SetupMaker/setup_maker_elements-i.yaml 0000644 00000000322 15217654526 0017076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::SetupMaker#setup_maker_elements is_singleton: false name: setup_maker_elements params: (parent) visibility: private ri/1.8/system/RSS/SetupMaker/setup_maker_element-i.yaml 0000644 00000000320 15217654526 0016711 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::SetupMaker#setup_maker_element is_singleton: false name: setup_maker_element params: (target) visibility: private ri/1.8/system/RSS/SetupMaker/cdesc-SetupMaker.yaml 0000644 00000001071 15217654526 0015576 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::SetupMaker includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: not_need_to_call_setup_maker_variables - !ruby/object:RI::MethodSummary name: setup_maker - !ruby/object:RI::MethodSummary name: setup_maker_attributes - !ruby/object:RI::MethodSummary name: setup_maker_element - !ruby/object:RI::MethodSummary name: setup_maker_elements name: SetupMaker superclass: ri/1.8/system/RSS/SetupMaker/setup_maker-i.yaml 0000644 00000000276 15217654526 0015212 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::SetupMaker#setup_maker is_singleton: false name: setup_maker params: (maker) visibility: public ri/1.8/system/RSS/SlashModel/cdesc-SlashModel.yaml 0000644 00000000672 15217654526 0015532 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: - !ruby/object:RI::Constant comment: name: ELEMENT_INFOS value: \ [ ["section"], ["department"], ["comments", :positive_integer], ["hit_parade", :csv_integer], ] full_name: RSS::SlashModel includes: [] instance_methods: [] name: SlashModel superclass: ri/1.8/system/RSS/SlashModel/append_features-c.yaml 0000644 00000000306 15217654526 0015777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::SlashModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Atom/URIContentModel/cdesc-URIContentModel.yaml 0000644 00000000474 15217654526 0020272 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: [] full_name: RSS::Atom::URIContentModel includes: - !ruby/object:RI::IncludedModule name: ContentModel instance_methods: [] name: URIContentModel superclass: ri/1.8/system/RSS/Atom/URIContentModel/append_features-c.yaml 0000644 00000000321 15217654526 0017614 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::URIContentModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Atom/PersonConstruct/cdesc-PersonConstruct.yaml 0000644 00000000473 15217654526 0020671 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: [] full_name: RSS::Atom::PersonConstruct includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: maker_target name: PersonConstruct superclass: ri/1.8/system/RSS/Atom/PersonConstruct/maker_target-i.yaml 0000644 00000000314 15217654526 0017324 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::PersonConstruct#maker_target is_singleton: false name: maker_target params: (target) visibility: public ri/1.8/system/RSS/Atom/PersonConstruct/Uri/cdesc-Uri.yaml 0000644 00000000504 15217654526 0017007 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::PersonConstruct::Uri includes: - !ruby/object:RI::IncludedModule name: CommonModel - !ruby/object:RI::IncludedModule name: URIContentModel instance_methods: [] name: Uri superclass: RSS::Element ri/1.8/system/RSS/Atom/PersonConstruct/Email/cdesc-Email.yaml 0000644 00000000505 15217654526 0017570 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::PersonConstruct::Email includes: - !ruby/object:RI::IncludedModule name: CommonModel - !ruby/object:RI::IncludedModule name: ContentModel instance_methods: [] name: Email superclass: RSS::Element ri/1.8/system/RSS/Atom/PersonConstruct/Name/cdesc-Name.yaml 0000644 00000000503 15217654526 0017250 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::PersonConstruct::Name includes: - !ruby/object:RI::IncludedModule name: CommonModel - !ruby/object:RI::IncludedModule name: ContentModel instance_methods: [] name: Name superclass: RSS::Element ri/1.8/system/RSS/Atom/PersonConstruct/append_features-c.yaml 0000644 00000000321 15217654526 0020014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::PersonConstruct::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Atom/ContentModel/ClassMethods/content_type-i.yaml 0000644 00000000321 15217654526 0021201 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::ContentModel::ClassMethods#content_type is_singleton: false name: content_type params: () visibility: public ri/1.8/system/RSS/Atom/ContentModel/ClassMethods/cdesc-ClassMethods.yaml 0000644 00000000414 15217654526 0021713 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::ContentModel::ClassMethods includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: content_type name: ClassMethods superclass: ri/1.8/system/RSS/Atom/ContentModel/maker_target-i.yaml 0000644 00000000311 15217654526 0016541 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::ContentModel#maker_target is_singleton: false name: maker_target params: (target) visibility: public ri/1.8/system/RSS/Atom/ContentModel/cdesc-ContentModel.yaml 0000644 00000000670 15217654526 0017330 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: [] full_name: RSS::Atom::ContentModel includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: setup_maker_element - !ruby/object:RI::MethodSummary name: setup_maker_element_writer name: ContentModel superclass: ri/1.8/system/RSS/Atom/ContentModel/setup_maker_element-i.yaml 0000644 00000000330 15217654526 0020125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::ContentModel#setup_maker_element is_singleton: false name: setup_maker_element params: (target) visibility: private ri/1.8/system/RSS/Atom/ContentModel/setup_maker_element_writer-i.yaml 0000644 00000000340 15217654526 0021522 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::ContentModel#setup_maker_element_writer is_singleton: false name: setup_maker_element_writer params: () visibility: private ri/1.8/system/RSS/Atom/ContentModel/append_features-c.yaml 0000644 00000000316 15217654526 0017240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::ContentModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Atom/CommonModel/required_uri-c.yaml 0000644 00000000302 15217654526 0016403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::CommonModel::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/Atom/CommonModel/need_parent%3f-c.yaml 0000644 00000000302 15217654526 0016466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::CommonModel::need_parent? is_singleton: true name: need_parent? params: () visibility: public ri/1.8/system/RSS/Atom/CommonModel/cdesc-CommonModel.yaml 0000644 00000000770 15217654526 0016765 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features - !ruby/object:RI::MethodSummary name: need_parent? - !ruby/object:RI::MethodSummary name: required_uri comment: constants: - !ruby/object:RI::Constant comment: name: NSPOOL value: "{}" - !ruby/object:RI::Constant comment: name: ELEMENTS value: "[]" full_name: RSS::Atom::CommonModel includes: [] instance_methods: [] name: CommonModel superclass: ri/1.8/system/RSS/Atom/CommonModel/append_features-c.yaml 0000644 00000000315 15217654526 0017055 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::CommonModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Atom/TextConstruct/cdesc-TextConstruct.yaml 0000644 00000001303 15217654526 0020016 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: xhtml rw: W class_methods: - !ruby/object:RI::MethodSummary name: append_features - !ruby/object:RI::MethodSummary name: xml_getter - !ruby/object:RI::MethodSummary name: xml_setter comment: constants: [] full_name: RSS::Atom::TextConstruct includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: atom_validate - !ruby/object:RI::MethodSummary name: have_xml_content? - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: setup_maker_attributes - !ruby/object:RI::MethodSummary name: xhtml name: TextConstruct superclass: ri/1.8/system/RSS/Atom/TextConstruct/have_xml_content%3f-i.yaml 0000644 00000000316 15217654526 0020172 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::TextConstruct#have_xml_content? is_singleton: false name: have_xml_content? params: () visibility: public ri/1.8/system/RSS/Atom/TextConstruct/maker_target-i.yaml 0000644 00000000313 15217654526 0017001 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::TextConstruct#maker_target is_singleton: false name: maker_target params: (target) visibility: private ri/1.8/system/RSS/Atom/TextConstruct/xhtml-i.yaml 0000644 00000000266 15217654526 0015477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::TextConstruct#xhtml is_singleton: false name: xhtml params: () visibility: public ri/1.8/system/RSS/Atom/TextConstruct/xml_getter-c.yaml 0000644 00000000300 15217654526 0016474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::TextConstruct::xml_getter is_singleton: true name: xml_getter params: () visibility: public ri/1.8/system/RSS/Atom/TextConstruct/setup_maker_attributes-i.yaml 0000644 00000000337 15217654526 0021127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::TextConstruct#setup_maker_attributes is_singleton: false name: setup_maker_attributes params: (target) visibility: private ri/1.8/system/RSS/Atom/TextConstruct/xml_setter-c.yaml 0000644 00000000300 15217654526 0016510 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::TextConstruct::xml_setter is_singleton: true name: xml_setter params: () visibility: public ri/1.8/system/RSS/Atom/TextConstruct/atom_validate-i.yaml 0000644 00000000347 15217654526 0017154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::TextConstruct#atom_validate is_singleton: false name: atom_validate params: (ignore_unknown_element, tags, uri) visibility: public ri/1.8/system/RSS/Atom/TextConstruct/append_features-c.yaml 0000644 00000000317 15217654526 0017477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::TextConstruct::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Atom/DateConstruct/cdesc-DateConstruct.yaml 0000644 00000000555 15217654526 0017710 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: [] full_name: RSS::Atom::DateConstruct includes: - !ruby/object:RI::IncludedModule name: ContentModel instance_methods: - !ruby/object:RI::MethodSummary name: atom_validate name: DateConstruct superclass: ri/1.8/system/RSS/Atom/DateConstruct/atom_validate-i.yaml 0000644 00000000347 15217654526 0017105 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::DateConstruct#atom_validate is_singleton: false name: atom_validate params: (ignore_unknown_element, tags, uri) visibility: public ri/1.8/system/RSS/Atom/DateConstruct/append_features-c.yaml 0000644 00000000317 15217654526 0017430 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::DateConstruct::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/Atom/cdesc-Atom.yaml 0000644 00000000570 15217654526 0013241 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: URI value: "\"http://www.w3.org/2005/Atom\"" - !ruby/object:RI::Constant comment: name: XHTML_URI value: "\"http://www.w3.org/1999/xhtml\"" full_name: RSS::Atom includes: [] instance_methods: [] name: Atom superclass: ri/1.8/system/RSS/Atom/Feed/new-c.yaml 0000644 00000000322 15217654526 0013131 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::new is_singleton: true name: new params: (version=nil, encoding=nil, standalone=nil) visibility: public ri/1.8/system/RSS/Atom/Feed/Title/cdesc-Title.yaml 0000644 00000000473 15217654526 0015350 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::Feed::Title includes: - !ruby/object:RI::IncludedModule name: CommonModel - !ruby/object:RI::IncludedModule name: TextConstruct instance_methods: [] name: Title superclass: RSS::Element ri/1.8/system/RSS/Atom/Feed/Author/cdesc-Author.yaml 0000644 00000000477 15217654526 0015716 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::Feed::Author includes: - !ruby/object:RI::IncludedModule name: CommonModel - !ruby/object:RI::IncludedModule name: PersonConstruct instance_methods: [] name: Author superclass: RSS::Element ri/1.8/system/RSS/Atom/Feed/cdesc-Feed.yaml 0000644 00000001476 15217654526 0014055 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Atom::Feed includes: - !ruby/object:RI::IncludedModule name: RootElementMixin - !ruby/object:RI::IncludedModule name: CommonModel - !ruby/object:RI::IncludedModule name: DuplicateLinkChecker - !ruby/object:RI::IncludedModule name: DublinCoreModel instance_methods: - !ruby/object:RI::MethodSummary name: atom_validate - !ruby/object:RI::MethodSummary name: have_author? - !ruby/object:RI::MethodSummary name: have_required_elements? - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: setup_maker_element - !ruby/object:RI::MethodSummary name: setup_maker_elements name: Feed superclass: RSS::Element ri/1.8/system/RSS/Atom/Feed/maker_target-i.yaml 0000644 00000000301 15217654526 0015010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed#maker_target is_singleton: false name: maker_target params: (maker) visibility: private ri/1.8/system/RSS/Atom/Feed/Logo/maker_target-i.yaml 0000644 00000000307 15217654526 0015716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Logo#maker_target is_singleton: false name: maker_target params: (target) visibility: public ri/1.8/system/RSS/Atom/Feed/Logo/cdesc-Logo.yaml 0000644 00000000664 15217654526 0015010 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::Feed::Logo includes: - !ruby/object:RI::IncludedModule name: CommonModel - !ruby/object:RI::IncludedModule name: URIContentModel instance_methods: - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: setup_maker_element_writer name: Logo superclass: RSS::Element ri/1.8/system/RSS/Atom/Feed/Logo/setup_maker_element_writer-i.yaml 0000644 00000000336 15217654526 0020677 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Logo#setup_maker_element_writer is_singleton: false name: setup_maker_element_writer params: () visibility: private ri/1.8/system/RSS/Atom/Feed/have_required_elements%3f-i.yaml 0000644 00000000322 15217654526 0017363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed#have_required_elements? is_singleton: false name: have_required_elements? params: () visibility: private ri/1.8/system/RSS/Atom/Feed/Contributor/cdesc-Contributor.yaml 0000644 00000000511 15217654526 0020023 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::Feed::Contributor includes: - !ruby/object:RI::IncludedModule name: CommonModel - !ruby/object:RI::IncludedModule name: PersonConstruct instance_methods: [] name: Contributor superclass: RSS::Element ri/1.8/system/RSS/Atom/Feed/Generator/setup_maker_attributes-i.yaml 0000644 00000000341 15217654526 0021062 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Generator#setup_maker_attributes is_singleton: false name: setup_maker_attributes params: (target) visibility: private ri/1.8/system/RSS/Atom/Feed/Generator/cdesc-Generator.yaml 0000644 00000000600 15217654526 0017052 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::Feed::Generator includes: - !ruby/object:RI::IncludedModule name: CommonModel - !ruby/object:RI::IncludedModule name: ContentModel instance_methods: - !ruby/object:RI::MethodSummary name: setup_maker_attributes name: Generator superclass: RSS::Element ri/1.8/system/RSS/Atom/Feed/Subtitle/cdesc-Subtitle.yaml 0000644 00000000501 15217654526 0016564 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::Feed::Subtitle includes: - !ruby/object:RI::IncludedModule name: CommonModel - !ruby/object:RI::IncludedModule name: TextConstruct instance_methods: [] name: Subtitle superclass: RSS::Element ri/1.8/system/RSS/Atom/Feed/have_author%3f-i.yaml 0000644 00000000273 15217654526 0015156 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed#have_author? is_singleton: false name: have_author? params: () visibility: public ri/1.8/system/RSS/Atom/Feed/Updated/cdesc-Updated.yaml 0000644 00000000477 15217654526 0016166 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::Feed::Updated includes: - !ruby/object:RI::IncludedModule name: CommonModel - !ruby/object:RI::IncludedModule name: DateConstruct instance_methods: [] name: Updated superclass: RSS::Element ri/1.8/system/RSS/Atom/Feed/setup_maker_elements-i.yaml 0000644 00000000323 15217654526 0016562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed#setup_maker_elements is_singleton: false name: setup_maker_elements params: (channel) visibility: private ri/1.8/system/RSS/Atom/Feed/atom_validate-i.yaml 0000644 00000000337 15217654526 0015165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed#atom_validate is_singleton: false name: atom_validate params: (ignore_unknown_element, tags, uri) visibility: private ri/1.8/system/RSS/Atom/Feed/setup_maker_element-i.yaml 0000644 00000000321 15217654526 0016375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed#setup_maker_element is_singleton: false name: setup_maker_element params: (channel) visibility: private ri/1.8/system/RSS/Atom/Feed/Category/maker_target-i.yaml 0000644 00000000314 15217654526 0016571 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Category#maker_target is_singleton: false name: maker_target params: (target) visibility: private ri/1.8/system/RSS/Atom/Feed/Category/cdesc-Category.yaml 0000644 00000000474 15217654526 0016541 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::Feed::Category includes: - !ruby/object:RI::IncludedModule name: CommonModel instance_methods: - !ruby/object:RI::MethodSummary name: maker_target name: Category superclass: RSS::Element ri/1.8/system/RSS/Atom/Feed/Id/cdesc-Id.yaml 0000644 00000000467 15217654526 0014101 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::Feed::Id includes: - !ruby/object:RI::IncludedModule name: CommonModel - !ruby/object:RI::IncludedModule name: URIContentModel instance_methods: [] name: Id superclass: RSS::Element ri/1.8/system/RSS/Atom/Feed/Entry/cdesc-Entry.yaml 0000644 00000002321 15217654526 0015402 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: Author value: Feed::Author - !ruby/object:RI::Constant comment: name: Category value: Feed::Category - !ruby/object:RI::Constant comment: name: Contributor value: Feed::Contributor - !ruby/object:RI::Constant comment: name: Id value: Feed::Id - !ruby/object:RI::Constant comment: name: Link value: Feed::Link - !ruby/object:RI::Constant comment: name: Rights value: Feed::Rights - !ruby/object:RI::Constant comment: name: Title value: Feed::Title - !ruby/object:RI::Constant comment: name: Updated value: Feed::Updated full_name: RSS::Atom::Feed::Entry includes: - !ruby/object:RI::IncludedModule name: CommonModel - !ruby/object:RI::IncludedModule name: DuplicateLinkChecker - !ruby/object:RI::IncludedModule name: DublinCoreModel instance_methods: - !ruby/object:RI::MethodSummary name: atom_validate - !ruby/object:RI::MethodSummary name: have_author? - !ruby/object:RI::MethodSummary name: have_required_elements? - !ruby/object:RI::MethodSummary name: maker_target name: Entry superclass: RSS::Element ri/1.8/system/RSS/Atom/Feed/Entry/Summary/cdesc-Summary.yaml 0000644 00000000506 15217654526 0017376 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::Feed::Entry::Summary includes: - !ruby/object:RI::IncludedModule name: CommonModel - !ruby/object:RI::IncludedModule name: TextConstruct instance_methods: [] name: Summary superclass: RSS::Element ri/1.8/system/RSS/Atom/Feed/Entry/maker_target-i.yaml 0000644 00000000310 15217654526 0016111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry#maker_target is_singleton: false name: maker_target params: (items) visibility: private ri/1.8/system/RSS/Atom/Feed/Entry/have_required_elements%3f-i.yaml 0000644 00000000331 15217654526 0020464 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry#have_required_elements? is_singleton: false name: have_required_elements? params: () visibility: private ri/1.8/system/RSS/Atom/Feed/Entry/Content/inline_text%3f-i.yaml 0000644 00000000313 15217654526 0017701 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry::Content#inline_text? is_singleton: false name: inline_text? params: () visibility: public ri/1.8/system/RSS/Atom/Feed/Entry/Content/have_xml_content%3f-i.yaml 0000644 00000000325 15217654526 0020717 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry::Content#have_xml_content? is_singleton: false name: have_xml_content? params: () visibility: public ri/1.8/system/RSS/Atom/Feed/Entry/Content/xhtml-i.yaml 0000644 00000000275 15217654526 0016224 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry::Content#xhtml is_singleton: false name: xhtml params: () visibility: public ri/1.8/system/RSS/Atom/Feed/Entry/Content/inline_html%3f-i.yaml 0000644 00000000313 15217654526 0017661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry::Content#inline_html? is_singleton: false name: inline_html? params: () visibility: public ri/1.8/system/RSS/Atom/Feed/Entry/Content/xml_getter-c.yaml 0000644 00000000307 15217654526 0017230 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry::Content::xml_getter is_singleton: true name: xml_getter params: () visibility: public ri/1.8/system/RSS/Atom/Feed/Entry/Content/xml_setter-c.yaml 0000644 00000000307 15217654526 0017244 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry::Content::xml_setter is_singleton: true name: xml_setter params: () visibility: public ri/1.8/system/RSS/Atom/Feed/Entry/Content/mime_split-i.yaml 0000644 00000000307 15217654526 0017226 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry::Content#mime_split is_singleton: false name: mime_split params: () visibility: public ri/1.8/system/RSS/Atom/Feed/Entry/Content/need_base64_encode%3f-i.yaml 0000644 00000000331 15217654526 0020753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry::Content#need_base64_encode? is_singleton: false name: need_base64_encode? params: () visibility: public ri/1.8/system/RSS/Atom/Feed/Entry/Content/inline_xhtml%3f-i.yaml 0000644 00000000315 15217654526 0020053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry::Content#inline_xhtml? is_singleton: false name: inline_xhtml? params: () visibility: public ri/1.8/system/RSS/Atom/Feed/Entry/Content/atom_validate-i.yaml 0000644 00000000356 15217654526 0017701 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry::Content#atom_validate is_singleton: false name: atom_validate params: (ignore_unknown_element, tags, uri) visibility: public ri/1.8/system/RSS/Atom/Feed/Entry/Content/cdesc-Content.yaml 0000644 00000002367 15217654526 0017337 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: xml rw: W class_methods: - !ruby/object:RI::MethodSummary name: xml_getter - !ruby/object:RI::MethodSummary name: xml_setter comment: constants: [] full_name: RSS::Atom::Feed::Entry::Content includes: - !ruby/object:RI::IncludedModule name: CommonModel instance_methods: - !ruby/object:RI::MethodSummary name: atom_validate - !ruby/object:RI::MethodSummary name: empty_content? - !ruby/object:RI::MethodSummary name: have_xml_content? - !ruby/object:RI::MethodSummary name: inline_html? - !ruby/object:RI::MethodSummary name: inline_other? - !ruby/object:RI::MethodSummary name: inline_other_base64? - !ruby/object:RI::MethodSummary name: inline_other_text? - !ruby/object:RI::MethodSummary name: inline_other_xml? - !ruby/object:RI::MethodSummary name: inline_text? - !ruby/object:RI::MethodSummary name: inline_xhtml? - !ruby/object:RI::MethodSummary name: mime_split - !ruby/object:RI::MethodSummary name: need_base64_encode? - !ruby/object:RI::MethodSummary name: out_of_line? - !ruby/object:RI::MethodSummary name: xhtml - !ruby/object:RI::MethodSummary name: xml name: Content superclass: RSS::Element ri/1.8/system/RSS/Atom/Feed/Entry/Content/empty_content%3f-i.yaml 0000644 00000000320 15217654526 0020245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry::Content#empty_content? is_singleton: false name: empty_content? params: () visibility: private ri/1.8/system/RSS/Atom/Feed/Entry/Content/inline_other_xml%3f-i.yaml 0000644 00000000325 15217654526 0020721 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry::Content#inline_other_xml? is_singleton: false name: inline_other_xml? params: () visibility: public ri/1.8/system/RSS/Atom/Feed/Entry/Content/inline_other_text%3f-i.yaml 0000644 00000000327 15217654526 0021107 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry::Content#inline_other_text? is_singleton: false name: inline_other_text? params: () visibility: public ri/1.8/system/RSS/Atom/Feed/Entry/Content/out_of_line%3f-i.yaml 0000644 00000000313 15217654526 0017661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry::Content#out_of_line? is_singleton: false name: out_of_line? params: () visibility: public ri/1.8/system/RSS/Atom/Feed/Entry/Content/xml-i.yaml 0000644 00000000271 15217654526 0015664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry::Content#xml is_singleton: false name: xml params: () visibility: public ri/1.8/system/RSS/Atom/Feed/Entry/Content/inline_other%3f-i.yaml 0000644 00000000315 15217654526 0020040 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry::Content#inline_other? is_singleton: false name: inline_other? params: () visibility: public ri/1.8/system/RSS/Atom/Feed/Entry/Content/inline_other_base64%3f-i.yaml 0000644 00000000333 15217654526 0021204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry::Content#inline_other_base64? is_singleton: false name: inline_other_base64? params: () visibility: public ri/1.8/system/RSS/Atom/Feed/Entry/Source/have_author%3f-i.yaml 0000644 00000000312 15217654527 0017512 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry::Source#have_author? is_singleton: false name: have_author? params: () visibility: public ri/1.8/system/RSS/Atom/Feed/Entry/Source/cdesc-Source.yaml 0000644 00000002350 15217654527 0017004 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: Author value: Feed::Author - !ruby/object:RI::Constant comment: name: Category value: Feed::Category - !ruby/object:RI::Constant comment: name: Contributor value: Feed::Contributor - !ruby/object:RI::Constant comment: name: Generator value: Feed::Generator - !ruby/object:RI::Constant comment: name: Icon value: Feed::Icon - !ruby/object:RI::Constant comment: name: Id value: Feed::Id - !ruby/object:RI::Constant comment: name: Link value: Feed::Link - !ruby/object:RI::Constant comment: name: Logo value: Feed::Logo - !ruby/object:RI::Constant comment: name: Rights value: Feed::Rights - !ruby/object:RI::Constant comment: name: Subtitle value: Feed::Subtitle - !ruby/object:RI::Constant comment: name: Title value: Feed::Title - !ruby/object:RI::Constant comment: name: Updated value: Feed::Updated full_name: RSS::Atom::Feed::Entry::Source includes: - !ruby/object:RI::IncludedModule name: CommonModel instance_methods: - !ruby/object:RI::MethodSummary name: have_author? name: Source superclass: RSS::Element ri/1.8/system/RSS/Atom/Feed/Entry/have_author%3f-i.yaml 0000644 00000000323 15217654527 0016254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry#have_author? is_singleton: false name: have_author? params: (check_parent=true) visibility: public ri/1.8/system/RSS/Atom/Feed/Entry/atom_validate-i.yaml 0000644 00000000346 15217654527 0016267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Entry#atom_validate is_singleton: false name: atom_validate params: (ignore_unknown_element, tags, uri) visibility: private ri/1.8/system/RSS/Atom/Feed/Entry/Published/cdesc-Published.yaml 0000644 00000000512 15217654527 0020140 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::Feed::Entry::Published includes: - !ruby/object:RI::IncludedModule name: CommonModel - !ruby/object:RI::IncludedModule name: DateConstruct instance_methods: [] name: Published superclass: RSS::Element ri/1.8/system/RSS/Atom/Feed/Link/maker_target-i.yaml 0000644 00000000310 15217654527 0015706 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Feed::Link#maker_target is_singleton: false name: maker_target params: (target) visibility: private ri/1.8/system/RSS/Atom/Feed/Link/cdesc-Link.yaml 0000644 00000000464 15217654527 0015001 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::Feed::Link includes: - !ruby/object:RI::IncludedModule name: CommonModel instance_methods: - !ruby/object:RI::MethodSummary name: maker_target name: Link superclass: RSS::Element ri/1.8/system/RSS/Atom/Feed/Rights/cdesc-Rights.yaml 0000644 00000000475 15217654527 0015711 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::Feed::Rights includes: - !ruby/object:RI::IncludedModule name: CommonModel - !ruby/object:RI::IncludedModule name: TextConstruct instance_methods: [] name: Rights superclass: RSS::Element ri/1.8/system/RSS/Atom/Feed/Icon/cdesc-Icon.yaml 0000644 00000000473 15217654527 0014767 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::Feed::Icon includes: - !ruby/object:RI::IncludedModule name: CommonModel - !ruby/object:RI::IncludedModule name: URIContentModel instance_methods: [] name: Icon superclass: RSS::Element ri/1.8/system/RSS/Atom/Entry/new-c.yaml 0000644 00000000323 15217654527 0013371 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Entry::new is_singleton: true name: new params: (version=nil, encoding=nil, standalone=nil) visibility: public ri/1.8/system/RSS/Atom/Entry/cdesc-Entry.yaml 0000644 00000003456 15217654527 0014552 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Author value: Feed::Entry::Author - !ruby/object:RI::Constant comment: name: Category value: Feed::Entry::Category - !ruby/object:RI::Constant comment: name: Content value: Feed::Entry::Content - !ruby/object:RI::Constant comment: name: Contributor value: Feed::Entry::Contributor - !ruby/object:RI::Constant comment: name: Id value: Feed::Entry::Id - !ruby/object:RI::Constant comment: name: Link value: Feed::Entry::Link - !ruby/object:RI::Constant comment: name: Published value: Feed::Entry::Published - !ruby/object:RI::Constant comment: name: Rights value: Feed::Entry::Rights - !ruby/object:RI::Constant comment: name: Source value: Feed::Entry::Source - !ruby/object:RI::Constant comment: name: Summary value: Feed::Entry::Summary - !ruby/object:RI::Constant comment: name: Title value: Feed::Entry::Title - !ruby/object:RI::Constant comment: name: Updated value: Feed::Entry::Updated full_name: RSS::Atom::Entry includes: - !ruby/object:RI::IncludedModule name: RootElementMixin - !ruby/object:RI::IncludedModule name: CommonModel - !ruby/object:RI::IncludedModule name: DuplicateLinkChecker - !ruby/object:RI::IncludedModule name: DublinCoreModel instance_methods: - !ruby/object:RI::MethodSummary name: atom_validate - !ruby/object:RI::MethodSummary name: have_author? - !ruby/object:RI::MethodSummary name: have_required_elements? - !ruby/object:RI::MethodSummary name: items - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: setup_maker name: Entry superclass: RSS::Element ri/1.8/system/RSS/Atom/Entry/items-i.yaml 0000644 00000000256 15217654527 0013734 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Entry#items is_singleton: false name: items params: () visibility: public ri/1.8/system/RSS/Atom/Entry/maker_target-i.yaml 0000644 00000000302 15217654527 0015250 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Entry#maker_target is_singleton: false name: maker_target params: (maker) visibility: private ri/1.8/system/RSS/Atom/Entry/have_required_elements%3f-i.yaml 0000644 00000000323 15217654527 0017623 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Entry#have_required_elements? is_singleton: false name: have_required_elements? params: () visibility: private ri/1.8/system/RSS/Atom/Entry/have_author%3f-i.yaml 0000644 00000000274 15217654527 0015416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Entry#have_author? is_singleton: false name: have_author? params: () visibility: public ri/1.8/system/RSS/Atom/Entry/atom_validate-i.yaml 0000644 00000000340 15217654527 0015416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Entry#atom_validate is_singleton: false name: atom_validate params: (ignore_unknown_element, tags, uri) visibility: private ri/1.8/system/RSS/Atom/Entry/setup_maker-i.yaml 0000644 00000000277 15217654527 0015135 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::Entry#setup_maker is_singleton: false name: setup_maker params: (maker) visibility: public ri/1.8/system/RSS/Atom/DuplicateLinkChecker/cdesc-DuplicateLinkChecker.yaml 0000644 00000000432 15217654527 0022371 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::Atom::DuplicateLinkChecker includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: validate_duplicate_links name: DuplicateLinkChecker superclass: ri/1.8/system/RSS/Atom/DuplicateLinkChecker/validate_duplicate_links-i.yaml 0000644 00000000350 15217654527 0022545 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Atom::DuplicateLinkChecker#validate_duplicate_links is_singleton: false name: validate_duplicate_links params: (links) visibility: public ri/1.8/system/RSS/Converter/new-c.yaml 0000644 00000000274 15217654527 0013344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Converter::new is_singleton: true name: new params: (to_enc, from_enc=nil) visibility: public ri/1.8/system/RSS/Converter/def_convert-i.yaml 0000644 00000000277 15217654527 0015062 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Converter#def_convert is_singleton: false name: def_convert params: (depth=0) visibility: public ri/1.8/system/RSS/Converter/def_else_enc-i.yaml 0000644 00000000312 15217654527 0015145 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Converter#def_else_enc is_singleton: false name: def_else_enc params: (to_enc, from_enc) visibility: public ri/1.8/system/RSS/Converter/def_same_enc-i.yaml 0000644 00000000272 15217654527 0015147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Converter#def_same_enc is_singleton: false name: def_same_enc params: () visibility: public ri/1.8/system/RSS/Converter/convert-i.yaml 0000644 00000000265 15217654527 0014241 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Converter#convert is_singleton: false name: convert params: (value) visibility: public ri/1.8/system/RSS/Converter/def_to_utf_8_from_euc_jp-i.yaml 0000644 00000000322 15217654527 0017470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Converter#def_to_utf_8_from_euc_jp is_singleton: false name: def_to_utf_8_from_euc_jp params: () visibility: public ri/1.8/system/RSS/Converter/def_to_utf_8_from_iso_8859_1-i.yaml 0000644 00000000332 15217654527 0017733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Converter#def_to_utf_8_from_iso_8859_1 is_singleton: false name: def_to_utf_8_from_iso_8859_1 params: () visibility: public ri/1.8/system/RSS/Converter/cdesc-Converter.yaml 0000644 00000002457 15217654527 0015366 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::Converter includes: - !ruby/object:RI::IncludedModule name: Utils instance_methods: - !ruby/object:RI::MethodSummary name: convert - !ruby/object:RI::MethodSummary name: def_convert - !ruby/object:RI::MethodSummary name: def_else_enc - !ruby/object:RI::MethodSummary name: def_iconv_convert - !ruby/object:RI::MethodSummary name: def_same_enc - !ruby/object:RI::MethodSummary name: def_to_euc_jp_from_iso_2022_jp - !ruby/object:RI::MethodSummary name: def_to_euc_jp_from_shift_jis - !ruby/object:RI::MethodSummary name: def_to_euc_jp_from_utf_8 - !ruby/object:RI::MethodSummary name: def_to_iso_2022_jp_from_euc_jp - !ruby/object:RI::MethodSummary name: def_to_iso_8859_1_from_utf_8 - !ruby/object:RI::MethodSummary name: def_to_shift_jis_from_euc_jp - !ruby/object:RI::MethodSummary name: def_to_shift_jis_from_utf_8 - !ruby/object:RI::MethodSummary name: def_to_utf_8_from_euc_jp - !ruby/object:RI::MethodSummary name: def_to_utf_8_from_iso_8859_1 - !ruby/object:RI::MethodSummary name: def_to_utf_8_from_shift_jis - !ruby/object:RI::MethodSummary name: def_uconv_convert_if_can name: Converter superclass: Object ri/1.8/system/RSS/Converter/def_to_euc_jp_from_utf_8-i.yaml 0000644 00000000322 15217654527 0017470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Converter#def_to_euc_jp_from_utf_8 is_singleton: false name: def_to_euc_jp_from_utf_8 params: () visibility: public ri/1.8/system/RSS/Converter/def_to_euc_jp_from_iso_2022_jp-i.yaml 0000644 00000000336 15217654527 0020400 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Converter#def_to_euc_jp_from_iso_2022_jp is_singleton: false name: def_to_euc_jp_from_iso_2022_jp params: () visibility: public ri/1.8/system/RSS/Converter/def_to_utf_8_from_shift_jis-i.yaml 0000644 00000000330 15217654527 0020204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Converter#def_to_utf_8_from_shift_jis is_singleton: false name: def_to_utf_8_from_shift_jis params: () visibility: public ri/1.8/system/RSS/Converter/def_to_iso_8859_1_from_utf_8-i.yaml 0000644 00000000332 15217654527 0017733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Converter#def_to_iso_8859_1_from_utf_8 is_singleton: false name: def_to_iso_8859_1_from_utf_8 params: () visibility: public ri/1.8/system/RSS/Converter/def_to_iso_2022_jp_from_euc_jp-i.yaml 0000644 00000000336 15217654527 0020400 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Converter#def_to_iso_2022_jp_from_euc_jp is_singleton: false name: def_to_iso_2022_jp_from_euc_jp params: () visibility: public ri/1.8/system/RSS/Converter/def_uconv_convert_if_can-i.yaml 0000644 00000000361 15217654527 0017565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Converter#def_uconv_convert_if_can is_singleton: false name: def_uconv_convert_if_can params: (meth, to_enc, from_enc, nkf_arg) visibility: public ri/1.8/system/RSS/Converter/def_iconv_convert-i.yaml 0000644 00000000335 15217654527 0016253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Converter#def_iconv_convert is_singleton: false name: def_iconv_convert params: (to_enc, from_enc, depth=0) visibility: public ri/1.8/system/RSS/Converter/def_to_shift_jis_from_euc_jp-i.yaml 0000644 00000000332 15217654527 0020426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Converter#def_to_shift_jis_from_euc_jp is_singleton: false name: def_to_shift_jis_from_euc_jp params: () visibility: public ri/1.8/system/RSS/Converter/def_to_shift_jis_from_utf_8-i.yaml 0000644 00000000330 15217654527 0020204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Converter#def_to_shift_jis_from_utf_8 is_singleton: false name: def_to_shift_jis_from_utf_8 params: () visibility: public ri/1.8/system/RSS/Converter/def_to_euc_jp_from_shift_jis-i.yaml 0000644 00000000332 15217654527 0020426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::Converter#def_to_euc_jp_from_shift_jis is_singleton: false name: def_to_euc_jp_from_shift_jis params: () visibility: public ri/1.8/system/RSS/ITunesBaseModel/cdesc-ITunesBaseModel.yaml 0000644 00000001101 15217654527 0017377 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: ELEMENTS value: "[]" - !ruby/object:RI::Constant comment: name: ELEMENT_INFOS value: "[[\"author\"], [\"block\", :yes_other], [\"explicit\", :yes_clean_other], [\"keywords\", :csv], [\"subtitle\"], [\"summary\"]]" full_name: RSS::ITunesBaseModel includes: [] instance_methods: [] name: ITunesBaseModel superclass: ri/1.8/system/RSS/BaseListener/register_uri-c.yaml 0000644 00000000412 15217654527 0015661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: register uri against this name. full_name: RSS::BaseListener::register_uri is_singleton: true name: register_uri params: (uri, name) visibility: public ri/1.8/system/RSS/BaseListener/install_get_text_element-c.yaml 0000644 00000000355 15217654527 0020246 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseListener::install_get_text_element is_singleton: true name: install_get_text_element params: (uri, name, accessor_base) visibility: public ri/1.8/system/RSS/BaseListener/install_accessor_base-c.yaml 0000644 00000000474 15217654527 0017510 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: set the accessor for the uri, tag_name pair full_name: RSS::BaseListener::install_accessor_base is_singleton: true name: install_accessor_base params: (uri, tag_name, accessor_base) visibility: private ri/1.8/system/RSS/BaseListener/setter-c.yaml 0000644 00000000430 15217654527 0014464 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: return the setter for the uri, tag_name pair, or nil. full_name: RSS::BaseListener::setter is_singleton: true name: setter params: (uri, tag_name) visibility: public ri/1.8/system/RSS/BaseListener/cdesc-BaseListener.yaml 0000644 00000001515 15217654527 0016402 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: available_tags - !ruby/object:RI::MethodSummary name: class_name - !ruby/object:RI::MethodSummary name: def_get_text_element - !ruby/object:RI::MethodSummary name: getter - !ruby/object:RI::MethodSummary name: install_accessor_base - !ruby/object:RI::MethodSummary name: install_class_name - !ruby/object:RI::MethodSummary name: install_get_text_element - !ruby/object:RI::MethodSummary name: raise_for_undefined_entity? - !ruby/object:RI::MethodSummary name: register_uri - !ruby/object:RI::MethodSummary name: setter - !ruby/object:RI::MethodSummary name: uri_registered? comment: constants: [] full_name: RSS::BaseListener includes: [] instance_methods: [] name: BaseListener superclass: Object ri/1.8/system/RSS/BaseListener/def_get_text_element-c.yaml 0000644 00000000353 15217654527 0017334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseListener::def_get_text_element is_singleton: true name: def_get_text_element params: (uri, element_name, file, line) visibility: private ri/1.8/system/RSS/BaseListener/raise_for_undefined_entity%3f-c.yaml 0000644 00000000333 15217654527 0021044 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseListener::raise_for_undefined_entity? is_singleton: true name: raise_for_undefined_entity? params: () visibility: public ri/1.8/system/RSS/BaseListener/available_tags-c.yaml 0000644 00000000435 15217654527 0016121 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: return the tag_names for setters associated with uri full_name: RSS::BaseListener::available_tags is_singleton: true name: available_tags params: (uri) visibility: public ri/1.8/system/RSS/BaseListener/getter-c.yaml 0000644 00000000276 15217654527 0014460 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::BaseListener::getter is_singleton: true name: getter params: (uri, tag_name) visibility: public ri/1.8/system/RSS/BaseListener/uri_registered%3f-c.yaml 0000644 00000000441 15217654527 0016472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: test if this uri is registered against this name full_name: RSS::BaseListener::uri_registered? is_singleton: true name: uri_registered? params: (uri, name) visibility: public ri/1.8/system/RSS/BaseListener/install_class_name-c.yaml 0000644 00000000472 15217654527 0017017 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: record class_name for the supplied uri and tag_name full_name: RSS::BaseListener::install_class_name is_singleton: true name: install_class_name params: (uri, tag_name, class_name) visibility: public ri/1.8/system/RSS/BaseListener/class_name-c.yaml 0000644 00000000515 15217654527 0015267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: retrieve class_name for the supplied uri and tag_name If it doesn't exist, capitalize the tag_name full_name: RSS::BaseListener::class_name is_singleton: true name: class_name params: (uri, tag_name) visibility: public ri/1.8/system/RSS/TaxonomyTopicsModel/TaxonomyTopics/new-c.yaml 0000644 00000000307 15217654527 0020353 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TaxonomyTopicsModel::TaxonomyTopics::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/TaxonomyTopicsModel/TaxonomyTopics/maker_target-i.yaml 0000644 00000000332 15217654527 0022233 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TaxonomyTopicsModel::TaxonomyTopics#maker_target is_singleton: false name: maker_target params: (target) visibility: public ri/1.8/system/RSS/TaxonomyTopicsModel/TaxonomyTopics/required_uri-c.yaml 0000644 00000000324 15217654527 0022260 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TaxonomyTopicsModel::TaxonomyTopics::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/TaxonomyTopicsModel/TaxonomyTopics/resources-i.yaml 0000644 00000000316 15217654527 0021602 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TaxonomyTopicsModel::TaxonomyTopics#resources is_singleton: false name: resources params: () visibility: public ri/1.8/system/RSS/TaxonomyTopicsModel/TaxonomyTopics/required_prefix-c.yaml 0000644 00000000332 15217654527 0022755 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TaxonomyTopicsModel::TaxonomyTopics::required_prefix is_singleton: true name: required_prefix params: () visibility: public ri/1.8/system/RSS/TaxonomyTopicsModel/TaxonomyTopics/full_name-i.yaml 0000644 00000000316 15217654527 0021532 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TaxonomyTopicsModel::TaxonomyTopics#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RSS/TaxonomyTopicsModel/TaxonomyTopics/cdesc-TaxonomyTopics.yaml 0000644 00000001335 15217654527 0023423 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_prefix - !ruby/object:RI::MethodSummary name: required_uri comment: constants: - !ruby/object:RI::Constant comment: name: Bag value: "::RSS::RDF::Bag" - !ruby/object:RI::Constant comment: name: Bag value: args[0] full_name: RSS::TaxonomyTopicsModel::TaxonomyTopics includes: - !ruby/object:RI::IncludedModule name: RSS10 instance_methods: - !ruby/object:RI::MethodSummary name: full_name - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: resources name: TaxonomyTopics superclass: Element ri/1.8/system/RSS/TaxonomyTopicsModel/cdesc-TaxonomyTopicsModel.yaml 0000644 00000000411 15217654527 0021376 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: [] full_name: RSS::TaxonomyTopicsModel includes: [] instance_methods: [] name: TaxonomyTopicsModel superclass: ri/1.8/system/RSS/TaxonomyTopicsModel/append_features-c.yaml 0000644 00000000317 15217654527 0017730 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TaxonomyTopicsModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/TrackBackUtils/trackback_validate-i.yaml 0000644 00000000355 15217654527 0017256 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::TrackBackUtils#trackback_validate is_singleton: false name: trackback_validate params: (ignore_unknown_element, tags, uri) visibility: private ri/1.8/system/RSS/TrackBackUtils/cdesc-TrackBackUtils.yaml 0000644 00000000402 15217654527 0017150 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RSS::TrackBackUtils includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: trackback_validate name: TrackBackUtils superclass: ri/1.8/system/RSS/ConversionError/new-c.yaml 0000644 00000000276 15217654527 0014536 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ConversionError::new is_singleton: true name: new params: (string, to, from) visibility: public ri/1.8/system/RSS/ConversionError/cdesc-ConversionError.yaml 0000644 00000000664 15217654527 0017744 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: from rw: R - !ruby/object:RI::Attribute comment: name: string rw: R - !ruby/object:RI::Attribute comment: name: to rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::ConversionError includes: [] instance_methods: [] name: ConversionError superclass: Error ri/1.8/system/RSS/ITunesChannelModel/cdesc-ITunesChannelModel.yaml 0000644 00000001336 15217654527 0020605 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features comment: constants: - !ruby/object:RI::Constant comment: name: ELEMENTS value: "[]" - !ruby/object:RI::Constant comment: name: ELEMENT_INFOS value: "[ [\"category\", :elements, \"categories\", \"text\"], [\"image\", :attribute, \"href\"], [\"owner\", :element], [\"new-feed-url\"], ] + ITunesBaseModel::ELEMENT_INFOS" full_name: RSS::ITunesChannelModel includes: - !ruby/object:RI::IncludedModule name: ITunesBaseModel instance_methods: [] name: ITunesChannelModel superclass: ri/1.8/system/RSS/ITunesChannelModel/ITunesImage/new-c.yaml 0000644 00000000303 15217654527 0017221 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesImage::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/ITunesChannelModel/ITunesImage/maker_target-i.yaml 0000644 00000000327 15217654527 0021111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesImage#maker_target is_singleton: false name: maker_target params: (target) visibility: private ri/1.8/system/RSS/ITunesChannelModel/ITunesImage/required_uri-c.yaml 0000644 00000000320 15217654527 0021126 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesImage::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/ITunesChannelModel/ITunesImage/setup_maker_attributes-i.yaml 0000644 00000000352 15217654527 0023227 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesImage#setup_maker_attributes is_singleton: false name: setup_maker_attributes params: (image) visibility: private ri/1.8/system/RSS/ITunesChannelModel/ITunesImage/cdesc-ITunesImage.yaml 0000644 00000001120 15217654527 0021437 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_prefix - !ruby/object:RI::MethodSummary name: required_uri comment: constants: [] full_name: RSS::ITunesChannelModel::ITunesImage includes: - !ruby/object:RI::IncludedModule name: RSS09 instance_methods: - !ruby/object:RI::MethodSummary name: full_name - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: setup_maker_attributes name: ITunesImage superclass: Element ri/1.8/system/RSS/ITunesChannelModel/ITunesImage/required_prefix-c.yaml 0000644 00000000326 15217654527 0021632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesImage::required_prefix is_singleton: true name: required_prefix params: () visibility: public ri/1.8/system/RSS/ITunesChannelModel/ITunesImage/full_name-i.yaml 0000644 00000000312 15217654527 0020400 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesImage#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RSS/ITunesChannelModel/ITunesOwner/new-c.yaml 0000644 00000000303 15217654527 0017271 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesOwner::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/ITunesChannelModel/ITunesOwner/maker_target-i.yaml 0000644 00000000327 15217654527 0021161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesOwner#maker_target is_singleton: false name: maker_target params: (target) visibility: private ri/1.8/system/RSS/ITunesChannelModel/ITunesOwner/cdesc-ITunesOwner.yaml 0000644 00000001115 15217654527 0021563 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_prefix - !ruby/object:RI::MethodSummary name: required_uri comment: constants: [] full_name: RSS::ITunesChannelModel::ITunesOwner includes: - !ruby/object:RI::IncludedModule name: RSS09 instance_methods: - !ruby/object:RI::MethodSummary name: full_name - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: setup_maker_element name: ITunesOwner superclass: Element ri/1.8/system/RSS/ITunesChannelModel/ITunesOwner/required_uri-c.yaml 0000644 00000000320 15217654527 0021176 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesOwner::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/ITunesChannelModel/ITunesOwner/setup_maker_element-i.yaml 0000644 00000000344 15217654527 0022543 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesOwner#setup_maker_element is_singleton: false name: setup_maker_element params: (owner) visibility: private ri/1.8/system/RSS/ITunesChannelModel/ITunesOwner/required_prefix-c.yaml 0000644 00000000326 15217654527 0021702 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesOwner::required_prefix is_singleton: true name: required_prefix params: () visibility: public ri/1.8/system/RSS/ITunesChannelModel/ITunesOwner/full_name-i.yaml 0000644 00000000312 15217654527 0020450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesOwner#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RSS/ITunesChannelModel/ITunesCategory/new-c.yaml 0000644 00000000306 15217654527 0017757 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesCategory::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/ITunesChannelModel/ITunesCategory/maker_target-i.yaml 0000644 00000000336 15217654527 0021644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesCategory#maker_target is_singleton: false name: maker_target params: (categories) visibility: private ri/1.8/system/RSS/ITunesChannelModel/ITunesCategory/cdesc-ITunesCategory.yaml 0000644 00000001340 15217654527 0022731 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: required_prefix - !ruby/object:RI::MethodSummary name: required_uri comment: constants: - !ruby/object:RI::Constant comment: name: ITunesCategory value: self full_name: RSS::ITunesChannelModel::ITunesCategory includes: - !ruby/object:RI::IncludedModule name: RSS09 instance_methods: - !ruby/object:RI::MethodSummary name: full_name - !ruby/object:RI::MethodSummary name: maker_target - !ruby/object:RI::MethodSummary name: setup_maker_attributes - !ruby/object:RI::MethodSummary name: setup_maker_elements name: ITunesCategory superclass: Element ri/1.8/system/RSS/ITunesChannelModel/ITunesCategory/required_uri-c.yaml 0000644 00000000323 15217654527 0021664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesCategory::required_uri is_singleton: true name: required_uri params: () visibility: public ri/1.8/system/RSS/ITunesChannelModel/ITunesCategory/setup_maker_attributes-i.yaml 0000644 00000000360 15217654527 0023761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesCategory#setup_maker_attributes is_singleton: false name: setup_maker_attributes params: (category) visibility: private ri/1.8/system/RSS/ITunesChannelModel/ITunesCategory/setup_maker_elements-i.yaml 0000644 00000000354 15217654527 0023412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesCategory#setup_maker_elements is_singleton: false name: setup_maker_elements params: (category) visibility: private ri/1.8/system/RSS/ITunesChannelModel/ITunesCategory/required_prefix-c.yaml 0000644 00000000331 15217654527 0022361 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesCategory::required_prefix is_singleton: true name: required_prefix params: () visibility: public ri/1.8/system/RSS/ITunesChannelModel/ITunesCategory/full_name-i.yaml 0000644 00000000315 15217654527 0021136 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::ITunesCategory#full_name is_singleton: false name: full_name params: () visibility: public ri/1.8/system/RSS/ITunesChannelModel/append_features-c.yaml 0000644 00000000316 15217654527 0017427 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ITunesChannelModel::append_features is_singleton: true name: append_features params: (klass) visibility: public ri/1.8/system/RSS/REXMLParser/cdesc-REXMLParser.yaml 0000644 00000000452 15217654527 0015551 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: listener comment: constants: [] full_name: RSS::REXMLParser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _parse name: REXMLParser superclass: BaseParser ri/1.8/system/RSS/REXMLParser/_parse-i.yaml 0000644 00000000261 15217654527 0014123 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::REXMLParser#_parse is_singleton: false name: _parse params: () visibility: private ri/1.8/system/RSS/REXMLParser/listener-c.yaml 0000644 00000000264 15217654527 0014474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::REXMLParser::listener is_singleton: true name: listener params: () visibility: public ri/1.8/system/RSS/ListenerMixin/new-c.yaml 0000644 00000000254 15217654527 0014165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ListenerMixin::new is_singleton: true name: new params: () visibility: public ri/1.8/system/RSS/ListenerMixin/parse_pi_content-i.yaml 0000644 00000000601 15217654527 0016732 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Extract the first name="value" pair from content. Works with single quotes according to the constant CONTENT_PATTERN. Return a Hash. full_name: RSS::ListenerMixin#parse_pi_content is_singleton: false name: parse_pi_content params: (content) visibility: private ri/1.8/system/RSS/ListenerMixin/tag_start-i.yaml 0000644 00000000310 15217654527 0015363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ListenerMixin#tag_start is_singleton: false name: tag_start params: (name, attributes) visibility: public ri/1.8/system/RSS/ListenerMixin/split_name-i.yaml 0000644 00000000277 15217654527 0015542 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ListenerMixin#split_name is_singleton: false name: split_name params: (name) visibility: private ri/1.8/system/RSS/ListenerMixin/start_have_something_element-i.yaml 0000644 00000000401 15217654527 0021322 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ListenerMixin#start_have_something_element is_singleton: false name: start_have_something_element params: (tag_name, prefix, attrs, ns, klass) visibility: private ri/1.8/system/RSS/ListenerMixin/initial_start_RDF-i.yaml 0000644 00000000344 15217654527 0016743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ListenerMixin#initial_start_RDF is_singleton: false name: initial_start_RDF params: (tag_name, prefix, attrs, ns) visibility: private ri/1.8/system/RSS/ListenerMixin/start_get_text_element-i.yaml 0000644 00000000365 15217654527 0020156 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ListenerMixin#start_get_text_element is_singleton: false name: start_get_text_element params: (tag_name, prefix, ns, required_uri) visibility: private ri/1.8/system/RSS/ListenerMixin/initial_start_rss-i.yaml 0000644 00000000344 15217654527 0017137 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ListenerMixin#initial_start_rss is_singleton: false name: initial_start_rss params: (tag_name, prefix, attrs, ns) visibility: private ri/1.8/system/RSS/ListenerMixin/initial_start_entry-i.yaml 0000644 00000000350 15217654527 0017466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ListenerMixin#initial_start_entry is_singleton: false name: initial_start_entry params: (tag_name, prefix, attrs, ns) visibility: private ri/1.8/system/RSS/ListenerMixin/_ns-i.yaml 0000644 00000000267 15217654527 0014165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ListenerMixin#_ns is_singleton: false name: _ns params: (ns, prefix) visibility: private ri/1.8/system/RSS/ListenerMixin/initial_start_feed-i.yaml 0000644 00000000346 15217654527 0017235 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ListenerMixin#initial_start_feed is_singleton: false name: initial_start_feed params: (tag_name, prefix, attrs, ns) visibility: private ri/1.8/system/RSS/ListenerMixin/tag_end-i.yaml 0000644 00000000270 15217654527 0015001 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ListenerMixin#tag_end is_singleton: false name: tag_end params: (name) visibility: public ri/1.8/system/RSS/ListenerMixin/setup_next_element-i.yaml 0000644 00000000346 15217654527 0017313 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ListenerMixin#setup_next_element is_singleton: false name: setup_next_element params: (tag_name, klass, attributes) visibility: private ri/1.8/system/RSS/ListenerMixin/instruction-i.yaml 0000644 00000000311 15217654527 0015755 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ListenerMixin#instruction is_singleton: false name: instruction params: (name, content) visibility: public ri/1.8/system/RSS/ListenerMixin/text-i.yaml 0000644 00000000262 15217654527 0014365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ListenerMixin#text is_singleton: false name: text params: (data) visibility: public ri/1.8/system/RSS/ListenerMixin/check_ns-i.yaml 0000644 00000000330 15217654527 0015152 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ListenerMixin#check_ns is_singleton: false name: check_ns params: (tag_name, prefix, ns, require_uri) visibility: private ri/1.8/system/RSS/ListenerMixin/collect_attributes-i.yaml 0000644 00000000355 15217654527 0017277 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ListenerMixin#collect_attributes is_singleton: false name: collect_attributes params: (tag_name, prefix, attrs, ns, klass) visibility: private ri/1.8/system/RSS/ListenerMixin/xmldecl-i.yaml 0000644 00000000451 15217654527 0015031 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: set instance vars for version, encoding, standalone full_name: RSS::ListenerMixin#xmldecl is_singleton: false name: xmldecl params: (version, encoding, standalone) visibility: public ri/1.8/system/RSS/ListenerMixin/cdesc-ListenerMixin.yaml 0000644 00000003226 15217654527 0017027 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: do_validate rw: RW - !ruby/object:RI::Attribute comment: name: ignore_unknown_element rw: RW - !ruby/object:RI::Attribute comment: name: rss rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: CONTENT_PATTERN value: /\s*([^=]+)=(["'])([^\2]+?)\2/ - !ruby/object:RI::Constant comment: name: NAMESPLIT value: /^(?:([\w:][-\w\d.]*):)?([\w:][-\w\d.]*)/ full_name: RSS::ListenerMixin includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _ns - !ruby/object:RI::MethodSummary name: check_ns - !ruby/object:RI::MethodSummary name: collect_attributes - !ruby/object:RI::MethodSummary name: initial_start_RDF - !ruby/object:RI::MethodSummary name: initial_start_entry - !ruby/object:RI::MethodSummary name: initial_start_feed - !ruby/object:RI::MethodSummary name: initial_start_rss - !ruby/object:RI::MethodSummary name: instruction - !ruby/object:RI::MethodSummary name: parse_pi_content - !ruby/object:RI::MethodSummary name: setup_next_element - !ruby/object:RI::MethodSummary name: split_name - !ruby/object:RI::MethodSummary name: start_else_element - !ruby/object:RI::MethodSummary name: start_get_text_element - !ruby/object:RI::MethodSummary name: start_have_something_element - !ruby/object:RI::MethodSummary name: tag_end - !ruby/object:RI::MethodSummary name: tag_start - !ruby/object:RI::MethodSummary name: text - !ruby/object:RI::MethodSummary name: xmldecl name: ListenerMixin superclass: ri/1.8/system/RSS/ListenerMixin/start_else_element-i.yaml 0000644 00000000343 15217654527 0017257 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::ListenerMixin#start_else_element is_singleton: false name: start_else_element params: (local, prefix, attrs, ns) visibility: private ri/1.8/system/RSS/NotExpectedTagError/new-c.yaml 0000644 00000000302 15217654527 0015255 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::NotExpectedTagError::new is_singleton: true name: new params: (tag, uri, parent) visibility: public ri/1.8/system/RSS/NotExpectedTagError/cdesc-NotExpectedTagError.yaml 0000644 00000000706 15217654527 0021223 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: parent rw: R - !ruby/object:RI::Attribute comment: name: tag rw: R - !ruby/object:RI::Attribute comment: name: uri rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::NotExpectedTagError includes: [] instance_methods: [] name: NotExpectedTagError superclass: InvalidRSSError ri/1.8/system/RSS/NotWellFormedError/new-c.yaml 0000644 00000000615 15217654527 0015127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new NotWellFormedError for an error at line in element. If a block is given the return value of the block ends up in the error message. full_name: RSS::NotWellFormedError::new is_singleton: true name: new params: (line=nil, element=nil) visibility: public ri/1.8/system/RSS/NotWellFormedError/cdesc-NotWellFormedError.yaml 0000644 00000000576 15217654527 0020736 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: element rw: R - !ruby/object:RI::Attribute comment: name: line rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::NotWellFormedError includes: [] instance_methods: [] name: NotWellFormedError superclass: Error ri/1.8/system/RSS/XMLScanListener/on_charref_hex-i.yaml 0000644 00000000404 15217654527 0016532 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #on_charref" full_name: RSS::XMLScanListener#on_charref_hex is_singleton: false name: on_charref_hex params: (code) visibility: public ri/1.8/system/RSS/XMLScanListener/on_attr_entityref-i.yaml 0000644 00000000315 15217654527 0017320 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLScanListener#on_attr_entityref is_singleton: false name: on_attr_entityref params: (ref) visibility: public ri/1.8/system/RSS/XMLScanListener/on_xmldecl_end-i.yaml 0000644 00000000304 15217654527 0016531 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLScanListener#on_xmldecl_end is_singleton: false name: on_xmldecl_end params: () visibility: public ri/1.8/system/RSS/XMLScanListener/on_attribute-i.yaml 0000644 00000000304 15217654527 0016256 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLScanListener#on_attribute is_singleton: false name: on_attribute params: (name) visibility: public ri/1.8/system/RSS/XMLScanListener/on_etag-i.yaml 0000644 00000000272 15217654527 0015177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLScanListener#on_etag is_singleton: false name: on_etag params: (name) visibility: public ri/1.8/system/RSS/XMLScanListener/on_charref-i.yaml 0000644 00000000362 15217654527 0015671 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: on_charref_hex block_params: comment: full_name: RSS::XMLScanListener#on_charref is_singleton: false name: on_charref params: (code) visibility: public ri/1.8/system/RSS/XMLScanListener/entity-i.yaml 0000644 00000000270 15217654527 0015075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLScanListener#entity is_singleton: false name: entity params: (ref) visibility: private ri/1.8/system/RSS/XMLScanListener/on_stag_end_empty-i.yaml 0000644 00000000316 15217654527 0017260 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLScanListener#on_stag_end_empty is_singleton: false name: on_stag_end_empty params: (name) visibility: public ri/1.8/system/RSS/XMLScanListener/on_attr_charref-i.yaml 0000644 00000000401 15217654527 0016715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: on_attr_charref_hex block_params: comment: full_name: RSS::XMLScanListener#on_attr_charref is_singleton: false name: on_attr_charref params: (code) visibility: public ri/1.8/system/RSS/XMLScanListener/on_attr_charref_hex-i.yaml 0000644 00000000423 15217654527 0017565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #on_attr_charref" full_name: RSS::XMLScanListener#on_attr_charref_hex is_singleton: false name: on_attr_charref_hex params: (code) visibility: public ri/1.8/system/RSS/XMLScanListener/on_stag-i.yaml 0000644 00000000272 15217654527 0015215 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLScanListener#on_stag is_singleton: false name: on_stag params: (name) visibility: public ri/1.8/system/RSS/XMLScanListener/on_xmldecl_encoding-i.yaml 0000644 00000000321 15217654527 0017550 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLScanListener#on_xmldecl_encoding is_singleton: false name: on_xmldecl_encoding params: (str) visibility: public ri/1.8/system/RSS/XMLScanListener/on_xmldecl_version-i.yaml 0000644 00000000317 15217654527 0017454 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLScanListener#on_xmldecl_version is_singleton: false name: on_xmldecl_version params: (str) visibility: public ri/1.8/system/RSS/XMLScanListener/on_entityref-i.yaml 0000644 00000000303 15217654527 0016263 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLScanListener#on_entityref is_singleton: false name: on_entityref params: (ref) visibility: public ri/1.8/system/RSS/XMLScanListener/cdesc-XMLScanListener.yaml 0000644 00000002662 15217654527 0017374 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: ENTITIES value: "{ 'lt' => '<', 'gt' => '>', 'amp' => '&', 'quot' => '\"', 'apos' => '\\''" full_name: RSS::XMLScanListener includes: - !ruby/object:RI::IncludedModule name: XMLScan::Visitor - !ruby/object:RI::IncludedModule name: ListenerMixin instance_methods: - !ruby/object:RI::MethodSummary name: entity - !ruby/object:RI::MethodSummary name: on_attr_charref - !ruby/object:RI::MethodSummary name: on_attr_charref_hex - !ruby/object:RI::MethodSummary name: on_attr_entityref - !ruby/object:RI::MethodSummary name: on_attr_value - !ruby/object:RI::MethodSummary name: on_attribute - !ruby/object:RI::MethodSummary name: on_charref - !ruby/object:RI::MethodSummary name: on_charref_hex - !ruby/object:RI::MethodSummary name: on_entityref - !ruby/object:RI::MethodSummary name: on_etag - !ruby/object:RI::MethodSummary name: on_stag - !ruby/object:RI::MethodSummary name: on_stag_end - !ruby/object:RI::MethodSummary name: on_stag_end_empty - !ruby/object:RI::MethodSummary name: on_xmldecl_encoding - !ruby/object:RI::MethodSummary name: on_xmldecl_end - !ruby/object:RI::MethodSummary name: on_xmldecl_standalone - !ruby/object:RI::MethodSummary name: on_xmldecl_version name: XMLScanListener superclass: BaseListener ri/1.8/system/RSS/XMLScanListener/on_stag_end-i.yaml 0000644 00000000302 15217654527 0016035 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLScanListener#on_stag_end is_singleton: false name: on_stag_end params: (name) visibility: public ri/1.8/system/RSS/XMLScanListener/on_attr_value-i.yaml 0000644 00000000305 15217654527 0016422 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLScanListener#on_attr_value is_singleton: false name: on_attr_value params: (str) visibility: public ri/1.8/system/RSS/XMLScanListener/on_xmldecl_standalone-i.yaml 0000644 00000000325 15217654527 0020116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLScanListener#on_xmldecl_standalone is_singleton: false name: on_xmldecl_standalone params: (str) visibility: public ri/1.8/system/RSS/XMLStyleSheetMixin/new-c.yaml 0000644 00000000266 15217654527 0015055 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLStyleSheetMixin::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/RSS/XMLStyleSheetMixin/xml_stylesheet_pi-i.yaml 0000644 00000000316 15217654527 0020027 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::XMLStyleSheetMixin#xml_stylesheet_pi is_singleton: false name: xml_stylesheet_pi params: () visibility: private ri/1.8/system/RSS/XMLStyleSheetMixin/cdesc-XMLStyleSheetMixin.yaml 0000644 00000000574 15217654527 0020604 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: xml_stylesheets rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::XMLStyleSheetMixin includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: xml_stylesheet_pi name: XMLStyleSheetMixin superclass: ri/1.8/system/RSS/NotAvailableValueError/new-c.yaml 0000644 00000000316 15217654527 0015742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::NotAvailableValueError::new is_singleton: true name: new params: (tag, value, attribute=nil) visibility: public ri/1.8/system/RSS/NotAvailableValueError/cdesc-NotAvailableValueError.yaml 0000644 00000000721 15217654527 0022360 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: attribute rw: R - !ruby/object:RI::Attribute comment: name: tag rw: R - !ruby/object:RI::Attribute comment: name: value rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::NotAvailableValueError includes: [] instance_methods: [] name: NotAvailableValueError superclass: InvalidRSSError ri/1.8/system/RSS/NotSetError/new-c.yaml 0000644 00000000271 15217654527 0013620 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RSS::NotSetError::new is_singleton: true name: new params: (name, variables) visibility: public ri/1.8/system/RSS/NotSetError/cdesc-NotSetError.yaml 0000644 00000000562 15217654527 0016117 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: variables rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RSS::NotSetError includes: [] instance_methods: [] name: NotSetError superclass: Error ri/1.8/system/XMLEncoding_ja/cdesc-XMLEncoding_ja.yaml 0000644 00000000303 15217654527 0016327 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XMLEncoding_ja includes: [] instance_methods: [] name: XMLEncoding_ja superclass: ri/1.8/system/XMLEncoding_ja/SJISHandler/cdesc-SJISHandler.yaml 0000644 00000000401 15217654527 0017661 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: XMLEncoding_ja::SJISHandler includes: - !ruby/object:RI::IncludedModule name: Kconv instance_methods: [] name: SJISHandler superclass: Object ri/1.8/system/Hash/store-i.yaml 0000644 00000001352 15217654527 0012160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Element Assignment---Associates the value given by value with the key given by key. key should not have its value changed while it is in use as a key (a String passed as a key will be duplicated and frozen). - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h["a"] = 9\n h["c"] = 4\n h #=> {"a"=>9, "b"=>200, "c"=>4}\n" full_name: Hash#store is_singleton: false name: store params: | hsh[key] = value => value hsh.store(key, value) => value visibility: public ri/1.8/system/Hash/new-c.yaml 0000644 00000003241 15217654527 0011606 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new, empty hash. If this hash is subsequently accessed by a key that doesn't correspond to a hash entry, the value returned depends on the style of new used to create the hash. In the first form, the access returns nil. If obj is specified, this single object will be used for all default values. If a block is specified, it will be called with the hash object and the key, and should return the default value. It is the block's responsibility to store the value in the hash if required. - !ruby/struct:SM::Flow::VERB body: " h = Hash.new("Go Fish")\n h["a"] = 100\n h["b"] = 200\n h["a"] #=> 100\n h["c"] #=> "Go Fish"\n # The following alters the single default object\n h["c"].upcase! #=> "GO FISH"\n h["d"] #=> "GO FISH"\n h.keys #=> ["a", "b"]\n\n # While this creates a new default object each time\n h = Hash.new { |hash, key| hash[key] = "Go Fish: #{key}" }\n h["c"] #=> "Go Fish: c"\n h["c"].upcase! #=> "GO FISH: C"\n h["d"] #=> "Go Fish: d"\n h.keys #=> ["c", "d"]\n" full_name: Hash::new is_singleton: true name: new params: | Hash.new => hash Hash.new(obj) => aHash Hash.new {|hash, key| block } => aHash visibility: public ri/1.8/system/Hash/to_s-i.yaml 0000644 00000001173 15217654527 0011771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts hsh to a string by converting the hash to an array of [ key, value ] pairs and then converting that array to a string using Array#join with the default separator. - !ruby/struct:SM::Flow::VERB body: " h = { "c" => 300, "a" => 100, "d" => 400, "c" => 300 }\n h.to_s #=> "a100c300d400"\n" full_name: Hash#to_s is_singleton: false name: to_s params: | hsh.to_s => string visibility: public ri/1.8/system/Hash/reject%21-i.yaml 0000644 00000000530 15217654527 0012505 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to Hash#delete_if, but returns nil if no changes were made. full_name: Hash#reject! is_singleton: false name: reject! params: | hsh.reject! {| key, value | block } -> hsh or nil visibility: public ri/1.8/system/Hash/indexes-i.yaml 0000644 00000000477 15217654527 0012472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deprecated in favor of Hash#select. full_name: Hash#indexes is_singleton: false name: indexes params: | hsh.indexes(key, ...) => array hsh.indices(key, ...) => array visibility: public ri/1.8/system/Hash/delete-i.yaml 0000644 00000001564 15217654527 0012273 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes and returns a key-value pair from hsh whose key is equal to key. If the key is not found, returns nil. If the optional code block is given and the key is not found, pass in the key and return the result of block. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h.delete("a") #=> 100\n h.delete("z") #=> nil\n h.delete("z") { |el| "#{el} not found" } #=> "z not found"\n" full_name: Hash#delete is_singleton: false name: delete params: | hsh.delete(key) => value hsh.delete(key) {| key | block } => value visibility: public ri/1.8/system/Hash/index-i.yaml 0000644 00000000727 15217654527 0012140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the key for a given value. If not found, returns nil. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h.index(200) #=> "b"\n h.index(999) #=> nil\n" full_name: Hash#index is_singleton: false name: index params: | hsh.index(value) => key visibility: public ri/1.8/system/Hash/has_value%3f-i.yaml 0000644 00000001052 15217654527 0013266 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the given value is present for some key in hsh. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h.has_value?(100) #=> true\n h.has_value?(999) #=> false\n" full_name: Hash#has_value? is_singleton: false name: has_value? params: | hsh.has_value?(value) => true or false hsh.value?(value) => true or false visibility: public ri/1.8/system/Hash/reject-i.yaml 0000644 00000000603 15217654527 0012276 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Same as Hash#delete_if, but works on (and returns) a copy of the hsh. Equivalent to hsh.dup.delete_if. full_name: Hash#reject is_singleton: false name: reject params: | hsh.reject {| key, value | block } -> a_hash visibility: public ri/1.8/system/Hash/key%3f-i.yaml 0000644 00000001147 15217654527 0012114 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the given key is present in hsh. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h.has_key?("a") #=> true\n h.has_key?("z") #=> false\n" full_name: Hash#key? is_singleton: false name: key? params: | hsh.has_key?(key) => true or false hsh.include?(key) => true or false hsh.key?(key) => true or false hsh.member?(key) => true or false visibility: public ri/1.8/system/Hash/rehash-i.yaml 0000644 00000001566 15217654527 0012305 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Rebuilds the hash based on the current hash values for each key. If values of key objects have changed since they were inserted, this method will reindex hsh. If Hash#rehash is called while an iterator is traversing the hash, an IndexError will be raised in the iterator. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "b" ]\n c = [ "c", "d" ]\n h = { a => 100, c => 300 }\n h[a] #=> 100\n a[0] = "z"\n h[a] #=> nil\n h.rehash #=> {["z", "b"]=>100, ["c", "d"]=>300}\n h[a] #=> 100\n" full_name: Hash#rehash is_singleton: false name: rehash params: | hsh.rehash -> hsh visibility: public ri/1.8/system/Hash/%5b%5d-c.yaml 0000644 00000001462 15217654527 0011671 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new hash populated with the given objects. Equivalent to the literal { key, value, ... }. Keys and values occur in pairs, so there must be an even number of arguments. - !ruby/struct:SM::Flow::VERB body: " Hash["a", 100, "b", 200] #=> {"a"=>100, "b"=>200}\n Hash["a" => 100, "b" => 200] #=> {"a"=>100, "b"=>200}\n { "a" => 100, "b" => 200 } #=> {"a"=>100, "b"=>200}\n" full_name: Hash::[] is_singleton: true name: "[]" params: | Hash[ [key =>|, value]* ] => hash visibility: public ri/1.8/system/Hash/each_value-i.yaml 0000644 00000001124 15217654527 0013115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls block once for each key in hsh, passing the value as a parameter. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h.each_value {|value| puts value }\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " 100\n 200\n" full_name: Hash#each_value is_singleton: false name: each_value params: | hsh.each_value {| value | block } -> hsh visibility: public ri/1.8/system/Hash/hash-i.yaml 0000644 00000000547 15217654527 0011754 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compute a hash-code for this array. Two arrays with the same content will have the same hash code (and will compare using eql?). full_name: Hash#hash is_singleton: false name: hash params: | array.hash -> fixnum visibility: public ri/1.8/system/Hash/each_pair-i.yaml 0000644 00000001211 15217654527 0012731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls block once for each key in hsh, passing the key and value as parameters. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h.each_pair {|key, value| puts "#{key} is #{value}" }\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " a is 100\n b is 200\n" full_name: Hash#each_pair is_singleton: false name: each_pair params: | hsh.each_pair {| key_value_array | block } -> hsh visibility: public ri/1.8/system/Hash/select-i.yaml 0000644 00000001224 15217654527 0012301 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new array consisting of [key,value] pairs for which the block returns true. Also see Hash.values_at. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200, "c" => 300 }\n h.select {|k,v| k > "a"} #=> [["b", 200], ["c", 300]]\n h.select {|k,v| v < 200} #=> [["a", 100]]\n" full_name: Hash#select is_singleton: false name: select params: | hsh.select {|key, value| block} => array visibility: public ri/1.8/system/Hash/%5b%5d%3d-i.yaml 0000644 00000001350 15217654527 0012167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Element Assignment---Associates the value given by value with the key given by key. key should not have its value changed while it is in use as a key (a String passed as a key will be duplicated and frozen). - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h["a"] = 9\n h["c"] = 4\n h #=> {"a"=>9, "b"=>200, "c"=>4}\n" full_name: Hash#[]= is_singleton: false name: "[]=" params: | hsh[key] = value => value hsh.store(key, value) => value visibility: public ri/1.8/system/Hash/pretty_print-i.yaml 0000644 00000000261 15217654527 0013565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Hash#pretty_print is_singleton: false name: pretty_print params: (q) visibility: public ri/1.8/system/Hash/values_at-i.yaml 0000644 00000001154 15217654527 0013007 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return an array containing the values associated with the given keys. Also see Hash.select. - !ruby/struct:SM::Flow::VERB body: " h = { "cat" => "feline", "dog" => "canine", "cow" => "bovine" }\n h.values_at("cow", "cat") #=> ["bovine", "feline"]\n" full_name: Hash#values_at is_singleton: false name: values_at params: | hsh.values_at(key, ...) => array visibility: public ri/1.8/system/Hash/%5b%5d-i.yaml 0000644 00000001067 15217654527 0011700 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Element Reference---Retrieves the value object corresponding to the key object. If not found, returns the a default value (see Hash::new for details). - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h["a"] #=> 100\n h["c"] #=> nil\n" full_name: Hash#[] is_singleton: false name: "[]" params: | hsh[key] => value visibility: public ri/1.8/system/Hash/indices-i.yaml 0000644 00000000477 15217654527 0012451 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deprecated in favor of Hash#select. full_name: Hash#indices is_singleton: false name: indices params: | hsh.indexes(key, ...) => array hsh.indices(key, ...) => array visibility: public ri/1.8/system/Hash/merge%21-i.yaml 0000644 00000002431 15217654527 0012332 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Adds the contents of other_hash to hsh. If no block is specified entries with duplicate keys are overwritten with the values from other_hash, otherwise the value of each duplicate key is determined by calling the block with the key, its value in hsh and its value in other_hash. - !ruby/struct:SM::Flow::VERB body: " h1 = { "a" => 100, "b" => 200 }\n h2 = { "b" => 254, "c" => 300 }\n h1.merge!(h2) #=> {"a"=>100, "b"=>254, "c"=>300}\n\n h1 = { "a" => 100, "b" => 200 }\n h2 = { "b" => 254, "c" => 300 }\n h1.merge!(h2) { |key, v1, v2| v1 }\n #=> {"a"=>100, "b"=>200, "c"=>300}\n" full_name: Hash#merge! is_singleton: false name: merge! params: | hsh.merge!(other_hash) => hsh hsh.update(other_hash) => hsh hsh.merge!(other_hash){|key, oldval, newval| block} => hsh hsh.update(other_hash){|key, oldval, newval| block} => hsh visibility: public ri/1.8/system/Hash/sort-i.yaml 0000644 00000001353 15217654527 0012014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts hsh to a nested array of [ key, value ] arrays and sorts it, using Array#sort. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 20, "b" => 30, "c" => 10 }\n h.sort #=> [["a", 20], ["b", 30], ["c", 10]]\n h.sort {|a,b| a[1]<=>b[1]} #=> [["c", 10], ["a", 20], ["b", 30]]\n" full_name: Hash#sort is_singleton: false name: sort params: | hsh.sort => array hsh.sort {| a, b | block } => array visibility: public ri/1.8/system/Hash/values-i.yaml 0000644 00000000745 15217654527 0012330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new array populated with the values from hsh. See also Hash#keys. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200, "c" => 300 }\n h.values #=> [100, 200, 300]\n" full_name: Hash#values is_singleton: false name: values params: | hsh.values => array visibility: public ri/1.8/system/Hash/to_hash-i.yaml 0000644 00000000370 15217654527 0012450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns self. full_name: Hash#to_hash is_singleton: false name: to_hash params: | hsh.to_hash => hsh visibility: public ri/1.8/system/Hash/value%3f-i.yaml 0000644 00000001042 15217654527 0012432 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the given value is present for some key in hsh. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h.has_value?(100) #=> true\n h.has_value?(999) #=> false\n" full_name: Hash#value? is_singleton: false name: value? params: | hsh.has_value?(value) => true or false hsh.value?(value) => true or false visibility: public ri/1.8/system/Hash/size-i.yaml 0000644 00000001051 15217654527 0011772 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of key-value pairs in the hash. - !ruby/struct:SM::Flow::VERB body: " h = { "d" => 100, "a" => 200, "v" => 300, "e" => 400 }\n h.length #=> 4\n h.delete("a") #=> 200\n h.length #=> 3\n" full_name: Hash#size is_singleton: false name: size params: | hsh.length => fixnum hsh.size => fixnum visibility: public ri/1.8/system/Hash/each-i.yaml 0000644 00000001562 15217654527 0011727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls block once for each key in hsh, passing the key and value to the block as a two-element array. Because of the assignment semantics of block parameters, these elements will be split out if the block has two formal parameters. Also see Hash.each_pair, which will be marginally more efficient for blocks with two parameters. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h.each {|key, value| puts "#{key} is #{value}" }\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " a is 100\n b is 200\n" full_name: Hash#each is_singleton: false name: each params: | hsh.each {| key, value | block } -> hsh visibility: public ri/1.8/system/Hash/inspect-i.yaml 0000644 00000000421 15217654527 0012465 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the contents of this hash as a string. full_name: Hash#inspect is_singleton: false name: inspect params: | hsh.inspect => string visibility: public ri/1.8/system/Hash/member%3f-i.yaml 0000644 00000001155 15217654527 0012572 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the given key is present in hsh. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h.has_key?("a") #=> true\n h.has_key?("z") #=> false\n" full_name: Hash#member? is_singleton: false name: member? params: | hsh.has_key?(key) => true or false hsh.include?(key) => true or false hsh.key?(key) => true or false hsh.member?(key) => true or false visibility: public ri/1.8/system/Hash/update-i.yaml 0000644 00000002431 15217654527 0012305 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Adds the contents of other_hash to hsh. If no block is specified entries with duplicate keys are overwritten with the values from other_hash, otherwise the value of each duplicate key is determined by calling the block with the key, its value in hsh and its value in other_hash. - !ruby/struct:SM::Flow::VERB body: " h1 = { "a" => 100, "b" => 200 }\n h2 = { "b" => 254, "c" => 300 }\n h1.merge!(h2) #=> {"a"=>100, "b"=>254, "c"=>300}\n\n h1 = { "a" => 100, "b" => 200 }\n h2 = { "b" => 254, "c" => 300 }\n h1.merge!(h2) { |key, v1, v2| v1 }\n #=> {"a"=>100, "b"=>200, "c"=>300}\n" full_name: Hash#update is_singleton: false name: update params: | hsh.merge!(other_hash) => hsh hsh.update(other_hash) => hsh hsh.merge!(other_hash){|key, oldval, newval| block} => hsh hsh.update(other_hash){|key, oldval, newval| block} => hsh visibility: public ri/1.8/system/Hash/fetch-i.yaml 0000644 00000002606 15217654527 0012120 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns a value from the hash for the given key. If the key can't be found, there are several options: With no other arguments, it will raise an IndexError exception; if default is given, then that will be returned; if the optional code block is specified, then that will be run and its result returned." - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h.fetch("a") #=> 100\n h.fetch("z", "go fish") #=> "go fish"\n h.fetch("z") { |el| "go fish, #{el}"} #=> "go fish, z"\n" - !ruby/struct:SM::Flow::P body: The following example shows that an exception is raised if the key is not found and a default value is not supplied. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h.fetch("z")\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " prog.rb:2:in `fetch': key not found (IndexError)\n from prog.rb:2\n" full_name: Hash#fetch is_singleton: false name: fetch params: | hsh.fetch(key [, default] ) => obj hsh.fetch(key) {| key | block } => obj visibility: public ri/1.8/system/Hash/to_a-i.yaml 0000644 00000001046 15217654527 0011746 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts hsh to a nested array of [ key, value ] arrays. - !ruby/struct:SM::Flow::VERB body: " h = { "c" => 300, "a" => 100, "d" => 400, "c" => 300 }\n h.to_a #=> [["a", 100], ["c", 300], ["d", 400]]\n" full_name: Hash#to_a is_singleton: false name: to_a params: | hsh.to_a -> array visibility: public ri/1.8/system/Hash/cdesc-Hash.yaml 0000644 00000010320 15217654527 0012533 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A Hash is a collection of key-value pairs. It is similar to an Array, except that indexing is done via arbitrary keys of any object type, not an integer index. The order in which you traverse a hash by either key or value may seem arbitrary, and will generally not be in the insertion order. - !ruby/struct:SM::Flow::P body: Hashes have a default value that is returned when accessing keys that do not exist in the hash. By default, that value is nil. - !ruby/struct:SM::Flow::P body: Hash uses key.eql? to test keys for equality. If you need to use instances of your own classes as keys in a Hash, it is recommended that you define both the eql? and hash methods. The hash method must have the property that a.eql?(b) implies a.hash == b.hash. - !ruby/struct:SM::Flow::VERB body: " class MyClass\n attr_reader :str\n def initialize(str)\n @str = str\n end\n def eql?(o)\n o.is_a?(MyClass) && str == o.str\n end\n def hash\n @str.hash\n end\n end\n\n a = MyClass.new("some string")\n b = MyClass.new("some string")\n a.eql? b #=> true\n\n h = {}\n\n h[a] = 1\n h[a] #=> 1\n h[b] #=> 1\n\n h[b] = 2\n h[a] #=> 2\n h[b] #=> 2\n" constants: [] full_name: Hash includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: clear - !ruby/object:RI::MethodSummary name: default - !ruby/object:RI::MethodSummary name: default= - !ruby/object:RI::MethodSummary name: default_proc - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: delete_if - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: each_key - !ruby/object:RI::MethodSummary name: each_pair - !ruby/object:RI::MethodSummary name: each_value - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: fetch - !ruby/object:RI::MethodSummary name: has_key? - !ruby/object:RI::MethodSummary name: has_value? - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: include? - !ruby/object:RI::MethodSummary name: index - !ruby/object:RI::MethodSummary name: indexes - !ruby/object:RI::MethodSummary name: indices - !ruby/object:RI::MethodSummary name: initialize_copy - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: invert - !ruby/object:RI::MethodSummary name: key? - !ruby/object:RI::MethodSummary name: keys - !ruby/object:RI::MethodSummary name: length - !ruby/object:RI::MethodSummary name: member? - !ruby/object:RI::MethodSummary name: merge - !ruby/object:RI::MethodSummary name: merge! - !ruby/object:RI::MethodSummary name: pretty_print - !ruby/object:RI::MethodSummary name: pretty_print_cycle - !ruby/object:RI::MethodSummary name: rehash - !ruby/object:RI::MethodSummary name: reject - !ruby/object:RI::MethodSummary name: reject! - !ruby/object:RI::MethodSummary name: replace - !ruby/object:RI::MethodSummary name: select - !ruby/object:RI::MethodSummary name: shift - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: sort - !ruby/object:RI::MethodSummary name: store - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: to_hash - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: update - !ruby/object:RI::MethodSummary name: value? - !ruby/object:RI::MethodSummary name: values - !ruby/object:RI::MethodSummary name: values_at - !ruby/object:RI::MethodSummary name: yaml_initialize name: Hash superclass: Object ri/1.8/system/Hash/default%3d-i.yaml 0000644 00000001556 15217654527 0012752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the default value, the value returned for a key that does not exist in the hash. It is not possible to set the a default to a Proc that will be executed on each key lookup. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h.default = "Go fish"\n h["a"] #=> 100\n h["z"] #=> "Go fish"\n # This doesn't do what you might hope...\n h.default = proc do |hash, key|\n hash[key] = key + key\n end\n h[2] #=> #<Proc:0x401b3948@-:6>\n h["cat"] #=> #<Proc:0x401b3948@-:6>\n" full_name: Hash#default= is_singleton: false name: default= params: | hsh.default = obj => hsh visibility: public ri/1.8/system/Hash/shift-i.yaml 0000644 00000001163 15217654527 0012141 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes a key-value pair from hsh and returns it as the two-item array [ key, value ], or the hash's default value if the hash is empty. - !ruby/struct:SM::Flow::VERB body: " h = { 1 => "a", 2 => "b", 3 => "c" }\n h.shift #=> [1, "a"]\n h #=> {2=>"b", 3=>"c"}\n" full_name: Hash#shift is_singleton: false name: shift params: | hsh.shift -> anArray or obj visibility: public ri/1.8/system/Hash/keys-i.yaml 0000644 00000001040 15217654527 0011771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new array populated with the keys from this hash. See also Hash#values. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200, "c" => 300, "d" => 400 }\n h.keys #=> ["a", "b", "c", "d"]\n" full_name: Hash#keys is_singleton: false name: keys params: | hsh.keys => array visibility: public ri/1.8/system/Hash/default_proc-i.yaml 0000644 00000001171 15217654527 0013472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: If Hash::new was invoked with a block, return that block, otherwise return nil. - !ruby/struct:SM::Flow::VERB body: " h = Hash.new {|h,k| h[k] = k*k } #=> {}\n p = h.default_proc #=> #<Proc:0x401b3d08@-:1>\n a = [] #=> []\n p.call(a, 2)\n a #=> [nil, nil, 4]\n" full_name: Hash#default_proc is_singleton: false name: default_proc params: | hsh.default_proc -> anObject visibility: public ri/1.8/system/Hash/merge-i.yaml 0000644 00000001524 15217654527 0012124 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new hash containing the contents of other_hash and the contents of hsh, overwriting entries in hsh with duplicate keys with those from other_hash. - !ruby/struct:SM::Flow::VERB body: " h1 = { "a" => 100, "b" => 200 }\n h2 = { "b" => 254, "c" => 300 }\n h1.merge(h2) #=> {"a"=>100, "b"=>254, "c"=>300}\n h1 #=> {"a"=>100, "b"=>200}\n" full_name: Hash#merge is_singleton: false name: merge params: | hsh.merge(other_hash) -> a_hash hsh.merge(other_hash){|key, oldval, newval| block} -> a_hash visibility: public ri/1.8/system/Hash/pretty_print_cycle-i.yaml 0000644 00000000275 15217654527 0014751 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Hash#pretty_print_cycle is_singleton: false name: pretty_print_cycle params: (q) visibility: public ri/1.8/system/Hash/length-i.yaml 0000644 00000001055 15217654527 0012305 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of key-value pairs in the hash. - !ruby/struct:SM::Flow::VERB body: " h = { "d" => 100, "a" => 200, "v" => 300, "e" => 400 }\n h.length #=> 4\n h.delete("a") #=> 200\n h.length #=> 3\n" full_name: Hash#length is_singleton: false name: length params: | hsh.length => fixnum hsh.size => fixnum visibility: public ri/1.8/system/Hash/initialize_copy-i.yaml 0000644 00000001056 15217654527 0014220 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Replaces the contents of hsh with the contents of other_hash. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h.replace({ "c" => 300, "d" => 400 }) #=> {"c"=>300, "d"=>400}\n" full_name: Hash#initialize_copy is_singleton: false name: initialize_copy params: | hsh.replace(other_hash) -> hsh visibility: public ri/1.8/system/Hash/%3d%3d-i.yaml 0000644 00000001501 15217654527 0011667 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equality---Two hashes are equal if they each contain the same number of keys and if each key-value pair is equal to (according to Object#==) the corresponding elements in the other hash. - !ruby/struct:SM::Flow::VERB body: " h1 = { "a" => 1, "c" => 2 }\n h2 = { 7 => 35, "c" => 2, "a" => 1 }\n h3 = { "a" => 1, "c" => 2, 7 => 35 }\n h4 = { "a" => 1, "d" => 2, "f" => 35 }\n h1 == h2 #=> false\n h2 == h3 #=> true\n h3 == h4 #=> false\n" full_name: Hash#== is_singleton: false name: == params: | hsh == other_hash => true or false visibility: public ri/1.8/system/Hash/yaml_initialize-i.yaml 0000644 00000000300 15217654527 0014177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Hash#yaml_initialize is_singleton: false name: yaml_initialize params: ( tag, val ) visibility: public ri/1.8/system/Hash/replace-i.yaml 0000644 00000001036 15217654527 0012436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Replaces the contents of hsh with the contents of other_hash. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h.replace({ "c" => 300, "d" => 400 }) #=> {"c"=>300, "d"=>400}\n" full_name: Hash#replace is_singleton: false name: replace params: | hsh.replace(other_hash) -> hsh visibility: public ri/1.8/system/Hash/empty%3f-i.yaml 0000644 00000000562 15217654527 0012462 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if hsh contains no key-value pairs. - !ruby/struct:SM::Flow::VERB body: " {}.empty? #=> true\n" full_name: Hash#empty? is_singleton: false name: empty? params: | hsh.empty? => true or false visibility: public ri/1.8/system/Hash/delete_if-i.yaml 0000644 00000001073 15217654527 0012744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes every key-value pair from hsh for which block evaluates to true. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200, "c" => 300 }\n h.delete_if {|key, value| key >= "b" } #=> {"a"=>100}\n" full_name: Hash#delete_if is_singleton: false name: delete_if params: | hsh.delete_if {| key, value | block } -> hsh visibility: public ri/1.8/system/Hash/each_key-i.yaml 0000644 00000001100 15217654527 0012563 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls block once for each key in hsh, passing the key as a parameter. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h.each_key {|key| puts key }\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " a\n b\n" full_name: Hash#each_key is_singleton: false name: each_key params: | hsh.each_key {| key | block } -> hsh visibility: public ri/1.8/system/Hash/include%3f-i.yaml 0000644 00000001157 15217654527 0012750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the given key is present in hsh. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h.has_key?("a") #=> true\n h.has_key?("z") #=> false\n" full_name: Hash#include? is_singleton: false name: include? params: | hsh.has_key?(key) => true or false hsh.include?(key) => true or false hsh.key?(key) => true or false hsh.member?(key) => true or false visibility: public ri/1.8/system/Hash/invert-i.yaml 0000644 00000001132 15217654527 0012327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new hash created by using hsh's values as keys, and the keys as values. - !ruby/struct:SM::Flow::VERB body: " h = { "n" => 100, "m" => 100, "y" => 300, "d" => 200, "a" => 0 }\n h.invert #=> {0=>"a", 100=>"n", 200=>"d", 300=>"y"}\n" full_name: Hash#invert is_singleton: false name: invert params: | hsh.invert -> aHash visibility: public ri/1.8/system/Hash/has_key%3f-i.yaml 0000644 00000001157 15217654527 0012750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the given key is present in hsh. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 }\n h.has_key?("a") #=> true\n h.has_key?("z") #=> false\n" full_name: Hash#has_key? is_singleton: false name: has_key? params: | hsh.has_key?(key) => true or false hsh.include?(key) => true or false hsh.key?(key) => true or false hsh.member?(key) => true or false visibility: public ri/1.8/system/Hash/to_yaml-i.yaml 0000644 00000000261 15217654527 0012466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Hash#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/Hash/clear-i.yaml 0000644 00000000726 15217654527 0012116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes all key-value pairs from hsh. - !ruby/struct:SM::Flow::VERB body: " h = { "a" => 100, "b" => 200 } #=> {"a"=>100, "b"=>200}\n h.clear #=> {}\n" full_name: Hash#clear is_singleton: false name: clear params: | hsh.clear -> hsh visibility: public ri/1.8/system/Hash/eql%3f-i.yaml 0000644 00000000512 15217654527 0012100 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if hash and other are both hashes with the same content. full_name: Hash#eql? is_singleton: false name: eql? params: | hash.eql?(other) -> true or false visibility: public ri/1.8/system/Hash/default-i.yaml 0000644 00000001746 15217654527 0012457 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the default value, the value that would be returned by hsh[key] if key did not exist in hsh. See also Hash::new and Hash#default=. - !ruby/struct:SM::Flow::VERB body: " h = Hash.new #=> {}\n h.default #=> nil\n h.default(2) #=> nil\n\n h = Hash.new("cat") #=> {}\n h.default #=> "cat"\n h.default(2) #=> "cat"\n\n h = Hash.new {|h,k| h[k] = k.to_i*10} #=> {}\n h.default #=> nil\n h.default(2) #=> 20\n" full_name: Hash#default is_singleton: false name: default params: | hsh.default(key=nil) => obj visibility: public ri/1.8/system/InvalidArgument/cdesc-InvalidArgument.yaml 0000644 00000000462 15217654527 0017155 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Raises when the given argument does not match required format. constants: [] full_name: InvalidArgument includes: [] instance_methods: [] name: InvalidArgument superclass: ParseError ri/1.8/system/NoMemoryError/cdesc-NoMemoryError.yaml 0000644 00000001200 15217654527 0016320 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: NoMemoryError includes: [] instance_methods: [] name: NoMemoryError superclass: Exception ri/1.8/system/DRb/front-i.yaml 0000644 00000000561 15217654527 0011741 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the front object of the current server. - !ruby/struct:SM::Flow::P body: "This raises a DRbServerNotFound error if there is no current server. See #current_server." full_name: DRb#front is_singleton: false name: front params: () visibility: public ri/1.8/system/DRb/DRbSSLSocket/new-c.yaml 0000644 00000000313 15217654527 0013571 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbSSLSocket::new is_singleton: true name: new params: (uri, soc, config, is_established) visibility: public ri/1.8/system/DRb/DRbSSLSocket/open-c.yaml 0000644 00000000270 15217654527 0013743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbSSLSocket::open is_singleton: true name: open params: (uri, config) visibility: public ri/1.8/system/DRb/DRbSSLSocket/close-i.yaml 0000644 00000000257 15217654527 0014122 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbSSLSocket#close is_singleton: false name: close params: () visibility: public ri/1.8/system/DRb/DRbSSLSocket/SSLConfig/new-c.yaml 0000644 00000000274 15217654527 0015366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbSSLSocket::SSLConfig::new is_singleton: true name: new params: (config) visibility: public ri/1.8/system/DRb/DRbSSLSocket/SSLConfig/setup_ssl_context-i.yaml 0000644 00000000322 15217654527 0020362 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbSSLSocket::SSLConfig#setup_ssl_context is_singleton: false name: setup_ssl_context params: () visibility: public ri/1.8/system/DRb/DRbSSLSocket/SSLConfig/cdesc-SSLConfig.yaml 0000644 00000002232 15217654527 0017217 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: DEFAULT value: "{ :SSLCertificate => nil, :SSLPrivateKey => nil, :SSLClientCA => nil, :SSLCACertificatePath => nil, :SSLCACertificateFile => nil, :SSLVerifyMode => ::OpenSSL::SSL::VERIFY_NONE, :SSLVerifyDepth => nil, :SSLVerifyCallback => nil, # custom verification :SSLCertificateStore => nil, # Must specify if you use auto generated certificate. :SSLCertName => nil, # e.g. [[\"CN\",\"fqdn.example.com\"]] :SSLCertComment => \"Generated by Ruby/OpenSSL\"" full_name: DRb::DRbSSLSocket::SSLConfig includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: accept - !ruby/object:RI::MethodSummary name: connect - !ruby/object:RI::MethodSummary name: setup_certificate - !ruby/object:RI::MethodSummary name: setup_ssl_context name: SSLConfig superclass: Object ri/1.8/system/DRb/DRbSSLSocket/SSLConfig/%5b%5d-i.yaml 0000644 00000000271 15217654527 0015451 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbSSLSocket::SSLConfig#[] is_singleton: false name: "[]" params: (key) visibility: public ri/1.8/system/DRb/DRbSSLSocket/SSLConfig/connect-i.yaml 0000644 00000000301 15217654527 0016223 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbSSLSocket::SSLConfig#connect is_singleton: false name: connect params: (tcp) visibility: public ri/1.8/system/DRb/DRbSSLSocket/SSLConfig/accept-i.yaml 0000644 00000000277 15217654527 0016045 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbSSLSocket::SSLConfig#accept is_singleton: false name: accept params: (tcp) visibility: public ri/1.8/system/DRb/DRbSSLSocket/SSLConfig/setup_certificate-i.yaml 0000644 00000000322 15217654527 0020277 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbSSLSocket::SSLConfig#setup_certificate is_singleton: false name: setup_certificate params: () visibility: public ri/1.8/system/DRb/DRbSSLSocket/accept-i.yaml 0000644 00000000261 15217654527 0014247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbSSLSocket#accept is_singleton: false name: accept params: () visibility: public ri/1.8/system/DRb/DRbSSLSocket/cdesc-DRbSSLSocket.yaml 0000644 00000001130 15217654527 0016037 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: open - !ruby/object:RI::MethodSummary name: open_server - !ruby/object:RI::MethodSummary name: parse_uri - !ruby/object:RI::MethodSummary name: uri_option comment: constants: [] full_name: DRb::DRbSSLSocket includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: accept - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: stream name: DRbSSLSocket superclass: DRbTCPSocket ri/1.8/system/DRb/DRbSSLSocket/parse_uri-c.yaml 0000644 00000000272 15217654527 0014775 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbSSLSocket::parse_uri is_singleton: true name: parse_uri params: (uri) visibility: public ri/1.8/system/DRb/DRbSSLSocket/open_server-c.yaml 0000644 00000000306 15217654527 0015331 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbSSLSocket::open_server is_singleton: true name: open_server params: (uri, config) visibility: public ri/1.8/system/DRb/DRbSSLSocket/uri_option-c.yaml 0000644 00000000304 15217654527 0015167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbSSLSocket::uri_option is_singleton: true name: uri_option params: (uri, config) visibility: public ri/1.8/system/DRb/DRbSSLSocket/stream-i.yaml 0000644 00000000261 15217654527 0014303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbSSLSocket#stream is_singleton: false name: stream params: () visibility: public ri/1.8/system/DRb/stop_service-i.yaml 0000644 00000000570 15217654527 0013316 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Stop the local dRuby server. - !ruby/struct:SM::Flow::P body: This operates on the primary server. If there is no primary server currently running, it is a noop. full_name: DRb#stop_service is_singleton: false name: stop_service params: () visibility: public ri/1.8/system/DRb/fetch_server-i.yaml 0000644 00000000262 15217654527 0013266 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb#fetch_server is_singleton: false name: fetch_server params: (uri) visibility: public ri/1.8/system/DRb/start_service-i.yaml 0000644 00000001560 15217654527 0013466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Start a dRuby server locally. - !ruby/struct:SM::Flow::P body: The new dRuby server will become the primary server, even if another server is currently the primary server. - !ruby/struct:SM::Flow::P body: uri is the URI for the server to bind to. If nil, the server will bind to random port on the default local host name and use the default dRuby protocol. - !ruby/struct:SM::Flow::P body: front is the server's front object. This may be nil. - !ruby/struct:SM::Flow::P body: config is the configuration for the new server. This may be nil. - !ruby/struct:SM::Flow::P body: See DRbServer::new. full_name: DRb#start_service is_singleton: false name: start_service params: (uri=nil, front=nil, config=nil) visibility: public ri/1.8/system/DRb/DRbUnknown/new-c.yaml 0000644 00000000777 15217654527 0013434 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new DRbUnknown object. - !ruby/struct:SM::Flow::P body: buf is a string containing a marshalled object that could not be unmarshalled. err is the error message that was raised when the unmarshalling failed. It is used to determine the name of the unmarshalled object. full_name: DRb::DRbUnknown::new is_singleton: true name: new params: (err, buf) visibility: public ri/1.8/system/DRb/DRbUnknown/exception-i.yaml 0000644 00000000424 15217654527 0014634 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a DRbUnknownError exception containing this object. full_name: DRb::DRbUnknown#exception is_singleton: false name: exception params: () visibility: public ri/1.8/system/DRb/DRbUnknown/reload-i.yaml 0000644 00000000716 15217654527 0014110 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Attempt to load the wrapped marshalled object again. - !ruby/struct:SM::Flow::P body: If the class of the object is now known locally, the object will be unmarshalled and returned. Otherwise, a new but identical DRbUnknown object will be returned. full_name: DRb::DRbUnknown#reload is_singleton: false name: reload params: () visibility: public ri/1.8/system/DRb/DRbUnknown/cdesc-DRbUnknown.yaml 0000644 00000002664 15217654527 0015526 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Buffer contained the marshalled, unknown object. name: buf rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The name of the unknown thing. - !ruby/struct:SM::Flow::P body: Class name for unknown objects; variable name for unknown constants. name: name rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Class wrapping a marshalled object whose type is unknown locally. - !ruby/struct:SM::Flow::P body: If an object is returned by a method invoked over drb, but the class of the object is unknown in the client namespace, or the object is a constant unknown in the client namespace, then the still-marshalled object is returned wrapped in a DRbUnknown instance. - !ruby/struct:SM::Flow::P body: If this object is passed as an argument to a method invoked over drb, then the wrapped object is passed instead. - !ruby/struct:SM::Flow::P body: The class or constant name of the object can be read from the name attribute. The marshalled object is held in the buf attribute. constants: [] full_name: DRb::DRbUnknown includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: exception - !ruby/object:RI::MethodSummary name: reload name: DRbUnknown superclass: Object ri/1.8/system/DRb/thread-i.yaml 0000644 00000000530 15217654527 0012054 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the thread of the primary server. - !ruby/struct:SM::Flow::P body: "This returns nil if there is no primary server. See #primary_server." full_name: DRb#thread is_singleton: false name: thread params: () visibility: public ri/1.8/system/DRb/TimerIdConv/new-c.yaml 0000644 00000000265 15217654527 0013560 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::TimerIdConv::new is_singleton: true name: new params: (timeout=600) visibility: public ri/1.8/system/DRb/TimerIdConv/cdesc-TimerIdConv.yaml 0000644 00000000524 15217654527 0016007 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: DRb::TimerIdConv includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_id - !ruby/object:RI::MethodSummary name: to_obj name: TimerIdConv superclass: DRbIdConv ri/1.8/system/DRb/TimerIdConv/to_id-i.yaml 0000644 00000000261 15217654527 0014067 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::TimerIdConv#to_id is_singleton: false name: to_id params: (obj) visibility: public ri/1.8/system/DRb/TimerIdConv/to_obj-i.yaml 0000644 00000000263 15217654527 0014247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::TimerIdConv#to_obj is_singleton: false name: to_obj params: (ref) visibility: public ri/1.8/system/DRb/TimerIdConv/TimerHolder2/new-c.yaml 0000644 00000000303 15217654527 0016051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::TimerIdConv::TimerHolder2::new is_singleton: true name: new params: (timeout=600) visibility: public ri/1.8/system/DRb/TimerIdConv/TimerHolder2/cdesc-TimerHolder2.yaml 0000644 00000001131 15217654527 0020417 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: DRb::TimerIdConv::TimerHolder2 includes: - !ruby/object:RI::IncludedModule name: MonitorMixin instance_methods: - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: alternate - !ruby/object:RI::MethodSummary name: fetch - !ruby/object:RI::MethodSummary name: include? - !ruby/object:RI::MethodSummary name: keeper - !ruby/object:RI::MethodSummary name: peek name: TimerHolder2 superclass: Object ri/1.8/system/DRb/TimerIdConv/TimerHolder2/peek-i.yaml 0000644 00000000275 15217654527 0016222 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::TimerIdConv::TimerHolder2#peek is_singleton: false name: peek params: (key) visibility: public ri/1.8/system/DRb/TimerIdConv/TimerHolder2/alternate-i.yaml 0000644 00000000305 15217654527 0017247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::TimerIdConv::TimerHolder2#alternate is_singleton: false name: alternate params: () visibility: private ri/1.8/system/DRb/TimerIdConv/TimerHolder2/InvalidIndexError/cdesc-InvalidIndexError.yaml 0000644 00000000365 15217654527 0025107 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: DRb::TimerIdConv::TimerHolder2::InvalidIndexError includes: [] instance_methods: [] name: InvalidIndexError superclass: RuntimeError ri/1.8/system/DRb/TimerIdConv/TimerHolder2/fetch-i.yaml 0000644 00000000315 15217654527 0016362 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::TimerIdConv::TimerHolder2#fetch is_singleton: false name: fetch params: (key, dv=@sentinel) visibility: public ri/1.8/system/DRb/TimerIdConv/TimerHolder2/include%3f-i.yaml 0000644 00000000305 15217654527 0017211 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::TimerIdConv::TimerHolder2#include? is_singleton: false name: include? params: (key) visibility: public ri/1.8/system/DRb/TimerIdConv/TimerHolder2/add-i.yaml 0000644 00000000273 15217654527 0016024 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::TimerIdConv::TimerHolder2#add is_singleton: false name: add params: (obj) visibility: public ri/1.8/system/DRb/TimerIdConv/TimerHolder2/keeper-i.yaml 0000644 00000000277 15217654527 0016553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::TimerIdConv::TimerHolder2#keeper is_singleton: false name: keeper params: () visibility: private ri/1.8/system/DRb/DRbBadScheme/cdesc-DRbBadScheme.yaml 0000644 00000000536 15217654527 0016052 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Error raised by a dRuby protocol when it doesn't support the scheme specified in a URI. See DRb::DRbProtocol. constants: [] full_name: DRb::DRbBadScheme includes: [] instance_methods: [] name: DRbBadScheme superclass: DRbError ri/1.8/system/DRb/DRbBadURI/cdesc-DRbBadURI.yaml 0000644 00000000550 15217654527 0014534 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Error raised by the DRbProtocol module when it cannot find any protocol implementation support the scheme specified in a URI. constants: [] full_name: DRb::DRbBadURI includes: [] instance_methods: [] name: DRbBadURI superclass: DRbError ri/1.8/system/DRb/DRbProtocol/open_server-i.yaml 0000644 00000001346 15217654527 0015333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Open a server listening for connections at uri with configuration config. - !ruby/struct:SM::Flow::P body: The DRbProtocol module asks each registered protocol in turn to try to open a server at the URI. Each protocol signals that it does not handle that URI by raising a DRbBadScheme error. If no protocol recognises the URI, then a DRbBadURI error is raised. If a protocol accepts the URI, but an error occurs in opening it, the underlying error is passed on to the caller. full_name: DRb::DRbProtocol#open_server is_singleton: false name: open_server params: (uri, config, first=true) visibility: public ri/1.8/system/DRb/DRbProtocol/uri_option-i.yaml 0000644 00000001070 15217654527 0015165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parse uri into a [uri, option] pair. - !ruby/struct:SM::Flow::P body: The DRbProtocol module asks each registered protocol in turn to try to parse the URI. Each protocol signals that it does not handle that URI by raising a DRbBadScheme error. If no protocol recognises the URI, then a DRbBadURI error is raised. full_name: DRb::DRbProtocol#uri_option is_singleton: false name: uri_option params: (uri, config, first=true) visibility: public ri/1.8/system/DRb/DRbProtocol/add_protocol-i.yaml 0000644 00000000422 15217654527 0015447 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Add a new protocol to the DRbProtocol module. full_name: DRb::DRbProtocol#add_protocol is_singleton: false name: add_protocol params: (prot) visibility: public ri/1.8/system/DRb/DRbProtocol/open-i.yaml 0000644 00000001252 15217654527 0013741 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Open a client connection to uri with the configuration config. - !ruby/struct:SM::Flow::P body: The DRbProtocol module asks each registered protocol in turn to try to open the URI. Each protocol signals that it does not handle that URI by raising a DRbBadScheme error. If no protocol recognises the URI, then a DRbBadURI error is raised. If a protocol accepts the URI, but an error occurs in opening it, a DRbConnError is raised. full_name: DRb::DRbProtocol#open is_singleton: false name: open params: (uri, config, first=true) visibility: public ri/1.8/system/DRb/DRbProtocol/cdesc-DRbProtocol.yaml 0000644 00000010115 15217654527 0016020 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Module managing the underlying network protocol(s) used by drb. - !ruby/struct:SM::Flow::P body: "By default, drb uses the DRbTCPSocket protocol. Other protocols can be defined. A protocol must define the following class methods:" - !ruby/struct:SM::Flow::VERB body: " [open(uri, config)] Open a client connection to the server at uri,\n using configuration config. Return a protocol\n instance for this connection.\n [open_server(uri, config)] Open a server listening at uri,\n using configuration config. Return a\n protocol instance for this listener.\n [uri_option(uri, config)] Take a URI, possibly containing an option\n component (e.g. a trailing '?param=val'),\n and return a [uri, option] tuple.\n" - !ruby/struct:SM::Flow::P body: All of these methods should raise a DRbBadScheme error if the URI does not identify the protocol they support (e.g. "druby:" for the standard Ruby protocol). This is how the DRbProtocol module, given a URI, determines which protocol implementation serves that protocol. - !ruby/struct:SM::Flow::P body: "The protocol instance returned by #open_server must have the following methods:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: accept body: Accept a new connection to the server. Returns a protocol instance capable of communicating with the client. - !ruby/struct:SM::Flow::LI label: close body: Close the server connection. - !ruby/struct:SM::Flow::LI label: uri body: Get the URI for this server. type: :LABELED - !ruby/struct:SM::Flow::P body: "The protocol instance returned by #open must have the following methods:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: send_request (ref, msg_id, arg, b) body: Send a request to ref with the given message id and arguments. This is most easily implemented by calling DRbMessage.send_request, providing a stream that sits on top of the current protocol. - !ruby/struct:SM::Flow::LI label: recv_reply body: Receive a reply from the server and return it as a [success-boolean, reply-value] pair. This is most easily implemented by calling DRb.recv_reply, providing a stream that sits on top of the current protocol. - !ruby/struct:SM::Flow::LI label: alive? body: Is this connection still alive? - !ruby/struct:SM::Flow::LI label: close body: Close this connection. type: :LABELED - !ruby/struct:SM::Flow::P body: "The protocol instance returned by #open_server().accept() must have the following methods:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: recv_request body: Receive a request from the client and return a [object, message, args, block] tuple. This is most easily implemented by calling DRbMessage.recv_request, providing a stream that sits on top of the current protocol. - !ruby/struct:SM::Flow::LI label: send_reply(succ, result) body: Send a reply to the client. This is most easily implemented by calling DRbMessage.send_reply, providing a stream that sits on top of the current protocol. - !ruby/struct:SM::Flow::LI label: close body: Close this connection. type: :LABELED - !ruby/struct:SM::Flow::P body: A new protocol is registered with the DRbProtocol module using the add_protocol method. - !ruby/struct:SM::Flow::P body: For examples of other protocols, see DRbUNIXSocket in drb/unix.rb, and HTTP0 in sample/http0.rb and sample/http0serv.rb in the full drb distribution. constants: [] full_name: DRb::DRbProtocol includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_protocol - !ruby/object:RI::MethodSummary name: open - !ruby/object:RI::MethodSummary name: open_server - !ruby/object:RI::MethodSummary name: uri_option name: DRbProtocol superclass: ri/1.8/system/DRb/DRbRemoteError/new-c.yaml 0000644 00000000262 15217654527 0014227 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbRemoteError::new is_singleton: true name: new params: (error) visibility: public ri/1.8/system/DRb/DRbRemoteError/cdesc-DRbRemoteError.yaml 0000644 00000000720 15217654527 0017131 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: the class of the error, as a string. name: reason rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: An exception wrapping an error object constants: [] full_name: DRb::DRbRemoteError includes: [] instance_methods: [] name: DRbRemoteError superclass: DRbError ri/1.8/system/DRb/to_id-i.yaml 0000644 00000000603 15217654527 0011704 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get a reference id for an object using the current server. - !ruby/struct:SM::Flow::P body: "This raises a DRbServerNotFound error if there is no current server. See #current_server." full_name: DRb#to_id is_singleton: false name: to_id params: (obj) visibility: public ri/1.8/system/DRb/GWIdConv/cdesc-GWIdConv.yaml 0000644 00000000363 15217654527 0014502 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: DRb::GWIdConv includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_obj name: GWIdConv superclass: DRbIdConv ri/1.8/system/DRb/GWIdConv/to_obj-i.yaml 0000644 00000000260 15217654527 0013501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::GWIdConv#to_obj is_singleton: false name: to_obj params: (ref) visibility: public ri/1.8/system/DRb/install_acl-i.yaml 0000644 00000000455 15217654527 0013100 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the default acl. - !ruby/struct:SM::Flow::P body: See DRb::DRbServer.default_acl. full_name: DRb#install_acl is_singleton: false name: install_acl params: (acl) visibility: public ri/1.8/system/DRb/DRbConn/cdesc-DRbConn.yaml 0000644 00000001157 15217654527 0014216 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Class handling the connection between a DRbObject and the server the real object lives on. - !ruby/struct:SM::Flow::P body: This class maintains a pool of connections, to reduce the overhead of starting and closing down connections for each method call. - !ruby/struct:SM::Flow::P body: This class is used internally by DRbObject. The user does not normally need to deal with it directly. constants: [] full_name: DRb::DRbConn includes: [] instance_methods: [] name: DRbConn superclass: Object ri/1.8/system/DRb/DRbObservable/notify_observers-i.yaml 0000644 00000000312 15217654527 0016661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbObservable#notify_observers is_singleton: false name: notify_observers params: (*arg) visibility: public ri/1.8/system/DRb/DRbObservable/cdesc-DRbObservable.yaml 0000644 00000000461 15217654527 0016571 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: DRb::DRbObservable includes: - !ruby/object:RI::IncludedModule name: Observable instance_methods: - !ruby/object:RI::MethodSummary name: notify_observers name: DRbObservable superclass: ri/1.8/system/DRb/DRbURIOption/cdesc-DRbURIOption.yaml 0000644 00000000312 15217654527 0016074 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: DRb::DRbURIOption includes: [] instance_methods: [] name: DRbURIOption superclass: Object ri/1.8/system/DRb/DRbIdConv/to_id-i.yaml 0000644 00000000556 15217654527 0013465 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert an object into a reference id. - !ruby/struct:SM::Flow::P body: This implementation returns the object's id in the local object space. full_name: DRb::DRbIdConv#to_id is_singleton: false name: to_id params: (obj) visibility: public ri/1.8/system/DRb/DRbIdConv/to_obj-i.yaml 0000644 00000000623 15217654527 0013636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert an object reference id to an object. - !ruby/struct:SM::Flow::P body: This implementation looks up the reference id in the local object space and returns the object it refers to. full_name: DRb::DRbIdConv#to_obj is_singleton: false name: to_obj params: (ref) visibility: public ri/1.8/system/DRb/DRbIdConv/cdesc-DRbIdConv.yaml 0000644 00000001475 15217654527 0014773 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Class responsible for converting between an object and its id. - !ruby/struct:SM::Flow::P body: This, the default implementation, uses an object's local ObjectSpace id as its id. This means that an object's identification over drb remains valid only while that object instance remains alive within the server runtime. - !ruby/struct:SM::Flow::P body: For alternative mechanisms, see DRb::TimerIdConv in rdb/timeridconv.rb and DRbNameIdConv in sample/name.rb in the full drb distribution. constants: [] full_name: DRb::DRbIdConv includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_id - !ruby/object:RI::MethodSummary name: to_obj name: DRbIdConv superclass: Object ri/1.8/system/DRb/DRbServer/verbose-c.yaml 0000644 00000000402 15217654527 0014100 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the default value of the :verbose option. full_name: DRb::DRbServer::verbose is_singleton: true name: verbose params: () visibility: public ri/1.8/system/DRb/DRbServer/stop_service-i.yaml 0000644 00000000360 15217654527 0015151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Stop this server. full_name: DRb::DRbServer#stop_service is_singleton: false name: stop_service params: () visibility: public ri/1.8/system/DRb/DRbServer/new-c.yaml 0000644 00000005133 15217654527 0013232 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new DRbServer instance. - !ruby/struct:SM::Flow::P body: "uri is the URI to bind to. This is normally of the form 'druby://<hostname>:<port>' where <hostname> is a hostname of the local machine. If nil, then the system's default hostname will be bound to, on a port selected by the system; these value can be retrieved from the uri attribute. 'druby:' specifies the default dRuby transport protocol: another protocol, such as 'drbunix:', can be specified instead." - !ruby/struct:SM::Flow::P body: front is the front object for the server, that is, the object to which remote method calls on the server will be passed. If nil, then the server will not accept remote method calls. - !ruby/struct:SM::Flow::P body: "If config_or_acl is a hash, it is the configuration to use for this server. The following options are recognised:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: ":idconv :" body: an id-to-object conversion object. This defaults to an instance of the class DRb::DRbIdConv. - !ruby/struct:SM::Flow::LI label: ":verbose :" body: if true, all unsuccessful remote calls on objects in the server will be logged to $stdout. false by default. - !ruby/struct:SM::Flow::LI label: ":tcp_acl :" body: the access control list for this server. See the ACL class from the main dRuby distribution. - !ruby/struct:SM::Flow::LI label: ":load_limit :" body: the maximum message size in bytes accepted by the server. Defaults to 25 MB (26214400). - !ruby/struct:SM::Flow::LI label: ":argc_limit :" body: the maximum number of arguments to a remote method accepted by the server. Defaults to 256. type: :NOTE - !ruby/struct:SM::Flow::P body: "The default values of these options can be modified on a class-wide basis by the class methods #default_argc_limit, #default_load_limit, #default_acl, #default_id_conv, and #verbose=" - !ruby/struct:SM::Flow::P body: If config_or_acl is not a hash, but is not nil, it is assumed to be the access control list for this server. See the :tcp_acl option for more details. - !ruby/struct:SM::Flow::P body: If no other server is currently set as the primary server, this will become the primary server. - !ruby/struct:SM::Flow::P body: The server will immediately start running in its own thread. full_name: DRb::DRbServer::new is_singleton: true name: new params: (uri=nil, front=nil, config_or_acl=nil) visibility: public ri/1.8/system/DRb/DRbServer/any_to_s-i.yaml 0000644 00000000500 15217654527 0014253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Coerce an object to a string, providing our own representation if to_s is not defined for the object. full_name: DRb::DRbServer#any_to_s is_singleton: false name: any_to_s params: (obj) visibility: private ri/1.8/system/DRb/DRbServer/default_acl-c.yaml 0000644 00000000536 15217654527 0014706 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the default value for the :acl option. - !ruby/struct:SM::Flow::P body: "See #new(). The initial default value is nil." full_name: DRb::DRbServer::default_acl is_singleton: true name: default_acl params: (acl) visibility: public ri/1.8/system/DRb/DRbServer/default_safe_level-c.yaml 0000644 00000000313 15217654527 0016245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbServer::default_safe_level is_singleton: true name: default_safe_level params: (level) visibility: public ri/1.8/system/DRb/DRbServer/to_id-i.yaml 0000644 00000000400 15217654527 0013535 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a local object to a dRuby reference. full_name: DRb::DRbServer#to_id is_singleton: false name: to_id params: (obj) visibility: public ri/1.8/system/DRb/DRbServer/verbose%3d-c.yaml 0000644 00000000534 15217654527 0014402 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the default value of the :verbose option. - !ruby/struct:SM::Flow::P body: "See #new(). The initial default value is false." full_name: DRb::DRbServer::verbose= is_singleton: true name: verbose= params: (on) visibility: public ri/1.8/system/DRb/DRbServer/alive%3f-i.yaml 0000644 00000000350 15217654527 0014041 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Is this server alive? full_name: DRb::DRbServer#alive? is_singleton: false name: alive? params: () visibility: public ri/1.8/system/DRb/DRbServer/InvokeMethod/cdesc-InvokeMethod.yaml 0000644 00000000325 15217654527 0020266 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: DRb::DRbServer::InvokeMethod includes: [] instance_methods: [] name: InvokeMethod superclass: Object ri/1.8/system/DRb/DRbServer/run-i.yaml 0000644 00000000251 15217654527 0013247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbServer#run is_singleton: false name: run params: () visibility: private ri/1.8/system/DRb/DRbServer/check_insecure_method-i.yaml 0000644 00000001162 15217654527 0016757 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Check that a method is callable via dRuby. - !ruby/struct:SM::Flow::P body: obj is the object we want to invoke the method on. msg_id is the method name, as a Symbol. - !ruby/struct:SM::Flow::P body: "If the method is an insecure method (see #insecure_method?) a SecurityError is thrown. If the method is private or undefined, a NameError is thrown." full_name: DRb::DRbServer#check_insecure_method is_singleton: false name: check_insecure_method params: (obj, msg_id) visibility: public ri/1.8/system/DRb/DRbServer/default_load_limit-c.yaml 0000644 00000000564 15217654527 0016265 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the default value for the :load_limit option. - !ruby/struct:SM::Flow::P body: "See #new(). The initial default value is 25 MB." full_name: DRb::DRbServer::default_load_limit is_singleton: true name: default_load_limit params: (sz) visibility: public ri/1.8/system/DRb/DRbServer/to_obj-i.yaml 0000644 00000000421 15217654527 0013716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a dRuby reference to the local object it refers to. full_name: DRb::DRbServer#to_obj is_singleton: false name: to_obj params: (ref) visibility: public ri/1.8/system/DRb/DRbServer/insecure_method%3f-i.yaml 0000644 00000000451 15217654527 0016120 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Has a method been included in the list of insecure methods? full_name: DRb::DRbServer#insecure_method? is_singleton: false name: insecure_method? params: (msg_id) visibility: private ri/1.8/system/DRb/DRbServer/verbose-i.yaml 0000644 00000000527 15217654527 0014116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get whether the server is in verbose mode. - !ruby/struct:SM::Flow::P body: In verbose mode, failed calls are logged to stdout. full_name: DRb::DRbServer#verbose is_singleton: false name: verbose params: () visibility: public ri/1.8/system/DRb/DRbServer/cdesc-DRbServer.yaml 0000644 00000005754 15217654527 0015147 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The configuration of this DRbServer name: config rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The front object of the DRbServer. - !ruby/struct:SM::Flow::P body: This object receives remote method calls made on the server's URI alone, with an object id. name: front rw: R - !ruby/object:RI::Attribute comment: name: safe_level rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The main thread of this DRbServer. - !ruby/struct:SM::Flow::P body: This is the thread that listens for and accepts connections from clients, not that handles each client's request-response session. name: thread rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The URI of this DRbServer. name: uri rw: R class_methods: - !ruby/object:RI::MethodSummary name: default_acl - !ruby/object:RI::MethodSummary name: default_argc_limit - !ruby/object:RI::MethodSummary name: default_id_conv - !ruby/object:RI::MethodSummary name: default_load_limit - !ruby/object:RI::MethodSummary name: default_safe_level - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: verbose - !ruby/object:RI::MethodSummary name: verbose= comment: - !ruby/struct:SM::Flow::P body: Class representing a drb server instance. - !ruby/struct:SM::Flow::P body: A DRbServer must be running in the local process before any incoming dRuby calls can be accepted, or any local objects can be passed as dRuby references to remote processes, even if those local objects are never actually called remotely. You do not need to start a DRbServer in the local process if you are only making outgoing dRuby calls passing marshalled parameters. - !ruby/struct:SM::Flow::P body: Unless multiple servers are being used, the local DRbServer is normally started by calling DRb.start_service. constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: List of insecure methods. - !ruby/struct:SM::Flow::P body: These methods are not callable via dRuby. name: INSECURE_METHOD value: "[ :__send__" full_name: DRb::DRbServer includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: alive? - !ruby/object:RI::MethodSummary name: any_to_s - !ruby/object:RI::MethodSummary name: check_insecure_method - !ruby/object:RI::MethodSummary name: insecure_method? - !ruby/object:RI::MethodSummary name: kill_sub_thread - !ruby/object:RI::MethodSummary name: main_loop - !ruby/object:RI::MethodSummary name: run - !ruby/object:RI::MethodSummary name: stop_service - !ruby/object:RI::MethodSummary name: to_id - !ruby/object:RI::MethodSummary name: to_obj - !ruby/object:RI::MethodSummary name: verbose - !ruby/object:RI::MethodSummary name: verbose= name: DRbServer superclass: Object ri/1.8/system/DRb/DRbServer/default_argc_limit-c.yaml 0000644 00000000564 15217654527 0016262 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the default value for the :argc_limit option. - !ruby/struct:SM::Flow::P body: "See #new(). The initial default value is 256." full_name: DRb::DRbServer::default_argc_limit is_singleton: true name: default_argc_limit params: (argc) visibility: public ri/1.8/system/DRb/DRbServer/InvokeMethod18Mixin/perform_with_block-i.yaml 0000644 00000000333 15217654527 0022075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbServer::InvokeMethod18Mixin#perform_with_block is_singleton: false name: perform_with_block params: () visibility: public ri/1.8/system/DRb/DRbServer/InvokeMethod18Mixin/cdesc-InvokeMethod18Mixin.yaml 0000644 00000000515 15217654527 0022623 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: DRb::DRbServer::InvokeMethod18Mixin includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: block_yield - !ruby/object:RI::MethodSummary name: perform_with_block name: InvokeMethod18Mixin superclass: ri/1.8/system/DRb/DRbServer/InvokeMethod18Mixin/block_yield-i.yaml 0000644 00000000316 15217654527 0020477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbServer::InvokeMethod18Mixin#block_yield is_singleton: false name: block_yield params: (x) visibility: public ri/1.8/system/DRb/DRbServer/main_loop-i.yaml 0000644 00000001074 15217654527 0014424 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The main loop performed by a DRbServer's internal thread. - !ruby/struct:SM::Flow::P body: Accepts a connection from a client, and starts up its own thread to handle it. This thread loops, receiving requests from the client, invoking them on a local object, and returning responses, until the client closes the connection or a local method call fails. full_name: DRb::DRbServer#main_loop is_singleton: false name: main_loop params: () visibility: private ri/1.8/system/DRb/DRbServer/verbose%3d-i.yaml 0000644 00000000527 15217654527 0014412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set whether to operate in verbose mode. - !ruby/struct:SM::Flow::P body: In verbose mode, failed calls are logged to stdout. full_name: DRb::DRbServer#verbose= is_singleton: false name: verbose= params: (v) visibility: public ri/1.8/system/DRb/DRbServer/default_id_conv-c.yaml 0000644 00000000576 15217654527 0015574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the default value for the :id_conv option. - !ruby/struct:SM::Flow::P body: "See #new(). The initial default value is a DRbIdConv instance." full_name: DRb::DRbServer::default_id_conv is_singleton: true name: default_id_conv params: (idconv) visibility: public ri/1.8/system/DRb/DRbServer/kill_sub_thread-i.yaml 0000644 00000000301 15217654527 0015572 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbServer#kill_sub_thread is_singleton: false name: kill_sub_thread params: () visibility: private ri/1.8/system/DRb/DRbObject/new-c.yaml 0000644 00000000710 15217654527 0013166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new remote object stub. - !ruby/struct:SM::Flow::P body: obj is the (local) object we want to create a stub for. Normally this is nil. uri is the URI of the remote object that this will be a stub for. full_name: DRb::DRbObject::new is_singleton: true name: new params: (obj, uri=nil) visibility: public ri/1.8/system/DRb/DRbObject/respond_to%3f-i.yaml 0000644 00000000312 15217654527 0015053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbObject#respond_to? is_singleton: false name: respond_to? params: (msg_id, priv=false) visibility: public ri/1.8/system/DRb/DRbObject/__drburi-i.yaml 0000644 00000000370 15217654527 0014172 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the URI of the remote object. full_name: DRb::DRbObject#__drburi is_singleton: false name: __drburi params: () visibility: public ri/1.8/system/DRb/DRbObject/hash-i.yaml 0000644 00000000252 15217654527 0013327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbObject#hash is_singleton: false name: hash params: () visibility: public ri/1.8/system/DRb/DRbObject/new_with_uri-c.yaml 0000644 00000000412 15217654527 0015077 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new DRbObject from a URI alone. full_name: DRb::DRbObject::new_with_uri is_singleton: true name: new_with_uri params: (uri) visibility: public ri/1.8/system/DRb/DRbObject/__drbref-i.yaml 0000644 00000000401 15217654527 0014142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the reference of the object, if local. full_name: DRb::DRbObject#__drbref is_singleton: false name: __drbref params: () visibility: public ri/1.8/system/DRb/DRbObject/prepare_backtrace-c.yaml 0000644 00000000317 15217654527 0016035 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbObject::prepare_backtrace is_singleton: true name: prepare_backtrace params: (uri, result) visibility: public ri/1.8/system/DRb/DRbObject/with_friend-c.yaml 0000644 00000000306 15217654527 0014700 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: () comment: full_name: DRb::DRbObject::with_friend is_singleton: true name: with_friend params: (uri) {|| ...} visibility: public ri/1.8/system/DRb/DRbObject/cdesc-DRbObject.yaml 0000644 00000002301 15217654527 0015030 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: _load - !ruby/object:RI::MethodSummary name: _load - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new_with - !ruby/object:RI::MethodSummary name: new_with_uri - !ruby/object:RI::MethodSummary name: prepare_backtrace - !ruby/object:RI::MethodSummary name: with_friend comment: - !ruby/struct:SM::Flow::P body: Object wrapping a reference to a remote drb object. - !ruby/struct:SM::Flow::P body: Method calls on this object are relayed to the remote object that this object is a stub for. constants: [] full_name: DRb::DRbObject includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: __drbref - !ruby/object:RI::MethodSummary name: __drburi - !ruby/object:RI::MethodSummary name: _dump - !ruby/object:RI::MethodSummary name: _dump - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: method_missing - !ruby/object:RI::MethodSummary name: respond_to? name: DRbObject superclass: Object ri/1.8/system/DRb/DRbObject/method_missing-i.yaml 0000644 00000000436 15217654527 0015421 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Routes method calls to the referenced object. full_name: DRb::DRbObject#method_missing is_singleton: false name: method_missing params: (msg_id, *a, &b) visibility: public ri/1.8/system/DRb/DRbObject/_dump-i.yaml 0000644 00000000256 15217654527 0013514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbObject#_dump is_singleton: false name: _dump params: (lv) visibility: public ri/1.8/system/DRb/DRbObject/%3d%3d-i.yaml 0000644 00000000323 15217654527 0013252 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: eql? block_params: comment: full_name: DRb::DRbObject#== is_singleton: false name: == params: (other) visibility: public ri/1.8/system/DRb/DRbObject/_load-c.yaml 0000644 00000000722 15217654527 0013456 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Unmarshall a marshalled DRbObject. - !ruby/struct:SM::Flow::P body: If the referenced object is located within the local server, then the object itself is returned. Otherwise, a new DRbObject is created to act as a stub for the remote referenced object. full_name: DRb::DRbObject::_load is_singleton: true name: _load params: (s) visibility: public ri/1.8/system/DRb/DRbObject/new_with-c.yaml 0000644 00000000272 15217654527 0014224 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbObject::new_with is_singleton: true name: new_with params: (uri, ref) visibility: public ri/1.8/system/DRb/DRbObject/eql%3f-i.yaml 0000644 00000000343 15217654527 0013464 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #==" full_name: DRb::DRbObject#eql? is_singleton: false name: eql? params: (other) visibility: public ri/1.8/system/DRb/ExtServManager/new-c.yaml 0000644 00000000255 15217654527 0014267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::ExtServManager::new is_singleton: true name: new params: () visibility: public ri/1.8/system/DRb/ExtServManager/command-c.yaml 0000644 00000000265 15217654527 0015115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::ExtServManager::command is_singleton: true name: command params: () visibility: public ri/1.8/system/DRb/ExtServManager/cdesc-ExtServManager.yaml 0000644 00000001513 15217654527 0017226 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: uri rw: RW class_methods: - !ruby/object:RI::MethodSummary name: command - !ruby/object:RI::MethodSummary name: command= - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: DRb::ExtServManager includes: - !ruby/object:RI::IncludedModule name: DRbUndumped - !ruby/object:RI::IncludedModule name: MonitorMixin instance_methods: - !ruby/object:RI::MethodSummary name: invoke_service - !ruby/object:RI::MethodSummary name: invoke_service_command - !ruby/object:RI::MethodSummary name: invoke_thread - !ruby/object:RI::MethodSummary name: regist - !ruby/object:RI::MethodSummary name: service - !ruby/object:RI::MethodSummary name: unregist name: ExtServManager superclass: Object ri/1.8/system/DRb/ExtServManager/invoke_thread-i.yaml 0000644 00000000302 15217654527 0016317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::ExtServManager#invoke_thread is_singleton: false name: invoke_thread params: () visibility: private ri/1.8/system/DRb/ExtServManager/invoke_service_command-i.yaml 0000644 00000000341 15217654527 0020211 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::ExtServManager#invoke_service_command is_singleton: false name: invoke_service_command params: (name, command) visibility: private ri/1.8/system/DRb/ExtServManager/regist-i.yaml 0000644 00000000273 15217654527 0015001 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::ExtServManager#regist is_singleton: false name: regist params: (name, ro) visibility: public ri/1.8/system/DRb/ExtServManager/invoke_service-i.yaml 0000644 00000000310 15217654527 0016507 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::ExtServManager#invoke_service is_singleton: false name: invoke_service params: (name) visibility: private ri/1.8/system/DRb/ExtServManager/service-i.yaml 0000644 00000000271 15217654527 0015142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::ExtServManager#service is_singleton: false name: service params: (name) visibility: public ri/1.8/system/DRb/ExtServManager/command%3d-c.yaml 0000644 00000000272 15217654527 0015407 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::ExtServManager::command= is_singleton: true name: command= params: (cmd) visibility: public ri/1.8/system/DRb/ExtServManager/unregist-i.yaml 0000644 00000000273 15217654527 0015344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::ExtServManager#unregist is_singleton: false name: unregist params: (name) visibility: public ri/1.8/system/DRb/here%3f-i.yaml 0000644 00000000376 15217654527 0012036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Is uri the URI for the current local server? full_name: DRb#here? is_singleton: false name: here? params: (uri) visibility: public ri/1.8/system/DRb/DRbServerNotFound/cdesc-DRbServerNotFound.yaml 0000644 00000000630 15217654527 0020265 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: "Error raised by the DRb module when an attempt is made to refer to the context's current drb server but the context does not have one. See #current_server." constants: [] full_name: DRb::DRbServerNotFound includes: [] instance_methods: [] name: DRbServerNotFound superclass: DRbError ri/1.8/system/DRb/DRbMessage/cdesc-DRbMessage.yaml 0000644 00000001311 15217654527 0015364 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Handler for sending and receiving drb messages. - !ruby/struct:SM::Flow::P body: This takes care of the low-level marshalling and unmarshalling of drb requests and responses sent over the wire between server and client. This relieves the implementor of a new drb protocol layer with having to deal with these details. - !ruby/struct:SM::Flow::P body: The user does not have to directly deal with this object in normal use. constants: [] full_name: DRb::DRbMessage includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: make_proxy name: DRbMessage superclass: Object ri/1.8/system/DRb/DRbMessage/make_proxy-i.yaml 0000644 00000000310 15217654527 0014733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbMessage#make_proxy is_singleton: false name: make_proxy params: (obj, error=false) visibility: private ri/1.8/system/DRb/current_server-i.yaml 0000644 00000001201 15217654527 0013651 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the 'current' server. - !ruby/struct:SM::Flow::P body: In the context of execution taking place within the main thread of a dRuby server (typically, as a result of a remote call on the server or one of its objects), the current server is that server. Otherwise, the current server is the primary server. - !ruby/struct:SM::Flow::P body: If the above rule fails to find a server, a DRbServerNotFound error is raised. full_name: DRb#current_server is_singleton: false name: current_server params: () visibility: public ri/1.8/system/DRb/mutex-i.yaml 0000644 00000000241 15217654527 0011746 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb#mutex is_singleton: false name: mutex params: () visibility: public ri/1.8/system/DRb/DRbUnknownError/new-c.yaml 0000644 00000000446 15217654527 0014437 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new DRbUnknownError for the DRb::DRbUnknown object unknown full_name: DRb::DRbUnknownError::new is_singleton: true name: new params: (unknown) visibility: public ri/1.8/system/DRb/DRbUnknownError/cdesc-DRbUnknownError.yaml 0000644 00000000737 15217654527 0017551 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Get the wrapped DRb::DRbUnknown object. name: unknown rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: An exception wrapping a DRb::DRbUnknown object constants: [] full_name: DRb::DRbUnknownError includes: [] instance_methods: [] name: DRbUnknownError superclass: DRbError ri/1.8/system/DRb/uri-i.yaml 0000644 00000000517 15217654527 0011411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the URI defining the local dRuby space. - !ruby/struct:SM::Flow::P body: "This is the URI of the current server. See #current_server." full_name: DRb#uri is_singleton: false name: uri params: () visibility: public ri/1.8/system/DRb/to_obj-i.yaml 0000644 00000000607 15217654527 0012066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a reference into an object using the current server. - !ruby/struct:SM::Flow::P body: "This raises a DRbServerNotFound error if there is no current server. See #current_server." full_name: DRb#to_obj is_singleton: false name: to_obj params: (ref) visibility: public ri/1.8/system/DRb/cdesc-DRb.yaml 0000644 00000002415 15217654527 0012111 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The primary local dRuby server. - !ruby/struct:SM::Flow::P body: "This is the server created by the #start_service call." name: primary_server rw: RW class_methods: [] comment: - !ruby/struct:SM::Flow::P body: for ruby-1.8.0 constants: [] full_name: DRb includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: config - !ruby/object:RI::MethodSummary name: current_server - !ruby/object:RI::MethodSummary name: fetch_server - !ruby/object:RI::MethodSummary name: front - !ruby/object:RI::MethodSummary name: here? - !ruby/object:RI::MethodSummary name: install_acl - !ruby/object:RI::MethodSummary name: install_id_conv - !ruby/object:RI::MethodSummary name: mutex - !ruby/object:RI::MethodSummary name: regist_server - !ruby/object:RI::MethodSummary name: remove_server - !ruby/object:RI::MethodSummary name: start_service - !ruby/object:RI::MethodSummary name: stop_service - !ruby/object:RI::MethodSummary name: thread - !ruby/object:RI::MethodSummary name: to_id - !ruby/object:RI::MethodSummary name: to_obj - !ruby/object:RI::MethodSummary name: uri name: DRb superclass: ri/1.8/system/DRb/ExtServ/front-i.yaml 0000644 00000000252 15217654527 0013336 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::ExtServ#front is_singleton: false name: front params: () visibility: public ri/1.8/system/DRb/ExtServ/stop_service-i.yaml 0000644 00000000270 15217654527 0014713 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::ExtServ#stop_service is_singleton: false name: stop_service params: () visibility: public ri/1.8/system/DRb/ExtServ/new-c.yaml 0000644 00000000275 15217654527 0012776 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::ExtServ::new is_singleton: true name: new params: (there, name, server=nil) visibility: public ri/1.8/system/DRb/ExtServ/cdesc-ExtServ.yaml 0000644 00000000762 15217654527 0014445 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: server rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: DRb::ExtServ includes: - !ruby/object:RI::IncludedModule name: DRbUndumped instance_methods: - !ruby/object:RI::MethodSummary name: alive? - !ruby/object:RI::MethodSummary name: front - !ruby/object:RI::MethodSummary name: stop_service name: ExtServ superclass: Object ri/1.8/system/DRb/ExtServ/alive%3f-i.yaml 0000644 00000000254 15217654527 0013606 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::ExtServ#alive? is_singleton: false name: alive? params: () visibility: public ri/1.8/system/DRb/DRbUNIXSocket/new-c.yaml 0000644 00000000324 15217654527 0013715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbUNIXSocket::new is_singleton: true name: new params: (uri, soc, config={}, server_mode = false) visibility: public ri/1.8/system/DRb/DRbUNIXSocket/open-c.yaml 0000644 00000000271 15217654527 0014066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbUNIXSocket::open is_singleton: true name: open params: (uri, config) visibility: public ri/1.8/system/DRb/DRbUNIXSocket/close-i.yaml 0000644 00000000260 15217654527 0014236 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbUNIXSocket#close is_singleton: false name: close params: () visibility: public ri/1.8/system/DRb/DRbUNIXSocket/accept-i.yaml 0000644 00000000262 15217654527 0014372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbUNIXSocket#accept is_singleton: false name: accept params: () visibility: public ri/1.8/system/DRb/DRbUNIXSocket/set_sockopt-i.yaml 0000644 00000000277 15217654527 0015476 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbUNIXSocket#set_sockopt is_singleton: false name: set_sockopt params: (soc) visibility: public ri/1.8/system/DRb/DRbUNIXSocket/temp_server-c.yaml 0000644 00000000275 15217654527 0015464 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbUNIXSocket::temp_server is_singleton: true name: temp_server params: () visibility: private ri/1.8/system/DRb/DRbUNIXSocket/parse_uri-c.yaml 0000644 00000000273 15217654527 0015120 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbUNIXSocket::parse_uri is_singleton: true name: parse_uri params: (uri) visibility: public ri/1.8/system/DRb/DRbUNIXSocket/open_server-c.yaml 0000644 00000000307 15217654527 0015454 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbUNIXSocket::open_server is_singleton: true name: open_server params: (uri, config) visibility: public ri/1.8/system/DRb/DRbUNIXSocket/uri_option-c.yaml 0000644 00000000305 15217654527 0015312 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbUNIXSocket::uri_option is_singleton: true name: uri_option params: (uri, config) visibility: public ri/1.8/system/DRb/DRbUNIXSocket/cdesc-DRbUNIXSocket.yaml 0000644 00000001431 15217654527 0016307 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: open - !ruby/object:RI::MethodSummary name: open_server - !ruby/object:RI::MethodSummary name: parse_uri - !ruby/object:RI::MethodSummary name: temp_server - !ruby/object:RI::MethodSummary name: uri_option comment: constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: import from tempfile.rb name: Max_try value: "10" full_name: DRb::DRbUNIXSocket includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: accept - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: set_sockopt name: DRbUNIXSocket superclass: DRbTCPSocket ri/1.8/system/DRb/DRbUndumped/cdesc-DRbUndumped.yaml 0000644 00000001065 15217654527 0015764 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Mixin module making an object undumpable or unmarshallable. - !ruby/struct:SM::Flow::P body: If an object which includes this module is returned by method called over drb, then the object remains in the server space and a reference to the object is returned, rather than the object being marshalled and moved into the client space. constants: [] full_name: DRb::DRbUndumped includes: [] instance_methods: [] name: DRbUndumped superclass: ri/1.8/system/DRb/DRbError/cdesc-DRbError.yaml 0000644 00000000437 15217654527 0014606 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Superclass of all errors raised in the DRb module. constants: [] full_name: DRb::DRbError includes: [] instance_methods: [] name: DRbError superclass: RuntimeError ri/1.8/system/DRb/remove_server-i.yaml 0000644 00000000267 15217654527 0013477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb#remove_server is_singleton: false name: remove_server params: (server) visibility: public ri/1.8/system/DRb/DRbTCPSocket/new-c.yaml 0000644 00000000655 15217654527 0013567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new DRbTCPSocket instance. - !ruby/struct:SM::Flow::P body: uri is the URI we are connected to. soc is the tcp socket we are bound to. config is our configuration. full_name: DRb::DRbTCPSocket::new is_singleton: true name: new params: (uri, soc, config={}) visibility: public ri/1.8/system/DRb/DRbTCPSocket/recv_reply-i.yaml 0000644 00000000422 15217654527 0015146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: On the client side, receive a reply from the server. full_name: DRb::DRbTCPSocket#recv_reply is_singleton: false name: recv_reply params: () visibility: public ri/1.8/system/DRb/DRbTCPSocket/open-c.yaml 0000644 00000000452 15217654527 0013732 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Open a client connection to uri using configuration config. full_name: DRb::DRbTCPSocket::open is_singleton: true name: open params: (uri, config) visibility: public ri/1.8/system/DRb/DRbTCPSocket/peeraddr-i.yaml 0000644 00000000447 15217654527 0014571 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the address of our TCP peer (the other end of the socket we are bound to. full_name: DRb::DRbTCPSocket#peeraddr is_singleton: false name: peeraddr params: () visibility: public ri/1.8/system/DRb/DRbTCPSocket/open_server_inaddr_any-c.yaml 0000644 00000000333 15217654527 0017506 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbTCPSocket::open_server_inaddr_any is_singleton: true name: open_server_inaddr_any params: (host, port) visibility: public ri/1.8/system/DRb/DRbTCPSocket/send_request-i.yaml 0000644 00000000446 15217654527 0015503 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: On the client side, send a request to the server. full_name: DRb::DRbTCPSocket#send_request is_singleton: false name: send_request params: (ref, msg_id, arg, b) visibility: public ri/1.8/system/DRb/DRbTCPSocket/close-i.yaml 0000644 00000000750 15217654527 0014105 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Close the connection. - !ruby/struct:SM::Flow::P body: "If this is an instance returned by #open_server, then this stops listening for new connections altogether. If this is an instance returned by #open or by #accept, then it closes this particular client-server session." full_name: DRb::DRbTCPSocket#close is_singleton: false name: close params: () visibility: public ri/1.8/system/DRb/DRbTCPSocket/accept-i.yaml 0000644 00000000605 15217654527 0014236 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "On the server side, for an instance returned by #open_server, accept a client connection and return a new instance to handle the server's side of this client-server session." full_name: DRb::DRbTCPSocket#accept is_singleton: false name: accept params: () visibility: public ri/1.8/system/DRb/DRbTCPSocket/alive%3f-i.yaml 0000644 00000000377 15217654527 0014403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Check to see if this connection is alive. full_name: DRb::DRbTCPSocket#alive? is_singleton: false name: alive? params: () visibility: public ri/1.8/system/DRb/DRbTCPSocket/send_reply-i.yaml 0000644 00000000431 15217654527 0015140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: On the server side, send a reply to the client. full_name: DRb::DRbTCPSocket#send_reply is_singleton: false name: send_reply params: (succ, result) visibility: public ri/1.8/system/DRb/DRbTCPSocket/parse_uri-c.yaml 0000644 00000000273 15217654527 0014763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbTCPSocket::parse_uri is_singleton: true name: parse_uri params: (uri) visibility: private ri/1.8/system/DRb/DRbTCPSocket/getservername-c.yaml 0000644 00000000277 15217654527 0015645 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbTCPSocket::getservername is_singleton: true name: getservername params: () visibility: public ri/1.8/system/DRb/DRbTCPSocket/cdesc-DRbTCPSocket.yaml 0000644 00000002422 15217654527 0016016 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Get the URI that we are connected to. name: uri rw: R class_methods: - !ruby/object:RI::MethodSummary name: getservername - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: open - !ruby/object:RI::MethodSummary name: open_server - !ruby/object:RI::MethodSummary name: open_server_inaddr_any - !ruby/object:RI::MethodSummary name: parse_uri - !ruby/object:RI::MethodSummary name: uri_option comment: - !ruby/struct:SM::Flow::P body: The default drb protocol. - !ruby/struct:SM::Flow::P body: Communicates over a TCP socket. constants: [] full_name: DRb::DRbTCPSocket includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: accept - !ruby/object:RI::MethodSummary name: alive? - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: peeraddr - !ruby/object:RI::MethodSummary name: recv_reply - !ruby/object:RI::MethodSummary name: recv_request - !ruby/object:RI::MethodSummary name: send_reply - !ruby/object:RI::MethodSummary name: send_request - !ruby/object:RI::MethodSummary name: stream name: DRbTCPSocket superclass: Object ri/1.8/system/DRb/DRbTCPSocket/open_server-c.yaml 0000644 00000000507 15217654527 0015321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Open a server listening for connections at uri using configuration config. full_name: DRb::DRbTCPSocket::open_server is_singleton: true name: open_server params: (uri, config) visibility: public ri/1.8/system/DRb/DRbTCPSocket/recv_request-i.yaml 0000644 00000000430 15217654527 0015502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: On the server side, receive a request from the client. full_name: DRb::DRbTCPSocket#recv_request is_singleton: false name: recv_request params: () visibility: public ri/1.8/system/DRb/DRbTCPSocket/uri_option-c.yaml 0000644 00000000426 15217654527 0015161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parse uri into a [uri, option] pair. full_name: DRb::DRbTCPSocket::uri_option is_singleton: true name: uri_option params: (uri, config) visibility: public ri/1.8/system/DRb/DRbTCPSocket/stream-i.yaml 0000644 00000000345 15217654527 0014273 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the socket. full_name: DRb::DRbTCPSocket#stream is_singleton: false name: stream params: () visibility: public ri/1.8/system/DRb/regist_server-i.yaml 0000644 00000000267 15217654527 0013477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb#regist_server is_singleton: false name: regist_server params: (server) visibility: public ri/1.8/system/DRb/config-i.yaml 0000644 00000000621 15217654527 0012053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the configuration of the current server. - !ruby/struct:SM::Flow::P body: "If there is no current server, this returns the default configuration. See #current_server and DRbServer::make_config." full_name: DRb#config is_singleton: false name: config params: () visibility: public ri/1.8/system/DRb/GW/new-c.yaml 0000644 00000000241 15217654527 0011704 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::GW::new is_singleton: true name: new params: () visibility: public ri/1.8/system/DRb/GW/cdesc-GW.yaml 0000644 00000000562 15217654527 0012275 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: DRb::GW includes: - !ruby/object:RI::IncludedModule name: MonitorMixin instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" name: GW superclass: Object ri/1.8/system/DRb/GW/%5b%5d%3d-i.yaml 0000644 00000000251 15217654527 0012267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::GW#[]= is_singleton: false name: "[]=" params: (key, v) visibility: public ri/1.8/system/DRb/GW/%5b%5d-i.yaml 0000644 00000000244 15217654527 0011775 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::GW#[] is_singleton: false name: "[]" params: (key) visibility: public ri/1.8/system/DRb/install_id_conv-i.yaml 0000644 00000000502 15217654527 0013753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the default id conv object. - !ruby/struct:SM::Flow::P body: See DRbServer#default_id_conv. full_name: DRb#install_id_conv is_singleton: false name: install_id_conv params: (idconv) visibility: public ri/1.8/system/DRb/DRbArray/new-c.yaml 0000644 00000000252 15217654527 0013037 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbArray::new is_singleton: true name: new params: (ary) visibility: public ri/1.8/system/DRb/DRbArray/cdesc-DRbArray.yaml 0000644 00000000512 15217654527 0014552 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: _load - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: DRb::DRbArray includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _dump name: DRbArray superclass: Object ri/1.8/system/DRb/DRbArray/_dump-i.yaml 0000644 00000000255 15217654527 0013363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbArray#_dump is_singleton: false name: _dump params: (lv) visibility: public ri/1.8/system/DRb/DRbArray/_load-c.yaml 0000644 00000000254 15217654527 0013326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DRb::DRbArray::_load is_singleton: true name: _load params: (s) visibility: public ri/1.8/system/DRb/DRbConnError/cdesc-DRbConnError.yaml 0000644 00000000474 15217654527 0016243 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Error raised when an error occurs on the underlying communication protocol. constants: [] full_name: DRb::DRbConnError includes: [] instance_methods: [] name: DRbConnError superclass: DRbError ri/1.8/system/RegOr/new-c.yaml 0000644 00000000247 15217654527 0011744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RegOr::new is_singleton: true name: new params: (re1, re2) visibility: public ri/1.8/system/RegOr/cdesc-RegOr.yaml 0000644 00000000525 15217654527 0013027 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: this is just a proof of concept toy. constants: [] full_name: RegOr includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: =~ name: RegOr superclass: Object ri/1.8/system/RegOr/%3d%7e-i.yaml 0000644 00000000240 15217654527 0012026 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RegOr#=~ is_singleton: false name: =~ params: (str) visibility: public ri/1.8/system/Timeout/Error/cdesc-Error.yaml 0000644 00000000433 15217654527 0014601 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Raised by Timeout#timeout when the block times out. constants: [] full_name: Timeout::Error includes: [] instance_methods: [] name: Error superclass: Interrupt ri/1.8/system/Timeout/timeout-i.yaml 0000644 00000001356 15217654527 0013261 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: if sec == nil or sec.zero? comment: - !ruby/struct:SM::Flow::P body: Executes the method's block. If the block execution terminates before sec seconds has passed, it returns true. If not, it terminates the execution and raises exception (which defaults to Timeout::Error). - !ruby/struct:SM::Flow::P body: "Note that this is both a method of module Timeout, so you can 'include Timeout' into your classes so they have a #timeout method, as well as a module method, so you can call it directly as Timeout.timeout()." full_name: Timeout#timeout is_singleton: false name: timeout params: (sec, klass = nil) {|if sec == nil or sec.zero?| ...} visibility: public ri/1.8/system/Timeout/ExitException/cdesc-ExitException.yaml 0000644 00000000327 15217654527 0020001 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Timeout::ExitException includes: [] instance_methods: [] name: ExitException superclass: "::Exception" ri/1.8/system/Timeout/cdesc-Timeout.yaml 0000644 00000002120 15217654527 0014040 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::H level: 1 text: Description - !ruby/struct:SM::Flow::P body: A way of performing a potentially long-running operation in a thread, and terminating it's execution if it hasn't finished within fixed amount of time. - !ruby/struct:SM::Flow::P body: "Previous versions of timeout didn't use a module for namespace. This version provides both Timeout.timeout, and a backwards-compatible #timeout." - !ruby/struct:SM::Flow::H level: 1 text: Synopsis - !ruby/struct:SM::Flow::VERB body: " require 'timeout'\n status = Timeout::timeout(5) {\n # Something that should be interrupted if it takes too much time...\n }\n" constants: - !ruby/object:RI::Constant comment: name: THIS_FILE value: /\A#{Regexp.quote(__FILE__)}:/o - !ruby/object:RI::Constant comment: name: CALLER_OFFSET value: "((c = caller[0]) && THIS_FILE =~ c) ? 1 : 0" full_name: Timeout includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: timeout name: Timeout superclass: ri/1.8/system/Vector/new-c.yaml 0000644 00000000351 15217654527 0012164 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: For internal use. full_name: Vector::new is_singleton: true name: new params: (method, array, copy) visibility: public ri/1.8/system/Vector/inner_product-i.yaml 0000644 00000000560 15217654527 0014256 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the inner product of this vector with the other. - !ruby/struct:SM::Flow::VERB body: " Vector[4,7].inner_product Vector[10,1] => 47\n" full_name: Vector#inner_product is_singleton: false name: inner_product params: (v) visibility: public ri/1.8/system/Vector/to_s-i.yaml 0000644 00000000334 15217654527 0012346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Overrides Object#to_s full_name: Vector#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/Vector/%2b-i.yaml 0000644 00000000322 15217654527 0011747 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Vector addition. full_name: Vector#+ is_singleton: false name: + params: (v) visibility: public ri/1.8/system/Vector/%5b%5d-c.yaml 0000644 00000000463 15217654527 0012250 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a Vector from a list of elements. - !ruby/struct:SM::Flow::VERB body: " Vector[7, 4, ...]\n" full_name: Vector::[] is_singleton: true name: "[]" params: (*array) visibility: public ri/1.8/system/Vector/elements-c.yaml 0000644 00000000536 15217654527 0013214 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a vector from an Array. The optional second argument specifies whether the array itself or a copy is used internally. full_name: Vector::elements is_singleton: true name: elements params: (array, copy = true) visibility: public ri/1.8/system/Vector/r-i.yaml 0000644 00000000511 15217654527 0011640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the modulus (Pythagorean distance) of the vector. - !ruby/struct:SM::Flow::VERB body: " Vector[5,8,2].r => 9.643650761\n" full_name: Vector#r is_singleton: false name: r params: () visibility: public ri/1.8/system/Vector/hash-i.yaml 0000644 00000000351 15217654527 0012324 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a hash-code for the vector. full_name: Vector#hash is_singleton: false name: hash params: () visibility: public ri/1.8/system/Vector/covector-i.yaml 0000644 00000000374 15217654527 0013232 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a single-row matrix from this vector. full_name: Vector#covector is_singleton: false name: covector params: () visibility: public ri/1.8/system/Vector/%2d-i.yaml 0000644 00000000327 15217654527 0011756 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Vector subtraction. full_name: Vector#- is_singleton: false name: "-" params: (v) visibility: public ri/1.8/system/Vector/init_elements-i.yaml 0000644 00000000365 15217654527 0014245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: For internal use. full_name: Vector#init_elements is_singleton: false name: init_elements params: (array, copy) visibility: public ri/1.8/system/Vector/%5b%5d-i.yaml 0000644 00000000411 15217654527 0012247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns element number i (starting at zero) of the vector. full_name: Vector#[] is_singleton: false name: "[]" params: (i) visibility: public ri/1.8/system/Vector/collect-i.yaml 0000644 00000000421 15217654527 0013024 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: map block_params: e comment: - !ruby/struct:SM::Flow::P body: Like Array#collect. full_name: Vector#collect is_singleton: false name: collect params: ( {|e| ...} visibility: public ri/1.8/system/Vector/cdesc-Vector.yaml 0000644 00000010015 15217654527 0013472 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: elements - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: The Vector class represents a mathematical vector, which is useful in its own right, and also constitutes a row or column of a Matrix. - !ruby/struct:SM::Flow::H level: 2 text: Method Catalogue - !ruby/struct:SM::Flow::P body: "To create a Vector:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Vector.[](*array) - !ruby/struct:SM::Flow::LI label: "*" body: Vector.elements(array, copy = true) type: :BULLET - !ruby/struct:SM::Flow::P body: "To access elements:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: [](i) type: :BULLET - !ruby/struct:SM::Flow::P body: "To enumerate the elements:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: " #each2(v) " - !ruby/struct:SM::Flow::LI label: "*" body: " #collect2(v) " type: :BULLET - !ruby/struct:SM::Flow::P body: "Vector arithmetic:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: *(x) "is matrix or number" - !ruby/struct:SM::Flow::LI label: "*" body: +(v) - !ruby/struct:SM::Flow::LI label: "*" body: -(v) type: :BULLET - !ruby/struct:SM::Flow::P body: "Vector functions:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: " #inner_product(v) " - !ruby/struct:SM::Flow::LI label: "*" body: " #collect " - !ruby/struct:SM::Flow::LI label: "*" body: " #map " - !ruby/struct:SM::Flow::LI label: "*" body: " #map2(v) " - !ruby/struct:SM::Flow::LI label: "*" body: " #r " - !ruby/struct:SM::Flow::LI label: "*" body: " #size " type: :BULLET - !ruby/struct:SM::Flow::P body: "Conversion to other data types:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: " #covector " - !ruby/struct:SM::Flow::LI label: "*" body: " #to_a " - !ruby/struct:SM::Flow::LI label: "*" body: " #coerce(other) " type: :BULLET - !ruby/struct:SM::Flow::P body: "String representations:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: " #to_s " - !ruby/struct:SM::Flow::LI label: "*" body: " #inspect " type: :BULLET constants: [] full_name: Vector includes: - !ruby/object:RI::IncludedModule name: ExceptionForMatrix instance_methods: - !ruby/object:RI::MethodSummary name: "*" - !ruby/object:RI::MethodSummary name: + - !ruby/object:RI::MethodSummary name: "-" - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: coerce - !ruby/object:RI::MethodSummary name: collect - !ruby/object:RI::MethodSummary name: collect2 - !ruby/object:RI::MethodSummary name: compare_by - !ruby/object:RI::MethodSummary name: covector - !ruby/object:RI::MethodSummary name: each2 - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: init_elements - !ruby/object:RI::MethodSummary name: inner_product - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: map - !ruby/object:RI::MethodSummary name: map2 - !ruby/object:RI::MethodSummary name: r - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: to_s name: Vector superclass: Object ri/1.8/system/Vector/size-i.yaml 0000644 00000000364 15217654527 0012357 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of elements in the vector. full_name: Vector#size is_singleton: false name: size params: () visibility: public ri/1.8/system/Vector/inspect-i.yaml 0000644 00000000345 15217654527 0013051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Overrides Object#inspect full_name: Vector#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/Vector/to_a-i.yaml 0000644 00000000366 15217654527 0012331 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the elements of the vector in an array. full_name: Vector#to_a is_singleton: false name: to_a params: () visibility: public ri/1.8/system/Vector/collect2-i.yaml 0000644 00000000510 15217654527 0013105 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: e1, e2 comment: - !ruby/struct:SM::Flow::P body: Collects (as in Enumerable#collect) over the elements of this vector and v in conjunction. full_name: Vector#collect2 is_singleton: false name: collect2 params: (v) {|e1, e2| ...} visibility: public ri/1.8/system/Vector/map-i.yaml 0000644 00000000330 15217654527 0012153 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #collect" full_name: Vector#map is_singleton: false name: map params: ( visibility: public ri/1.8/system/Vector/%2a-i.yaml 0000644 00000000430 15217654527 0011746 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Multiplies the vector by x, where x is a number or another vector. full_name: Vector#* is_singleton: false name: "*" params: (x) visibility: public ri/1.8/system/Vector/clone-i.yaml 0000644 00000000345 15217654527 0012504 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a copy of the vector. full_name: Vector#clone is_singleton: false name: clone params: () visibility: public ri/1.8/system/Vector/%3d%3d-i.yaml 0000644 00000000503 15217654527 0012247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: eql? block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true iff the two vectors have the same elements in the same order. full_name: Vector#== is_singleton: false name: == params: (other) visibility: public ri/1.8/system/Vector/map2-i.yaml 0000644 00000000434 15217654527 0012242 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: e1, e2 comment: - !ruby/struct:SM::Flow::P body: Like Vector#collect2, but returns a Vector instead of an Array. full_name: Vector#map2 is_singleton: false name: map2 params: (v) {|e1, e2| ...} visibility: public ri/1.8/system/Vector/each2-i.yaml 0000644 00000000446 15217654527 0012370 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: e1, e2 comment: - !ruby/struct:SM::Flow::P body: Iterate over the elements of this vector and v in conjunction. full_name: Vector#each2 is_singleton: false name: each2 params: (v) {|e1, e2| ...} visibility: public ri/1.8/system/Vector/eql%3f-i.yaml 0000644 00000000333 15217654527 0012460 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #==" full_name: Vector#eql? is_singleton: false name: eql? params: (other) visibility: public ri/1.8/system/Vector/coerce-i.yaml 0000644 00000000360 15217654527 0012641 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "FIXME: describe Vector#coerce." full_name: Vector#coerce is_singleton: false name: coerce params: (other) visibility: public ri/1.8/system/Vector/compare_by-i.yaml 0000644 00000000354 15217654527 0013524 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: For internal use. full_name: Vector#compare_by is_singleton: false name: compare_by params: (elements) visibility: public ri/1.8/system/Socket/recvfrom-i.yaml 0000644 00000016601 15217654527 0013217 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Receives up to maxlen bytes from socket. flags is zero or more of the MSG_ options. The first element of the results, mesg, is the data received. The second element, sender_sockaddr, contains protocol-specific information on the sender. - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: maxlen - the number of bytes to receive from the socket - !ruby/struct:SM::Flow::LI label: "*" body: flags - zero or more of the MSG_ options type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " # In one file, start this first\n require 'socket'\n include Socket::Constants\n socket = Socket.new( AF_INET, SOCK_STREAM, 0 )\n sockaddr = Socket.pack_sockaddr_in( 2200, 'localhost' )\n socket.bind( sockaddr )\n socket.listen( 5 )\n client, client_sockaddr = socket.accept\n data = client.recvfrom( 20 )[0].chomp\n puts "I only received 20 bytes '#{data}'"\n sleep 1\n socket.close\n\n # In another file, start this second\n require 'socket'\n include Socket::Constants\n socket = Socket.new( AF_INET, SOCK_STREAM, 0 )\n sockaddr = Socket.pack_sockaddr_in( 2200, 'localhost' )\n socket.connect( sockaddr )\n socket.puts "Watch this get cut short!"\n socket.close\n" - !ruby/struct:SM::Flow::H level: 3 text: Unix-based Exceptions - !ruby/struct:SM::Flow::P body: "On unix-based based systems the following system exceptions may be raised if the call to recvfrom fails:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EAGAIN - the socket file descriptor is marked as O_NONBLOCK and no data is waiting to be received; or MSG_OOB is set and no out-of-band data is available and either the socket file descriptor is marked as O_NONBLOCK or the socket does not support blocking to wait for out-of-band-data - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EWOULDBLOCK - see Errno::EAGAIN - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EBADF - the socket is not a valid file descriptor - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ECONNRESET - a connection was forcibly closed by a peer - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EFAULT - the socket's internal buffer, address or address length cannot be accessed or written - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINTR - a signal interupted recvfrom before any data was available - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINVAL - the MSG_OOB flag is set and no out-of-band data is available - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EIO - an i/o error occurred while reading from or writing to the filesystem - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOBUFS - insufficient resources were available in the system to perform the operation - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOMEM - insufficient memory was available to fulfill the request - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOSR - there were insufficient STREAMS resources available to complete the operation - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOTCONN - a receive is attempted on a connection-mode socket that is not connected - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOTSOCK - the socket does not refer to a socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EOPNOTSUPP - the specified flags are not supported for this socket type - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ETIMEDOUT - the connection timed out during connection establishment or due to a transmission timeout on an active connection type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Windows Exceptions - !ruby/struct:SM::Flow::P body: "On Windows systems the following system exceptions may be raised if the call to recvfrom fails:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENETDOWN - the network is down - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EFAULT - the internal buffer and from parameters on socket are not part of the user address space, or the internal fromlen parameter is too small to accomodate the peer address - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINTR - the (blocking) call was cancelled by an internal call to the WinSock function WSACancelBlockingCall - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINPROGRESS - a blocking Windows Sockets 1.1 call is in progress or the service provider is still processing a callback function - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINVAL - socket has not been bound with a call to bind, or an unknown flag was specified, or MSG_OOB was specified for a socket with SO_OOBINLINE enabled, or (for byte stream-style sockets only) the internal len parameter on socket was zero or negative - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EISCONN - socket is already connected. The call to recvfrom is not permitted with a connected socket on a socket that is connetion oriented or connectionless. - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENETRESET - the connection has been broken due to the keep-alive activity detecting a failure while the operation was in progress. - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EOPNOTSUPP - MSG_OOB was specified, but socket is not stream-style such as type SOCK_STREAM. OOB data is not supported in the communication domain associated with socket, or socket is unidirectional and supports only send operations - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ESHUTDOWN - socket has been shutdown. It is not possible to call recvfrom on a socket after shutdown has been invoked. - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EWOULDBLOCK - socket is marked as nonblocking and a call to recvfrom would block. - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EMSGSIZE - the message was too large to fit into the specified buffer and was truncated. - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ETIMEDOUT - the connection has been dropped, because of a network failure or because the system on the other end went down without notice - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ECONNRESET - the virtual circuit was reset by the remote side executing a hard or abortive close. The application should close the socket; it is no longer usable. On a UDP-datagram socket this error indicates a previous send operation resulted in an ICMP Port Unreachable message. type: :BULLET full_name: Socket#recvfrom is_singleton: false name: recvfrom params: | socket.recvfrom(maxlen) => [mesg, sender_sockaddr] socket.recvfrom(maxlen, flags) => [mesg, sender_sockaddr] visibility: public ri/1.8/system/Socket/cdesc-Socket.yaml 0000644 00000004447 15217654527 0013462 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: getaddrinfo - !ruby/object:RI::MethodSummary name: gethostbyname - !ruby/object:RI::MethodSummary name: getservbyname comment: - !ruby/struct:SM::Flow::P body: Class Socket provides access to the underlying operating system socket implementations. It can be used to provide more operating system specific functionality than the protocol-specific socket classes but at the expense of greater complexity. In particular, the class handles addresses using +struct sockaddr+ structures packed into Ruby strings, which can be a joy to manipulate. - !ruby/struct:SM::Flow::H level: 3 text: Exception Handling - !ruby/struct:SM::Flow::P body: Ruby's implementation of Socket causes an exception to be raised based on the error generated by the system dependent implementation. This is why the methods are documented in a way that isolate Unix-based system exceptions from Windows based exceptions. If more information on particular exception is needed please refer to the Unix manual pages or the Windows WinSock reference. - !ruby/struct:SM::Flow::H level: 3 text: Documentation by - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Zach Dennis - !ruby/struct:SM::Flow::LI label: "*" body: Sam Roberts - !ruby/struct:SM::Flow::LI label: "*" body: Programming Ruby from The Pragmatic Bookshelf. type: :BULLET - !ruby/struct:SM::Flow::P body: Much material in this documentation is taken with permission from Programming Ruby from The Pragmatic Bookshelf. constants: - !ruby/object:RI::Constant comment: name: AF_INET6 value: Object.new full_name: Socket includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: accept - !ruby/object:RI::MethodSummary name: accept_nonblock - !ruby/object:RI::MethodSummary name: bind - !ruby/object:RI::MethodSummary name: connect - !ruby/object:RI::MethodSummary name: connect_nonblock - !ruby/object:RI::MethodSummary name: listen - !ruby/object:RI::MethodSummary name: recvfrom - !ruby/object:RI::MethodSummary name: recvfrom_nonblock - !ruby/object:RI::MethodSummary name: sysaccept name: Socket superclass: Object ri/1.8/system/Socket/gethostbyname-c.yaml 0000644 00000007502 15217654527 0014237 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Resolve host and return name and address information for it, similarly to gethostbyname(3). host can be a domain name or the presentation format of an address. - !ruby/struct:SM::Flow::P body: "Returns an array of information similar to that found in a +struct hostent+:" - !ruby/struct:SM::Flow::VERB body: " - cannonical name: the cannonical name for host in the DNS, or a\n string representing the address\n - aliases: an array of aliases for the canonical name, there may be no aliases\n - address family: usually one of Socket::AF_INET or Socket::AF_INET6\n - address: a string, the binary value of the +struct sockaddr+ for this name, in\n the indicated address family\n - ...: if there are multiple addresses for this host, a series of\n strings/+struct sockaddr+s may follow, not all necessarily in the same\n address family. Note that the fact that they may not be all in the same\n address family is a departure from the behaviour of gethostbyname(3).\n" - !ruby/struct:SM::Flow::P body: "Note: I believe that the fact that the multiple addresses returned are not necessarily in the same address family may be a bug, since if this function actually called gethostbyname(3), ALL the addresses returned in the trailing address list (h_addr_list from struct hostent) would be of the same address family! Examples from my system, OS X 10.3:" - !ruby/struct:SM::Flow::VERB body: " ["localhost", [], 30, "\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\001", "\\177\\000\\000\\001"]\n and\n ["ensemble.local", [], 30, "\\376\\200\\000\\004\\000\\000\\000\\000\\002\\003\\223\\377\\376\\255\\010\\214", "\\300\\250{\\232" ]\n" - !ruby/struct:SM::Flow::P body: "Similar information can be returned by Socket.getaddrinfo if called as:" - !ruby/struct:SM::Flow::VERB body: " Socket.getaddrinfo(host, 0, Socket::AF_UNSPEC, Socket::SOCK_STREAM, nil, Socket::AI_CANONNAME)\n" - !ruby/struct:SM::Flow::H level: 2 text: Examples - !ruby/struct:SM::Flow::VERB body: " Socket.gethostbyname "example.com"\n => ["example.com", [], 2, "\\300\\000\\"\\246"]\n" - !ruby/struct:SM::Flow::P body: This name has no DNS aliases, and a single IPv4 address. - !ruby/struct:SM::Flow::VERB body: " Socket.gethostbyname "smtp.telus.net"\n => ["smtp.svc.telus.net", ["smtp.telus.net"], 2, "\\307\\271\\334\\371"]\n" - !ruby/struct:SM::Flow::P body: This name is an an alias so the canonical name is returned, as well as the alias and a single IPv4 address. - !ruby/struct:SM::Flow::VERB body: " Socket.gethostbyname "localhost"\n => ["localhost", [], 30, "\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\001", "\\177\\000\\000\\001"]\n" - !ruby/struct:SM::Flow::P body: This machine has no aliases, returns an IPv6 address, and has an additional IPv4 address. - !ruby/struct:SM::Flow::P body: "host can also be an IP address in presentation format, in which case a reverse lookup is done on the address:" - !ruby/struct:SM::Flow::VERB body: " Socket.gethostbyname("127.0.0.1")\n => ["localhost", [], 2, "\\177\\000\\000\\001"]\n\n Socket.gethostbyname("192.0.34.166")\n => ["www.example.com", [], 2, "\\300\\000\\"\\246"]\n" - !ruby/struct:SM::Flow::H level: 2 text: See - !ruby/struct:SM::Flow::P body: "See: Socket.getaddrinfo" full_name: Socket::gethostbyname is_singleton: true name: gethostbyname params: " Socket.gethostbyname(host) => hostent\n" visibility: public ri/1.8/system/Socket/getaddrinfo-c.yaml 0000644 00000013612 15217654527 0013653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return address information for host and port. The remaining arguments are hints that limit the address information returned. - !ruby/struct:SM::Flow::P body: This method corresponds closely to the POSIX.1g getaddrinfo() definition. - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: host is a host name or an address string (dotted decimal for IPv4, or a hex string for IPv6) for which to return information. A nil is also allowed, its meaning depends on flags, see below. - !ruby/struct:SM::Flow::LI label: "-" body: service is a service name ("http", "ssh", ...), or a port number (80, 22, ...), see Socket.getservbyname for more information. A nil is also allowed, meaning zero. - !ruby/struct:SM::Flow::LI label: "-" body: family limits the output to a specific address family, one of the Socket::AF_* constants. Socket::AF_INET (IPv4) and Socket::AF_INET6 (IPv6) are the most commonly used families. You will usually pass either nil or Socket::AF_UNSPEC, allowing the IPv6 information to be returned first if host is reachable via IPv6, and IPv4 information otherwise. The two strings "AF_INET" or "AF_INET6" are also allowed, they are converted to their respective Socket::AF_* constants. - !ruby/struct:SM::Flow::LI label: "-" body: socktype limits the output to a specific type of socket, one of the Socket::SOCK_* constants. Socket::SOCK_STREAM (for TCP) and Socket::SOCK_DGRAM (for UDP) are the most commonly used socket types. If nil, then information for all types of sockets supported by service will be returned. You will usually know what type of socket you intend to create, and should pass that socket type in. - !ruby/struct:SM::Flow::LI label: "-" body: protocol limits the output to a specific protocol numpber, one of the Socket::IPPROTO_* constants. It is usually implied by the socket type (Socket::SOCK_STREAM => Socket::IPPROTO_TCP, ...), if you pass other than nil you already know what this is for. - !ruby/struct:SM::Flow::LI label: "-" body: "flags is one of the Socket::AI_* constants. They mean:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "Socket::AI_PASSIVE: when set, if host is nil the 'any' address will be returned, Socket::INADDR_ANY or 0 for IPv4, "0::0" or "::" for IPv6. This address is suitable for use by servers that will bind their socket and do a passive listen, thus the name of the flag. Otherwise the local or loopback address will be returned, this is "127.0.0.1" for IPv4 and "::1' for IPv6." - !ruby/struct:SM::Flow::LI label: "-" body: ... type: :BULLET type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Returns - !ruby/struct:SM::Flow::P body: "Returns an array of arrays, where each subarray contains:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: address family, a string like "AF_INET" or "AF_INET6" - !ruby/struct:SM::Flow::LI label: "-" body: port number, the port number for service - !ruby/struct:SM::Flow::LI label: "-" body: host name, either a canonical name for host, or it's address in presentation format if the address could not be looked up. - !ruby/struct:SM::Flow::LI label: "-" body: host IP, the address of host in presentation format - !ruby/struct:SM::Flow::LI label: "-" body: address family, as a numeric value (one of the Socket::AF_* constants). - !ruby/struct:SM::Flow::LI label: "-" body: socket type, as a numeric value (one of the Socket::SOCK_* constants). - !ruby/struct:SM::Flow::LI label: "-" body: protocol number, as a numeric value (one of the Socket::IPPROTO_* constants). type: :BULLET - !ruby/struct:SM::Flow::P body: The first four values are identical to what is commonly returned as an address array, see IPSocket for more information. - !ruby/struct:SM::Flow::H level: 3 text: Examples - !ruby/struct:SM::Flow::P body: Not all input combinations are valid, and while there are many combinations, only a few cases are common. - !ruby/struct:SM::Flow::P body: "A typical client will call getaddrinfo with the host and service it wants to connect to. It knows that it will attempt to connect with either TCP or UDP, and specifies socktype accordingly. It loops through all returned addresses, and try to connect to them in turn:" - !ruby/struct:SM::Flow::VERB body: " addrinfo = Socket::getaddrinfo('www.example.com', 'www', nil, Socket::SOCK_STREAM)\n addrinfo.each do |af, port, name, addr|\n begin\n sock = TCPSocket.new(addr, port)\n # ...\n exit 1\n rescue\n end\n end\n" - !ruby/struct:SM::Flow::P body: With UDP you don't know if connect suceeded, but if communication fails, the next address can be tried. - !ruby/struct:SM::Flow::P body: "A typical server will call getaddrinfo with a host of nil, the service it listens to, and a flags of Socket::AI_PASSIVE. It will listen for connections on the first returned address:" - !ruby/struct:SM::Flow::VERB body: " addrinfo = Socket::getaddrinfo(nil, 'www', nil, Socket::SOCK_STREAM, nil, Socket::AI_PASSIVE)\n af, port, name, addr = addrinfo.first\n sock = TCPServer(addr, port)\n while( client = s.accept )\n # ...\n end\n" full_name: Socket::getaddrinfo is_singleton: true name: getaddrinfo params: " Socket.getaddrinfo(host, service, family=nil, socktype=nil, protocol=nil, flags=nil) => addrinfo\n" visibility: public ri/1.8/system/Socket/listen-i.yaml 0000644 00000012044 15217654527 0012667 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Listens for connections, using the specified int as the backlog. A call to listen only applies if the socket is of type SOCK_STREAM or SOCK_SEQPACKET. - !ruby/struct:SM::Flow::H level: 3 text: Parameter - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: backlog - the maximum length of the queue for pending connections. type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Example 1 - !ruby/struct:SM::Flow::VERB body: " require 'socket'\n include Socket::Constants\n socket = Socket.new( AF_INET, SOCK_STREAM, 0 )\n sockaddr = Socket.pack_sockaddr_in( 2200, 'localhost' )\n socket.bind( sockaddr )\n socket.listen( 5 )\n" - !ruby/struct:SM::Flow::H level: 3 text: "Example 2 (listening on an arbitary port, unix-based systems only):" - !ruby/struct:SM::Flow::VERB body: " require 'socket'\n include Socket::Constants\n socket = Socket.new( AF_INET, SOCK_STREAM, 0 )\n socket.listen( 1 )\n" - !ruby/struct:SM::Flow::H level: 3 text: Unix-based Exceptions - !ruby/struct:SM::Flow::P body: On unix based systems the above will work because a new sockaddr struct is created on the address ADDR_ANY, for an arbitrary port number as handed off by the kernel. It will not work on Windows, because Windows requires that the socket is bound by calling bind before it can listen. - !ruby/struct:SM::Flow::P body: If the backlog amount exceeds the implementation-dependent maximum queue length, the implementation's maximum queue length will be used. - !ruby/struct:SM::Flow::P body: "On unix-based based systems the following system exceptions may be raised if the call to listen fails:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EBADF - the socket argument is not a valid file descriptor - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EDESTADDRREQ - the socket is not bound to a local address, and the protocol does not support listening on an unbound socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINVAL - the socket is already connected - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOTSOCK - the socket argument does not refer to a socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EOPNOTSUPP - the socket protocol does not support listen - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EACCES - the calling process does not have approriate privileges - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINVAL - the socket has been shut down - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOBUFS - insufficient resources are available in the system to complete the call type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Windows Exceptions - !ruby/struct:SM::Flow::P body: "On Windows systems the following system exceptions may be raised if the call to listen fails:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENETDOWN - the network is down - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EADDRINUSE - the socket's local address is already in use. This usually occurs during the execution of bind but could be delayed if the call to bind was to a partially wildcard address (involving ADDR_ANY) and if a specific address needs to be commmitted at the time of the call to listen - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINPROGRESS - a Windows Sockets 1.1 call is in progress or the service provider is still processing a callback function - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINVAL - the socket has not been bound with a call to bind. - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EISCONN - the socket is already connected - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EMFILE - no more socket descriptors are available - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOBUFS - no buffer space is available - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOTSOC - socket is not a socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EOPNOTSUPP - the referenced socket is not a type that supports the listen method type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: See - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: listen manual pages on unix-based systems - !ruby/struct:SM::Flow::LI label: "*" body: listen function in Microsoft's Winsock functions reference type: :BULLET full_name: Socket#listen is_singleton: false name: listen params: | socket.listen( int ) => 0 visibility: public ri/1.8/system/Socket/connect-i.yaml 0000644 00000021427 15217654527 0013027 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Requests a connection to be made on the given server_sockaddr. Returns 0 if successful, otherwise an exception is raised. - !ruby/struct:SM::Flow::H level: 3 text: Parameter - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: server_sockaddr - the struct sockaddr contained in a string type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: "Example:" - !ruby/struct:SM::Flow::VERB body: " # Pull down Google's web page\n require 'socket'\n include Socket::Constants\n socket = Socket.new( AF_INET, SOCK_STREAM, 0 )\n sockaddr = Socket.pack_sockaddr_in( 80, 'www.google.com' )\n socket.connect( sockaddr )\n socket.write( "GET / HTTP/1.0\\r\\n\\r\\n" )\n results = socket.read\n" - !ruby/struct:SM::Flow::H level: 3 text: Unix-based Exceptions - !ruby/struct:SM::Flow::P body: "On unix-based systems the following system exceptions may be raised if the call to connect fails:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EACCES - search permission is denied for a component of the prefix path or write access to the socket is denided - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EADDRINUSE - the sockaddr is already in use - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EADDRNOTAVAIL - the specified sockaddr is not available from the local machine - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EAFNOSUPPORT - the specified sockaddr is not a valid address for the address family of the specified socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EALREADY - a connection is already in progress for the specified socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EBADF - the socket is not a valid file descriptor - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ECONNREFUSED - the target sockaddr was not listening for connections refused the connection request - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ECONNRESET - the remote host reset the connection request - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EFAULT - the sockaddr cannot be accessed - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EHOSTUNREACH - the destination host cannot be reached (probably because the host is down or a remote router cannot reach it) - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINPROGRESS - the O_NONBLOCK is set for the socket and the connection cnanot be immediately established; the connection will be established asynchronously - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINTR - the attempt to establish the connection was interrupted by delivery of a signal that was caught; the connection will be established asynchronously - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EISCONN - the specified socket is already connected - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINVAL - the address length used for the sockaddr is not a valid length for the address family or there is an invalid family in sockaddr - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENAMETOOLONG - the pathname resolved had a length which exceeded PATH_MAX - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENETDOWN - the local interface used to reach the destination is down - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENETUNREACH - no route to the network is present - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOBUFS - no buffer space is available - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOSR - there were insufficient STREAMS resources available to complete the operation - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOTSOCK - the socket argument does not refer to a socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EOPNOTSUPP - the calling socket is listening and cannot be connected - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EPROTOTYPE - the sockaddr has a different type than the socket bound to the specified peer address - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ETIMEDOUT - the attempt to connect time out before a connection was made. type: :BULLET - !ruby/struct:SM::Flow::P body: "On unix-based systems if the address family of the calling socket is AF_UNIX the follow exceptions may be raised if the call to connect fails:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EIO - an i/o error occured while reading from or writing to the file system - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ELOOP - too many symbolic links were encountered in translating the pathname in sockaddr - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENAMETOOLLONG - a component of a pathname exceeded NAME_MAX characters, or an entired pathname exceeded PATH_MAX characters - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOENT - a component of the pathname does not name an existing file or the pathname is an empty string - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOTDIR - a component of the path prefix of the pathname in sockaddr is not a directory type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Windows Exceptions - !ruby/struct:SM::Flow::P body: "On Windows systems the following system exceptions may be raised if the call to connect fails:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENETDOWN - the network is down - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EADDRINUSE - the socket's local address is already in use - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINTR - the socket was cancelled - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINPROGRESS - a blocking socket is in progress or the service provider is still processing a callback function. Or a nonblocking connect call is in progress on the socket. - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EALREADY - see Errno::EINVAL - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EADDRNOTAVAIL - the remote address is not a valid address, such as ADDR_ANY TODO check ADDRANY TO INADDR_ANY - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EAFNOSUPPORT - addresses in the specified family cannot be used with with this socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ECONNREFUSED - the target sockaddr was not listening for connections refused the connection request - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EFAULT - the socket's internal address or address length parameter is too small or is not a valid part of the user space address - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINVAL - the socket is a listening socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EISCONN - the socket is already connected - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENETUNREACH - the network cannot be reached from this host at this time - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EHOSTUNREACH - no route to the network is present - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOBUFS - no buffer space is available - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOTSOCK - the socket argument does not refer to a socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ETIMEDOUT - the attempt to connect time out before a connection was made. - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EWOULDBLOCK - the socket is marked as nonblocking and the connection cannot be completed immediately - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EACCES - the attempt to connect the datagram socket to the broadcast address failed type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: See - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: connect manual pages on unix-based systems - !ruby/struct:SM::Flow::LI label: "*" body: connect function in Microsoft's Winsock functions reference type: :BULLET full_name: Socket#connect is_singleton: false name: connect params: | socket.connect(server_sockaddr) => 0 visibility: public ri/1.8/system/Socket/accept-i.yaml 0000644 00000013132 15217654527 0012627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Accepts an incoming connection returning an array containing a new Socket object and a string holding the struct sockaddr information about the caller. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " # In one script, start this first\n require 'socket'\n include Socket::Constants\n socket = Socket.new( AF_INET, SOCK_STREAM, 0 )\n sockaddr = Socket.pack_sockaddr_in( 2200, 'localhost' )\n socket.bind( sockaddr )\n socket.listen( 5 )\n client, client_sockaddr = socket.accept\n puts "The client said, '#{client.readline.chomp}'"\n client.puts "Hello from script one!"\n socket.close\n\n # In another script, start this second\n require 'socket'\n include Socket::Constants\n socket = Socket.new( AF_INET, SOCK_STREAM, 0 )\n sockaddr = Socket.pack_sockaddr_in( 2200, 'localhost' )\n socket.connect( sockaddr )\n socket.puts "Hello from script 2."\n puts "The server said, '#{socket.readline.chomp}'"\n socket.close\n" - !ruby/struct:SM::Flow::H level: 3 text: Unix-based Exceptions - !ruby/struct:SM::Flow::P body: "On unix-based based systems the following system exceptions may be raised if the call to accept fails:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EAGAIN - O_NONBLOCK is set for the socket file descriptor and no connections are parent to be accepted - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EWOULDBLOCK - same as Errno::EAGAIN - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EBADF - the socket is not a valid file descriptor - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ECONNABORTED - a connection has been aborted - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EFAULT - the socket's internal address or address length parameter cannot be access or written - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINTR - the accept method was interrupted by a signal that was caught before a valid connection arrived - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINVAL - the socket is not accepting connections - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EMFILE - OPEN_MAX file descriptors are currently open in the calling process - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOBUFS - no buffer space is available - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOMEM - there was insufficient memory available to complete the operation - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOSR - there was insufficient STREAMS resources available to complete the operation - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENFILE - the maximum number of file descriptors in the system are already open - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOTSOCK - the socket does not refer to a socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EOPNOTSUPP - the socket type for the calling socket does not support accept connections - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EPROTO - a protocol error has occurred type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Windows Exceptions - !ruby/struct:SM::Flow::P body: "On Windows systems the following system exceptions may be raised if the call to accept fails:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ECONNRESET - an incoming connection was indicated, but was terminated by the remote peer prior to accepting the connection - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EFAULT - the socket's internal address or address length parameter is too small or is not a valid part of the user space address - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINVAL - the listen method was not invoked prior to calling accept - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINPROGRESS - a blocking Windows Sockets 1.1 call is in progress or the service provider is still processing a callback function - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EMFILE - the queue is not empty, upong etry to accept and there are no socket descriptors available - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENETDOWN - the network is down - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOBUFS - no buffer space is available - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOTSOCK - socket is not a socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EOPNOTSUPP - socket is not a type that supports connection-oriented service. - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EWOULDBLOCK - socket is marked as nonblocking and no connections are present to be accepted type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: See - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: accept manual pages on unix-based systems - !ruby/struct:SM::Flow::LI label: "*" body: accept function in Microsoft's Winsock functions reference type: :BULLET full_name: Socket#accept is_singleton: false name: accept params: | socket.accept => [ socket, string ] visibility: public ri/1.8/system/Socket/accept_nonblock-i.yaml 0000644 00000004172 15217654527 0014520 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Accepts an incoming connection using accept(2) after O_NONBLOCK is set for the underlying file descriptor. It returns an array containg the accpeted socket for the incoming connection, client_socket, and a string that contains the struct sockaddr information about the caller, client_sockaddr. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " # In one script, start this first\n require 'socket'\n include Socket::Constants\n socket = Socket.new(AF_INET, SOCK_STREAM, 0)\n sockaddr = Socket.sockaddr_in(2200, 'localhost')\n socket.bind(sockaddr)\n socket.listen(5)\n begin\n client_socket, client_sockaddr = socket.accept_nonblock\n rescue Errno::EAGAIN, Errno::EWOULDBLOCK, Errno::ECONNABORTED, Errno::EPROTO, Errno::EINTR\n IO.select([socket])\n retry\n end\n puts "The client said, '#{client_socket.readline.chomp}'"\n client_socket.puts "Hello from script one!"\n socket.close\n\n # In another script, start this second\n require 'socket'\n include Socket::Constants\n socket = Socket.new(AF_INET, SOCK_STREAM, 0)\n sockaddr = Socket.sockaddr_in(2200, 'localhost')\n socket.connect(sockaddr)\n socket.puts "Hello from script 2."\n puts "The server said, '#{socket.readline.chomp}'"\n socket.close\n" - !ruby/struct:SM::Flow::P body: Refer to Socket#accept for the exceptions that may be thrown if the call to accept_nonblock fails. - !ruby/struct:SM::Flow::P body: Socket#accept_nonblock may raise any error corresponding to accept(2) failure, including Errno::EAGAIN. - !ruby/struct:SM::Flow::H level: 3 text: See - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Socket#accept type: :BULLET full_name: Socket#accept_nonblock is_singleton: false name: accept_nonblock params: | socket.accept_nonblock => [client_socket, client_sockaddr] visibility: public ri/1.8/system/Socket/getservbyname-c.yaml 0000644 00000001331 15217654527 0014233 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: name is a service name ("ftp", "telnet", ...) and proto is a protocol name ("udp", "tcp", ...). '/etc/services' (or your system's equivalent) is searched for a service for name and proto, and the port number is returned. - !ruby/struct:SM::Flow::P body: Note that unlike Socket.getaddrinfo, proto may not be specified using the Socket::SOCK_* constants, a string must must be used. full_name: Socket::getservbyname is_singleton: true name: getservbyname params: " Socket.getservbyname(name, proto=\"tcp\") => port\n" visibility: public ri/1.8/system/Socket/Constants/cdesc-Constants.yaml 0000644 00000000357 15217654527 0016156 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: constants constants: [] full_name: Socket::Constants includes: [] instance_methods: [] name: Constants superclass: ri/1.8/system/Socket/recvfrom_nonblock-i.yaml 0000644 00000005247 15217654527 0015110 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Receives up to maxlen bytes from socket using recvfrom(2) after O_NONBLOCK is set for the underlying file descriptor. flags is zero or more of the MSG_ options. The first element of the results, mesg, is the data received. The second element, sender_sockaddr, contains protocol-specific information on the sender. - !ruby/struct:SM::Flow::P body: "When recvfrom(2) returns 0, Socket#recvfrom_nonblock returns an empty string as data. The meaning depends on the socket: EOF on TCP, empty packet on UDP, etc." - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: maxlen - the number of bytes to receive from the socket - !ruby/struct:SM::Flow::LI label: "*" body: flags - zero or more of the MSG_ options type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " # In one file, start this first\n require 'socket'\n include Socket::Constants\n socket = Socket.new(AF_INET, SOCK_STREAM, 0)\n sockaddr = Socket.sockaddr_in(2200, 'localhost')\n socket.bind(sockaddr)\n socket.listen(5)\n client, client_sockaddr = socket.accept\n begin\n pair = client.recvfrom_nonblock(20)\n rescue Errno::EAGAIN, Errno::EWOULDBLOCK\n IO.select([client])\n retry\n end\n data = pair[0].chomp\n puts "I only received 20 bytes '#{data}'"\n sleep 1\n socket.close\n\n # In another file, start this second\n require 'socket'\n include Socket::Constants\n socket = Socket.new(AF_INET, SOCK_STREAM, 0)\n sockaddr = Socket.sockaddr_in(2200, 'localhost')\n socket.connect(sockaddr)\n socket.puts "Watch this get cut short!"\n socket.close\n" - !ruby/struct:SM::Flow::P body: Refer to Socket#recvfrom for the exceptions that may be thrown if the call to recvfrom_nonblock fails. - !ruby/struct:SM::Flow::P body: Socket#recvfrom_nonblock may raise any error corresponding to recvfrom(2) failure, including Errno::EAGAIN. - !ruby/struct:SM::Flow::H level: 3 text: See - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Socket#recvfrom type: :BULLET full_name: Socket#recvfrom_nonblock is_singleton: false name: recvfrom_nonblock params: | socket.recvfrom_nonblock(maxlen) => [mesg, sender_sockaddr] socket.recvfrom_nonblock(maxlen, flags) => [mesg, sender_sockaddr] visibility: public ri/1.8/system/Socket/connect_nonblock-i.yaml 0000644 00000003412 15217654527 0014706 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Requests a connection to be made on the given server_sockaddr after O_NONBLOCK is set for the underlying file descriptor. Returns 0 if successful, otherwise an exception is raised. - !ruby/struct:SM::Flow::H level: 3 text: Parameter - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: server_sockaddr - the struct sockaddr contained in a string type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: "Example:" - !ruby/struct:SM::Flow::VERB body: " # Pull down Google's web page\n require 'socket'\n include Socket::Constants\n socket = Socket.new(AF_INET, SOCK_STREAM, 0)\n sockaddr = Socket.sockaddr_in(80, 'www.google.com')\n begin\n socket.connect_nonblock(sockaddr)\n rescue Errno::EINPROGRESS\n IO.select(nil, [socket])\n begin\n socket.connect_nonblock(sockaddr)\n rescue Errno::EISCONN\n end\n end\n socket.write("GET / HTTP/1.0\\r\\n\\r\\n")\n results = socket.read\n" - !ruby/struct:SM::Flow::P body: Refer to Socket#connect for the exceptions that may be thrown if the call to connect_nonblock fails. - !ruby/struct:SM::Flow::P body: Socket#connect_nonblock may raise any error corresponding to connect(2) failure, including Errno::EINPROGRESS. - !ruby/struct:SM::Flow::H level: 3 text: See - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Socket#connect type: :BULLET full_name: Socket#connect_nonblock is_singleton: false name: connect_nonblock params: | socket.connect_nonblock(server_sockaddr) => 0 visibility: public ri/1.8/system/Socket/bind-i.yaml 0000644 00000014131 15217654527 0012304 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Binds to the given struct sockaddr. - !ruby/struct:SM::Flow::H level: 3 text: Parameter - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: server_sockaddr - the struct sockaddr contained in a string type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " require 'socket'\n include Socket::Constants\n socket = Socket.new( AF_INET, SOCK_STREAM, 0 )\n sockaddr = Socket.pack_sockaddr_in( 2200, 'localhost' )\n socket.bind( sockaddr )\n" - !ruby/struct:SM::Flow::H level: 3 text: Unix-based Exceptions - !ruby/struct:SM::Flow::P body: "On unix-based based systems the following system exceptions may be raised if the call to bind fails:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EACCES - the specified sockaddr is protected and the current user does not have permission to bind to it - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EADDRINUSE - the specified sockaddr is already in use - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EADDRNOTAVAIL - the specified sockaddr is not available from the local machine - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EAFNOSUPPORT - the specified sockaddr isnot a valid address for the family of the calling socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EBADF - the sockaddr specified is not a valid file descriptor - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EFAULT - the sockaddr argument cannot be accessed - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINVAL - the socket is already bound to an address, and the protocol does not support binding to the new sockaddr or the socket has been shut down. - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINVAL - the address length is not a valid length for the address family - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENAMETOOLONG - the pathname resolved had a length which exceeded PATH_MAX - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOBUFS - no buffer space is available - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOSR - there were insufficient STREAMS resources available to complete the operation - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOTSOCK - the socket does not refer to a socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EOPNOTSUPP - the socket type of the socket does not support binding to an address type: :BULLET - !ruby/struct:SM::Flow::P body: "On unix-based based systems if the address family of the calling socket is Socket::AF_UNIX the follow exceptions may be raised if the call to bind fails:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EACCES - search permission is denied for a component of the prefix path or write access to the socket is denided - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EDESTADDRREQ - the sockaddr argument is a null pointer - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EISDIR - same as Errno::EDESTADDRREQ - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EIO - an i/o error occurred - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ELOOP - too many symbolic links were encountered in translating the pathname in sockaddr - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENAMETOOLLONG - a component of a pathname exceeded NAME_MAX characters, or an entired pathname exceeded PATH_MAX characters - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOENT - a component of the pathname does not name an existing file or the pathname is an empty string - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOTDIR - a component of the path prefix of the pathname in sockaddr is not a directory - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EROFS - the name would reside on a read only filesystem type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Windows Exceptions - !ruby/struct:SM::Flow::P body: "On Windows systems the following system exceptions may be raised if the call to bind fails:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENETDOWN-- the network is down - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EACCES - the attempt to connect the datagram socket to the broadcast address failed - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EADDRINUSE - the socket's local address is already in use - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EADDRNOTAVAIL - the specified address is not a valid address for this computer - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EFAULT - the socket's internal address or address length parameter is too small or is not a valid part of the user space addressed - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINVAL - the socket is already bound to an address - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOBUFS - no buffer space is available - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOTSOCK - the socket argument does not refer to a socket type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: See - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: bind manual pages on unix-based systems - !ruby/struct:SM::Flow::LI label: "*" body: bind function in Microsoft's Winsock functions reference type: :BULLET full_name: Socket#bind is_singleton: false name: bind params: | socket.bind(server_sockaddr) => 0 visibility: public ri/1.8/system/Socket/sysaccept-i.yaml 0000644 00000003466 15217654527 0013377 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Accepts an incoming connection returnings an array containg the (integer) file descriptor for the incoming connection, client_socket_fd, and a string that contains the struct sockaddr information about the caller, client_sockaddr. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " # In one script, start this first\n require 'socket'\n include Socket::Constants\n socket = Socket.new( AF_INET, SOCK_STREAM, 0 )\n sockaddr = Socket.pack_sockaddr_in( 2200, 'localhost' )\n socket.bind( sockaddr )\n socket.listen( 5 )\n client_fd, client_sockaddr = socket.sysaccept\n client_socket = Socket.for_fd( client_fd )\n puts "The client said, '#{client_socket.readline.chomp}'"\n client_socket.puts "Hello from script one!"\n socket.close\n\n # In another script, start this second\n require 'socket'\n include Socket::Constants\n socket = Socket.new( AF_INET, SOCK_STREAM, 0 )\n sockaddr = Socket.pack_sockaddr_in( 2200, 'localhost' )\n socket.connect( sockaddr )\n socket.puts "Hello from script 2."\n puts "The server said, '#{socket.readline.chomp}'"\n socket.close\n" - !ruby/struct:SM::Flow::P body: Refer to Socket#accept for the exceptions that may be thrown if the call to sysaccept fails. - !ruby/struct:SM::Flow::H level: 3 text: See - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Socket#accept type: :BULLET full_name: Socket#sysaccept is_singleton: false name: sysaccept params: | socket.sysaccept => [client_socket_fd, client_sockaddr] visibility: public ri/1.8/system/RUNIT/CUI/cdesc-CUI.yaml 0000644 00000000264 15217654527 0012734 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RUNIT::CUI includes: [] instance_methods: [] name: CUI superclass: ri/1.8/system/RUNIT/CUI/TestRunner/new-c.yaml 0000644 00000000260 15217654527 0014353 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::CUI::TestRunner::new is_singleton: true name: new params: () visibility: public ri/1.8/system/RUNIT/CUI/TestRunner/run-i.yaml 0000644 00000000316 15217654527 0014376 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::CUI::TestRunner#run is_singleton: false name: run params: (suite, quiet_mode=@@quiet_mode) visibility: public ri/1.8/system/RUNIT/CUI/TestRunner/cdesc-TestRunner.yaml 0000644 00000001026 15217654527 0016533 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: quiet_mode= - !ruby/object:RI::MethodSummary name: run comment: constants: [] full_name: RUNIT::CUI::TestRunner includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: create_mediator - !ruby/object:RI::MethodSummary name: create_result - !ruby/object:RI::MethodSummary name: run name: TestRunner superclass: Test::Unit::UI::Console::TestRunner ri/1.8/system/RUNIT/CUI/TestRunner/create_result-i.yaml 0000644 00000000304 15217654527 0016430 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::CUI::TestRunner#create_result is_singleton: false name: create_result params: () visibility: public ri/1.8/system/RUNIT/CUI/TestRunner/create_mediator-i.yaml 0000644 00000000315 15217654527 0016720 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::CUI::TestRunner#create_mediator is_singleton: false name: create_mediator params: (suite) visibility: public ri/1.8/system/RUNIT/CUI/TestRunner/run-c.yaml 0000644 00000000265 15217654527 0014373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::CUI::TestRunner::run is_singleton: true name: run params: (suite) visibility: public ri/1.8/system/RUNIT/CUI/TestRunner/quiet_mode%3d-c.yaml 0000644 00000000307 15217654527 0016213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::CUI::TestRunner::quiet_mode= is_singleton: true name: quiet_mode= params: (boolean) visibility: public ri/1.8/system/RUNIT/TestSuite/run-i.yaml 0000644 00000000301 15217654527 0013570 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::TestSuite#run is_singleton: false name: run params: (result, &progress_block) visibility: public ri/1.8/system/RUNIT/TestSuite/count_test_cases-i.yaml 0000644 00000000304 15217654527 0016334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::TestSuite#count_test_cases is_singleton: false name: count_test_cases params: () visibility: public ri/1.8/system/RUNIT/TestSuite/add_test-i.yaml 0000644 00000000271 15217654527 0014561 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::TestSuite#add_test is_singleton: false name: add_test params: (*args) visibility: public ri/1.8/system/RUNIT/TestSuite/cdesc-TestSuite.yaml 0000644 00000000634 15217654527 0015557 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RUNIT::TestSuite includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: add_test - !ruby/object:RI::MethodSummary name: count_test_cases - !ruby/object:RI::MethodSummary name: run name: TestSuite superclass: Test::Unit::TestSuite ri/1.8/system/RUNIT/TestSuite/add-i.yaml 0000644 00000000257 15217654527 0013526 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::TestSuite#add is_singleton: false name: add params: (*args) visibility: public ri/1.8/system/RUNIT/TestResult/cdesc-TestResult.yaml 0000644 00000001311 15217654527 0016122 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: errors rw: R - !ruby/object:RI::Attribute comment: name: failures rw: R class_methods: [] comment: constants: [] full_name: RUNIT::TestResult includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_error - !ruby/object:RI::MethodSummary name: add_failure - !ruby/object:RI::MethodSummary name: error_size - !ruby/object:RI::MethodSummary name: failure_size - !ruby/object:RI::MethodSummary name: run_asserts - !ruby/object:RI::MethodSummary name: run_tests - !ruby/object:RI::MethodSummary name: succeed? name: TestResult superclass: Test::Unit::TestResult ri/1.8/system/RUNIT/TestResult/succeed%3f-i.yaml 0000644 00000000265 15217654527 0015073 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::TestResult#succeed? is_singleton: false name: succeed? params: () visibility: public ri/1.8/system/RUNIT/TestResult/run_asserts-i.yaml 0000644 00000000273 15217654527 0015531 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::TestResult#run_asserts is_singleton: false name: run_asserts params: () visibility: public ri/1.8/system/RUNIT/TestResult/add_error-i.yaml 0000644 00000000274 15217654527 0015123 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::TestResult#add_error is_singleton: false name: add_error params: (error) visibility: public ri/1.8/system/RUNIT/TestResult/failure_size-i.yaml 0000644 00000000275 15217654527 0015644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::TestResult#failure_size is_singleton: false name: failure_size params: () visibility: public ri/1.8/system/RUNIT/TestResult/run_tests-i.yaml 0000644 00000000267 15217654527 0015212 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::TestResult#run_tests is_singleton: false name: run_tests params: () visibility: public ri/1.8/system/RUNIT/TestResult/add_failure-i.yaml 0000644 00000000302 15217654527 0015411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::TestResult#add_failure is_singleton: false name: add_failure params: (failure) visibility: public ri/1.8/system/RUNIT/TestResult/error_size-i.yaml 0000644 00000000271 15217654527 0015342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::TestResult#error_size is_singleton: false name: error_size params: () visibility: public ri/1.8/system/RUNIT/TestCase/new-c.yaml 0000644 00000000316 15217654527 0013337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::TestCase::new is_singleton: true name: new params: (test_name, suite_name=self.class.name) visibility: public ri/1.8/system/RUNIT/TestCase/name-i.yaml 0000644 00000000253 15217654527 0013474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::TestCase#name is_singleton: false name: name params: () visibility: public ri/1.8/system/RUNIT/TestCase/suite-c.yaml 0000644 00000000255 15217654527 0013701 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::TestCase::suite is_singleton: true name: suite params: () visibility: public ri/1.8/system/RUNIT/TestCase/cdesc-TestCase.yaml 0000644 00000000765 15217654527 0015130 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: suite comment: constants: [] full_name: RUNIT::TestCase includes: - !ruby/object:RI::IncludedModule name: RUNIT::Assert instance_methods: - !ruby/object:RI::MethodSummary name: assert_equals - !ruby/object:RI::MethodSummary name: name - !ruby/object:RI::MethodSummary name: run name: TestCase superclass: Test::Unit::TestCase ri/1.8/system/RUNIT/TestCase/assert_equals-i.yaml 0000644 00000000302 15217654527 0015422 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::TestCase#assert_equals is_singleton: false name: assert_equals params: (*args) visibility: public ri/1.8/system/RUNIT/TestCase/run-i.yaml 0000644 00000000300 15217654527 0013351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::TestCase#run is_singleton: false name: run params: (result, &progress_block) visibility: public ri/1.8/system/RUNIT/cdesc-RUNIT.yaml 0000644 00000001167 15217654527 0012600 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "Author:" body: Nathaniel Talbott. - !ruby/struct:SM::Flow::LI label: "Copyright:" body: Copyright (c) 2000-2002 Nathaniel Talbott. All rights reserved. - !ruby/struct:SM::Flow::LI label: "License:" body: Ruby license. type: :NOTE constants: - !ruby/object:RI::Constant comment: name: AssertionFailedError value: Test::Unit::AssertionFailedError full_name: RUNIT includes: [] instance_methods: [] name: RUNIT superclass: ri/1.8/system/RUNIT/Assert/assert_not_match-i.yaml 0000644 00000000347 15217654527 0015643 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::Assert#assert_not_match is_singleton: false name: assert_not_match params: (actual_string, expected_re, message="") visibility: public ri/1.8/system/RUNIT/Assert/assert_no_exception-i.yaml 0000644 00000000324 15217654527 0016354 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::Assert#assert_no_exception is_singleton: false name: assert_no_exception params: (*args, &block) visibility: public ri/1.8/system/RUNIT/Assert/assert_matches-i.yaml 0000644 00000000302 15217654527 0015302 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::Assert#assert_matches is_singleton: false name: assert_matches params: (*args) visibility: public ri/1.8/system/RUNIT/Assert/assert_respond_to-i.yaml 0000644 00000000335 15217654527 0016040 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::Assert#assert_respond_to is_singleton: false name: assert_respond_to params: (method, object, message="") visibility: public ri/1.8/system/RUNIT/Assert/cdesc-Assert.yaml 0000644 00000001654 15217654527 0014402 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RUNIT::Assert includes: - !ruby/object:RI::IncludedModule name: Test::Unit::Assertions instance_methods: - !ruby/object:RI::MethodSummary name: assert_equal_float - !ruby/object:RI::MethodSummary name: assert_exception - !ruby/object:RI::MethodSummary name: assert_fail - !ruby/object:RI::MethodSummary name: assert_match - !ruby/object:RI::MethodSummary name: assert_matches - !ruby/object:RI::MethodSummary name: assert_no_exception - !ruby/object:RI::MethodSummary name: assert_not_match - !ruby/object:RI::MethodSummary name: assert_not_nil - !ruby/object:RI::MethodSummary name: assert_respond_to - !ruby/object:RI::MethodSummary name: assert_send - !ruby/object:RI::MethodSummary name: called_internally? - !ruby/object:RI::MethodSummary name: setup_assert name: Assert superclass: ri/1.8/system/RUNIT/Assert/assert_fail-i.yaml 0000644 00000000301 15217654527 0014570 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::Assert#assert_fail is_singleton: false name: assert_fail params: (message="") visibility: public ri/1.8/system/RUNIT/Assert/assert_match-i.yaml 0000644 00000000677 15217654527 0014771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: To deal with the fact that RubyUnit does not check that the regular expression is, indeed, a regular expression, if it is not, we do our own assertion using the same semantics as RubyUnit full_name: RUNIT::Assert#assert_match is_singleton: false name: assert_match params: (actual_string, expected_re, message="") visibility: public ri/1.8/system/RUNIT/Assert/assert_exception-i.yaml 0000644 00000000336 15217654527 0015663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::Assert#assert_exception is_singleton: false name: assert_exception params: (exception, message="", &block) visibility: public ri/1.8/system/RUNIT/Assert/setup_assert-i.yaml 0000644 00000000271 15217654527 0015023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::Assert#setup_assert is_singleton: false name: setup_assert params: () visibility: public ri/1.8/system/RUNIT/Assert/assert_send-i.yaml 0000644 00000000314 15217654527 0014612 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::Assert#assert_send is_singleton: false name: assert_send params: (object, method, *args) visibility: public ri/1.8/system/RUNIT/Assert/assert_not_nil-i.yaml 0000644 00000000317 15217654527 0015326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::Assert#assert_not_nil is_singleton: false name: assert_not_nil params: (actual, message="") visibility: public ri/1.8/system/RUNIT/Assert/assert_equal_float-i.yaml 0000644 00000000350 15217654527 0016155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::Assert#assert_equal_float is_singleton: false name: assert_equal_float params: (expected, actual, delta, message="") visibility: public ri/1.8/system/RUNIT/Assert/called_internally%3f-i.yaml 0000644 00000000305 15217654527 0016263 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RUNIT::Assert#called_internally? is_singleton: false name: called_internally? params: () visibility: public ri/1.8/system/RUNIT/ToPublic/cdesc-ToPublic.yaml 0000644 00000000276 15217654527 0015141 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: RUNIT::ToPublic includes: [] instance_methods: [] name: ToPublic superclass: ri/1.8/system/TCPSocket/new-c.yaml 0000644 00000000744 15217654527 0012527 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Opens a TCP connection to remote_host on remote_port. If local_host and local_port are specified, then those parameters are used on the local end to establish the connection. full_name: TCPSocket::new is_singleton: true name: new params: | TCPSocket.new(remote_host, remote_port, local_host=nil, local_port=nil) visibility: public ri/1.8/system/TCPSocket/gethostbyname-c.yaml 0000644 00000007505 15217654527 0014611 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Resolve host and return name and address information for it, similarly to gethostbyname(3). host can be a domain name or the presentation format of an address. - !ruby/struct:SM::Flow::P body: "Returns an array of information similar to that found in a +struct hostent+:" - !ruby/struct:SM::Flow::VERB body: " - cannonical name: the cannonical name for host in the DNS, or a\n string representing the address\n - aliases: an array of aliases for the canonical name, there may be no aliases\n - address family: usually one of Socket::AF_INET or Socket::AF_INET6\n - address: a string, the binary value of the +struct sockaddr+ for this name, in\n the indicated address family\n - ...: if there are multiple addresses for this host, a series of\n strings/+struct sockaddr+s may follow, not all necessarily in the same\n address family. Note that the fact that they may not be all in the same\n address family is a departure from the behaviour of gethostbyname(3).\n" - !ruby/struct:SM::Flow::P body: "Note: I believe that the fact that the multiple addresses returned are not necessarily in the same address family may be a bug, since if this function actually called gethostbyname(3), ALL the addresses returned in the trailing address list (h_addr_list from struct hostent) would be of the same address family! Examples from my system, OS X 10.3:" - !ruby/struct:SM::Flow::VERB body: " ["localhost", [], 30, "\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\001", "\\177\\000\\000\\001"]\n and\n ["ensemble.local", [], 30, "\\376\\200\\000\\004\\000\\000\\000\\000\\002\\003\\223\\377\\376\\255\\010\\214", "\\300\\250{\\232" ]\n" - !ruby/struct:SM::Flow::P body: "Similar information can be returned by Socket.getaddrinfo if called as:" - !ruby/struct:SM::Flow::VERB body: " Socket.getaddrinfo(host, 0, Socket::AF_UNSPEC, Socket::SOCK_STREAM, nil, Socket::AI_CANONNAME)\n" - !ruby/struct:SM::Flow::H level: 2 text: Examples - !ruby/struct:SM::Flow::VERB body: " Socket.gethostbyname "example.com"\n => ["example.com", [], 2, "\\300\\000\\"\\246"]\n" - !ruby/struct:SM::Flow::P body: This name has no DNS aliases, and a single IPv4 address. - !ruby/struct:SM::Flow::VERB body: " Socket.gethostbyname "smtp.telus.net"\n => ["smtp.svc.telus.net", ["smtp.telus.net"], 2, "\\307\\271\\334\\371"]\n" - !ruby/struct:SM::Flow::P body: This name is an an alias so the canonical name is returned, as well as the alias and a single IPv4 address. - !ruby/struct:SM::Flow::VERB body: " Socket.gethostbyname "localhost"\n => ["localhost", [], 30, "\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\000\\001", "\\177\\000\\000\\001"]\n" - !ruby/struct:SM::Flow::P body: This machine has no aliases, returns an IPv6 address, and has an additional IPv4 address. - !ruby/struct:SM::Flow::P body: "host can also be an IP address in presentation format, in which case a reverse lookup is done on the address:" - !ruby/struct:SM::Flow::VERB body: " Socket.gethostbyname("127.0.0.1")\n => ["localhost", [], 2, "\\177\\000\\000\\001"]\n\n Socket.gethostbyname("192.0.34.166")\n => ["www.example.com", [], 2, "\\300\\000\\"\\246"]\n" - !ruby/struct:SM::Flow::H level: 2 text: See - !ruby/struct:SM::Flow::P body: "See: Socket.getaddrinfo" full_name: TCPSocket::gethostbyname is_singleton: true name: gethostbyname params: " Socket.gethostbyname(host) => hostent\n" visibility: public ri/1.8/system/TCPSocket/cdesc-TCPSocket.yaml 0000644 00000003370 15217654527 0014372 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: gethostbyname - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Class Socket provides access to the underlying operating system socket implementations. It can be used to provide more operating system specific functionality than the protocol-specific socket classes but at the expense of greater complexity. In particular, the class handles addresses using +struct sockaddr+ structures packed into Ruby strings, which can be a joy to manipulate. - !ruby/struct:SM::Flow::H level: 3 text: Exception Handling - !ruby/struct:SM::Flow::P body: Ruby's implementation of Socket causes an exception to be raised based on the error generated by the system dependent implementation. This is why the methods are documented in a way that isolate Unix-based system exceptions from Windows based exceptions. If more information on particular exception is needed please refer to the Unix manual pages or the Windows WinSock reference. - !ruby/struct:SM::Flow::H level: 3 text: Documentation by - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Zach Dennis - !ruby/struct:SM::Flow::LI label: "*" body: Sam Roberts - !ruby/struct:SM::Flow::LI label: "*" body: Programming Ruby from The Pragmatic Bookshelf. type: :BULLET - !ruby/struct:SM::Flow::P body: Much material in this documentation is taken with permission from Programming Ruby from The Pragmatic Bookshelf. constants: [] full_name: TCPSocket includes: [] instance_methods: [] name: TCPSocket superclass: Object ri/1.8/system/ArgumentError/cdesc-ArgumentError.yaml 0000644 00000001204 15217654527 0016356 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: ArgumentError includes: [] instance_methods: [] name: ArgumentError superclass: StandardError ri/1.8/system/CGI/new-c.yaml 0000644 00000002460 15217654527 0011327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new CGI instance. - !ruby/struct:SM::Flow::P body: "type specifies which version of HTML to load the HTML generation methods for. The following versions of HTML are supported:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "html3:" body: HTML 3.x - !ruby/struct:SM::Flow::LI label: "html4:" body: HTML 4.0 - !ruby/struct:SM::Flow::LI label: "html4Tr:" body: HTML 4.0 Transitional - !ruby/struct:SM::Flow::LI label: "html4Fr:" body: HTML 4.0 with Framesets type: :NOTE - !ruby/struct:SM::Flow::P body: If not specified, no HTML generation methods will be loaded. - !ruby/struct:SM::Flow::P body: If the CGI object is not created in a standard CGI call environment (that is, it can't locate REQUEST_METHOD in its environment), then it will run in "offline" mode. In this mode, it reads its parameters from the command line or (failing that) from standard input. Otherwise, cookies and other parameters are parsed automatically from the standard CGI locations, which varies according to the REQUEST_METHOD. full_name: CGI::new is_singleton: true name: new params: (type = "query") visibility: public ri/1.8/system/CGI/escapeElement-c.yaml 0000644 00000002116 15217654527 0013306 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Escape only the tags of certain HTML elements in string. - !ruby/struct:SM::Flow::P body: Takes an element or elements or array of elements. Each element is specified by the name of the element, without angle brackets. This matches both the start and the end tag of that element. The attribute list of the open tag will also be escaped (for instance, the double-quotes surrounding attribute values). - !ruby/struct:SM::Flow::VERB body: " print CGI::escapeElement('<BR><A HREF="url"></A>', "A", "IMG")\n # "<BR><A HREF="url"></A>"\n\n print CGI::escapeElement('<BR><A HREF="url"></A>', ["A", "IMG"])\n # "<BR><A HREF="url"></A>"\n" full_name: CGI::escapeElement is_singleton: true name: escapeElement params: (string, *elements) visibility: public ri/1.8/system/CGI/unescape-c.yaml 0000644 00000000343 15217654527 0012337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: unescape url encoded full_name: CGI::unescape is_singleton: true name: unescape params: (str) visibility: public ri/1.8/system/CGI/Html4Fr/cdesc-Html4Fr.yaml 0000644 00000000431 15217654527 0014131 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Mixin module for generating HTML version 4 with framesets. constants: [] full_name: CGI::Html4Fr includes: [] instance_methods: [] name: Html4Fr superclass: ri/1.8/system/CGI/print-c.yaml 0000644 00000000406 15217654527 0011670 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: .to_s comment: - !ruby/struct:SM::Flow::P body: print HTTP header and string to $> full_name: CGI::print is_singleton: true name: print params: (*options) {|.to_s| ...} visibility: public ri/1.8/system/CGI/out-i.yaml 0000644 00000004066 15217654527 0011357 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Print an HTTP header and body to $DEFAULT_OUTPUT ($>) - !ruby/struct:SM::Flow::P body: "The header is provided by options, as for #header(). The body of the document is that returned by the passed- in block. This block takes no arguments. It is required." - !ruby/struct:SM::Flow::VERB body: " cgi = CGI.new\n cgi.out{ "string" }\n # Content-Type: text/html\n # Content-Length: 6\n #\n # string\n\n cgi.out("text/plain") { "string" }\n # Content-Type: text/plain\n # Content-Length: 6\n #\n # string\n\n cgi.out("nph" => true,\n "status" => "OK", # == "200 OK"\n "server" => ENV['SERVER_SOFTWARE'],\n "connection" => "close",\n "type" => "text/html",\n "charset" => "iso-2022-jp",\n # Content-Type: text/html; charset=iso-2022-jp\n "language" => "ja",\n "expires" => Time.now + (3600 * 24 * 30),\n "cookie" => [cookie1, cookie2],\n "my_header1" => "my_value",\n "my_header2" => "my_value") { "string" }\n" - !ruby/struct:SM::Flow::P body: Content-Length is automatically calculated from the size of the String returned by the content block. - !ruby/struct:SM::Flow::P body: If ENV['REQUEST_METHOD'] == "HEAD", then only the header is outputted (the content block is still required, but it is ignored). - !ruby/struct:SM::Flow::P body: If the charset is "iso-2022-jp" or "euc-jp" or "shift_jis" then the content is converted to this charset, and the language is set to "ja". full_name: CGI#out is_singleton: false name: out params: (options = "text/html") {|| ...} visibility: public ri/1.8/system/CGI/read_from_cmdline-i.yaml 0000644 00000000424 15217654527 0014173 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: offline mode. read name=value pairs on standard input. full_name: CGI#read_from_cmdline is_singleton: false name: read_from_cmdline params: () visibility: public ri/1.8/system/CGI/cdesc-CGI.yaml 0000644 00000031074 15217654527 0012002 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: cookie rw: R - !ruby/object:RI::Attribute comment: name: inputs rw: R class_methods: - !ruby/object:RI::MethodSummary name: cookie - !ruby/object:RI::MethodSummary name: error - !ruby/object:RI::MethodSummary name: escape - !ruby/object:RI::MethodSummary name: escape - !ruby/object:RI::MethodSummary name: escapeElement - !ruby/object:RI::MethodSummary name: escapeHTML - !ruby/object:RI::MethodSummary name: escapeHTML - !ruby/object:RI::MethodSummary name: header - !ruby/object:RI::MethodSummary name: message - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: pretty - !ruby/object:RI::MethodSummary name: print - !ruby/object:RI::MethodSummary name: rfc1123_date - !ruby/object:RI::MethodSummary name: rfc1123_date - !ruby/object:RI::MethodSummary name: tag - !ruby/object:RI::MethodSummary name: unescape - !ruby/object:RI::MethodSummary name: unescape - !ruby/object:RI::MethodSummary name: unescapeElement - !ruby/object:RI::MethodSummary name: unescapeHTML comment: - !ruby/struct:SM::Flow::P body: CGI class. See documentation for the file cgi.rb for an overview of the CGI protocol. - !ruby/struct:SM::Flow::H level: 2 text: Introduction - !ruby/struct:SM::Flow::P body: CGI is a large class, providing several categories of methods, many of which are mixed in from other modules. Some of the documentation is in this class, some in the modules CGI::QueryExtension and CGI::HtmlExtension. See CGI::Cookie for specific information on handling cookies, and cgi/session.rb (CGI::Session) for information on sessions. - !ruby/struct:SM::Flow::P body: For queries, CGI provides methods to get at environmental variables, parameters, cookies, and multipart request data. For responses, CGI provides methods for writing output and generating HTML. - !ruby/struct:SM::Flow::P body: Read on for more details. Examples are provided at the bottom. - !ruby/struct:SM::Flow::H level: 2 text: Queries - !ruby/struct:SM::Flow::P body: The CGI class dynamically mixes in parameter and cookie-parsing functionality, environmental variable access, and support for parsing multipart requests (including uploaded files) from the CGI::QueryExtension module. - !ruby/struct:SM::Flow::H level: 3 text: Environmental Variables - !ruby/struct:SM::Flow::P body: "The standard CGI environmental variables are available as read-only attributes of a CGI object. The following is a list of these variables:" - !ruby/struct:SM::Flow::VERB body: " AUTH_TYPE HTTP_HOST REMOTE_IDENT\n CONTENT_LENGTH HTTP_NEGOTIATE REMOTE_USER\n CONTENT_TYPE HTTP_PRAGMA REQUEST_METHOD\n GATEWAY_INTERFACE HTTP_REFERER SCRIPT_NAME\n HTTP_ACCEPT HTTP_USER_AGENT SERVER_NAME\n HTTP_ACCEPT_CHARSET PATH_INFO SERVER_PORT\n HTTP_ACCEPT_ENCODING PATH_TRANSLATED SERVER_PROTOCOL\n HTTP_ACCEPT_LANGUAGE QUERY_STRING SERVER_SOFTWARE\n HTTP_CACHE_CONTROL REMOTE_ADDR\n HTTP_FROM REMOTE_HOST\n" - !ruby/struct:SM::Flow::P body: For each of these variables, there is a corresponding attribute with the same name, except all lower case and without a preceding HTTP_. content_length and server_port are integers; the rest are strings. - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/struct:SM::Flow::P body: "The method #params() returns a hash of all parameters in the request as name/value-list pairs, where the value-list is an Array of one or more values. The CGI object itself also behaves as a hash of parameter names to values, but only returns a single value (as a String) for each parameter name." - !ruby/struct:SM::Flow::P body: "For instance, suppose the request contains the parameter "favourite_colours" with the multiple values "blue" and "green". The following behaviour would occur:" - !ruby/struct:SM::Flow::VERB body: " cgi.params["favourite_colours"] # => ["blue", "green"]\n cgi["favourite_colours"] # => "blue"\n" - !ruby/struct:SM::Flow::P body: "If a parameter does not exist, the former method will return an empty array, the latter an empty string. The simplest way to test for existence of a parameter is by the #has_key? method." - !ruby/struct:SM::Flow::H level: 3 text: Cookies - !ruby/struct:SM::Flow::P body: "HTTP Cookies are automatically parsed from the request. They are available from the #cookies() accessor, which returns a hash from cookie name to CGI::Cookie object." - !ruby/struct:SM::Flow::H level: 3 text: Multipart requests - !ruby/struct:SM::Flow::P body: "If a request's method is POST and its content type is multipart/form-data, then it may contain uploaded files. These are stored by the QueryExtension module in the parameters of the request. The parameter name is the name attribute of the file input field, as usual. However, the value is not a string, but an IO object, either an IOString for small files, or a Tempfile for larger ones. This object also has the additional singleton methods:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "#local_path():" body: the path of the uploaded file on the local filesystem - !ruby/struct:SM::Flow::LI label: "#original_filename():" body: the name of the file on the client computer - !ruby/struct:SM::Flow::LI label: "#content_type():" body: the content type of the file type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Responses - !ruby/struct:SM::Flow::P body: The CGI class provides methods for sending header and content output to the HTTP client, and mixes in methods for programmatic HTML generation from CGI::HtmlExtension and CGI::TagMaker modules. The precise version of HTML to use for HTML generation is specified at object creation time. - !ruby/struct:SM::Flow::H level: 3 text: Writing output - !ruby/struct:SM::Flow::P body: "The simplest way to send output to the HTTP client is using the #out() method. This takes the HTTP headers as a hash parameter, and the body content via a block. The headers can be generated as a string using the #header() method. The output stream can be written directly to using the #print() method." - !ruby/struct:SM::Flow::H level: 3 text: Generating HTML - !ruby/struct:SM::Flow::P body: Each HTML element has a corresponding method for generating that element as a String. The name of this method is the same as that of the element, all lowercase. The attributes of the element are passed in as a hash, and the body as a no-argument block that evaluates to a String. The HTML generation module knows which elements are always empty, and silently drops any passed-in body. It also knows which elements require matching closing tags and which don't. However, it does not know what attributes are legal for which elements. - !ruby/struct:SM::Flow::P body: There are also some additional HTML generation methods mixed in from the CGI::HtmlExtension module. These include individual methods for the different types of form inputs, and methods for elements that commonly take particular attributes where the attributes can be directly specified as arguments, rather than via a hash. - !ruby/struct:SM::Flow::H level: 2 text: Examples of use - !ruby/struct:SM::Flow::H level: 3 text: Get form values - !ruby/struct:SM::Flow::VERB body: " require "cgi"\n cgi = CGI.new\n value = cgi['field_name'] # <== value string for 'field_name'\n # if not 'field_name' included, then return "".\n fields = cgi.keys # <== array of field names\n\n # returns true if form has 'field_name'\n cgi.has_key?('field_name')\n cgi.has_key?('field_name')\n cgi.include?('field_name')\n" - !ruby/struct:SM::Flow::P body: CAUTION! cgi['field_name'] returned an Array with the old cgi.rb(included in ruby 1.6) - !ruby/struct:SM::Flow::H level: 3 text: Get form values as hash - !ruby/struct:SM::Flow::VERB body: " require "cgi"\n cgi = CGI.new\n params = cgi.params\n" - !ruby/struct:SM::Flow::P body: cgi.params is a hash. - !ruby/struct:SM::Flow::VERB body: " cgi.params['new_field_name'] = ["value"] # add new param\n cgi.params['field_name'] = ["new_value"] # change value\n cgi.params.delete('field_name') # delete param\n cgi.params.clear # delete all params\n" - !ruby/struct:SM::Flow::H level: 3 text: Save form values to file - !ruby/struct:SM::Flow::VERB body: " require "pstore"\n db = PStore.new("query.db")\n db.transaction do\n db["params"] = cgi.params\n end\n" - !ruby/struct:SM::Flow::H level: 3 text: Restore form values from file - !ruby/struct:SM::Flow::VERB body: " require "pstore"\n db = PStore.new("query.db")\n db.transaction do\n cgi.params = db["params"]\n end\n" - !ruby/struct:SM::Flow::H level: 3 text: Get multipart form values - !ruby/struct:SM::Flow::VERB body: " require "cgi"\n cgi = CGI.new\n value = cgi['field_name'] # <== value string for 'field_name'\n value.read # <== body of value\n value.local_path # <== path to local file of value\n value.original_filename # <== original filename of value\n value.content_type # <== content_type of value\n" - !ruby/struct:SM::Flow::P body: and value has StringIO or Tempfile class methods. - !ruby/struct:SM::Flow::H level: 3 text: Get cookie values - !ruby/struct:SM::Flow::VERB body: " require "cgi"\n cgi = CGI.new\n values = cgi.cookies['name'] # <== array of 'name'\n # if not 'name' included, then return [].\n names = cgi.cookies.keys # <== array of cookie names\n" - !ruby/struct:SM::Flow::P body: and cgi.cookies is a hash. - !ruby/struct:SM::Flow::H level: 3 text: Get cookie objects - !ruby/struct:SM::Flow::VERB body: " require "cgi"\n cgi = CGI.new\n for name, cookie in cgi.cookies\n cookie.expires = Time.now + 30\n end\n cgi.out("cookie" => cgi.cookies) {"string"}\n\n cgi.cookies # { "name1" => cookie1, "name2" => cookie2, ... }\n\n require "cgi"\n cgi = CGI.new\n cgi.cookies['name'].expires = Time.now + 30\n cgi.out("cookie" => cgi.cookies['name']) {"string"}\n" - !ruby/struct:SM::Flow::H level: 3 text: Print http header and html string to $DEFAULT_OUTPUT ($>) - !ruby/struct:SM::Flow::VERB body: " require "cgi"\n cgi = CGI.new("html3") # add HTML generation methods\n cgi.out() do\n cgi.html() do\n cgi.head{ cgi.title{"TITLE"} } +\n cgi.body() do\n cgi.form() do\n cgi.textarea("get_text") +\n cgi.br +\n cgi.submit\n end +\n cgi.pre() do\n CGI::escapeHTML(\n "params: " + cgi.params.inspect + "\\n" +\n "cookies: " + cgi.cookies.inspect + "\\n" +\n ENV.collect() do |key, value|\n key + " --> " + value + "\\n"\n end.join("")\n )\n end\n end\n end\n end\n\n # add HTML generation methods\n CGI.new("html3") # html3.2\n CGI.new("html4") # html4.01 (Strict)\n CGI.new("html4Tr") # html4.01 Transitional\n CGI.new("html4Fr") # html4.01 Frameset\n" constants: - !ruby/object:RI::Constant comment: name: CR value: "\"\\015\"" - !ruby/object:RI::Constant comment: name: LF value: "\"\\012\"" - !ruby/object:RI::Constant comment: name: EOL value: CR + LF - !ruby/object:RI::Constant comment: name: RFC822_DAYS value: "%w[ Sun Mon Tue Wed Thu Fri Sat ]" - !ruby/object:RI::Constant comment: name: RFC822_MONTHS value: "%w[ Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec ]" full_name: CGI includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: env_table - !ruby/object:RI::MethodSummary name: header - !ruby/object:RI::MethodSummary name: out - !ruby/object:RI::MethodSummary name: print - !ruby/object:RI::MethodSummary name: read_from_cmdline - !ruby/object:RI::MethodSummary name: stdinput - !ruby/object:RI::MethodSummary name: stdoutput name: CGI superclass: Object ri/1.8/system/CGI/rfc1123_date-c.yaml 0000644 00000000360 15217654527 0012611 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: make rfc1123 date string full_name: CGI::rfc1123_date is_singleton: true name: rfc1123_date params: (time) visibility: public ri/1.8/system/CGI/escape-c.yaml 0000644 00000000334 15217654527 0011774 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: escape url encode full_name: CGI::escape is_singleton: true name: escape params: (str) visibility: public ri/1.8/system/CGI/unescapeHTML-c.yaml 0000644 00000000716 15217654527 0013030 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Unescape a string that has been HTML-escaped - !ruby/struct:SM::Flow::VERB body: " CGI::unescapeHTML("Usage: foo "bar" <baz>")\n # => "Usage: foo \\"bar\\" <baz>"\n" full_name: CGI::unescapeHTML is_singleton: true name: unescapeHTML params: (string) visibility: public ri/1.8/system/CGI/cookie-c.yaml 0000644 00000000345 15217654527 0012007 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: make raw cookie string full_name: CGI::cookie is_singleton: true name: cookie params: (options) visibility: public ri/1.8/system/CGI/QueryExtension/Value/cdesc-Value.yaml 0000644 00000000306 15217654527 0016524 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: CGI::QueryExtension::Value includes: [] instance_methods: [] name: Value superclass: ri/1.8/system/CGI/QueryExtension/key%3f-i.yaml 0000644 00000000356 15217654527 0014636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #has_key?" full_name: CGI::QueryExtension#key? is_singleton: false name: key? params: (*args) visibility: public ri/1.8/system/CGI/QueryExtension/read_from_cmdline-i.yaml 0000644 00000000445 15217654527 0017200 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: offline mode. read name=value pairs on standard input. full_name: CGI::QueryExtension#read_from_cmdline is_singleton: false name: read_from_cmdline params: () visibility: private ri/1.8/system/CGI/QueryExtension/multipart%3f-i.yaml 0000644 00000000273 15217654527 0016065 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CGI::QueryExtension#multipart? is_singleton: false name: multipart? params: () visibility: public ri/1.8/system/CGI/QueryExtension/raw_cookie2-i.yaml 0000644 00000000412 15217654527 0015745 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the raw RFC2965 cookies as a string. full_name: CGI::QueryExtension#raw_cookie2 is_singleton: false name: raw_cookie2 params: () visibility: public ri/1.8/system/CGI/QueryExtension/%5b%5d-i.yaml 0000644 00000000636 15217654527 0014422 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the value for the parameter with a given key. - !ruby/struct:SM::Flow::P body: "If the parameter has multiple values, only the first will be retrieved; use #params() to get the array of values." full_name: CGI::QueryExtension#[] is_singleton: false name: "[]" params: (key) visibility: public ri/1.8/system/CGI/QueryExtension/raw_cookie-i.yaml 0000644 00000000400 15217654527 0015660 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the raw cookies as a string. full_name: CGI::QueryExtension#raw_cookie is_singleton: false name: raw_cookie params: () visibility: public ri/1.8/system/CGI/QueryExtension/params%3d-i.yaml 0000644 00000000365 15217654527 0015327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set all the parameters. full_name: CGI::QueryExtension#params= is_singleton: false name: params= params: (hash) visibility: public ri/1.8/system/CGI/QueryExtension/initialize_query-i.yaml 0000644 00000000706 15217654527 0017135 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Initialize the data from the query. - !ruby/struct:SM::Flow::P body: Handles multipart forms (in particular, forms that involve file uploads). Reads query parameters in the @params field, and cookies into @cookies. full_name: CGI::QueryExtension#initialize_query is_singleton: false name: initialize_query params: () visibility: private ri/1.8/system/CGI/QueryExtension/keys-i.yaml 0000644 00000000377 15217654527 0014526 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return all parameter keys as an array. full_name: CGI::QueryExtension#keys is_singleton: false name: keys params: (*args) visibility: public ri/1.8/system/CGI/QueryExtension/cdesc-QueryExtension.yaml 0000644 00000004113 15217654527 0017376 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Get the cookies as a hash of cookie-name=>Cookie pairs. name: cookies rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Get the parameters as a hash of name=>values pairs, where values is an Array. name: params rw: R class_methods: [] comment: - !ruby/struct:SM::Flow::P body: "Mixin module. It provides the follow functionality groups:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "1." body: Access to CGI environment variables as methods. See documentation to the CGI class for a list of these variables. - !ruby/struct:SM::Flow::LI label: "2." body: Access to cookies, including the cookies attribute. - !ruby/struct:SM::Flow::LI label: "3." body: Access to parameters, including the params attribute, and overloading - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "" body: to perform parameter value lookup by key. type: :LABELED - !ruby/struct:SM::Flow::LI label: "4." body: The initialize_query method, for initialising the above mechanisms, handling multipart forms, and allowing the class to be used in "offline" mode. type: :NUMBER constants: [] full_name: CGI::QueryExtension includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: has_key? - !ruby/object:RI::MethodSummary name: include? - !ruby/object:RI::MethodSummary name: initialize_query - !ruby/object:RI::MethodSummary name: key? - !ruby/object:RI::MethodSummary name: keys - !ruby/object:RI::MethodSummary name: multipart? - !ruby/object:RI::MethodSummary name: params= - !ruby/object:RI::MethodSummary name: raw_cookie - !ruby/object:RI::MethodSummary name: raw_cookie2 - !ruby/object:RI::MethodSummary name: read_from_cmdline - !ruby/object:RI::MethodSummary name: read_multipart name: QueryExtension superclass: ri/1.8/system/CGI/QueryExtension/include%3f-i.yaml 0000644 00000000366 15217654527 0015472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #has_key?" full_name: CGI::QueryExtension#include? is_singleton: false name: include? params: (*args) visibility: public ri/1.8/system/CGI/QueryExtension/has_key%3f-i.yaml 0000644 00000000562 15217654527 0015470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: key? - !ruby/object:RI::AliasName name: include? block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if a given parameter key exists in the query. full_name: CGI::QueryExtension#has_key? is_singleton: false name: has_key? params: (*args) visibility: public ri/1.8/system/CGI/QueryExtension/read_multipart-i.yaml 0000644 00000000334 15217654527 0016560 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CGI::QueryExtension#read_multipart is_singleton: false name: read_multipart params: (boundary, content_length) visibility: private ri/1.8/system/CGI/error-c.yaml 0000644 00000000353 15217654527 0011666 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: print error message to $> and exit full_name: CGI::error is_singleton: true name: error params: () visibility: public ri/1.8/system/CGI/env_table-i.yaml 0000644 00000000252 15217654527 0012500 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CGI#env_table is_singleton: false name: env_table params: () visibility: private ri/1.8/system/CGI/header-c.yaml 0000644 00000000347 15217654527 0011770 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: make HTTP header string full_name: CGI::header is_singleton: true name: header params: (*options) visibility: public ri/1.8/system/CGI/stdoutput-i.yaml 0000644 00000000252 15217654527 0012614 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CGI#stdoutput is_singleton: false name: stdoutput params: () visibility: private ri/1.8/system/CGI/tag-c.yaml 0000644 00000000543 15217654527 0011311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: ".to_s + \"\" + escapeHTML(element) + \">\" : \"\")" comment: - !ruby/struct:SM::Flow::P body: make HTML tag string full_name: CGI::tag is_singleton: true name: tag params: "(element, attributes = {}) {|.to_s + \"\" + escapeHTML(element) + \">\" : \"\")| ...}" visibility: public ri/1.8/system/CGI/parse-c.yaml 0000644 00000001010 15217654527 0011636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parse an HTTP query string into a hash of key=>value pairs. - !ruby/struct:SM::Flow::VERB body: " params = CGI::parse("query_string")\n # {"name1" => ["value1", "value2", ...],\n # "name2" => ["value1", "value2", ...], ... }\n" full_name: CGI::parse is_singleton: true name: parse params: (query) visibility: public ri/1.8/system/CGI/HtmlExtension/a-i.yaml 0000644 00000001755 15217654527 0013573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Generate an Anchor element as a string. - !ruby/struct:SM::Flow::P body: href can either be a string, giving the URL for the HREF attribute, or it can be a hash of the element's attributes. - !ruby/struct:SM::Flow::P body: The body of the element is the string returned by the no-argument block passed in. - !ruby/struct:SM::Flow::VERB body: " a("http://www.example.com") { "Example" }\n # => "<A HREF=\\"http://www.example.com\\">Example</A>"\n\n a("HREF" => "http://www.example.com", "TARGET" => "_top") { "Example" }\n # => "<A HREF=\\"http://www.example.com\\" TARGET=\\"_top\\">Example</A>"\n" full_name: CGI::HtmlExtension#a is_singleton: false name: a params: (href = "") {|| ...} visibility: public ri/1.8/system/CGI/HtmlExtension/checkbox-i.yaml 0000644 00000002150 15217654527 0015127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate a Checkbox Input element as a string. - !ruby/struct:SM::Flow::P body: The attributes of the element can be specified as three arguments, name, value, and checked. checked is a boolean value; if true, the CHECKED attribute will be included in the element. - !ruby/struct:SM::Flow::P body: Alternatively, the attributes can be specified as a hash. - !ruby/struct:SM::Flow::VERB body: " checkbox("name")\n # = checkbox("NAME" => "name")\n\n checkbox("name", "value")\n # = checkbox("NAME" => "name", "VALUE" => "value")\n\n checkbox("name", "value", true)\n # = checkbox("NAME" => "name", "VALUE" => "value", "CHECKED" => true)\n" full_name: CGI::HtmlExtension#checkbox is_singleton: false name: checkbox params: (name = "", value = nil, checked = nil) visibility: public ri/1.8/system/CGI/HtmlExtension/image_button-i.yaml 0000644 00000002102 15217654527 0016013 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate an Image Button Input element as a string. - !ruby/struct:SM::Flow::P body: src is the URL of the image to use for the button. name is the input name. alt is the alternative text for the image. - !ruby/struct:SM::Flow::P body: Alternatively, the attributes can be specified as a hash. - !ruby/struct:SM::Flow::VERB body: " image_button("url")\n # <INPUT TYPE="image" SRC="url">\n\n image_button("url", "name", "string")\n # <INPUT TYPE="image" SRC="url" NAME="name" ALT="string">\n\n image_button("SRC" => "url", "ATL" => "strng")\n # <INPUT TYPE="image" SRC="url" ALT="string">\n" full_name: CGI::HtmlExtension#image_button is_singleton: false name: image_button params: (src = "", name = nil, alt = nil) visibility: public ri/1.8/system/CGI/HtmlExtension/popup_menu-i.yaml 0000644 00000005441 15217654527 0015536 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: scrolling_list block_params: comment: - !ruby/struct:SM::Flow::P body: Generate a Select element as a string. - !ruby/struct:SM::Flow::P body: name is the name of the element. The values are the options that can be selected from the Select menu. Each value can be a String or a one, two, or three-element Array. If a String or a one-element Array, this is both the value of that option and the text displayed for it. If a three-element Array, the elements are the option value, displayed text, and a boolean value specifying whether this option starts as selected. The two-element version omits either the option value (defaults to the same as the display text) or the boolean selected specifier (defaults to false). - !ruby/struct:SM::Flow::P body: The attributes and options can also be specified as a hash. In this case, options are specified as an array of values as described above, with the hash key of "VALUES". - !ruby/struct:SM::Flow::VERB body: " popup_menu("name", "foo", "bar", "baz")\n # <SELECT NAME="name">\n # <OPTION VALUE="foo">foo</OPTION>\n # <OPTION VALUE="bar">bar</OPTION>\n # <OPTION VALUE="baz">baz</OPTION>\n # </SELECT>\n\n popup_menu("name", ["foo"], ["bar", true], "baz")\n # <SELECT NAME="name">\n # <OPTION VALUE="foo">foo</OPTION>\n # <OPTION VALUE="bar" SELECTED>bar</OPTION>\n # <OPTION VALUE="baz">baz</OPTION>\n # </SELECT>\n\n popup_menu("name", ["1", "Foo"], ["2", "Bar", true], "Baz")\n # <SELECT NAME="name">\n # <OPTION VALUE="1">Foo</OPTION>\n # <OPTION SELECTED VALUE="2">Bar</OPTION>\n # <OPTION VALUE="Baz">Baz</OPTION>\n # </SELECT>\n\n popup_menu("NAME" => "name", "SIZE" => 2, "MULTIPLE" => true,\n "VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"])\n # <SELECT NAME="name" MULTIPLE SIZE="2">\n # <OPTION VALUE="1">Foo</OPTION>\n # <OPTION SELECTED VALUE="2">Bar</OPTION>\n # <OPTION VALUE="Baz">Baz</OPTION>\n # </SELECT>\n" full_name: CGI::HtmlExtension#popup_menu is_singleton: false name: popup_menu params: (name = "", *values) visibility: public ri/1.8/system/CGI/HtmlExtension/html-i.yaml 0000644 00000004425 15217654527 0014314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Generate a top-level HTML element as a string. - !ruby/struct:SM::Flow::P body: The attributes of the element are specified as a hash. The pseudo-attribute "PRETTY" can be used to specify that the generated HTML string should be indented. "PRETTY" can also be specified as a string as the sole argument to this method. The pseudo-attribute "DOCTYPE", if given, is used as the leading DOCTYPE SGML tag; it should include the entire text of this tag, including angle brackets. - !ruby/struct:SM::Flow::P body: The body of the html element is supplied as a block. - !ruby/struct:SM::Flow::VERB body: " html{ "string" }\n # <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><HTML>string</HTML>\n\n html("LANG" => "ja") { "string" }\n # <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><HTML LANG="ja">string</HTML>\n\n html("DOCTYPE" => false) { "string" }\n # <HTML>string</HTML>\n\n html("DOCTYPE" => '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">') { "string" }\n # <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><HTML>string</HTML>\n\n html("PRETTY" => " ") { "<BODY></BODY>" }\n # <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n # <HTML>\n # <BODY>\n # </BODY>\n # </HTML>\n\n html("PRETTY" => "\\t") { "<BODY></BODY>" }\n # <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n # <HTML>\n # <BODY>\n # </BODY>\n # </HTML>\n\n html("PRETTY") { "<BODY></BODY>" }\n # = html("PRETTY" => " ") { "<BODY></BODY>" }\n\n html(if $VERBOSE then "PRETTY" end) { "HTML string" }\n" full_name: CGI::HtmlExtension#html is_singleton: false name: html params: (attributes = {}) {|| ...} visibility: public ri/1.8/system/CGI/HtmlExtension/file_field-i.yaml 0000644 00000002532 15217654527 0015427 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate an File Upload Input element as a string. - !ruby/struct:SM::Flow::P body: The attributes of the element can be specified as three arguments, name, size, and maxlength. maxlength is the maximum length of the file's name, not of the file's contents. - !ruby/struct:SM::Flow::P body: Alternatively, the attributes can be specified as a hash. - !ruby/struct:SM::Flow::P body: "See #multipart_form() for forms that include file uploads." - !ruby/struct:SM::Flow::VERB body: " file_field("name")\n # <INPUT TYPE="file" NAME="name" SIZE="20">\n\n file_field("name", 40)\n # <INPUT TYPE="file" NAME="name" SIZE="40">\n\n file_field("name", 40, 100)\n # <INPUT TYPE="file" NAME="name" SIZE="40" MAXLENGTH="100">\n\n file_field("NAME" => "name", "SIZE" => 40)\n # <INPUT TYPE="file" NAME="name" SIZE="40">\n" full_name: CGI::HtmlExtension#file_field is_singleton: false name: file_field params: (name = "", size = 20, maxlength = nil) visibility: public ri/1.8/system/CGI/HtmlExtension/blockquote-i.yaml 0000644 00000001541 15217654527 0015514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Generate a BlockQuote element as a string. - !ruby/struct:SM::Flow::P body: cite can either be a string, give the URI for the source of the quoted text, or a hash, giving all attributes of the element, or it can be omitted, in which case the element has no attributes. - !ruby/struct:SM::Flow::P body: The body is provided by the passed-in no-argument block - !ruby/struct:SM::Flow::VERB body: " blockquote("http://www.example.com/quotes/foo.html") { "Foo!" }\n #=> "<BLOCKQUOTE CITE=\\"http://www.example.com/quotes/foo.html\\">Foo!</BLOCKQUOTE>\n" full_name: CGI::HtmlExtension#blockquote is_singleton: false name: blockquote params: (cite = nil) {|| ...} visibility: public ri/1.8/system/CGI/HtmlExtension/scrolling_list-i.yaml 0000644 00000000420 15217654527 0016366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #popup_menu" full_name: CGI::HtmlExtension#scrolling_list is_singleton: false name: scrolling_list params: (name = "", *values) visibility: public ri/1.8/system/CGI/HtmlExtension/text_field-i.yaml 0000644 00000002751 15217654527 0015477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate a text field Input element, as a String. - !ruby/struct:SM::Flow::P body: name is the name of the input field. value is its initial value. size is the size of the input area. maxlength is the maximum length of input accepted. - !ruby/struct:SM::Flow::P body: Alternatively, the attributes can be specified as a hash. - !ruby/struct:SM::Flow::VERB body: " text_field("name")\n # <INPUT TYPE="text" NAME="name" SIZE="40">\n\n text_field("name", "value")\n # <INPUT TYPE="text" NAME="name" VALUE="value" SIZE="40">\n\n text_field("name", "value", 80)\n # <INPUT TYPE="text" NAME="name" VALUE="value" SIZE="80">\n\n text_field("name", "value", 80, 200)\n # <INPUT TYPE="text" NAME="name" VALUE="value" SIZE="80" MAXLENGTH="200">\n\n text_field("NAME" => "name", "VALUE" => "value")\n # <INPUT TYPE="text" NAME="name" VALUE="value">\n" full_name: CGI::HtmlExtension#text_field is_singleton: false name: text_field params: (name = "", value = nil, size = 40, maxlength = nil) visibility: public ri/1.8/system/CGI/HtmlExtension/password_field-i.yaml 0000644 00000002570 15217654527 0016354 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate a Password Input element as a string. - !ruby/struct:SM::Flow::P body: name is the name of the input field. value is its default value. size is the size of the input field display. maxlength is the maximum length of the inputted password. - !ruby/struct:SM::Flow::P body: Alternatively, attributes can be specified as a hash. - !ruby/struct:SM::Flow::VERB body: " password_field("name")\n # <INPUT TYPE="password" NAME="name" SIZE="40">\n\n password_field("name", "value")\n # <INPUT TYPE="password" NAME="name" VALUE="value" SIZE="40">\n\n password_field("password", "value", 80, 200)\n # <INPUT TYPE="password" NAME="name" VALUE="value" SIZE="80" MAXLENGTH="200">\n\n password_field("NAME" => "name", "VALUE" => "value")\n # <INPUT TYPE="password" NAME="name" VALUE="value">\n" full_name: CGI::HtmlExtension#password_field is_singleton: false name: password_field params: (name = "", value = nil, size = 40, maxlength = nil) visibility: public ri/1.8/system/CGI/HtmlExtension/base-i.yaml 0000644 00000001276 15217654527 0014263 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Generate a Document Base URI element as a String. - !ruby/struct:SM::Flow::P body: href can either by a string, giving the base URL for the HREF attribute, or it can be a has of the element's attributes. - !ruby/struct:SM::Flow::P body: The passed-in no-argument block is ignored. - !ruby/struct:SM::Flow::VERB body: " base("http://www.example.com/cgi")\n # => "<BASE HREF=\\"http://www.example.com/cgi\\">"\n" full_name: CGI::HtmlExtension#base is_singleton: false name: base params: (href = "") {|| ...} visibility: public ri/1.8/system/CGI/HtmlExtension/caption-i.yaml 0000644 00000001437 15217654527 0015005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Generate a Table Caption element as a string. - !ruby/struct:SM::Flow::P body: align can be a string, giving the alignment of the caption (one of top, bottom, left, or right). It can be a hash of all the attributes of the element. Or it can be omitted. - !ruby/struct:SM::Flow::P body: The body of the element is provided by the passed-in no-argument block. - !ruby/struct:SM::Flow::VERB body: " caption("left") { "Capital Cities" }\n # => <CAPTION ALIGN=\\"left\\">Capital Cities</CAPTION>\n" full_name: CGI::HtmlExtension#caption is_singleton: false name: caption params: (align = nil) {|| ...} visibility: public ri/1.8/system/CGI/HtmlExtension/reset-i.yaml 0000644 00000001655 15217654527 0014474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate a reset button Input element, as a String. - !ruby/struct:SM::Flow::P body: This resets the values on a form to their initial values. value is the text displayed on the button. name is the name of this button. - !ruby/struct:SM::Flow::P body: Alternatively, the attributes can be specified as a hash. - !ruby/struct:SM::Flow::VERB body: " reset\n # <INPUT TYPE="reset">\n\n reset("reset")\n # <INPUT TYPE="reset" VALUE="reset">\n\n reset("VALUE" => "reset", "ID" => "foo")\n # <INPUT TYPE="reset" VALUE="reset" ID="foo">\n" full_name: CGI::HtmlExtension#reset is_singleton: false name: reset params: (value = nil, name = nil) visibility: public ri/1.8/system/CGI/HtmlExtension/textarea-i.yaml 0000644 00000001750 15217654527 0015163 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Generate a TextArea element, as a String. - !ruby/struct:SM::Flow::P body: name is the name of the textarea. cols is the number of columns and rows is the number of rows in the display. - !ruby/struct:SM::Flow::P body: Alternatively, the attributes can be specified as a hash. - !ruby/struct:SM::Flow::P body: The body is provided by the passed-in no-argument block - !ruby/struct:SM::Flow::VERB body: " textarea("name")\n # = textarea("NAME" => "name", "COLS" => 70, "ROWS" => 10)\n\n textarea("name", 40, 5)\n # = textarea("NAME" => "name", "COLS" => 40, "ROWS" => 5)\n" full_name: CGI::HtmlExtension#textarea is_singleton: false name: textarea params: (name = "", cols = 70, rows = 10) {|| ...} visibility: public ri/1.8/system/CGI/HtmlExtension/hidden-i.yaml 0000644 00000002007 15217654527 0014575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate a Hidden Input element as a string. - !ruby/struct:SM::Flow::P body: The attributes of the element can be specified as two arguments, name and value. - !ruby/struct:SM::Flow::P body: Alternatively, the attributes can be specified as a hash. - !ruby/struct:SM::Flow::VERB body: " hidden("name")\n # <INPUT TYPE="hidden" NAME="name">\n\n hidden("name", "value")\n # <INPUT TYPE="hidden" NAME="name" VALUE="value">\n\n hidden("NAME" => "name", "VALUE" => "reset", "ID" => "foo")\n # <INPUT TYPE="hidden" NAME="name" VALUE="value" ID="foo">\n" full_name: CGI::HtmlExtension#hidden is_singleton: false name: hidden params: (name = "", value = nil) visibility: public ri/1.8/system/CGI/HtmlExtension/submit-i.yaml 0000644 00000002100 15217654527 0014637 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate a submit button Input element, as a String. - !ruby/struct:SM::Flow::P body: value is the text to display on the button. name is the name of the input. - !ruby/struct:SM::Flow::P body: Alternatively, the attributes can be specified as a hash. - !ruby/struct:SM::Flow::VERB body: " submit\n # <INPUT TYPE="submit">\n\n submit("ok")\n # <INPUT TYPE="submit" VALUE="ok">\n\n submit("ok", "button1")\n # <INPUT TYPE="submit" VALUE="ok" NAME="button1">\n\n submit("VALUE" => "ok", "NAME" => "button1", "ID" => "foo")\n # <INPUT TYPE="submit" VALUE="ok" NAME="button1" ID="foo">\n" full_name: CGI::HtmlExtension#submit is_singleton: false name: submit params: (value = nil, name = nil) visibility: public ri/1.8/system/CGI/HtmlExtension/form-i.yaml 0000644 00000003054 15217654527 0014310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Generate a Form element as a string. - !ruby/struct:SM::Flow::P body: method should be either "get" or "post", and defaults to the latter. action defaults to the current CGI script name. enctype defaults to "application/x-www-form-urlencoded". - !ruby/struct:SM::Flow::P body: Alternatively, the attributes can be specified as a hash. - !ruby/struct:SM::Flow::P body: "See also #multipart_form() for forms that include file uploads." - !ruby/struct:SM::Flow::VERB body: " form{ "string" }\n # <FORM METHOD="post" ENCTYPE="application/x-www-form-urlencoded">string</FORM>\n\n form("get") { "string" }\n # <FORM METHOD="get" ENCTYPE="application/x-www-form-urlencoded">string</FORM>\n\n form("get", "url") { "string" }\n # <FORM METHOD="get" ACTION="url" ENCTYPE="application/x-www-form-urlencoded">string</FORM>\n\n form("METHOD" => "post", "ENCTYPE" => "enctype") { "string" }\n # <FORM METHOD="post" ENCTYPE="enctype">string</FORM>\n" full_name: CGI::HtmlExtension#form is_singleton: false name: form params: (method = "post", action = script_name, enctype = "application/x-www-form-urlencoded") {|| ...} visibility: public ri/1.8/system/CGI/HtmlExtension/multipart_form-i.yaml 0000644 00000002070 15217654527 0016406 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Generate a Form element with multipart encoding as a String. - !ruby/struct:SM::Flow::P body: Multipart encoding is used for forms that include file uploads. - !ruby/struct:SM::Flow::P body: action is the action to perform. enctype is the encoding type, which defaults to "multipart/form-data". - !ruby/struct:SM::Flow::P body: Alternatively, the attributes can be specified as a hash. - !ruby/struct:SM::Flow::VERB body: " multipart_form{ "string" }\n # <FORM METHOD="post" ENCTYPE="multipart/form-data">string</FORM>\n\n multipart_form("url") { "string" }\n # <FORM METHOD="post" ACTION="url" ENCTYPE="multipart/form-data">string</FORM>\n" full_name: CGI::HtmlExtension#multipart_form is_singleton: false name: multipart_form params: (action = nil, enctype = "multipart/form-data") {|| ...} visibility: public ri/1.8/system/CGI/HtmlExtension/radio_button-i.yaml 0000644 00000002246 15217654527 0016040 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generates a radio-button Input element. - !ruby/struct:SM::Flow::P body: name is the name of the input field. value is the value of the field if checked. checked specifies whether the field starts off checked. - !ruby/struct:SM::Flow::P body: Alternatively, the attributes can be specified as a hash. - !ruby/struct:SM::Flow::VERB body: " radio_button("name", "value")\n # <INPUT TYPE="radio" NAME="name" VALUE="value">\n\n radio_button("name", "value", true)\n # <INPUT TYPE="radio" NAME="name" VALUE="value" CHECKED>\n\n radio_button("NAME" => "name", "VALUE" => "value", "ID" => "foo")\n # <INPUT TYPE="radio" NAME="name" VALUE="value" ID="foo">\n" full_name: CGI::HtmlExtension#radio_button is_singleton: false name: radio_button params: (name = "", value = nil, checked = nil) visibility: public ri/1.8/system/CGI/HtmlExtension/cdesc-HtmlExtension.yaml 0000644 00000003522 15217654527 0016777 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Mixin module providing HTML generation methods. - !ruby/struct:SM::Flow::P body: For example, - !ruby/struct:SM::Flow::VERB body: " cgi.a("http://www.example.com") { "Example" }\n # => "<A HREF=\\"http://www.example.com\\">Example</A>"\n" - !ruby/struct:SM::Flow::P body: Modules Http3, Http4, etc., contain more basic HTML-generation methods (:title, :center, etc.). - !ruby/struct:SM::Flow::P body: See class CGI for a detailed example. constants: [] full_name: CGI::HtmlExtension includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: a - !ruby/object:RI::MethodSummary name: base - !ruby/object:RI::MethodSummary name: blockquote - !ruby/object:RI::MethodSummary name: caption - !ruby/object:RI::MethodSummary name: checkbox - !ruby/object:RI::MethodSummary name: checkbox_group - !ruby/object:RI::MethodSummary name: file_field - !ruby/object:RI::MethodSummary name: form - !ruby/object:RI::MethodSummary name: hidden - !ruby/object:RI::MethodSummary name: html - !ruby/object:RI::MethodSummary name: image_button - !ruby/object:RI::MethodSummary name: img - !ruby/object:RI::MethodSummary name: multipart_form - !ruby/object:RI::MethodSummary name: password_field - !ruby/object:RI::MethodSummary name: popup_menu - !ruby/object:RI::MethodSummary name: radio_button - !ruby/object:RI::MethodSummary name: radio_group - !ruby/object:RI::MethodSummary name: reset - !ruby/object:RI::MethodSummary name: scrolling_list - !ruby/object:RI::MethodSummary name: submit - !ruby/object:RI::MethodSummary name: text_field - !ruby/object:RI::MethodSummary name: textarea name: HtmlExtension superclass: ri/1.8/system/CGI/HtmlExtension/checkbox_group-i.yaml 0000644 00000005453 15217654527 0016354 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate a sequence of checkbox elements, as a String. - !ruby/struct:SM::Flow::P body: The checkboxes will all have the same name attribute. Each checkbox is followed by a label. There will be one checkbox for each value. Each value can be specified as a String, which will be used both as the value of the VALUE attribute and as the label for that checkbox. A single-element array has the same effect. - !ruby/struct:SM::Flow::P body: Each value can also be specified as a three-element array. The first element is the VALUE attribute; the second is the label; and the third is a boolean specifying whether this checkbox is CHECKED. - !ruby/struct:SM::Flow::P body: Each value can also be specified as a two-element array, by omitting either the value element (defaults to the same as the label), or the boolean checked element (defaults to false). - !ruby/struct:SM::Flow::VERB body: " checkbox_group("name", "foo", "bar", "baz")\n # <INPUT TYPE="checkbox" NAME="name" VALUE="foo">foo\n # <INPUT TYPE="checkbox" NAME="name" VALUE="bar">bar\n # <INPUT TYPE="checkbox" NAME="name" VALUE="baz">baz\n\n checkbox_group("name", ["foo"], ["bar", true], "baz")\n # <INPUT TYPE="checkbox" NAME="name" VALUE="foo">foo\n # <INPUT TYPE="checkbox" CHECKED NAME="name" VALUE="bar">bar\n # <INPUT TYPE="checkbox" NAME="name" VALUE="baz">baz\n\n checkbox_group("name", ["1", "Foo"], ["2", "Bar", true], "Baz")\n # <INPUT TYPE="checkbox" NAME="name" VALUE="1">Foo\n # <INPUT TYPE="checkbox" CHECKED NAME="name" VALUE="2">Bar\n # <INPUT TYPE="checkbox" NAME="name" VALUE="Baz">Baz\n\n checkbox_group("NAME" => "name",\n "VALUES" => ["foo", "bar", "baz"])\n\n checkbox_group("NAME" => "name",\n "VALUES" => [["foo"], ["bar", true], "baz"])\n\n checkbox_group("NAME" => "name",\n "VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"])\n" full_name: CGI::HtmlExtension#checkbox_group is_singleton: false name: checkbox_group params: (name = "", *values) visibility: public ri/1.8/system/CGI/HtmlExtension/img-i.yaml 0000644 00000002010 15217654527 0014110 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate an Image element as a string. - !ruby/struct:SM::Flow::P body: src is the URL of the image. alt is the alternative text for the image. width is the width of the image, and height is its height. - !ruby/struct:SM::Flow::P body: Alternatively, the attributes can be specified as a hash. - !ruby/struct:SM::Flow::VERB body: " img("src", "alt", 100, 50)\n # <IMG SRC="src" ALT="alt" WIDTH="100" HEIGHT="50">\n\n img("SRC" => "src", "ALT" => "alt", "WIDTH" => 100, "HEIGHT" => 50)\n # <IMG SRC="src" ALT="alt" WIDTH="100" HEIGHT="50">\n" full_name: CGI::HtmlExtension#img is_singleton: false name: img params: (src = "", alt = "", width = nil, height = nil) visibility: public ri/1.8/system/CGI/HtmlExtension/radio_group-i.yaml 0000644 00000004152 15217654527 0015657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate a sequence of radio button Input elements, as a String. - !ruby/struct:SM::Flow::P body: "This works the same as #checkbox_group(). However, it is not valid to have more than one radiobutton in a group checked." - !ruby/struct:SM::Flow::VERB body: " radio_group("name", "foo", "bar", "baz")\n # <INPUT TYPE="radio" NAME="name" VALUE="foo">foo\n # <INPUT TYPE="radio" NAME="name" VALUE="bar">bar\n # <INPUT TYPE="radio" NAME="name" VALUE="baz">baz\n\n radio_group("name", ["foo"], ["bar", true], "baz")\n # <INPUT TYPE="radio" NAME="name" VALUE="foo">foo\n # <INPUT TYPE="radio" CHECKED NAME="name" VALUE="bar">bar\n # <INPUT TYPE="radio" NAME="name" VALUE="baz">baz\n\n radio_group("name", ["1", "Foo"], ["2", "Bar", true], "Baz")\n # <INPUT TYPE="radio" NAME="name" VALUE="1">Foo\n # <INPUT TYPE="radio" CHECKED NAME="name" VALUE="2">Bar\n # <INPUT TYPE="radio" NAME="name" VALUE="Baz">Baz\n\n radio_group("NAME" => "name",\n "VALUES" => ["foo", "bar", "baz"])\n\n radio_group("NAME" => "name",\n "VALUES" => [["foo"], ["bar", true], "baz"])\n\n radio_group("NAME" => "name",\n "VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"])\n" full_name: CGI::HtmlExtension#radio_group is_singleton: false name: radio_group params: (name = "", *values) visibility: public ri/1.8/system/CGI/Html4Tr/cdesc-Html4Tr.yaml 0000644 00000000437 15217654527 0014173 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Mixin module for HTML version 4 transitional generation methods. constants: [] full_name: CGI::Html4Tr includes: [] instance_methods: [] name: Html4Tr superclass: ri/1.8/system/CGI/print-i.yaml 0000644 00000000613 15217654527 0011676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Print an argument or list of arguments to the default output stream - !ruby/struct:SM::Flow::VERB body: " cgi = CGI.new\n cgi.print # default: cgi.print == $DEFAULT_OUTPUT.print\n" full_name: CGI#print is_singleton: false name: print params: (*options) visibility: public ri/1.8/system/CGI/message-c.yaml 0000644 00000000437 15217654527 0012164 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: print message to $> full_name: CGI::message is_singleton: true name: message params: "(message, title = \"\", header = [\"Content-Type: text/html\"])" visibility: public ri/1.8/system/CGI/unescapeElement-c.yaml 0000644 00000001416 15217654527 0013653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Undo escaping such as that done by CGI::escapeElement() - !ruby/struct:SM::Flow::VERB body: " print CGI::unescapeElement(\n CGI::escapeHTML('<BR><A HREF="url"></A>'), "A", "IMG")\n # "<BR><A HREF="url"></A>"\n\n print CGI::unescapeElement(\n CGI::escapeHTML('<BR><A HREF="url"></A>'), ["A", "IMG"])\n # "<BR><A HREF="url"></A>"\n" full_name: CGI::unescapeElement is_singleton: true name: unescapeElement params: (string, *elements) visibility: public ri/1.8/system/CGI/Html3/cdesc-Html3.yaml 0000644 00000000416 15217654527 0013352 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Mixin module for HTML version 3 generation methods. constants: [] full_name: CGI::Html3 includes: [] instance_methods: [] name: Html3 superclass: ri/1.8/system/CGI/escapeHTML-c.yaml 0000644 00000000714 15217654527 0012463 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Escape special characters in HTML, namely &\"<> - !ruby/struct:SM::Flow::VERB body: " CGI::escapeHTML('Usage: foo "bar" <baz>')\n # => "Usage: foo "bar" <baz>"\n" full_name: CGI::escapeHTML is_singleton: true name: escapeHTML params: (string) visibility: public ri/1.8/system/CGI/header-i.yaml 0000644 00000011557 15217654527 0012003 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create an HTTP header block as a string. - !ruby/struct:SM::Flow::P body: Includes the empty line that ends the header block. - !ruby/struct:SM::Flow::P body: "options can be a string specifying the Content-Type (defaults to text/html), or a hash of header key/value pairs. The following header keys are recognized:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "type:" body: the Content-Type header. Defaults to "text/html" - !ruby/struct:SM::Flow::LI label: "charset:" body: the charset of the body, appended to the Content-Type header. - !ruby/struct:SM::Flow::LI label: "nph:" body: a boolean value. If true, prepend protocol string and status code, and date; and sets default values for "server" and "connection" if not explicitly set. - !ruby/struct:SM::Flow::LI label: "status:" body: the HTTP status code, returned as the Status header. See the list of available status codes below. - !ruby/struct:SM::Flow::LI label: "server:" body: the server software, returned as the Server header. - !ruby/struct:SM::Flow::LI label: "connection:" body: the connection type, returned as the Connection header (for instance, "close". - !ruby/struct:SM::Flow::LI label: "length:" body: the length of the content that will be sent, returned as the Content-Length header. - !ruby/struct:SM::Flow::LI label: "language:" body: the language of the content, returned as the Content-Language header. - !ruby/struct:SM::Flow::LI label: "expires:" body: the time on which the current content expires, as a Time object, returned as the Expires header. - !ruby/struct:SM::Flow::LI label: "cookie:" body: a cookie or cookies, returned as one or more Set-Cookie headers. The value can be the literal string of the cookie; a CGI::Cookie object; an Array of literal cookie strings or Cookie objects; or a hash all of whose values are literal cookie strings or Cookie objects. These cookies are in addition to the cookies held in the @output_cookies field. type: :NOTE - !ruby/struct:SM::Flow::P body: "Other header lines can also be set; they are appended as key: value." - !ruby/struct:SM::Flow::VERB body: " header\n # Content-Type: text/html\n\n header("text/plain")\n # Content-Type: text/plain\n\n header("nph" => true,\n "status" => "OK", # == "200 OK"\n # "status" => "200 GOOD",\n "server" => ENV['SERVER_SOFTWARE'],\n "connection" => "close",\n "type" => "text/html",\n "charset" => "iso-2022-jp",\n # Content-Type: text/html; charset=iso-2022-jp\n "length" => 103,\n "language" => "ja",\n "expires" => Time.now + 30,\n "cookie" => [cookie1, cookie2],\n "my_header1" => "my_value"\n "my_header2" => "my_value")\n" - !ruby/struct:SM::Flow::P body: "The status codes are:" - !ruby/struct:SM::Flow::VERB body: " "OK" --> "200 OK"\n "PARTIAL_CONTENT" --> "206 Partial Content"\n "MULTIPLE_CHOICES" --> "300 Multiple Choices"\n "MOVED" --> "301 Moved Permanently"\n "REDIRECT" --> "302 Found"\n "NOT_MODIFIED" --> "304 Not Modified"\n "BAD_REQUEST" --> "400 Bad Request"\n "AUTH_REQUIRED" --> "401 Authorization Required"\n "FORBIDDEN" --> "403 Forbidden"\n "NOT_FOUND" --> "404 Not Found"\n "METHOD_NOT_ALLOWED" --> "405 Method Not Allowed"\n "NOT_ACCEPTABLE" --> "406 Not Acceptable"\n "LENGTH_REQUIRED" --> "411 Length Required"\n "PRECONDITION_FAILED" --> "412 Precondition Failed"\n "SERVER_ERROR" --> "500 Internal Server Error"\n "NOT_IMPLEMENTED" --> "501 Method Not Implemented"\n "BAD_GATEWAY" --> "502 Bad Gateway"\n "VARIANT_ALSO_VARIES" --> "506 Variant Also Negotiates"\n" - !ruby/struct:SM::Flow::P body: This method does not perform charset conversion. full_name: CGI#header is_singleton: false name: header params: (options = "text/html") visibility: public ri/1.8/system/CGI/pretty-c.yaml 0000644 00000001467 15217654527 0012073 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Prettify (indent) an HTML string. - !ruby/struct:SM::Flow::P body: string is the HTML string to indent. shift is the indentation unit to use; it defaults to two spaces. - !ruby/struct:SM::Flow::VERB body: " print CGI::pretty("<HTML><BODY></BODY></HTML>")\n # <HTML>\n # <BODY>\n # </BODY>\n # </HTML>\n\n print CGI::pretty("<HTML><BODY></BODY></HTML>", "\\t")\n # <HTML>\n # <BODY>\n # </BODY>\n # </HTML>\n" full_name: CGI::pretty is_singleton: true name: pretty params: (string, shift = " ") visibility: public ri/1.8/system/CGI/Cookie/cdesc-Cookie.yaml 0000644 00000004340 15217654527 0014016 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: domain rw: RW - !ruby/object:RI::Attribute comment: name: expires rw: RW - !ruby/object:RI::Attribute comment: name: name rw: RW - !ruby/object:RI::Attribute comment: name: path rw: RW - !ruby/object:RI::Attribute comment: name: secure rw: R - !ruby/object:RI::Attribute comment: name: value rw: R class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: parse comment: - !ruby/struct:SM::Flow::P body: Class representing an HTTP cookie. - !ruby/struct:SM::Flow::P body: In addition to its specific fields and methods, a Cookie instance is a delegator to the array of its values. - !ruby/struct:SM::Flow::P body: See RFC 2965. - !ruby/struct:SM::Flow::H level: 2 text: Examples of use - !ruby/struct:SM::Flow::VERB body: " cookie1 = CGI::Cookie::new("name", "value1", "value2", ...)\n cookie1 = CGI::Cookie::new("name" => "name", "value" => "value")\n cookie1 = CGI::Cookie::new('name' => 'name',\n 'value' => ['value1', 'value2', ...],\n 'path' => 'path', # optional\n 'domain' => 'domain', # optional\n 'expires' => Time.now, # optional\n 'secure' => true # optional\n )\n\n cgi.out("cookie" => [cookie1, cookie2]) { "string" }\n\n name = cookie1.name\n values = cookie1.value\n path = cookie1.path\n domain = cookie1.domain\n expires = cookie1.expires\n secure = cookie1.secure\n\n cookie1.name = 'name'\n cookie1.value = ['value1', 'value2', ...]\n cookie1.path = 'path'\n cookie1.domain = 'domain'\n cookie1.expires = Time.now + 30\n cookie1.secure = true\n" constants: [] full_name: CGI::Cookie includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: secure= - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: value= name: Cookie superclass: DelegateClass(Array) ri/1.8/system/CGI/Cookie/new-c.yaml 0000644 00000002627 15217654527 0012545 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new CGI::Cookie object. - !ruby/struct:SM::Flow::P body: "The contents of the cookie can be specified as a name and one or more value arguments. Alternatively, the contents can be specified as a single hash argument. The possible keywords of this hash are as follows:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "name:" body: the name of the cookie. Required. - !ruby/struct:SM::Flow::LI label: "value:" body: the cookie's value or list of values. - !ruby/struct:SM::Flow::LI label: "path:" body: the path for which this cookie applies. Defaults to the base directory of the CGI script. - !ruby/struct:SM::Flow::LI label: "domain:" body: the domain for which this cookie applies. - !ruby/struct:SM::Flow::LI label: "expires:" body: the time at which this cookie expires, as a Time object. - !ruby/struct:SM::Flow::LI label: "secure:" body: whether this cookie is a secure cookie or not (default to false). Secure cookies are only transmitted to HTTPS servers. type: :NOTE - !ruby/struct:SM::Flow::P body: These keywords correspond to attributes of the cookie object. full_name: CGI::Cookie::new is_singleton: true name: new params: (name = "", *value) visibility: public ri/1.8/system/CGI/Cookie/to_s-i.yaml 0000644 00000000374 15217654527 0012723 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert the Cookie to its string representation. full_name: CGI::Cookie#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/CGI/Cookie/value%3d-i.yaml 0000644 00000000256 15217654527 0013366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CGI::Cookie#value= is_singleton: false name: value= params: (val) visibility: public ri/1.8/system/CGI/Cookie/secure%3d-i.yaml 0000644 00000000512 15217654527 0013533 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set whether the Cookie is a secure cookie or not. - !ruby/struct:SM::Flow::P body: val must be a boolean. full_name: CGI::Cookie#secure= is_singleton: false name: secure= params: (val) visibility: public ri/1.8/system/CGI/Cookie/parse-c.yaml 0000644 00000000730 15217654527 0013057 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parse a raw cookie string into a hash of cookie-name=>Cookie pairs. - !ruby/struct:SM::Flow::VERB body: " cookies = CGI::Cookie::parse("raw_cookie_string")\n # { "name1" => cookie1, "name2" => cookie2, ... }\n" full_name: CGI::Cookie::parse is_singleton: true name: parse params: (raw_cookie) visibility: public ri/1.8/system/CGI/Session/new-c.yaml 0000644 00000006452 15217654527 0012757 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new CGI::Session object for request. - !ruby/struct:SM::Flow::P body: "request is an instance of the CGI class (see cgi.rb). option is a hash of options for initialising this CGI::Session instance. The following options are recognised:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "session_key:" body: the parameter name used for the session id. Defaults to '_session_id'. - !ruby/struct:SM::Flow::LI label: "session_id:" body: the session id to use. If not provided, then it is retrieved from the session_key parameter of the request, or automatically generated for a new session. - !ruby/struct:SM::Flow::LI label: "new_session:" body: if true, force creation of a new session. If not set, a new session is only created if none currently exists. If false, a new session is never created, and if none currently exists and the session_id option is not set, an ArgumentError is raised. - !ruby/struct:SM::Flow::LI label: "database_manager:" body: the name of the class providing storage facilities for session state persistence. Built-in support is provided for FileStore (the default), MemoryStore, and PStore (from cgi/session/pstore.rb). See the documentation for these classes for more details. type: :NOTE - !ruby/struct:SM::Flow::P body: The following options are also recognised, but only apply if the session id is stored in a cookie. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "session_expires:" body: the time the current session expires, as a Time object. If not set, the session will terminate when the user's browser is closed. - !ruby/struct:SM::Flow::LI label: "session_domain:" body: the hostname domain for which this session is valid. If not set, defaults to the hostname of the server. - !ruby/struct:SM::Flow::LI label: "session_secure:" body: if true, this session will only work over HTTPS. - !ruby/struct:SM::Flow::LI label: "session_path:" body: the path for which this session applies. Defaults to the directory of the CGI script. type: :NOTE - !ruby/struct:SM::Flow::P body: option is also passed on to the session storage class initializer; see the documentation for each session storage class for the options they support. - !ruby/struct:SM::Flow::P body: The retrieved or created session is automatically added to request as a cookie, and also to its output_hidden table, which is used to add hidden input elements to forms. - !ruby/struct:SM::Flow::P body: WARNING the output_hidden fields are surrounded by a <fieldset> tag in HTML 4 generation, which is not invisible on many browsers; you may wish to disable the use of fieldsets with code similar to the following (see http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-list/37805) - !ruby/struct:SM::Flow::VERB body: " cgi = CGI.new("html4")\n class << cgi\n undef_method :fieldset\n end\n" full_name: CGI::Session::new is_singleton: true name: new params: (request, option={}) visibility: public ri/1.8/system/CGI/Session/delete-i.yaml 0000644 00000000614 15217654527 0013430 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Delete the session from storage. Also closes the storage. - !ruby/struct:SM::Flow::P body: Note that the session's data is not automatically deleted upon the session expiring. full_name: CGI::Session#delete is_singleton: false name: delete params: () visibility: public ri/1.8/system/CGI/Session/create_new_id-i.yaml 0000644 00000000700 15217654527 0014752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new session id. - !ruby/struct:SM::Flow::P body: The session id is an MD5 hash based upon the time, a random number, and a constant string. This routine is used internally for automatically generated session ids. full_name: CGI::Session#create_new_id is_singleton: false name: create_new_id params: () visibility: private ri/1.8/system/CGI/Session/cdesc-Session.yaml 0000644 00000015062 15217654527 0014445 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The id of this session. name: new_session rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The id of this session. name: session_id rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Class representing an HTTP session. See documentation for the file cgi/session.rb for an introduction to HTTP sessions. - !ruby/struct:SM::Flow::H level: 2 text: Lifecycle - !ruby/struct:SM::Flow::P body: "A CGI::Session instance is created from a CGI object. By default, this CGI::Session instance will start a new session if none currently exists, or continue the current session for this client if one does exist. The new_session option can be used to either always or never create a new session. See #new() for more details." - !ruby/struct:SM::Flow::P body: "#delete() deletes a session from session storage. It does not however remove the session id from the client. If the client makes another request with the same id, the effect will be to start a new session with the old session's id." - !ruby/struct:SM::Flow::H level: 2 text: Setting and retrieving session data. - !ruby/struct:SM::Flow::P body: The Session class associates data with a session as key-value pairs. This data can be set and retrieved by indexing the Session instance using '[]', much the same as hashes (although other hash methods are not supported). - !ruby/struct:SM::Flow::P body: When session processing has been completed for a request, the session should be closed using the close() method. This will store the session's state to persistent storage. If you want to store the session's state to persistent storage without finishing session processing for this request, call the update() method. - !ruby/struct:SM::Flow::H level: 2 text: Storing session state - !ruby/struct:SM::Flow::P body: "The caller can specify what form of storage to use for the session's data with the database_manager option to CGI::Session::new. The following storage classes are provided as part of the standard library:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "CGI::Session::FileStore:" body: stores data as plain text in a flat file. Only works with String data. This is the default storage type. - !ruby/struct:SM::Flow::LI label: "CGI::Session::MemoryStore:" body: stores data in an in-memory hash. The data only persists for as long as the current ruby interpreter instance does. - !ruby/struct:SM::Flow::LI label: "CGI::Session::PStore:" body: stores data in Marshalled format. Provided by cgi/session/pstore.rb. Supports data of any type, and provides file-locking and transaction support. type: :NOTE - !ruby/struct:SM::Flow::P body: "Custom storage types can also be created by defining a class with the following methods:" - !ruby/struct:SM::Flow::VERB body: " new(session, options)\n restore # returns hash of session data.\n update\n close\n delete\n" - !ruby/struct:SM::Flow::P body: Changing storage type mid-session does not work. Note in particular that by default the FileStore and PStore session data files have the same name. If your application switches from one to the other without making sure that filenames will be different and clients still have old sessions lying around in cookies, then things will break nastily! - !ruby/struct:SM::Flow::H level: 2 text: Maintaining the session id. - !ruby/struct:SM::Flow::P body: Most session state is maintained on the server. However, a session id must be passed backwards and forwards between client and server to maintain a reference to this session state. - !ruby/struct:SM::Flow::P body: The simplest way to do this is via cookies. The CGI::Session class provides transparent support for session id communication via cookies if the client has cookies enabled. - !ruby/struct:SM::Flow::P body: If the client has cookies disabled, the session id must be included as a parameter of all requests sent by the client to the server. The CGI::Session class in conjunction with the CGI class will transparently add the session id as a hidden input field to all forms generated using the CGI#form() HTML generation method. No built-in support is provided for other mechanisms, such as URL re-writing. The caller is responsible for extracting the session id from the session_id attribute and manually encoding it in URLs and adding it as a hidden input to HTML forms created by other mechanisms. Also, session expiry is not automatically handled. - !ruby/struct:SM::Flow::H level: 2 text: Examples of use - !ruby/struct:SM::Flow::H level: 3 text: Setting the user's name - !ruby/struct:SM::Flow::VERB body: " require 'cgi'\n require 'cgi/session'\n require 'cgi/session/pstore' # provides CGI::Session::PStore\n\n cgi = CGI.new("html4")\n\n session = CGI::Session.new(cgi,\n 'database_manager' => CGI::Session::PStore, # use PStore\n 'session_key' => '_rb_sess_id', # custom session key\n 'session_expires' => Time.now + 30 * 60, # 30 minute timeout\n 'prefix' => 'pstore_sid_') # PStore option\n if cgi.has_key?('user_name') and cgi['user_name'] != ''\n # coerce to String: cgi[] returns the\n # string-like CGI::QueryExtension::Value\n session['user_name'] = cgi['user_name'].to_s\n elsif !session['user_name']\n session['user_name'] = "guest"\n end\n session.close\n" - !ruby/struct:SM::Flow::H level: 3 text: Creating a new session safely - !ruby/struct:SM::Flow::VERB body: " require 'cgi'\n require 'cgi/session'\n\n cgi = CGI.new("html4")\n\n # We make sure to delete an old session if one exists,\n # not just to free resources, but to prevent the session\n # from being maliciously hijacked later on.\n begin\n session = CGI::Session.new(cgi, 'new_session' => false)\n session.delete\n rescue ArgumentError # if no old session\n end\n session = CGI::Session.new(cgi, 'new_session' => true)\n session.close\n" constants: [] full_name: CGI::Session includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: create_new_id - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: update name: Session superclass: Object ri/1.8/system/CGI/Session/close-i.yaml 0000644 00000000477 15217654527 0013302 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Store session data on the server and close the session storage. For some session storage types, this is a no-op. full_name: CGI::Session#close is_singleton: false name: close params: () visibility: public ri/1.8/system/CGI/Session/%5b%5d%3d-i.yaml 0000644 00000000377 15217654527 0013341 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the session date for key key. full_name: CGI::Session#[]= is_singleton: false name: "[]=" params: (key, val) visibility: public ri/1.8/system/CGI/Session/%5b%5d-i.yaml 0000644 00000000375 15217654527 0013043 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Retrieve the session data for key key. full_name: CGI::Session#[] is_singleton: false name: "[]" params: (key) visibility: public ri/1.8/system/CGI/Session/FileStore/new-c.yaml 0000644 00000002764 15217654527 0014655 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new FileStore instance. - !ruby/struct:SM::Flow::P body: This constructor is used internally by CGI::Session. The user does not generally need to call it directly. - !ruby/struct:SM::Flow::P body: session is the session for which this instance is being created. The session id must only contain alphanumeric characters; automatically generated session ids observe this requirement. - !ruby/struct:SM::Flow::P body: "option is a hash of options for the initializer. The following options are recognised:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "tmpdir:" body: the directory to use for storing the FileStore file. Defaults to Dir::tmpdir (generally "/tmp" on Unix systems). - !ruby/struct:SM::Flow::LI label: "prefix:" body: the prefix to add to the session id when generating the filename for this session's FileStore file. Defaults to the empty string. - !ruby/struct:SM::Flow::LI label: "suffix:" body: the prefix to add to the session id when generating the filename for this session's FileStore file. Defaults to the empty string. type: :NOTE - !ruby/struct:SM::Flow::P body: This session's FileStore file will be created if it does not exist, or opened if it does. full_name: CGI::Session::FileStore::new is_singleton: true name: new params: (session, option={}) visibility: public ri/1.8/system/CGI/Session/FileStore/delete-i.yaml 0000644 00000000412 15217654527 0015320 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Close and delete the session's FileStore file. full_name: CGI::Session::FileStore#delete is_singleton: false name: delete params: () visibility: public ri/1.8/system/CGI/Session/FileStore/restore-i.yaml 0000644 00000000537 15217654527 0015551 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Restore session state from the session's FileStore file. - !ruby/struct:SM::Flow::P body: Returns the session state as a hash. full_name: CGI::Session::FileStore#restore is_singleton: false name: restore params: () visibility: public ri/1.8/system/CGI/Session/FileStore/close-i.yaml 0000644 00000000410 15217654527 0015161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Update and close the session's FileStore file. full_name: CGI::Session::FileStore#close is_singleton: false name: close params: () visibility: public ri/1.8/system/CGI/Session/FileStore/update-i.yaml 0000644 00000000417 15217654527 0015345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Save session state to the session's FileStore file. full_name: CGI::Session::FileStore#update is_singleton: false name: update params: () visibility: public ri/1.8/system/CGI/Session/FileStore/cdesc-FileStore.yaml 0000644 00000001413 15217654527 0016605 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: File-based session storage class. - !ruby/struct:SM::Flow::P body: Implements session storage as a flat file of 'key=value' values. This storage type only works directly with String values; the user is responsible for converting other types to Strings when storing and from Strings when retrieving. constants: [] full_name: CGI::Session::FileStore includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: restore - !ruby/object:RI::MethodSummary name: update name: FileStore superclass: Object ri/1.8/system/CGI/Session/MemoryStore/new-c.yaml 0000644 00000000707 15217654527 0015241 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new MemoryStore instance. - !ruby/struct:SM::Flow::P body: session is the session this instance is associated with. option is a list of initialisation options. None are currently recognised. full_name: CGI::Session::MemoryStore::new is_singleton: true name: new params: (session, option=nil) visibility: public ri/1.8/system/CGI/Session/MemoryStore/delete-i.yaml 0000644 00000000367 15217654527 0015722 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Delete the session state. full_name: CGI::Session::MemoryStore#delete is_singleton: false name: delete params: () visibility: public ri/1.8/system/CGI/Session/MemoryStore/restore-i.yaml 0000644 00000000472 15217654527 0016140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Restore session state. - !ruby/struct:SM::Flow::P body: Returns session data as a hash. full_name: CGI::Session::MemoryStore#restore is_singleton: false name: restore params: () visibility: public ri/1.8/system/CGI/Session/MemoryStore/close-i.yaml 0000644 00000000437 15217654527 0015563 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Close session storage. - !ruby/struct:SM::Flow::P body: A no-op. full_name: CGI::Session::MemoryStore#close is_singleton: false name: close params: () visibility: public ri/1.8/system/CGI/Session/MemoryStore/update-i.yaml 0000644 00000000440 15217654527 0015732 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Update session state. - !ruby/struct:SM::Flow::P body: A no-op. full_name: CGI::Session::MemoryStore#update is_singleton: false name: update params: () visibility: public ri/1.8/system/CGI/Session/MemoryStore/cdesc-MemoryStore.yaml 0000644 00000001257 15217654527 0017575 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: In-memory session storage class. - !ruby/struct:SM::Flow::P body: Implements session storage as a global in-memory hash. Session data will only persist for as long as the ruby interpreter instance does. constants: [] full_name: CGI::Session::MemoryStore includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: restore - !ruby/object:RI::MethodSummary name: update name: MemoryStore superclass: Object ri/1.8/system/CGI/Session/NoSession/cdesc-NoSession.yaml 0000644 00000000323 15217654527 0016654 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: CGI::Session::NoSession includes: [] instance_methods: [] name: NoSession superclass: RuntimeError ri/1.8/system/CGI/Session/update-i.yaml 0000644 00000000443 15217654527 0013450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Store session data on the server. For some session storage types, this is a no-op. full_name: CGI::Session#update is_singleton: false name: update params: () visibility: public ri/1.8/system/CGI/TagMaker/cdesc-TagMaker.yaml 0000644 00000000603 15217654527 0014560 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Base module for HTML-generation mixins. - !ruby/struct:SM::Flow::P body: Provides methods for code generation for tags following the various DTD element types. constants: [] full_name: CGI::TagMaker includes: [] instance_methods: [] name: TagMaker superclass: ri/1.8/system/CGI/Html4/cdesc-Html4.yaml 0000644 00000000416 15217654527 0013354 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Mixin module for HTML version 4 generation methods. constants: [] full_name: CGI::Html4 includes: [] instance_methods: [] name: Html4 superclass: ri/1.8/system/CGI/stdinput-i.yaml 0000644 00000000250 15217654527 0012411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CGI#stdinput is_singleton: false name: stdinput params: () visibility: private ri/1.8/system/TSortArray/cdesc-TSortArray.yaml 0000644 00000000300 15217654527 0015106 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: TSortArray includes: [] instance_methods: [] name: TSortArray superclass: Array ri/1.8/system/StandardError/cdesc-StandardError.yaml 0000644 00000001200 15217654527 0016306 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: StandardError includes: [] instance_methods: [] name: StandardError superclass: Exception ri/1.8/system/SystemCallError/new-c.yaml 0000644 00000001024 15217654527 0014012 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: If errno corresponds to a known system error code, constructs the appropriate Errno class for that error, otherwise constructs a generic SystemCallError object. The error number is subsequently available via the errno method. full_name: SystemCallError::new is_singleton: true name: new params: | SystemCallError.new(msg, errno) => system_call_error_subclass visibility: public ri/1.8/system/SystemCallError/errno-i.yaml 0000644 00000000443 15217654527 0014360 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return this SystemCallError's error number. full_name: SystemCallError#errno is_singleton: false name: errno params: | system_call_error.errno => fixnum visibility: public ri/1.8/system/SystemCallError/%3d%3d%3d-c.yaml 0000644 00000000620 15217654527 0014365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return true if the receiver is a generic SystemCallError, or if the error numbers self and other are the same. full_name: SystemCallError::=== is_singleton: true name: === params: | system_call_error === other => true or false visibility: public ri/1.8/system/SystemCallError/cdesc-SystemCallError.yaml 0000644 00000001416 15217654527 0017157 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: === - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: SystemCallError includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: errno name: SystemCallError superclass: StandardError ri/1.8/system/SystemStackError/cdesc-SystemStackError.yaml 0000644 00000001334 15217654527 0017542 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Proc objects are blocks of code that have been bound to a set of local variables. Once bound, the code may be called in different contexts and still access those variables. - !ruby/struct:SM::Flow::VERB body: " def gen_times(factor)\n return Proc.new {|n| n*factor }\n end\n\n times3 = gen_times(3)\n times5 = gen_times(5)\n\n times3.call(12) #=> 36\n times5.call(5) #=> 25\n times3.call(times5.call(4)) #=> 60\n" constants: [] full_name: SystemStackError includes: [] instance_methods: [] name: SystemStackError superclass: StandardError ri/1.8/system/GetoptLong/new-c.yaml 0000644 00000002040 15217654527 0013001 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set up option processing. - !ruby/struct:SM::Flow::P body: "The options to support are passed to new() as an array of arrays. Each sub-array contains any number of String option names which carry the same meaning, and one of the following flags:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "GetoptLong::NO_ARGUMENT :" body: Option does not take an argument. - !ruby/struct:SM::Flow::LI label: "GetoptLong::REQUIRED_ARGUMENT :" body: Option always takes an argument. - !ruby/struct:SM::Flow::LI label: "GetoptLong::OPTIONAL_ARGUMENT :" body: Option may or may not take an argument. type: :NOTE - !ruby/struct:SM::Flow::P body: The first option name is considered to be the preferred (canonical) name. Other than that, the elements of each sub-array can be in any order. full_name: GetoptLong::new is_singleton: true name: new params: (*arguments) visibility: public ri/1.8/system/GetoptLong/get-i.yaml 0000644 00000001212 15217654527 0012775 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: get_option block_params: comment: - !ruby/struct:SM::Flow::P body: Get next option name and its argument, as an Array of two elements. - !ruby/struct:SM::Flow::P body: The option name is always converted to the first (preferred) name given in the original options to GetoptLong.new. - !ruby/struct:SM::Flow::P body: "Example: ['--option', 'value']" - !ruby/struct:SM::Flow::P body: Returns nil if the processing is complete (as determined by STATUS_TERMINATED). full_name: GetoptLong#get is_singleton: false name: get params: () visibility: public ri/1.8/system/GetoptLong/each_option-i.yaml 0000644 00000000352 15217654527 0014512 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #each" full_name: GetoptLong#each_option is_singleton: false name: each_option params: () visibility: public ri/1.8/system/GetoptLong/terminated%3f-i.yaml 0000644 00000000433 15217654527 0014654 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if option processing has terminated, false otherwise. full_name: GetoptLong#terminated? is_singleton: false name: terminated? params: () visibility: public ri/1.8/system/GetoptLong/get_option-i.yaml 0000644 00000000347 15217654527 0014375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #get" full_name: GetoptLong#get_option is_singleton: false name: get_option params: () visibility: public ri/1.8/system/GetoptLong/error_message-i.yaml 0000644 00000000501 15217654527 0015053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the appropriate error message in POSIX-defined format. If no error has occurred, returns nil. full_name: GetoptLong#error_message is_singleton: false name: error_message params: () visibility: public ri/1.8/system/GetoptLong/AmbigousOption/cdesc-AmbigousOption.yaml 0000644 00000000324 15217654527 0020750 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: GetoptLong::AmbigousOption includes: [] instance_methods: [] name: AmbigousOption superclass: Error ri/1.8/system/GetoptLong/ordering%3d-i.yaml 0000644 00000005003 15217654527 0014325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the handling of the ordering of options and arguments. A RuntimeError is raised if option processing has already started. - !ruby/struct:SM::Flow::P body: "The supplied value must be a member of GetoptLong::ORDERINGS. It alters the processing of options as follows:" - !ruby/struct:SM::Flow::P body: "REQUIRE_ORDER :" - !ruby/struct:SM::Flow::P body: Options are required to occur before non-options. - !ruby/struct:SM::Flow::P body: Processing of options ends as soon as a word is encountered that has not been preceded by an appropriate option flag. - !ruby/struct:SM::Flow::P body: For example, if -a and -b are options which do not take arguments, parsing command line arguments of '-a one -b two' would result in 'one', '-b', 'two' being left in ARGV, and only ('-a', '') being processed as an option/arg pair. - !ruby/struct:SM::Flow::P body: This is the default ordering, if the environment variable POSIXLY_CORRECT is set. (This is for compatibility with GNU getopt_long.) - !ruby/struct:SM::Flow::P body: "PERMUTE :" - !ruby/struct:SM::Flow::P body: Options can occur anywhere in the command line parsed. This is the default behavior. - !ruby/struct:SM::Flow::P body: Every sequence of words which can be interpreted as an option (with or without argument) is treated as an option; non-option words are skipped. - !ruby/struct:SM::Flow::P body: For example, if -a does not require an argument and -b optionally takes an argument, parsing '-a one -b two three' would result in ('-a','') and ('-b', 'two') being processed as option/arg pairs, and 'one','three' being left in ARGV. - !ruby/struct:SM::Flow::P body: If the ordering is set to PERMUTE but the environment variable POSIXLY_CORRECT is set, REQUIRE_ORDER is used instead. This is for compatibility with GNU getopt_long. - !ruby/struct:SM::Flow::P body: "RETURN_IN_ORDER :" - !ruby/struct:SM::Flow::P body: All words on the command line are processed as options. Words not preceded by a short or long option flag are passed as arguments with an option of '' (empty string). - !ruby/struct:SM::Flow::P body: For example, if -a requires an argument but -b does not, a command line of '-a one -b two three' would result in option/arg pairs of ('-a', 'one') ('-b', ''), ('', 'two'), ('', 'three') being processed. full_name: GetoptLong#ordering= is_singleton: false name: ordering= params: (ordering) visibility: public ri/1.8/system/GetoptLong/InvalidOption/cdesc-InvalidOption.yaml 0000644 00000000322 15217654527 0020406 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: GetoptLong::InvalidOption includes: [] instance_methods: [] name: InvalidOption superclass: Error ri/1.8/system/GetoptLong/terminate-i.yaml 0000644 00000000374 15217654527 0014216 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Explicitly terminate option processing. full_name: GetoptLong#terminate is_singleton: false name: terminate params: () visibility: public ri/1.8/system/GetoptLong/set_options-i.yaml 0000644 00000000576 15217654527 0014600 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set options. Takes the same argument as GetoptLong.new. - !ruby/struct:SM::Flow::P body: Raises a RuntimeError if option processing has already started. full_name: GetoptLong#set_options is_singleton: false name: set_options params: (*arguments) visibility: public ri/1.8/system/GetoptLong/Error/cdesc-Error.yaml 0000644 00000000373 15217654527 0015240 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Error types. constants: [] full_name: GetoptLong::Error includes: [] instance_methods: [] name: Error superclass: StandardError ri/1.8/system/GetoptLong/each-i.yaml 0000644 00000001266 15217654527 0013127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: each_option block_params: option_name, option_argument comment: - !ruby/struct:SM::Flow::P body: Iterator version of `get'. - !ruby/struct:SM::Flow::P body: "The block is called repeatedly with two arguments: The first is the option name. The second is the argument which followed it (if any). Example: ('--opt', 'value')" - !ruby/struct:SM::Flow::P body: The option name is always converted to the first (preferred) name given in the original options to GetoptLong.new. full_name: GetoptLong#each is_singleton: false name: each params: () {|option_name, option_argument| ...} visibility: public ri/1.8/system/GetoptLong/cdesc-GetoptLong.yaml 0000644 00000007426 15217654527 0015146 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Examine whether an option processing is failed. name: error rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Return ordering. name: ordering rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Set/Unset `quiet' mode. name: quiet rw: W - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Return the flag of `quiet' mode. name: quiet rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: The GetoptLong class allows you to parse command line options similarly to the GNU getopt_long() C library call. Note, however, that GetoptLong is a pure Ruby implementation. - !ruby/struct:SM::Flow::P body: GetoptLong allows for POSIX-style options like --file as well as single letter options like -f - !ruby/struct:SM::Flow::P body: The empty option -- (two minus symbols) is used to end option processing. This can be particularly important if options have optional arguments. - !ruby/struct:SM::Flow::P body: "Here is a simple example of usage:" - !ruby/struct:SM::Flow::VERB body: " # == Synopsis\n #\n # hello: greets user, demonstrates command line parsing\n #\n # == Usage\n #\n # hello [OPTION] ... DIR\n #\n # -h, --help:\n # show help\n #\n # --repeat x, -n x:\n # repeat x times\n #\n # --name [name]:\n # greet user by name, if name not supplied default is John\n #\n # DIR: The directory in which to issue the greeting.\n\n require 'getoptlong'\n require 'rdoc/usage'\n\n opts = GetoptLong.new(\n [ '--help', '-h', GetoptLong::NO_ARGUMENT ],\n [ '--repeat', '-n', GetoptLong::REQUIRED_ARGUMENT ],\n [ '--name', GetoptLong::OPTIONAL_ARGUMENT ]\n )\n\n dir = nil\n name = nil\n repetitions = 1\n opts.each do |opt, arg|\n case opt\n when '--help'\n RDoc::usage\n when '--repeat'\n repetitions = arg.to_i\n when '--name'\n if arg == ''\n name = 'John'\n else\n name = arg\n end\n end\n end\n\n if ARGV.length != 1\n puts "Missing dir argument (try --help)"\n exit 0\n end\n\n dir = ARGV.shift\n\n Dir.chdir(dir)\n for i in (1..repetitions)\n print "Hello"\n if name\n print ", #{name}"\n end\n puts\n end\n" - !ruby/struct:SM::Flow::P body: "Example command line:" - !ruby/struct:SM::Flow::VERB body: " hello -n 6 --name -- /tmp\n" constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Orderings. name: ORDERINGS value: "[REQUIRE_ORDER = 0, PERMUTE = 1, RETURN_IN_ORDER = 2]" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Argument flags. name: ARGUMENT_FLAGS value: "[NO_ARGUMENT = 0, REQUIRED_ARGUMENT = 1, OPTIONAL_ARGUMENT = 2]" - !ruby/object:RI::Constant comment: name: STATUS_TERMINATED value: 0, 1, 2 full_name: GetoptLong includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: each_option - !ruby/object:RI::MethodSummary name: error_message - !ruby/object:RI::MethodSummary name: get - !ruby/object:RI::MethodSummary name: get_option - !ruby/object:RI::MethodSummary name: ordering= - !ruby/object:RI::MethodSummary name: set_error - !ruby/object:RI::MethodSummary name: set_options - !ruby/object:RI::MethodSummary name: terminate - !ruby/object:RI::MethodSummary name: terminated? name: GetoptLong superclass: Object ri/1.8/system/GetoptLong/NeedlessArgument/cdesc-NeedlessArgument.yaml 0000644 00000000330 15217654527 0021561 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: GetoptLong::NeedlessArgument includes: [] instance_methods: [] name: NeedlessArgument superclass: Error ri/1.8/system/GetoptLong/set_error-i.yaml 0000644 00000000376 15217654527 0014234 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set an error (protected). full_name: GetoptLong#set_error is_singleton: false name: set_error params: (type, message) visibility: protected ri/1.8/system/GetoptLong/MissingArgument/cdesc-MissingArgument.yaml 0000644 00000000326 15217654527 0021304 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: GetoptLong::MissingArgument includes: [] instance_methods: [] name: MissingArgument superclass: Error ri/1.8/system/UNIXSocket/cdesc-UNIXSocket.yaml 0000644 00000003156 15217654527 0014666 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Class Socket provides access to the underlying operating system socket implementations. It can be used to provide more operating system specific functionality than the protocol-specific socket classes but at the expense of greater complexity. In particular, the class handles addresses using +struct sockaddr+ structures packed into Ruby strings, which can be a joy to manipulate. - !ruby/struct:SM::Flow::H level: 3 text: Exception Handling - !ruby/struct:SM::Flow::P body: Ruby's implementation of Socket causes an exception to be raised based on the error generated by the system dependent implementation. This is why the methods are documented in a way that isolate Unix-based system exceptions from Windows based exceptions. If more information on particular exception is needed please refer to the Unix manual pages or the Windows WinSock reference. - !ruby/struct:SM::Flow::H level: 3 text: Documentation by - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Zach Dennis - !ruby/struct:SM::Flow::LI label: "*" body: Sam Roberts - !ruby/struct:SM::Flow::LI label: "*" body: Programming Ruby from The Pragmatic Bookshelf. type: :BULLET - !ruby/struct:SM::Flow::P body: Much material in this documentation is taken with permission from Programming Ruby from The Pragmatic Bookshelf. constants: [] full_name: UNIXSocket includes: [] instance_methods: [] name: UNIXSocket superclass: BasicSocket ri/1.8/system/RangeError/cdesc-RangeError.yaml 0000644 00000001176 15217654527 0015112 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: RangeError includes: [] instance_methods: [] name: RangeError superclass: StandardError ri/1.8/system/Bignum/to_s-i.yaml 0000644 00000001264 15217654527 0012330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a string containing the representation of big radix base (2 through 36). - !ruby/struct:SM::Flow::VERB body: " 12345654321.to_s #=> "12345654321"\n 12345654321.to_s(2) #=> "1011011111110110111011110000110001"\n 12345654321.to_s(8) #=> "133766736061"\n 12345654321.to_s(16) #=> "2dfdbbc31"\n 78546939656932.to_s(36) #=> "rubyrules"\n" full_name: Bignum#to_s is_singleton: false name: to_s params: | big.to_s(base=10) => string visibility: public ri/1.8/system/Bignum/fdiv-i.yaml 0000644 00000000775 15217654527 0012322 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the floating point result of dividing big by numeric. - !ruby/struct:SM::Flow::VERB body: " -1234567890987654321.quo(13731) #=> -89910996357705.5\n -1234567890987654321.quo(13731.24) #=> -89909424858035.7\n" full_name: Bignum#fdiv is_singleton: false name: fdiv params: | big.quo(numeric) -> float big.fdiv(numeric) -> float visibility: public ri/1.8/system/Bignum/div-i.yaml 0000644 00000000452 15217654527 0012144 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Divides big by other, returning the result. full_name: Bignum#div is_singleton: false name: div params: | big / other => Numeric big.div(other) => Numeric visibility: public ri/1.8/system/Bignum/%2b-i.yaml 0000644 00000000404 15217654527 0011727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Adds big and other, returning the result. full_name: Bignum#+ is_singleton: false name: + params: | big + other => Numeric visibility: public ri/1.8/system/Bignum/%3e%3e-i.yaml 0000644 00000000467 15217654527 0012241 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Shifts big right numeric positions (left if numeric is negative). full_name: Bignum#>> is_singleton: false name: ">>" params: | big >> numeric => integer visibility: public ri/1.8/system/Bignum/%3c%3c-i.yaml 0000644 00000000467 15217654527 0012235 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Shifts big left numeric positions (right if numeric is negative). full_name: Bignum#<< is_singleton: false name: "<<" params: | big << numeric => integer visibility: public ri/1.8/system/Bignum/%26-i.yaml 0000644 00000000451 15217654527 0011655 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Performs bitwise and between big and numeric. full_name: Bignum#& is_singleton: false name: "&" params: | big & numeric => integer visibility: public ri/1.8/system/Bignum/%25-i.yaml 0000644 00000000507 15217654527 0011656 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns big modulo other. See Numeric.divmod for more information. full_name: Bignum#% is_singleton: false name: "%" params: | big % other => Numeric big.modulo(other) => Numeric visibility: public ri/1.8/system/Bignum/hash-i.yaml 0000644 00000000420 15217654527 0012300 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compute a hash based on the value of big. full_name: Bignum#hash is_singleton: false name: hash params: | big.hash => fixnum visibility: public ri/1.8/system/Bignum/%3c%3d%3e-i.yaml 0000644 00000000633 15217654527 0012526 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Comparison---Returns -1, 0, or +1 depending on whether big is less than, equal to, or greater than numeric. This is the basis for the tests in Comparable. full_name: Bignum#<=> is_singleton: false name: <=> params: | big <=> numeric => -1, 0, +1 visibility: public ri/1.8/system/Bignum/quo-i.yaml 0000644 00000001113 15217654527 0012161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: / - !ruby/object:RI::AliasName name: rdiv block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the floating point result of dividing big by numeric. - !ruby/struct:SM::Flow::VERB body: " -1234567890987654321.quo(13731) #=> -89910996357705.5\n -1234567890987654321.quo(13731.24) #=> -89909424858035.7\n" full_name: Bignum#quo is_singleton: false name: quo params: | big.quo(numeric) -> float big.fdiv(numeric) -> float visibility: public ri/1.8/system/Bignum/%2d-i.yaml 0000644 00000000414 15217654527 0011732 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Subtracts other from big, returning the result. full_name: Bignum#- is_singleton: false name: "-" params: | big - other => Numeric visibility: public ri/1.8/system/Bignum/power%21-i.yaml 0000644 00000000334 15217654527 0012725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #**" full_name: Bignum#power! is_singleton: false name: power! params: (p1) visibility: public ri/1.8/system/Bignum/%7c-i.yaml 0000644 00000000450 15217654527 0011736 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Performs bitwise or between big and numeric. full_name: Bignum#| is_singleton: false name: "|" params: | big | numeric => integer visibility: public ri/1.8/system/Bignum/abs-i.yaml 0000644 00000000551 15217654527 0012127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the absolute value of big. - !ruby/struct:SM::Flow::VERB body: " -1234567890987654321.abs #=> 1234567890987654321\n" full_name: Bignum#abs is_singleton: false name: abs params: | big.abs -> aBignum visibility: public ri/1.8/system/Bignum/%5b%5d-i.yaml 0000644 00000001160 15217654527 0012230 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Bit Reference---Returns the nth bit in the (assumed) binary representation of big, where big[0] is the least significant bit. - !ruby/struct:SM::Flow::VERB body: " a = 9**15\n 50.downto(0) do |n|\n print a[n]\n end\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " 000101110110100000111000011110010100111100010111001\n" full_name: Bignum#[] is_singleton: false name: "[]" params: | big[n] -> 0, 1 visibility: public ri/1.8/system/Bignum/remainder-i.yaml 0000644 00000000753 15217654527 0013334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the remainder after dividing big by numeric. - !ruby/struct:SM::Flow::VERB body: " -1234567890987654321.remainder(13731) #=> -6966\n -1234567890987654321.remainder(13731.24) #=> -9906.22531493148\n" full_name: Bignum#remainder is_singleton: false name: remainder params: | big.remainder(numeric) => number visibility: public ri/1.8/system/Bignum/size-i.yaml 0000644 00000000672 15217654527 0012340 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of bytes in the machine representation of big. - !ruby/struct:SM::Flow::VERB body: " (256**10 - 1).size #=> 12\n (256**20 - 1).size #=> 20\n (256**40 - 1).size #=> 40\n" full_name: Bignum#size is_singleton: false name: size params: | big.size -> integer visibility: public ri/1.8/system/Bignum/cdesc-Bignum.yaml 0000644 00000004734 15217654527 0013443 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Bignum objects hold integers outside the range of Fixnum. Bignum objects are created automatically when integer calculations would otherwise overflow a Fixnum. When a calculation involving Bignum objects returns a result that will fit in a Fixnum, the result is automatically converted. - !ruby/struct:SM::Flow::P body: For the purposes of the bitwise operations and [], a Bignum is treated as if it were an infinite-length bitstring with 2's complement representation. - !ruby/struct:SM::Flow::P body: While Fixnum values are immediate, Bignum objects are not---assignment and parameter passing work with references to objects, not the objects themselves. constants: [] full_name: Bignum includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "%" - !ruby/object:RI::MethodSummary name: "&" - !ruby/object:RI::MethodSummary name: "*" - !ruby/object:RI::MethodSummary name: "**" - !ruby/object:RI::MethodSummary name: "**" - !ruby/object:RI::MethodSummary name: + - !ruby/object:RI::MethodSummary name: "-" - !ruby/object:RI::MethodSummary name: -@ - !ruby/object:RI::MethodSummary name: / - !ruby/object:RI::MethodSummary name: / - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: ">>" - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: ^ - !ruby/object:RI::MethodSummary name: abs - !ruby/object:RI::MethodSummary name: coerce - !ruby/object:RI::MethodSummary name: div - !ruby/object:RI::MethodSummary name: divmod - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: fdiv - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: modulo - !ruby/object:RI::MethodSummary name: power! - !ruby/object:RI::MethodSummary name: quo - !ruby/object:RI::MethodSummary name: quo - !ruby/object:RI::MethodSummary name: rdiv - !ruby/object:RI::MethodSummary name: remainder - !ruby/object:RI::MethodSummary name: rpower - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: to_f - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: "|" - !ruby/object:RI::MethodSummary name: "~" name: Bignum superclass: Integer ri/1.8/system/Bignum/%2d%40-i.yaml 0000644 00000000421 15217654527 0012141 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Unary minus (returns a new Bignum whose value is 0-big) full_name: Bignum#-@ is_singleton: false name: -@ params: | -big => other_big visibility: public ri/1.8/system/Bignum/%5e-i.yaml 0000644 00000000451 15217654527 0011737 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Performs bitwise +exclusive or+ between big and numeric. full_name: Bignum#^ is_singleton: false name: ^ params: | big ^ numeric => integer visibility: public ri/1.8/system/Bignum/%7e-i.yaml 0000644 00000001061 15217654527 0011737 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Inverts the bits in big. As Bignums are conceptually infinite length, the result acts as if it had an infinite number of one bits to the left. In hex representations, this is displayed as two periods to the left of the digits. - !ruby/struct:SM::Flow::VERB body: " sprintf("%X", ~0x1122334455) #=> "..FEEDDCCBBAA"\n" full_name: Bignum#~ is_singleton: false name: "~" params: | ~big => integer visibility: public ri/1.8/system/Bignum/rdiv-i.yaml 0000644 00000000331 15217654527 0012322 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #quo" full_name: Bignum#rdiv is_singleton: false name: rdiv params: (p1) visibility: public ri/1.8/system/Bignum/%2a-i.yaml 0000644 00000000414 15217654527 0011727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Multiplies big and other, returning the result. full_name: Bignum#* is_singleton: false name: "*" params: | big * other => Numeric visibility: public ri/1.8/system/Bignum/modulo-i.yaml 0000644 00000000517 15217654527 0012663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns big modulo other. See Numeric.divmod for more information. full_name: Bignum#modulo is_singleton: false name: modulo params: | big % other => Numeric big.modulo(other) => Numeric visibility: public ri/1.8/system/Bignum/to_f-i.yaml 0000644 00000000516 15217654527 0012312 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts big to a Float. If big doesn't fit in a Float, the result is infinity. full_name: Bignum#to_f is_singleton: false name: to_f params: | big.to_f -> float visibility: public ri/1.8/system/Bignum/%2f-i.yaml 0000644 00000000323 15217654527 0011733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #quo" full_name: Bignum#/ is_singleton: false name: / params: (p1) visibility: public ri/1.8/system/Bignum/%3d%3d-i.yaml 0000644 00000000747 15217654527 0012240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true only if obj has the same value as big. Contrast this with Bignum#eql?, which requires obj to be a Bignum. - !ruby/struct:SM::Flow::VERB body: " 68719476736 == 68719476736.0 #=> true\n" full_name: Bignum#== is_singleton: false name: == params: | big == obj => true or false visibility: public ri/1.8/system/Bignum/divmod-i.yaml 0000644 00000000410 15217654527 0012636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Numeric#divmod. full_name: Bignum#divmod is_singleton: false name: divmod params: | big.divmod(numeric) => array visibility: public ri/1.8/system/Bignum/eql%3f-i.yaml 0000644 00000000763 15217654527 0012446 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true only if obj is a Bignum with the same value as big. Contrast this with Bignum#==, which performs type conversions. - !ruby/struct:SM::Flow::VERB body: " 68719476736.eql?(68719476736.0) #=> false\n" full_name: Bignum#eql? is_singleton: false name: eql? params: | big.eql?(obj) => true or false visibility: public ri/1.8/system/Bignum/rpower-i.yaml 0000644 00000000521 15217654527 0012675 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: "**" block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a Rational number if the result is in fact rational (i.e. other < 0). full_name: Bignum#rpower is_singleton: false name: rpower params: (other) visibility: public ri/1.8/system/Bignum/coerce-i.yaml 0000644 00000000345 15217654527 0012623 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "MISSING: documentation" full_name: Bignum#coerce is_singleton: false name: coerce params: (p1) visibility: public ri/1.8/system/Bignum/%2a%2a-i.yaml 0000644 00000001165 15217654527 0012223 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: power! block_params: comment: - !ruby/struct:SM::Flow::P body: Raises big to the exponent power (which may be an integer, float, or anything that will coerce to a number). The result may be a Fixnum, Bignum, or Float - !ruby/struct:SM::Flow::VERB body: " 123456789 ** 2 #=> 15241578750190521\n 123456789 ** 1.2 #=> 5126464716.09932\n 123456789 ** -2 #=> 6.5610001194102e-17\n" full_name: Bignum#** is_singleton: false name: "**" params: | big ** exponent #=> numeric visibility: public ri/1.8/system/List/new-c.yaml 0000644 00000000353 15217654527 0011637 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Just initializes all instance variables. full_name: List::new is_singleton: true name: new params: () visibility: public ri/1.8/system/List/each_option-i.yaml 0000644 00000000435 15217654527 0013345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates over each option, passing the option to the block. full_name: List#each_option is_singleton: false name: each_option params: (&block) visibility: public ri/1.8/system/List/reject-i.yaml 0000644 00000000342 15217654527 0012326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See OptionParser.reject. full_name: List#reject is_singleton: false name: reject params: (t) visibility: public ri/1.8/system/List/search-i.yaml 0000644 00000000546 15217654527 0012325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (val) comment: - !ruby/struct:SM::Flow::P body: Searches key in id list. The result is returned or yielded if a block is given. If it isn't found, nil is returned. full_name: List#search is_singleton: false name: search params: (id, key) {|val| ...} visibility: public ri/1.8/system/List/prepend-i.yaml 0000644 00000001614 15217654527 0012512 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Inserts switch at the head of the list, and associates short, long and negated long options. Arguments are:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+switch+:" body: OptionParser::Switch instance to be inserted. - !ruby/struct:SM::Flow::LI label: "+short_opts+:" body: List of short style options. - !ruby/struct:SM::Flow::LI label: "+long_opts+:" body: List of long style options. - !ruby/struct:SM::Flow::LI label: "+nolong_opts+:" body: List of long style options with "no-" prefix. type: :NOTE - !ruby/struct:SM::Flow::VERB body: " prepend(switch, short_opts, long_opts, nolong_opts)\n" full_name: List#prepend is_singleton: false name: prepend params: (*args) visibility: public ri/1.8/system/List/append-i.yaml 0000644 00000001611 15217654527 0012321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Appends switch at the tail of the list, and associates short, long and negated long options. Arguments are:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+switch+:" body: OptionParser::Switch instance to be inserted. - !ruby/struct:SM::Flow::LI label: "+short_opts+:" body: List of short style options. - !ruby/struct:SM::Flow::LI label: "+long_opts+:" body: List of long style options. - !ruby/struct:SM::Flow::LI label: "+nolong_opts+:" body: List of long style options with "no-" prefix. type: :NOTE - !ruby/struct:SM::Flow::VERB body: " append(switch, short_opts, long_opts, nolong_opts)\n" full_name: List#append is_singleton: false name: append params: (*args) visibility: public ri/1.8/system/List/accept-i.yaml 0000644 00000000370 15217654527 0012312 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See OptionParser.accept. full_name: List#accept is_singleton: false name: accept params: (t, pat = /.*/nm, &block) visibility: public ri/1.8/system/List/summarize-i.yaml 0000644 00000000627 15217654527 0013074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates the summary table, passing each line to the block (without newline). The arguments args are passed along to the summarize method which is called on every option. full_name: List#summarize is_singleton: false name: summarize params: (*args, &block) visibility: public ri/1.8/system/List/cdesc-List.yaml 0000644 00000003027 15217654527 0012621 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Map from acceptable argument types to pattern and converter pairs. name: atype rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: List of all switches and summary string. name: list rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Map from long style option switches to actual switch objects. name: long rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Map from short style option switches to actual switch objects. name: short rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Simple option list providing mapping from short and/or long option string to OptionParser::Switch and mapping from acceptable argument to matching pattern and converter pair. Also provides summary feature. constants: [] full_name: List includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: accept - !ruby/object:RI::MethodSummary name: append - !ruby/object:RI::MethodSummary name: complete - !ruby/object:RI::MethodSummary name: each_option - !ruby/object:RI::MethodSummary name: prepend - !ruby/object:RI::MethodSummary name: reject - !ruby/object:RI::MethodSummary name: search - !ruby/object:RI::MethodSummary name: summarize - !ruby/object:RI::MethodSummary name: update name: List superclass: Object ri/1.8/system/List/update-i.yaml 0000644 00000001365 15217654527 0012342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Adds sw according to sopts, lopts and nlopts. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+sw+:" body: OptionParser::Switch instance to be added. - !ruby/struct:SM::Flow::LI label: "+sopts+:" body: Short style option list. - !ruby/struct:SM::Flow::LI label: "+lopts+:" body: Long style option list. - !ruby/struct:SM::Flow::LI label: "+nlopts+:" body: Negated long style options list. type: :NOTE full_name: List#update is_singleton: false name: update params: (sw, sopts, lopts, nsw = nil, nlopts = nil) visibility: private ri/1.8/system/List/complete-i.yaml 0000644 00000000750 15217654527 0012665 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Searches list id for opt and the optional patterns for completion pat. If icase is true, the search is case insensitive. The result is returned or yielded if a block is given. If it isn't found, nil is returned. full_name: List#complete is_singleton: false name: complete params: (id, opt, icase = false, *pat, &block) visibility: public ri/1.8/system/RegexpError/cdesc-RegexpError.yaml 0000644 00000000773 15217654527 0015510 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: "Document-class: Regexp" - !ruby/struct:SM::Flow::P body: A Regexp holds a regular expression, used to match a pattern against strings. Regexps are created using the /.../ and %r{...} literals, and by the Regexp::new constructor. constants: [] full_name: RegexpError includes: [] instance_methods: [] name: RegexpError superclass: StandardError ri/1.8/system/NKF/guess1-c.yaml 0000644 00000001406 15217654527 0011760 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns guessed encoding of str as integer. - !ruby/struct:SM::Flow::P body: "Algorithm described in: Ken Lunde. `Understanding Japanese Information Processing' Sebastopol, CA: O'Reilly & Associates." - !ruby/struct:SM::Flow::VERB body: " case NKF.guess1(input)\n when NKF::JIS\n "ISO-2022-JP"\n when NKF::SJIS\n "Shift_JIS"\n when NKF::EUC\n "EUC-JP"\n when NKF::UNKNOWN\n "UNKNOWN(ASCII)"\n when NKF::BINARY\n "BINARY"\n end\n" full_name: NKF::guess1 is_singleton: true name: guess1 params: | NKF.guess1(str) -> integer visibility: public ri/1.8/system/NKF/nkf-c.yaml 0000644 00000001127 15217654527 0011327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert str and return converted result. Conversion details are specified by opt as String. - !ruby/struct:SM::Flow::VERB body: " require 'nkf'\n output = NKF.nkf("-s", input)\n" - !ruby/struct:SM::Flow::P body: Note By default, nkf decodes MIME encoded string. If you want not to decode input, use NKF.nkf with -m0 flag. full_name: NKF::nkf is_singleton: true name: nkf params: | NKF.nkf(opt, str) -> string visibility: public ri/1.8/system/NKF/guess2-c.yaml 0000644 00000001341 15217654527 0011757 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns guessed encoding of str as integer by nkf routine. - !ruby/struct:SM::Flow::VERB body: " case NKF.guess(input)\n when NKF::ASCII\n "ASCII"\n when NKF::JIS\n "ISO-2022-JP"\n when NKF::SJIS\n "Shift_JIS"\n when NKF::EUC\n "EUC-JP"\n when NKF::UTF8\n "UTF-8"\n when NKF::UTF16\n "UTF-16"\n when NKF::UNKNOWN\n "UNKNOWN"\n when NKF::BINARY\n "BINARY"\n end\n" full_name: NKF::guess2 is_singleton: true name: guess2 params: | NKF.guess2(str) -> integer visibility: public ri/1.8/system/NKF/cdesc-NKF.yaml 0000644 00000031557 15217654527 0012040 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: guess1 - !ruby/object:RI::MethodSummary name: guess2 - !ruby/object:RI::MethodSummary name: nkf comment: - !ruby/struct:SM::Flow::P body: NKF - Ruby extension for Network Kanji Filter - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: This is a Ruby Extension version of nkf (Netowrk Kanji Filter). It converts the first argument and return converted result. Conversion details are specified by flags as the first argument. - !ruby/struct:SM::Flow::P body: Nkf is a yet another kanji code converter among networks, hosts and terminals. It converts input kanji code to designated kanji code such as ISO-2022-JP, Shift_JIS, EUC-JP, UTF-8 or UTF-16. - !ruby/struct:SM::Flow::P body: One of the most unique faculty of nkf is the guess of the input kanji encodings. It currently recognizes ISO-2022-JP, Shift_JIS, EUC-JP, UTF-8 and UTF-16. So users needn't set the input kanji code explicitly. - !ruby/struct:SM::Flow::P body: By default, X0201 kana is converted into X0208 kana. For X0201 kana, SO/SI, SSO and ESC-(-I methods are supported. For automatic code detection, nkf assumes no X0201 kana in Shift_JIS. To accept X0201 in Shift_JIS, use -X, -x or -S. - !ruby/struct:SM::Flow::H level: 2 text: Flags - !ruby/struct:SM::Flow::H level: 3 text: -b -u - !ruby/struct:SM::Flow::P body: Output is buffered (DEFAULT), Output is unbuffered. - !ruby/struct:SM::Flow::H level: 3 text: -j -s -e -w -w16 - !ruby/struct:SM::Flow::P body: Output code is ISO-2022-JP (7bit JIS), Shift_JIS, EUC-JP, UTF-8N, UTF-16BE. Without this option and compile option, ISO-2022-JP is assumed. - !ruby/struct:SM::Flow::H level: 3 text: -J -S -E -W -W16 - !ruby/struct:SM::Flow::P body: Input assumption is JIS 7 bit, Shift_JIS, EUC-JP, UTF-8, UTF-16LE. - !ruby/struct:SM::Flow::H level: 4 text: -J - !ruby/struct:SM::Flow::P body: Assume JIS input. It also accepts EUC-JP. This is the default. This flag does not exclude Shift_JIS. - !ruby/struct:SM::Flow::H level: 4 text: -S - !ruby/struct:SM::Flow::P body: Assume Shift_JIS and X0201 kana input. It also accepts JIS. EUC-JP is recognized as X0201 kana. Without -x flag, X0201 kana (halfwidth kana) is converted into X0208. - !ruby/struct:SM::Flow::H level: 4 text: -E - !ruby/struct:SM::Flow::P body: Assume EUC-JP input. It also accepts JIS. Same as -J. - !ruby/struct:SM::Flow::H level: 3 text: -t - !ruby/struct:SM::Flow::P body: No conversion. - !ruby/struct:SM::Flow::H level: 3 text: -i_ - !ruby/struct:SM::Flow::P body: Output sequence to designate JIS-kanji. (DEFAULT B) - !ruby/struct:SM::Flow::H level: 3 text: -o_ - !ruby/struct:SM::Flow::P body: Output sequence to designate ASCII. (DEFAULT B) - !ruby/struct:SM::Flow::H level: 3 text: -r - !ruby/struct:SM::Flow::P body: "{de/en}crypt ROT13/47" - !ruby/struct:SM::Flow::H level: 3 text: -h[123] --hiragana --katakana --katakana-hiragana - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: -h1 --hiragana body: Katakana to Hiragana conversion. - !ruby/struct:SM::Flow::LI label: -h2 --katakana body: Hiragana to Katakana conversion. - !ruby/struct:SM::Flow::LI label: -h3 --katakana-hiragana body: Katakana to Hiragana and Hiragana to Katakana conversion. type: :LABELED - !ruby/struct:SM::Flow::H level: 3 text: -T - !ruby/struct:SM::Flow::P body: Text mode output (MS-DOS) - !ruby/struct:SM::Flow::H level: 3 text: -l - !ruby/struct:SM::Flow::P body: ISO8859-1 (Latin-1) support - !ruby/struct:SM::Flow::H level: 3 text: -f[m [- n]] - !ruby/struct:SM::Flow::P body: Folding on m length with n margin in a line. Without this option, fold length is 60 and fold margin is 10. - !ruby/struct:SM::Flow::H level: 3 text: -F - !ruby/struct:SM::Flow::P body: New line preserving line folding. - !ruby/struct:SM::Flow::H level: 3 text: -Z[0-3] - !ruby/struct:SM::Flow::P body: Convert X0208 alphabet (Fullwidth Alphabets) to ASCII. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: -Z -Z0 body: Convert X0208 alphabet to ASCII. - !ruby/struct:SM::Flow::LI label: -Z1 body: Converts X0208 kankaku to single ASCII space. - !ruby/struct:SM::Flow::LI label: -Z2 body: Converts X0208 kankaku to double ASCII spaces. - !ruby/struct:SM::Flow::LI label: -Z3 body: Replacing Fullwidth >, <, ", & into '>', '<', '"', '&' as in HTML. type: :LABELED - !ruby/struct:SM::Flow::H level: 3 text: -X -x - !ruby/struct:SM::Flow::P body: Assume X0201 kana in MS-Kanji. With -X or without this option, X0201 is converted into X0208 Kana. With -x, try to preserve X0208 kana and do not convert X0201 kana to X0208. In JIS output, ESC-(-I is used. In EUC output, SSO is used. - !ruby/struct:SM::Flow::H level: 3 text: -B[0-2] - !ruby/struct:SM::Flow::P body: Assume broken JIS-Kanji input, which lost ESC. Useful when your site is using old B-News Nihongo patch. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: -B1 body: allows any char after ESC-( or ESC-$. - !ruby/struct:SM::Flow::LI label: -B2 body: forces ASCII after NL. type: :LABELED - !ruby/struct:SM::Flow::H level: 3 text: -I - !ruby/struct:SM::Flow::P body: Replacing non iso-2022-jp char into a geta character (substitute character in Japanese). - !ruby/struct:SM::Flow::H level: 3 text: -d -c - !ruby/struct:SM::Flow::P body: Delete \r in line feed, Add \r in line feed. - !ruby/struct:SM::Flow::H level: 3 text: -m[BQN0] - !ruby/struct:SM::Flow::P body: MIME ISO-2022-JP/ISO8859-1 decode. (DEFAULT) To see ISO8859-1 (Latin-1) -l is necessary. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: -mB body: Decode MIME base64 encoded stream. Remove header or other part before type: :LABELED - !ruby/struct:SM::Flow::P body: conversion. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: -mQ body: Decode MIME quoted stream. '_' in quoted stream is converted to space. - !ruby/struct:SM::Flow::LI label: -mN body: Non-strict decoding. type: :LABELED - !ruby/struct:SM::Flow::P body: It allows line break in the middle of the base64 encoding. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: -m0 body: No MIME decode. type: :LABELED - !ruby/struct:SM::Flow::H level: 3 text: -M - !ruby/struct:SM::Flow::P body: MIME encode. Header style. All ASCII code and control characters are intact. Kanji conversion is performed before encoding, so this cannot be used as a picture encoder. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: -MB body: MIME encode Base64 stream. - !ruby/struct:SM::Flow::LI label: -MQ body: Perfome quoted encoding. type: :LABELED - !ruby/struct:SM::Flow::H level: 3 text: -l - !ruby/struct:SM::Flow::P body: Input and output code is ISO8859-1 (Latin-1) and ISO-2022-JP. -s, -e and -x are not compatible with this option. - !ruby/struct:SM::Flow::H level: 3 text: -L[uwm] - !ruby/struct:SM::Flow::P body: new line mode Without this option, nkf doesn't convert line breaks. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: -Lu body: unix (LF) - !ruby/struct:SM::Flow::LI label: -Lw body: windows (CRLF) - !ruby/struct:SM::Flow::LI label: -Lm body: mac (CR) type: :LABELED - !ruby/struct:SM::Flow::H level: 3 text: --fj --unix --mac --msdos --windows - !ruby/struct:SM::Flow::P body: convert for these system - !ruby/struct:SM::Flow::H level: 3 text: --jis --euc --sjis --mime --base64 - !ruby/struct:SM::Flow::P body: convert for named code - !ruby/struct:SM::Flow::H level: 3 text: --jis-input --euc-input --sjis-input --mime-input --base64-input - !ruby/struct:SM::Flow::P body: assume input system - !ruby/struct:SM::Flow::H level: 3 text: --ic=input codeset --oc=output codeset - !ruby/struct:SM::Flow::P body: Set the input or output codeset. NKF supports following codesets and those codeset name are case insensitive. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: ISO-2022-JP body: a.k.a. RFC1468, 7bit JIS, JUNET - !ruby/struct:SM::Flow::LI label: EUC-JP (eucJP-nkf) body: a.k.a. AT&T JIS, Japanese EUC, UJIS - !ruby/struct:SM::Flow::LI label: eucJP-ascii body: a.k.a. x-eucjp-open-19970715-ascii - !ruby/struct:SM::Flow::LI label: eucJP-ms body: a.k.a. x-eucjp-open-19970715-ms - !ruby/struct:SM::Flow::LI label: CP51932 body: Microsoft Version of EUC-JP. - !ruby/struct:SM::Flow::LI label: Shift_JIS body: SJIS, MS-Kanji - !ruby/struct:SM::Flow::LI label: CP932 body: a.k.a. Windows-31J - !ruby/struct:SM::Flow::LI label: UTF-8 body: same as UTF-8N - !ruby/struct:SM::Flow::LI label: UTF-8N body: UTF-8 without BOM - !ruby/struct:SM::Flow::LI label: UTF-8-BOM body: UTF-8 with BOM - !ruby/struct:SM::Flow::LI label: UTF-16 body: same as UTF-16BE - !ruby/struct:SM::Flow::LI label: UTF-16BE body: UTF-16 Big Endian without BOM - !ruby/struct:SM::Flow::LI label: UTF-16BE-BOM body: UTF-16 Big Endian with BOM - !ruby/struct:SM::Flow::LI label: UTF-16LE body: UTF-16 Little Endian without BOM - !ruby/struct:SM::Flow::LI label: UTF-16LE-BOM body: UTF-16 Little Endian with BOM - !ruby/struct:SM::Flow::LI label: UTF8-MAC body: NKDed UTF-8, a.k.a. UTF8-NFD (input only) type: :LABELED - !ruby/struct:SM::Flow::H level: 3 text: --fb-{skip, html, xml, perl, java, subchar} - !ruby/struct:SM::Flow::P body: Specify the way that nkf handles unassigned characters. Without this option, --fb-skip is assumed. - !ruby/struct:SM::Flow::H level: 3 text: --prefix= escape character target character .. - !ruby/struct:SM::Flow::P body: When nkf converts to Shift_JIS, nkf adds a specified escape character to specified 2nd byte of Shift_JIS characters. 1st byte of argument is the escape character and following bytes are target characters. - !ruby/struct:SM::Flow::H level: 3 text: --disable-cp932ext - !ruby/struct:SM::Flow::P body: Handle the characters extended in CP932 as unassigned characters. - !ruby/struct:SM::Flow::H level: 3 text: --cap-input - !ruby/struct:SM::Flow::P body: Decode hex encoded characters. - !ruby/struct:SM::Flow::H level: 3 text: --url-input - !ruby/struct:SM::Flow::P body: Unescape percent escaped characters. - !ruby/struct:SM::Flow::H level: 3 text: -- - !ruby/struct:SM::Flow::P body: Ignore rest of -option. constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Auto-Detect name: AUTO value: INT2FIX(_AUTO) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: ISO-2022-JP name: JIS value: INT2FIX(_JIS) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: EUC-JP name: EUC value: INT2FIX(_EUC) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Shift_JIS name: SJIS value: INT2FIX(_SJIS) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: BINARY name: BINARY value: INT2FIX(_BINARY) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: No conversion name: NOCONV value: INT2FIX(_NOCONV) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: ASCII name: ASCII value: INT2FIX(_ASCII) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: UTF-8 name: UTF8 value: INT2FIX(_UTF8) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: UTF-16 name: UTF16 value: INT2FIX(_UTF16) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: UTF-32 name: UTF32 value: INT2FIX(_UTF32) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: UNKNOWN name: UNKNOWN value: INT2FIX(_UNKNOWN) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Full version string of nkf name: VERSION value: rb_str_new2(RUBY_NKF_VERSION) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Version of nkf name: NKF_VERSION value: rb_str_new2(NKF_VERSION) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Release date of nkf name: NKF_RELEASE_DATE value: rb_str_new2(NKF_RELEASE_DATE) full_name: NKF includes: [] instance_methods: [] name: NKF superclass: ri/1.8/system/NameDescriptor/new-c.yaml 0000644 00000001625 15217654527 0013646 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: arg may be - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "1." body: a class or module name (optionally qualified with other class or module names (Kernel, File::Stat etc) - !ruby/struct:SM::Flow::LI label: "2." body: a method name - !ruby/struct:SM::Flow::LI label: "3." body: a method name qualified by a optionally fully qualified class or module name type: :NUMBER - !ruby/struct:SM::Flow::P body: "We're fairly casual about delimiters: folks can say Kernel::puts, Kernel.puts, or Kernel\\#puts for example. There's one exception: if you say IO::read, we look for a class method, but if you say IO.read, we look for an instance method" full_name: NameDescriptor::new is_singleton: true name: new params: (arg) visibility: public ri/1.8/system/NameDescriptor/full_class_name-i.yaml 0000644 00000000513 15217654527 0016205 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the full class name (with '::' between the components) or "" if there's no class name full_name: NameDescriptor#full_class_name is_singleton: false name: full_class_name params: () visibility: public ri/1.8/system/NameDescriptor/cdesc-NameDescriptor.yaml 0000644 00000001361 15217654527 0016630 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: class_names rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: true and false have the obvious meaning. nil means we don't care name: is_class_method rw: R - !ruby/object:RI::Attribute comment: name: method_name rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Break argument into its constituent class or module names, an optional method type, and a method name constants: [] full_name: NameDescriptor includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: full_class_name name: NameDescriptor superclass: Object ri/1.8/system/ThreadGroup/cdesc-ThreadGroup.yaml 0000644 00000001537 15217654527 0015447 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: ThreadGroup provides a means of keeping track of a number of threads as a group. A Thread can belong to only one ThreadGroup at a time; adding a thread to a new group will remove it from any previous group. - !ruby/struct:SM::Flow::P body: Newly created threads belong to the same group as the thread from which they were created. constants: - !ruby/object:RI::Constant comment: name: Default value: thgroup_default full_name: ThreadGroup includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: enclose - !ruby/object:RI::MethodSummary name: enclosed? - !ruby/object:RI::MethodSummary name: list name: ThreadGroup superclass: Object ri/1.8/system/ThreadGroup/enclosed%3f-i.yaml 0000644 00000000515 15217654527 0014457 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if thgrp is enclosed. See also ThreadGroup#enclose. full_name: ThreadGroup#enclosed? is_singleton: false name: enclosed? params: | thgrp.enclosed? => true or false visibility: public ri/1.8/system/ThreadGroup/enclose-i.yaml 0000644 00000001516 15217654527 0014017 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Prevents threads from being added to or removed from the receiving ThreadGroup. New threads can still be started in an enclosed ThreadGroup. - !ruby/struct:SM::Flow::VERB body: " ThreadGroup::Default.enclose #=> #<ThreadGroup:0x4029d914>\n thr = Thread::new { Thread.stop } #=> #<Thread:0x402a7210 sleep>\n tg = ThreadGroup::new #=> #<ThreadGroup:0x402752d4>\n tg.add thr\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " ThreadError: can't move from the enclosed thread group\n" full_name: ThreadGroup#enclose is_singleton: false name: enclose params: | thgrp.enclose => thgrp visibility: public ri/1.8/system/ThreadGroup/list-i.yaml 0000644 00000000651 15217654527 0013341 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array of all existing Thread objects that belong to this group. - !ruby/struct:SM::Flow::VERB body: " ThreadGroup::Default.list #=> [#<Thread:0x401bdf4c run>]\n" full_name: ThreadGroup#list is_singleton: false name: list params: | thgrp.list => array visibility: public ri/1.8/system/ThreadGroup/add-i.yaml 0000644 00000002067 15217654527 0013121 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Adds the given thread to this group, removing it from any other group to which it may have previously belonged. - !ruby/struct:SM::Flow::VERB body: " puts "Initial group is #{ThreadGroup::Default.list}"\n tg = ThreadGroup.new\n t1 = Thread.new { sleep }\n t2 = Thread.new { sleep }\n puts "t1 is #{t1}"\n puts "t2 is #{t2}"\n tg.add(t1)\n puts "Initial group now #{ThreadGroup::Default.list}"\n puts "tg group now #{tg.list}"\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Initial group is #<Thread:0x401bdf4c>\n t1 is #<Thread:0x401b3c90>\n t2 is #<Thread:0x401b3c18>\n Initial group now #<Thread:0x401b3c18>#<Thread:0x401bdf4c>\n tg group now #<Thread:0x401b3c90>\n" full_name: ThreadGroup#add is_singleton: false name: add params: | thgrp.add(thread) => thgrp visibility: public ri/1.8/system/Test/Unit/Collector/new-c.yaml 0000644 00000000257 15217654527 0014513 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::Collector::new is_singleton: true name: new params: () visibility: public ri/1.8/system/Test/Unit/Collector/ObjectSpace/new-c.yaml 0000644 00000000320 15217654527 0016664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::Collector::ObjectSpace::new is_singleton: true name: new params: (source=::ObjectSpace) visibility: public ri/1.8/system/Test/Unit/Collector/ObjectSpace/collect-i.yaml 0000644 00000000315 15217654527 0017532 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::Collector::ObjectSpace#collect is_singleton: false name: collect params: (name=NAME) visibility: public ri/1.8/system/Test/Unit/Collector/ObjectSpace/cdesc-ObjectSpace.yaml 0000644 00000000705 15217654527 0021123 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: NAME value: "'collected from the ObjectSpace'" full_name: Test::Unit::Collector::ObjectSpace includes: - !ruby/object:RI::IncludedModule name: Collector instance_methods: - !ruby/object:RI::MethodSummary name: collect name: ObjectSpace superclass: Object ri/1.8/system/Test/Unit/Collector/sort-i.yaml 0000644 00000000267 15217654527 0014720 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::Collector#sort is_singleton: false name: sort params: (suites) visibility: public ri/1.8/system/Test/Unit/Collector/Dir/new-c.yaml 0000644 00000000357 15217654527 0015232 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::Collector::Dir::new is_singleton: true name: new params: (dir=::Dir, file=::File, object_space=::ObjectSpace, req=nil) visibility: public ri/1.8/system/Test/Unit/Collector/Dir/collect-i.yaml 0000644 00000000301 15217654527 0016061 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::Collector::Dir#collect is_singleton: false name: collect params: (*from) visibility: public ri/1.8/system/Test/Unit/Collector/Dir/cdesc-Dir.yaml 0000644 00000001366 15217654527 0016017 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: base rw: RW - !ruby/object:RI::Attribute comment: name: exclude rw: R - !ruby/object:RI::Attribute comment: name: pattern rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Test::Unit::Collector::Dir includes: - !ruby/object:RI::IncludedModule name: Collector instance_methods: - !ruby/object:RI::MethodSummary name: collect - !ruby/object:RI::MethodSummary name: collect_file - !ruby/object:RI::MethodSummary name: find_test_cases - !ruby/object:RI::MethodSummary name: realdir - !ruby/object:RI::MethodSummary name: recursive_collect name: Dir superclass: Object ri/1.8/system/Test/Unit/Collector/Dir/find_test_cases-i.yaml 0000644 00000000325 15217654527 0017577 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::Collector::Dir#find_test_cases is_singleton: false name: find_test_cases params: (ignore=[]) visibility: public ri/1.8/system/Test/Unit/Collector/Dir/realdir-i.yaml 0000644 00000000300 15217654527 0016055 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::Collector::Dir#realdir is_singleton: false name: realdir params: (path) visibility: public ri/1.8/system/Test/Unit/Collector/Dir/recursive_collect-i.yaml 0000644 00000000346 15217654527 0020161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::Collector::Dir#recursive_collect is_singleton: false name: recursive_collect params: (name, already_gathered) visibility: public ri/1.8/system/Test/Unit/Collector/Dir/collect_file-i.yaml 0000644 00000000344 15217654527 0017067 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::Collector::Dir#collect_file is_singleton: false name: collect_file params: (name, suites, already_gathered) visibility: public ri/1.8/system/Test/Unit/Collector/filter%3d-i.yaml 0000644 00000000276 15217654527 0015512 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::Collector#filter= is_singleton: false name: filter= params: (filters) visibility: public ri/1.8/system/Test/Unit/Collector/cdesc-Collector.yaml 0000644 00000000665 15217654527 0016512 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Test::Unit::Collector includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_suite - !ruby/object:RI::MethodSummary name: filter= - !ruby/object:RI::MethodSummary name: include? - !ruby/object:RI::MethodSummary name: sort name: Collector superclass: ri/1.8/system/Test/Unit/Collector/add_suite-i.yaml 0000644 00000000315 15217654527 0015664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::Collector#add_suite is_singleton: false name: add_suite params: (destination, suite) visibility: public ri/1.8/system/Test/Unit/Collector/include%3f-i.yaml 0000644 00000000275 15217654527 0015651 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::Collector#include? is_singleton: false name: include? params: (test) visibility: public ri/1.8/system/Test/Unit/Failure/new-c.yaml 0000644 00000000450 15217654527 0014147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new Failure with the given location and message. full_name: Test::Unit::Failure::new is_singleton: true name: new params: (test_name, location, message) visibility: public ri/1.8/system/Test/Unit/Failure/to_s-i.yaml 0000644 00000000366 15217654527 0014336 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Overridden to return long_display. full_name: Test::Unit::Failure#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/Test/Unit/Failure/short_display-i.yaml 0000644 00000000427 15217654527 0016254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a brief version of the error description. full_name: Test::Unit::Failure#short_display is_singleton: false name: short_display params: () visibility: public ri/1.8/system/Test/Unit/Failure/cdesc-Failure.yaml 0000644 00000001536 15217654527 0015612 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: location rw: R - !ruby/object:RI::Attribute comment: name: message rw: R - !ruby/object:RI::Attribute comment: name: test_name rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Encapsulates a test failure. Created by Test::Unit::TestCase when an assertion fails. constants: - !ruby/object:RI::Constant comment: name: SINGLE_CHARACTER value: "'F'" full_name: Test::Unit::Failure includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: long_display - !ruby/object:RI::MethodSummary name: short_display - !ruby/object:RI::MethodSummary name: single_character_display - !ruby/object:RI::MethodSummary name: to_s name: Failure superclass: Object ri/1.8/system/Test/Unit/Failure/long_display-i.yaml 0000644 00000000427 15217654527 0016054 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a verbose version of the error description. full_name: Test::Unit::Failure#long_display is_singleton: false name: long_display params: () visibility: public ri/1.8/system/Test/Unit/Failure/single_character_display-i.yaml 0000644 00000000463 15217654527 0020412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a single character representation of a failure. full_name: Test::Unit::Failure#single_character_display is_singleton: false name: single_character_display params: () visibility: public ri/1.8/system/Test/Unit/run%3f-c.yaml 0000644 00000000342 15217654527 0013071 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Already tests have run? full_name: Test::Unit::run? is_singleton: true name: run? params: () visibility: public ri/1.8/system/Test/Unit/TestSuite/new-c.yaml 0000644 00000000430 15217654527 0014507 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new TestSuite with the given name. full_name: Test::Unit::TestSuite::new is_singleton: true name: new params: (name="Unnamed TestSuite") visibility: public ri/1.8/system/Test/Unit/TestSuite/to_s-i.yaml 0000644 00000000420 15217654527 0014667 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Overridden to return the name given the suite at creation. full_name: Test::Unit::TestSuite#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/Test/Unit/TestSuite/delete-i.yaml 0000644 00000000271 15217654527 0015171 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::TestSuite#delete is_singleton: false name: delete params: (test) visibility: public ri/1.8/system/Test/Unit/TestSuite/%3c%3c-i.yaml 0000644 00000000363 15217654527 0014576 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Adds the test to the suite. full_name: Test::Unit::TestSuite#<< is_singleton: false name: "<<" params: (test) visibility: public ri/1.8/system/Test/Unit/TestSuite/run-i.yaml 0000644 00000000511 15217654527 0014530 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (STARTED, name) comment: - !ruby/struct:SM::Flow::P body: Runs the tests and/or suites contained in this TestSuite. full_name: Test::Unit::TestSuite#run is_singleton: false name: run params: (result, &progress_block) {|STARTED, name| ...} visibility: public ri/1.8/system/Test/Unit/TestSuite/size-i.yaml 0000644 00000000566 15217654527 0014710 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Retuns the rolled up number of tests in this suite; i.e. if the suite contains other suites, it counts the tests within those suites, not the suites themselves. full_name: Test::Unit::TestSuite#size is_singleton: false name: size params: () visibility: public ri/1.8/system/Test/Unit/TestSuite/%3d%3d-i.yaml 0000644 00000000414 15217654527 0014575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: It's handy to be able to compare TestSuite instances. full_name: Test::Unit::TestSuite#== is_singleton: false name: == params: (other) visibility: public ri/1.8/system/Test/Unit/TestSuite/empty%3f-i.yaml 0000644 00000000265 15217654527 0015366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::TestSuite#empty? is_singleton: false name: empty? params: () visibility: public ri/1.8/system/Test/Unit/TestSuite/cdesc-TestSuite.yaml 0000644 00000002342 15217654527 0016512 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: tests rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "A collection of tests which can be #run." - !ruby/struct:SM::Flow::P body: "Note: It is easy to confuse a TestSuite instance with something that has a static suite method; I know because I have trouble keeping them straight. Think of something that has a suite method as simply providing a way to get a meaningful TestSuite instance." constants: - !ruby/object:RI::Constant comment: name: STARTED value: name + "::STARTED" - !ruby/object:RI::Constant comment: name: FINISHED value: name + "::FINISHED" full_name: Test::Unit::TestSuite includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: run - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: to_s name: TestSuite superclass: Object ri/1.8/system/Test/Unit/TestResult/new-c.yaml 0000644 00000000370 15217654527 0014677 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Constructs a new, empty TestResult. full_name: Test::Unit::TestResult::new is_singleton: true name: new params: () visibility: public ri/1.8/system/Test/Unit/TestResult/cdesc-TestResult.yaml 0000644 00000002317 15217654527 0017066 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: assertion_count rw: R - !ruby/object:RI::Attribute comment: name: run_count rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Collects Test::Unit::Failure and Test::Unit::Error so that they can be displayed to the user. To this end, observers can be added to it, allowing the dynamic updating of, say, a UI. constants: - !ruby/object:RI::Constant comment: name: CHANGED value: "\"CHANGED\"" - !ruby/object:RI::Constant comment: name: FAULT value: "\"FAULT\"" full_name: Test::Unit::TestResult includes: - !ruby/object:RI::IncludedModule name: Util::Observable instance_methods: - !ruby/object:RI::MethodSummary name: add_assertion - !ruby/object:RI::MethodSummary name: add_error - !ruby/object:RI::MethodSummary name: add_failure - !ruby/object:RI::MethodSummary name: add_run - !ruby/object:RI::MethodSummary name: error_count - !ruby/object:RI::MethodSummary name: failure_count - !ruby/object:RI::MethodSummary name: passed? - !ruby/object:RI::MethodSummary name: to_s name: TestResult superclass: Object ri/1.8/system/Test/Unit/TestResult/to_s-i.yaml 0000644 00000000466 15217654527 0015066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a string contain the recorded runs, assertions, failures and errors in this TestResult. full_name: Test::Unit::TestResult#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/Test/Unit/TestResult/failure_count-i.yaml 0000644 00000000445 15217654527 0016756 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of failures this TestResult has recorded. full_name: Test::Unit::TestResult#failure_count is_singleton: false name: failure_count params: () visibility: public ri/1.8/system/Test/Unit/TestResult/add_error-i.yaml 0000644 00000000402 15217654527 0016051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Records a Test::Unit::Error. full_name: Test::Unit::TestResult#add_error is_singleton: false name: add_error params: (error) visibility: public ri/1.8/system/Test/Unit/TestResult/add_assertion-i.yaml 0000644 00000000411 15217654527 0016727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Records an individual assertion. full_name: Test::Unit::TestResult#add_assertion is_singleton: false name: add_assertion params: () visibility: public ri/1.8/system/Test/Unit/TestResult/passed%3f-i.yaml 0000644 00000000445 15217654527 0015674 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns whether or not this TestResult represents successful completion. full_name: Test::Unit::TestResult#passed? is_singleton: false name: passed? params: () visibility: public ri/1.8/system/Test/Unit/TestResult/add_failure-i.yaml 0000644 00000000412 15217654527 0016350 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Records a Test::Unit::Failure. full_name: Test::Unit::TestResult#add_failure is_singleton: false name: add_failure params: (failure) visibility: public ri/1.8/system/Test/Unit/TestResult/add_run-i.yaml 0000644 00000000360 15217654527 0015527 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Records a test run. full_name: Test::Unit::TestResult#add_run is_singleton: false name: add_run params: () visibility: public ri/1.8/system/Test/Unit/TestResult/error_count-i.yaml 0000644 00000000437 15217654527 0016461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of errors this TestResult has recorded. full_name: Test::Unit::TestResult#error_count is_singleton: false name: error_count params: () visibility: public ri/1.8/system/Test/Unit/Util/BacktraceFilter/cdesc-BacktraceFilter.yaml 0000644 00000001074 15217654527 0021620 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: TESTUNIT_FILE_SEPARATORS value: "%r{[\\\\/:]}" - !ruby/object:RI::Constant comment: name: TESTUNIT_PREFIX value: __FILE__.split(TESTUNIT_FILE_SEPARATORS)[0..-3] - !ruby/object:RI::Constant comment: name: TESTUNIT_RB_FILE value: /\.rb\Z/ full_name: Test::Unit::Util::BacktraceFilter includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: filter_backtrace name: BacktraceFilter superclass: ri/1.8/system/Test/Unit/Util/BacktraceFilter/filter_backtrace-i.yaml 0000644 00000000352 15217654527 0021224 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::Util::BacktraceFilter#filter_backtrace is_singleton: false name: filter_backtrace params: (backtrace, prefix=nil) visibility: public ri/1.8/system/Test/Unit/Util/Observable/notify_listeners-i.yaml 0000644 00000000667 15217654527 0020410 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls all the procs registered on the channel indicated by channel_name. If value is specified, it is passed in to the procs, otherwise they are called with no arguments. full_name: Test::Unit::Util::Observable#notify_listeners is_singleton: false name: notify_listeners params: (channel_name, *arguments) visibility: public ri/1.8/system/Test/Unit/Util/Observable/remove_listener-i.yaml 0000644 00000000636 15217654527 0020206 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes the listener indicated by listener_key from the channel indicated by channel_name. Returns the registered proc, or nil if none was found. full_name: Test::Unit::Util::Observable#remove_listener is_singleton: false name: remove_listener params: (channel_name, listener_key) visibility: public ri/1.8/system/Test/Unit/Util/Observable/add_listener-i.yaml 0000644 00000001372 15217654527 0017437 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: value comment: - !ruby/struct:SM::Flow::P body: Adds the passed proc as a listener on the channel indicated by channel_name. listener_key is used to remove the listener later; if none is specified, the proc itself is used. - !ruby/struct:SM::Flow::P body: "Whatever is used as the listener_key is returned, making it very easy to use the proc itself as the listener_key:" - !ruby/struct:SM::Flow::VERB body: " listener = add_listener("Channel") { ... }\n remove_listener("Channel", listener)\n" full_name: Test::Unit::Util::Observable#add_listener is_singleton: false name: add_listener params: (channel_name, listener_key=NOTHING) {|value| ...} visibility: public ri/1.8/system/Test/Unit/Util/Observable/channels-i.yaml 0000644 00000000301 15217654527 0016564 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::Util::Observable#channels is_singleton: false name: channels params: () visibility: private ri/1.8/system/Test/Unit/Util/Observable/cdesc-Observable.yaml 0000644 00000001365 15217654527 0017721 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: This is a utility class that allows anything mixing it in to notify a set of listeners about interesting events. constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: We use this for defaults since nil might mean something name: NOTHING value: "\"NOTHING/#{__id__}\"" full_name: Test::Unit::Util::Observable includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_listener - !ruby/object:RI::MethodSummary name: channels - !ruby/object:RI::MethodSummary name: notify_listeners - !ruby/object:RI::MethodSummary name: remove_listener name: Observable superclass: ri/1.8/system/Test/Unit/Util/ProcWrapper/new-c.yaml 0000644 00000000403 15217654527 0015737 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new wrapper for a_proc. full_name: Test::Unit::Util::ProcWrapper::new is_singleton: true name: new params: (a_proc) visibility: public ri/1.8/system/Test/Unit/Util/ProcWrapper/cdesc-ProcWrapper.yaml 0000644 00000001442 15217654527 0020255 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Allows the storage of a Proc passed through '&' in a hash. - !ruby/struct:SM::Flow::P body: "Note: this may be inefficient, since the hash being used is not necessarily very good. In Observable, efficiency is not too important, since the hash is only accessed when adding and removing listeners, not when notifying." constants: [] full_name: Test::Unit::Util::ProcWrapper includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: to_proc name: ProcWrapper superclass: Object ri/1.8/system/Test/Unit/Util/ProcWrapper/hash-i.yaml 0000644 00000000271 15217654527 0016102 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::Util::ProcWrapper#hash is_singleton: false name: hash params: () visibility: public ri/1.8/system/Test/Unit/Util/ProcWrapper/to_proc-i.yaml 0000644 00000000277 15217654527 0016632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::Util::ProcWrapper#to_proc is_singleton: false name: to_proc params: () visibility: public ri/1.8/system/Test/Unit/Util/ProcWrapper/%3d%3d-i.yaml 0000644 00000000342 15217654527 0016025 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: eql? block_params: comment: full_name: Test::Unit::Util::ProcWrapper#== is_singleton: false name: == params: (other) visibility: public ri/1.8/system/Test/Unit/Util/ProcWrapper/eql%3f-i.yaml 0000644 00000000362 15217654527 0016237 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #==" full_name: Test::Unit::Util::ProcWrapper#eql? is_singleton: false name: eql? params: (other) visibility: public ri/1.8/system/Test/Unit/Util/cdesc-Util.yaml 0000644 00000000273 15217654527 0014463 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Test::Unit::Util includes: [] instance_methods: [] name: Util superclass: ri/1.8/system/Test/Unit/Error/new-c.yaml 0000644 00000000437 15217654527 0013656 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new Error with the given test_name and exception. full_name: Test::Unit::Error::new is_singleton: true name: new params: (test_name, exception) visibility: public ri/1.8/system/Test/Unit/Error/to_s-i.yaml 0000644 00000000364 15217654527 0014036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Overridden to return long_display. full_name: Test::Unit::Error#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/Test/Unit/Error/cdesc-Error.yaml 0000644 00000001671 15217654527 0015016 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: exception rw: R - !ruby/object:RI::Attribute comment: name: test_name rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Encapsulates an error in a test. Created by Test::Unit::TestCase when it rescues an exception thrown during the processing of a test. constants: - !ruby/object:RI::Constant comment: name: SINGLE_CHARACTER value: "'E'" full_name: Test::Unit::Error includes: - !ruby/object:RI::IncludedModule name: Util::BacktraceFilter instance_methods: - !ruby/object:RI::MethodSummary name: long_display - !ruby/object:RI::MethodSummary name: message - !ruby/object:RI::MethodSummary name: short_display - !ruby/object:RI::MethodSummary name: single_character_display - !ruby/object:RI::MethodSummary name: to_s name: Error superclass: Object ri/1.8/system/Test/Unit/Error/message-i.yaml 0000644 00000000406 15217654527 0014513 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the message associated with the error. full_name: Test::Unit::Error#message is_singleton: false name: message params: () visibility: public ri/1.8/system/Test/Unit/Error/short_display-i.yaml 0000644 00000000425 15217654527 0015754 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a brief version of the error description. full_name: Test::Unit::Error#short_display is_singleton: false name: short_display params: () visibility: public ri/1.8/system/Test/Unit/Error/long_display-i.yaml 0000644 00000000425 15217654527 0015554 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a verbose version of the error description. full_name: Test::Unit::Error#long_display is_singleton: false name: long_display params: () visibility: public ri/1.8/system/Test/Unit/Error/single_character_display-i.yaml 0000644 00000000460 15217654527 0020111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a single character representation of an error. full_name: Test::Unit::Error#single_character_display is_singleton: false name: single_character_display params: () visibility: public ri/1.8/system/Test/Unit/cdesc-Unit.yaml 0000644 00000030710 15217654527 0013547 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: run= - !ruby/object:RI::MethodSummary name: run? comment: - !ruby/struct:SM::Flow::H level: 1 text: Test::Unit - Ruby Unit Testing Framework - !ruby/struct:SM::Flow::H level: 2 text: Introduction - !ruby/struct:SM::Flow::P body: Unit testing is making waves all over the place, largely due to the fact that it is a core practice of XP. While XP is great, unit testing has been around for a long time and has always been a good idea. One of the keys to good unit testing, though, is not just writing tests, but having tests. What's the difference? Well, if you just write a test and throw it away, you have no guarantee that something won't change later which breaks your code. If, on the other hand, you have tests (obviously you have to write them first), and run them as often as possible, you slowly build up a wall of things that cannot break without you immediately knowing about it. This is when unit testing hits its peak usefulness. - !ruby/struct:SM::Flow::P body: Enter Test::Unit, a framework for unit testing in Ruby, helping you to design, debug and evaluate your code by making it easy to write and have tests for it. - !ruby/struct:SM::Flow::H level: 2 text: Notes - !ruby/struct:SM::Flow::P body: Test::Unit has grown out of and superceded Lapidary. - !ruby/struct:SM::Flow::H level: 2 text: Feedback - !ruby/struct:SM::Flow::P body: I like (and do my best to practice) XP, so I value early releases, user feedback, and clean, simple, expressive code. There is always room for improvement in everything I do, and Test::Unit is no exception. Please, let me know what you think of Test::Unit as it stands, and what you'd like to see expanded/changed/improved/etc. If you find a bug, let me know ASAP; one good way to let me know what the bug is is to submit a new test that catches it :-) Also, I'd love to hear about any successes you have with Test::Unit, and any documentation you might add will be greatly appreciated. My contact info is below. - !ruby/struct:SM::Flow::H level: 2 text: Contact Information - !ruby/struct:SM::Flow::P body: A lot of discussion happens about Ruby in general on the ruby-talk mailing list (http://www.ruby-lang.org/en/ml.html), and you can ask any questions you might have there. I monitor the list, as do many other helpful Rubyists, and you're sure to get a quick answer. Of course, you're also welcome to email me (Nathaniel Talbott) directly at mailto:testunit@talbott.ws, and I'll do my best to help you out. - !ruby/struct:SM::Flow::H level: 2 text: Credits - !ruby/struct:SM::Flow::P body: I'd like to thank... - !ruby/struct:SM::Flow::P body: Matz, for a great language! - !ruby/struct:SM::Flow::P body: Masaki Suketa, for his work on RubyUnit, which filled a vital need in the Ruby world for a very long time. I'm also grateful for his help in polishing Test::Unit and getting the RubyUnit compatibility layer right. His graciousness in allowing Test::Unit to supercede RubyUnit continues to be a challenge to me to be more willing to defer my own rights. - !ruby/struct:SM::Flow::P body: Ken McKinlay, for his interest and work on unit testing, and for his willingness to dialog about it. He was also a great help in pointing out some of the holes in the RubyUnit compatibility layer. - !ruby/struct:SM::Flow::P body: Dave Thomas, for the original idea that led to the extremely simple "require 'test/unit'", plus his code to improve it even more by allowing the selection of tests from the command-line. Also, without RDoc, the documentation for Test::Unit would stink a lot more than it does now. - !ruby/struct:SM::Flow::P body: Everyone who's helped out with bug reports, feature ideas, encouragement to continue, etc. It's a real privilege to be a part of the Ruby community. - !ruby/struct:SM::Flow::P body: The guys at RoleModel Software, for putting up with me repeating, "But this would be so much easier in Ruby!" whenever we're coding in Java. - !ruby/struct:SM::Flow::P body: My Creator, for giving me life, and giving it more abundantly. - !ruby/struct:SM::Flow::H level: 2 text: License - !ruby/struct:SM::Flow::P body: Test::Unit is copyright (c) 2000-2003 Nathaniel Talbott. It is free software, and is distributed under the Ruby license. See the COPYING file in the standard Ruby distribution for details. - !ruby/struct:SM::Flow::H level: 2 text: Warranty - !ruby/struct:SM::Flow::P body: This software is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose. - !ruby/struct:SM::Flow::H level: 2 text: Author - !ruby/struct:SM::Flow::P body: Nathaniel Talbott. Copyright (c) 2000-2003, Nathaniel Talbott - !ruby/struct:SM::Flow::RULE width: 2 - !ruby/struct:SM::Flow::H level: 1 text: Usage - !ruby/struct:SM::Flow::P body: The general idea behind unit testing is that you write a test method that makes certain assertions about your code, working against a test fixture. A bunch of these test methods are bundled up into a test suite and can be run any time the developer wants. The results of a run are gathered in a test result and displayed to the user through some UI. So, lets break this down and see how Test::Unit provides each of these necessary pieces. - !ruby/struct:SM::Flow::H level: 2 text: Assertions - !ruby/struct:SM::Flow::P body: These are the heart of the framework. Think of an assertion as a statement of expected outcome, i.e. "I assert that x should be equal to y". If, when the assertion is executed, it turns out to be correct, nothing happens, and life is good. If, on the other hand, your assertion turns out to be false, an error is propagated with pertinent information so that you can go back and make your assertion succeed, and, once again, life is good. For an explanation of the current assertions, see Test::Unit::Assertions. - !ruby/struct:SM::Flow::H level: 2 text: Test Method & Test Fixture - !ruby/struct:SM::Flow::P body: Obviously, these assertions have to be called within a context that knows about them and can do something meaningful with their pass/fail value. Also, it's handy to collect a bunch of related tests, each test represented by a method, into a common test class that knows how to run them. The tests will be in a separate class from the code they're testing for a couple of reasons. First of all, it allows your code to stay uncluttered with test code, making it easier to maintain. Second, it allows the tests to be stripped out for deployment, since they're really there for you, the developer, and your users don't need them. Third, and most importantly, it allows you to set up a common test fixture for your tests to run against. - !ruby/struct:SM::Flow::P body: What's a test fixture? Well, tests do not live in a vacuum; rather, they're run against the code they are testing. Often, a collection of tests will run against a common set of data, also called a fixture. If they're all bundled into the same test class, they can all share the setting up and tearing down of that data, eliminating unnecessary duplication and making it much easier to add related tests. - !ruby/struct:SM::Flow::P body: "Test::Unit::TestCase wraps up a collection of test methods together and allows you to easily set up and tear down the same test fixture for each test. This is done by overriding #setup and/or #teardown, which will be called before and after each test method that is run. The TestCase also knows how to collect the results of your assertions into a Test::Unit::TestResult, which can then be reported back to you... but I'm getting ahead of myself. To write a test, follow these steps:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Make sure Test::Unit is in your library path. - !ruby/struct:SM::Flow::LI label: "*" body: require 'test/unit' in your test script. - !ruby/struct:SM::Flow::LI label: "*" body: Create a class that subclasses Test::Unit::TestCase. - !ruby/struct:SM::Flow::LI label: "*" body: Add a method that begins with "test" to your class. - !ruby/struct:SM::Flow::LI label: "*" body: Make assertions in your test method. - !ruby/struct:SM::Flow::LI label: "*" body: "Optionally define #setup and/or #teardown to set up and/or tear down your common test fixture." - !ruby/struct:SM::Flow::LI label: "*" body: You can now run your test as you would any other Ruby script... try it and see! type: :BULLET - !ruby/struct:SM::Flow::P body: "A really simple test might look like this (#setup and #teardown are commented out to indicate that they are completely optional):" - !ruby/struct:SM::Flow::VERB body: " require 'test/unit'\n\n class TC_MyTest < Test::Unit::TestCase\n # def setup\n # end\n\n # def teardown\n # end\n\n def test_fail\n assert(false, 'Assertion was false.')\n end\n end\n" - !ruby/struct:SM::Flow::H level: 2 text: Test Runners - !ruby/struct:SM::Flow::P body: "So, now you have this great test class, but you still need a way to run it and view any failures that occur during the run. This is where Test::Unit::UI::Console::TestRunner (and others, such as Test::Unit::UI::GTK::TestRunner) comes into play. The console test runner is automatically invoked for you if you require 'test/unit' and simply run the file. To use another runner, or to manually invoke a runner, simply call its run class method and pass in an object that responds to the suite message with a Test::Unit::TestSuite. This can be as simple as passing in your TestCase class (which has a class suite method). It might look something like this:" - !ruby/struct:SM::Flow::VERB body: " require 'test/unit/ui/console/testrunner'\n Test::Unit::UI::Console::TestRunner.run(TC_MyTest)\n" - !ruby/struct:SM::Flow::H level: 2 text: Test Suite - !ruby/struct:SM::Flow::P body: "As more and more unit tests accumulate for a given project, it becomes a real drag running them one at a time, and it also introduces the potential to overlook a failing test because you forget to run it. Suddenly it becomes very handy that the TestRunners can take any object that returns a Test::Unit::TestSuite in response to a suite method. The TestSuite can, in turn, contain other TestSuites or individual tests (typically created by a TestCase). In other words, you can easily wrap up a group of TestCases and TestSuites like this:" - !ruby/struct:SM::Flow::VERB body: " require 'test/unit/testsuite'\n require 'tc_myfirsttests'\n require 'tc_moretestsbyme'\n require 'ts_anothersetoftests'\n\n class TS_MyTests\n def self.suite\n suite = Test::Unit::TestSuite.new\n suite << TC_MyFirstTests.suite\n suite << TC_MoreTestsByMe.suite\n suite << TS_AnotherSetOfTests.suite\n return suite\n end\n end\n Test::Unit::UI::Console::TestRunner.run(TS_MyTests)\n" - !ruby/struct:SM::Flow::P body: "Now, this is a bit cumbersome, so Test::Unit does a little bit more for you, by wrapping these up automatically when you require 'test/unit'. What does this mean? It means you could write the above test case like this instead:" - !ruby/struct:SM::Flow::VERB body: " require 'test/unit'\n require 'tc_myfirsttests'\n require 'tc_moretestsbyme'\n require 'ts_anothersetoftests'\n" - !ruby/struct:SM::Flow::P body: Test::Unit is smart enough to find all the test cases existing in the ObjectSpace and wrap them up into a suite for you. It then runs the dynamic suite using the console TestRunner. - !ruby/struct:SM::Flow::H level: 2 text: Questions? - !ruby/struct:SM::Flow::P body: I'd really like to get feedback from all levels of Ruby practitioners about typos, grammatical errors, unclear statements, missing points, etc., in this document (or any other). constants: - !ruby/object:RI::Constant comment: name: OUTPUT_LEVELS value: "[ [:silent, UI::SILENT], [:progress, UI::PROGRESS_ONLY], [:normal, UI::NORMAL], [:verbose, UI::VERBOSE], ]" - !ruby/object:RI::Constant comment: name: COLLECTORS value: "{ :objectspace => proc do |r| require 'test/unit/collector/objectspace'" full_name: Test::Unit includes: [] instance_methods: [] name: Unit superclass: ri/1.8/system/Test/Unit/AssertionFailedError/cdesc-AssertionFailedError.yaml 0000644 00000000506 15217654527 0023004 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Thrown by Test::Unit::Assertions when an assertion fails. constants: [] full_name: Test::Unit::AssertionFailedError includes: [] instance_methods: [] name: AssertionFailedError superclass: StandardError ri/1.8/system/Test/Unit/run%3d-c.yaml 0000644 00000000456 15217654527 0013075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set true when Test::Unit has run. If set to true Test::Unit will not automatically run at exit. full_name: Test::Unit::run= is_singleton: true name: run= params: (flag) visibility: public ri/1.8/system/Test/Unit/UI/GTK2/cdesc-GTK2.yaml 0000644 00000000277 15217654527 0014370 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Test::Unit::UI::GTK2 includes: [] instance_methods: [] name: GTK2 superclass: ri/1.8/system/Test/Unit/UI/GTK2/EnhancedLabel/set_text-i.yaml 0000644 00000000313 15217654527 0017323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::EnhancedLabel#set_text is_singleton: false name: set_text params: (text) visibility: public ri/1.8/system/Test/Unit/UI/GTK2/EnhancedLabel/cdesc-EnhancedLabel.yaml 0000644 00000000421 15217654527 0020762 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Test::Unit::UI::GTK2::EnhancedLabel includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: set_text name: EnhancedLabel superclass: Gtk::Label ri/1.8/system/Test/Unit/UI/GTK2/FaultList/new-c.yaml 0000644 00000000271 15217654527 0015514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::FaultList::new is_singleton: true name: new params: () visibility: public ri/1.8/system/Test/Unit/UI/GTK2/FaultList/get_fault-i.yaml 0000644 00000000311 15217654527 0016676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::FaultList#get_fault is_singleton: false name: get_fault params: (iter) visibility: public ri/1.8/system/Test/Unit/UI/GTK2/FaultList/add_fault-i.yaml 0000644 00000000312 15217654527 0016650 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::FaultList#add_fault is_singleton: false name: add_fault params: (fault) visibility: public ri/1.8/system/Test/Unit/UI/GTK2/FaultList/cdesc-FaultList.yaml 0000644 00000000634 15217654527 0017474 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Test::Unit::UI::GTK2::FaultList includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_fault - !ruby/object:RI::MethodSummary name: clear - !ruby/object:RI::MethodSummary name: get_fault name: FaultList superclass: Gtk::TreeView ri/1.8/system/Test/Unit/UI/GTK2/FaultList/clear-i.yaml 0000644 00000000275 15217654527 0016023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::FaultList#clear is_singleton: false name: clear params: () visibility: public ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/new-c.yaml 0000644 00000000326 15217654527 0015717 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner::new is_singleton: true name: new params: (suite, output_level = NORMAL) visibility: public ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/test_progress_bar-i.yaml 0000644 00000000327 15217654527 0020664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#test_progress_bar is_singleton: false name: test_progress_bar params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/main_window-i.yaml 0000644 00000000313 15217654527 0017443 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#main_window is_singleton: false name: main_window params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/status_panel-i.yaml 0000644 00000000315 15217654527 0017634 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#status_panel is_singleton: false name: status_panel params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/raw_show_fault-i.yaml 0000644 00000000327 15217654527 0020161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#raw_show_fault is_singleton: false name: raw_show_fault params: (string) visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/output_status-i.yaml 0000644 00000000325 15217654527 0020076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#output_status is_singleton: false name: output_status params: (string) visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/test_finished-i.yaml 0000644 00000000324 15217654527 0017762 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#test_finished is_singleton: false name: test_finished params: (result) visibility: public ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/setup_mediator-i.yaml 0000644 00000000321 15217654527 0020153 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#setup_mediator is_singleton: false name: setup_mediator params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/fault_list-i.yaml 0000644 00000000311 15217654527 0017274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#fault_list is_singleton: false name: fault_list params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/lazy_initialize-i.yaml 0000644 00000000344 15217654527 0020334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: full_name: Test::Unit::UI::GTK2::TestRunner#lazy_initialize is_singleton: false name: lazy_initialize params: (symbol) {|| ...} visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/info_panel-i.yaml 0000644 00000000311 15217654527 0017240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#info_panel is_singleton: false name: info_panel params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/fault_detail_label-i.yaml 0000644 00000000331 15217654527 0020724 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#fault_detail_label is_singleton: false name: fault_detail_label params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/red_style-i.yaml 0000644 00000000307 15217654527 0017125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#red_style is_singleton: false name: red_style params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/add_fault-i.yaml 0000644 00000000314 15217654527 0017054 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#add_fault is_singleton: false name: add_fault params: (fault) visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/test_started-i.yaml 0000644 00000000326 15217654527 0017641 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#test_started is_singleton: false name: test_started params: (test_name) visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/list_panel-i.yaml 0000644 00000000311 15217654527 0017260 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#list_panel is_singleton: false name: list_panel params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/setup_ui-i.yaml 0000644 00000000305 15217654527 0016766 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#setup_ui is_singleton: false name: setup_ui params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/run_test-i.yaml 0000644 00000000305 15217654527 0016774 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#run_test is_singleton: false name: run_test params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/outer_detail_sub_panel-i.yaml 0000644 00000000341 15217654527 0021641 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#outer_detail_sub_panel is_singleton: false name: outer_detail_sub_panel params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/attach_to_mediator-i.yaml 0000644 00000000331 15217654527 0020762 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#attach_to_mediator is_singleton: false name: attach_to_mediator params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/detail_scrolled_window-i.yaml 0000644 00000000341 15217654527 0021651 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#detail_scrolled_window is_singleton: false name: detail_scrolled_window params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/error_count_label-i.yaml 0000644 00000000327 15217654527 0020635 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#error_count_label is_singleton: false name: error_count_label params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/started-i.yaml 0000644 00000000311 15217654527 0016574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#started is_singleton: false name: started params: (result) visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/start-i.yaml 0000644 00000000276 15217654527 0016275 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#start is_singleton: false name: start params: () visibility: public ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/green_style-i.yaml 0000644 00000000313 15217654527 0017450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#green_style is_singleton: false name: green_style params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/suite_name_entry-i.yaml 0000644 00000000325 15217654527 0020505 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#suite_name_entry is_singleton: false name: suite_name_entry params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/start_ui-i.yaml 0000644 00000000305 15217654527 0016763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#start_ui is_singleton: false name: start_ui params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/suite_panel-i.yaml 0000644 00000000313 15217654527 0017440 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#suite_panel is_singleton: false name: suite_panel params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/run_button-i.yaml 0000644 00000000310 15217654527 0017324 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#run_button is_singleton: false name: run_button params: () visibility: public ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/run_count_label-i.yaml 0000644 00000000323 15217654527 0020304 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#run_count_label is_singleton: false name: run_count_label params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/reset_ui-i.yaml 0000644 00000000312 15217654527 0016746 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#reset_ui is_singleton: false name: reset_ui params: (count) visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/finished-i.yaml 0000644 00000000321 15217654527 0016720 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#finished is_singleton: false name: finished params: (elapsed_time) visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/stop-i.yaml 0000644 00000000275 15217654527 0016124 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#stop is_singleton: false name: stop params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/cdesc-TestRunner.yaml 0000644 00000005136 15217654527 0020102 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Test::Unit::UI::GTK2::TestRunner includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_fault - !ruby/object:RI::MethodSummary name: assertion_count_label - !ruby/object:RI::MethodSummary name: attach_to_mediator - !ruby/object:RI::MethodSummary name: clear_fault - !ruby/object:RI::MethodSummary name: detail_panel - !ruby/object:RI::MethodSummary name: detail_scrolled_window - !ruby/object:RI::MethodSummary name: error_count_label - !ruby/object:RI::MethodSummary name: failure_count_label - !ruby/object:RI::MethodSummary name: fault_detail_label - !ruby/object:RI::MethodSummary name: fault_list - !ruby/object:RI::MethodSummary name: finished - !ruby/object:RI::MethodSummary name: green_style - !ruby/object:RI::MethodSummary name: info_panel - !ruby/object:RI::MethodSummary name: inner_detail_sub_panel - !ruby/object:RI::MethodSummary name: lazy_initialize - !ruby/object:RI::MethodSummary name: list_panel - !ruby/object:RI::MethodSummary name: list_scrolled_window - !ruby/object:RI::MethodSummary name: main_panel - !ruby/object:RI::MethodSummary name: main_window - !ruby/object:RI::MethodSummary name: outer_detail_sub_panel - !ruby/object:RI::MethodSummary name: output_status - !ruby/object:RI::MethodSummary name: progress_panel - !ruby/object:RI::MethodSummary name: raw_show_fault - !ruby/object:RI::MethodSummary name: red_style - !ruby/object:RI::MethodSummary name: reset_ui - !ruby/object:RI::MethodSummary name: result_changed - !ruby/object:RI::MethodSummary name: run_button - !ruby/object:RI::MethodSummary name: run_count_label - !ruby/object:RI::MethodSummary name: run_test - !ruby/object:RI::MethodSummary name: setup_mediator - !ruby/object:RI::MethodSummary name: setup_ui - !ruby/object:RI::MethodSummary name: show_fault - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: start_ui - !ruby/object:RI::MethodSummary name: started - !ruby/object:RI::MethodSummary name: status_entry - !ruby/object:RI::MethodSummary name: status_panel - !ruby/object:RI::MethodSummary name: stop - !ruby/object:RI::MethodSummary name: suite_name_entry - !ruby/object:RI::MethodSummary name: suite_panel - !ruby/object:RI::MethodSummary name: test_finished - !ruby/object:RI::MethodSummary name: test_progress_bar - !ruby/object:RI::MethodSummary name: test_started name: TestRunner superclass: Object ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/status_entry-i.yaml 0000644 00000000315 15217654527 0017676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#status_entry is_singleton: false name: status_entry params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/show_fault-i.yaml 0000644 00000000316 15217654527 0017306 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#show_fault is_singleton: false name: show_fault params: (fault) visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/failure_count_label-i.yaml 0000644 00000000333 15217654527 0021130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#failure_count_label is_singleton: false name: failure_count_label params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/progress_panel-i.yaml 0000644 00000000320 15217654527 0020151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#progress_panel is_singleton: false name: progress_panel params: () visibility: public ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/clear_fault-i.yaml 0000644 00000000313 15217654527 0017411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#clear_fault is_singleton: false name: clear_fault params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/main_panel-i.yaml 0000644 00000000311 15217654527 0017231 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#main_panel is_singleton: false name: main_panel params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/assertion_count_label-i.yaml 0000644 00000000337 15217654527 0021514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#assertion_count_label is_singleton: false name: assertion_count_label params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/list_scrolled_window-i.yaml 0000644 00000000335 15217654527 0021365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#list_scrolled_window is_singleton: false name: list_scrolled_window params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/detail_panel-i.yaml 0000644 00000000315 15217654527 0017553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#detail_panel is_singleton: false name: detail_panel params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/result_changed-i.yaml 0000644 00000000327 15217654527 0020124 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#result_changed is_singleton: false name: result_changed params: (result) visibility: private ri/1.8/system/Test/Unit/UI/GTK2/TestRunner/inner_detail_sub_panel-i.yaml 0000644 00000000341 15217654527 0021616 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK2::TestRunner#inner_detail_sub_panel is_singleton: false name: inner_detail_sub_panel params: () visibility: private ri/1.8/system/Test/Unit/UI/TestRunnerMediator/new-c.yaml 0000644 00000000453 15217654527 0016676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new TestRunnerMediator initialized to run the passed suite. full_name: Test::Unit::UI::TestRunnerMediator::new is_singleton: true name: new params: (suite) visibility: public ri/1.8/system/Test/Unit/UI/TestRunnerMediator/run_suite-i.yaml 0000644 00000000444 15217654527 0020130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Runs the suite the TestRunnerMediator was created with. full_name: Test::Unit::UI::TestRunnerMediator#run_suite is_singleton: false name: run_suite params: () visibility: public ri/1.8/system/Test/Unit/UI/TestRunnerMediator/create_result-i.yaml 0000644 00000000601 15217654527 0020747 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: A factory method to create the result the mediator should run with. Can be overridden by subclasses if one wants to use a different result. full_name: Test::Unit::UI::TestRunnerMediator#create_result is_singleton: false name: create_result params: () visibility: private ri/1.8/system/Test/Unit/UI/TestRunnerMediator/cdesc-TestRunnerMediator.yaml 0000644 00000001454 15217654527 0022544 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Provides an interface to write any given UI against, hopefully making it easy to write new UIs. constants: - !ruby/object:RI::Constant comment: name: RESET value: name + "::RESET" - !ruby/object:RI::Constant comment: name: STARTED value: name + "::STARTED" - !ruby/object:RI::Constant comment: name: FINISHED value: name + "::FINISHED" full_name: Test::Unit::UI::TestRunnerMediator includes: - !ruby/object:RI::IncludedModule name: Util::Observable instance_methods: - !ruby/object:RI::MethodSummary name: create_result - !ruby/object:RI::MethodSummary name: run_suite name: TestRunnerMediator superclass: Object ri/1.8/system/Test/Unit/UI/Tk/cdesc-Tk.yaml 0000644 00000000273 15217654527 0014102 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Test::Unit::UI::Tk includes: [] instance_methods: [] name: Tk superclass: ri/1.8/system/Test/Unit/UI/Tk/TestRunner/new-c.yaml 0000644 00000000457 15217654527 0015573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new TestRunner for running the passed suite. full_name: Test::Unit::UI::Tk::TestRunner::new is_singleton: true name: new params: (suite, output_level = NORMAL) visibility: public ri/1.8/system/Test/Unit/UI/Tk/TestRunner/raw_show_fault-i.yaml 0000644 00000000325 15217654527 0020026 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Tk::TestRunner#raw_show_fault is_singleton: false name: raw_show_fault params: (string) visibility: private ri/1.8/system/Test/Unit/UI/Tk/TestRunner/output_status-i.yaml 0000644 00000000323 15217654527 0017743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Tk::TestRunner#output_status is_singleton: false name: output_status params: (string) visibility: private ri/1.8/system/Test/Unit/UI/Tk/TestRunner/setup_mediator-i.yaml 0000644 00000000317 15217654527 0020027 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Tk::TestRunner#setup_mediator is_singleton: false name: setup_mediator params: () visibility: private ri/1.8/system/Test/Unit/UI/Tk/TestRunner/add_fault-i.yaml 0000644 00000000312 15217654527 0016721 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Tk::TestRunner#add_fault is_singleton: false name: add_fault params: (fault) visibility: private ri/1.8/system/Test/Unit/UI/Tk/TestRunner/test_started-i.yaml 0000644 00000000324 15217654527 0017506 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Tk::TestRunner#test_started is_singleton: false name: test_started params: (test_name) visibility: private ri/1.8/system/Test/Unit/UI/Tk/TestRunner/setup_ui-i.yaml 0000644 00000000303 15217654527 0016633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Tk::TestRunner#setup_ui is_singleton: false name: setup_ui params: () visibility: private ri/1.8/system/Test/Unit/UI/Tk/TestRunner/run_test-i.yaml 0000644 00000000303 15217654527 0016641 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Tk::TestRunner#run_test is_singleton: false name: run_test params: () visibility: private ri/1.8/system/Test/Unit/UI/Tk/TestRunner/attach_to_mediator-i.yaml 0000644 00000000327 15217654527 0020636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Tk::TestRunner#attach_to_mediator is_singleton: false name: attach_to_mediator params: () visibility: private ri/1.8/system/Test/Unit/UI/Tk/TestRunner/started-i.yaml 0000644 00000000307 15217654527 0016450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Tk::TestRunner#started is_singleton: false name: started params: (result) visibility: private ri/1.8/system/Test/Unit/UI/Tk/TestRunner/start-i.yaml 0000644 00000000365 15217654527 0016143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Begins the test run. full_name: Test::Unit::UI::Tk::TestRunner#start is_singleton: false name: start params: () visibility: public ri/1.8/system/Test/Unit/UI/Tk/TestRunner/create_count_label-i.yaml 0000644 00000000344 15217654527 0020615 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Tk::TestRunner#create_count_label is_singleton: false name: create_count_label params: (parent, label) visibility: private ri/1.8/system/Test/Unit/UI/Tk/TestRunner/start_ui-i.yaml 0000644 00000000303 15217654527 0016630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Tk::TestRunner#start_ui is_singleton: false name: start_ui params: () visibility: private ri/1.8/system/Test/Unit/UI/Tk/TestRunner/reset_ui-i.yaml 0000644 00000000310 15217654527 0016613 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Tk::TestRunner#reset_ui is_singleton: false name: reset_ui params: (count) visibility: private ri/1.8/system/Test/Unit/UI/Tk/TestRunner/finished-i.yaml 0000644 00000000317 15217654527 0016574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Tk::TestRunner#finished is_singleton: false name: finished params: (elapsed_time) visibility: private ri/1.8/system/Test/Unit/UI/Tk/TestRunner/stop-i.yaml 0000644 00000000273 15217654527 0015771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Tk::TestRunner#stop is_singleton: false name: stop params: () visibility: private ri/1.8/system/Test/Unit/UI/Tk/TestRunner/cdesc-TestRunner.yaml 0000644 00000002536 15217654527 0017752 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Runs a Test::Unit::TestSuite in a Tk UI. Obviously, this one requires you to have Tk and the Ruby Tk extension installed. constants: [] full_name: Test::Unit::UI::Tk::TestRunner includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_fault - !ruby/object:RI::MethodSummary name: attach_to_mediator - !ruby/object:RI::MethodSummary name: clear_fault - !ruby/object:RI::MethodSummary name: create_count_label - !ruby/object:RI::MethodSummary name: finished - !ruby/object:RI::MethodSummary name: output_status - !ruby/object:RI::MethodSummary name: raw_show_fault - !ruby/object:RI::MethodSummary name: reset_ui - !ruby/object:RI::MethodSummary name: result_changed - !ruby/object:RI::MethodSummary name: run_test - !ruby/object:RI::MethodSummary name: setup_mediator - !ruby/object:RI::MethodSummary name: setup_ui - !ruby/object:RI::MethodSummary name: show_fault - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: start_ui - !ruby/object:RI::MethodSummary name: started - !ruby/object:RI::MethodSummary name: stop - !ruby/object:RI::MethodSummary name: test_started name: TestRunner superclass: Object ri/1.8/system/Test/Unit/UI/Tk/TestRunner/show_fault-i.yaml 0000644 00000000314 15217654527 0017153 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Tk::TestRunner#show_fault is_singleton: false name: show_fault params: (fault) visibility: private ri/1.8/system/Test/Unit/UI/Tk/TestRunner/clear_fault-i.yaml 0000644 00000000311 15217654527 0017256 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Tk::TestRunner#clear_fault is_singleton: false name: clear_fault params: () visibility: private ri/1.8/system/Test/Unit/UI/Tk/TestRunner/result_changed-i.yaml 0000644 00000000325 15217654527 0017771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Tk::TestRunner#result_changed is_singleton: false name: result_changed params: (result) visibility: private ri/1.8/system/Test/Unit/UI/Console/cdesc-Console.yaml 0000644 00000000305 15217654527 0016146 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Test::Unit::UI::Console includes: [] instance_methods: [] name: Console superclass: ri/1.8/system/Test/Unit/UI/Console/TestRunner/new-c.yaml 0000644 00000000770 15217654527 0016615 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new TestRunner for running the passed suite. If quiet_mode is true, the output while running is limited to progress dots, errors and failures, and the final result. io specifies where runner output should go to; defaults to STDOUT. full_name: Test::Unit::UI::Console::TestRunner::new is_singleton: true name: new params: (suite, output_level=NORMAL, io=STDOUT) visibility: public ri/1.8/system/Test/Unit/UI/Console/TestRunner/test_finished-i.yaml 0000644 00000000326 15217654527 0020657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Console::TestRunner#test_finished is_singleton: false name: test_finished params: (name) visibility: private ri/1.8/system/Test/Unit/UI/Console/TestRunner/setup_mediator-i.yaml 0000644 00000000324 15217654527 0021051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Console::TestRunner#setup_mediator is_singleton: false name: setup_mediator params: () visibility: private ri/1.8/system/Test/Unit/UI/Console/TestRunner/add_fault-i.yaml 0000644 00000000317 15217654527 0017752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Console::TestRunner#add_fault is_singleton: false name: add_fault params: (fault) visibility: private ri/1.8/system/Test/Unit/UI/Console/TestRunner/test_started-i.yaml 0000644 00000000324 15217654527 0020532 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Console::TestRunner#test_started is_singleton: false name: test_started params: (name) visibility: private ri/1.8/system/Test/Unit/UI/Console/TestRunner/start_mediator-i.yaml 0000644 00000000324 15217654527 0021046 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Console::TestRunner#start_mediator is_singleton: false name: start_mediator params: () visibility: private ri/1.8/system/Test/Unit/UI/Console/TestRunner/attach_to_mediator-i.yaml 0000644 00000000334 15217654527 0021660 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Console::TestRunner#attach_to_mediator is_singleton: false name: attach_to_mediator params: () visibility: private ri/1.8/system/Test/Unit/UI/Console/TestRunner/nl-i.yaml 0000644 00000000310 15217654527 0016431 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Console::TestRunner#nl is_singleton: false name: nl params: (level=NORMAL) visibility: private ri/1.8/system/Test/Unit/UI/Console/TestRunner/started-i.yaml 0000644 00000000314 15217654527 0017472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Console::TestRunner#started is_singleton: false name: started params: (result) visibility: private ri/1.8/system/Test/Unit/UI/Console/TestRunner/start-i.yaml 0000644 00000000372 15217654527 0017165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Begins the test run. full_name: Test::Unit::UI::Console::TestRunner#start is_singleton: false name: start params: () visibility: public ri/1.8/system/Test/Unit/UI/Console/TestRunner/output%3f-i.yaml 0000644 00000000313 15217654527 0017661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Console::TestRunner#output? is_singleton: false name: output? params: (level) visibility: private ri/1.8/system/Test/Unit/UI/Console/TestRunner/finished-i.yaml 0000644 00000000324 15217654527 0017616 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Console::TestRunner#finished is_singleton: false name: finished params: (elapsed_time) visibility: private ri/1.8/system/Test/Unit/UI/Console/TestRunner/output-i.yaml 0000644 00000000333 15217654527 0017365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Console::TestRunner#output is_singleton: false name: output params: (something, level=NORMAL) visibility: private ri/1.8/system/Test/Unit/UI/Console/TestRunner/cdesc-TestRunner.yaml 0000644 00000002074 15217654527 0020773 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Runs a Test::Unit::TestSuite on the console. constants: [] full_name: Test::Unit::UI::Console::TestRunner includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_fault - !ruby/object:RI::MethodSummary name: attach_to_mediator - !ruby/object:RI::MethodSummary name: create_mediator - !ruby/object:RI::MethodSummary name: finished - !ruby/object:RI::MethodSummary name: nl - !ruby/object:RI::MethodSummary name: output - !ruby/object:RI::MethodSummary name: output? - !ruby/object:RI::MethodSummary name: output_single - !ruby/object:RI::MethodSummary name: setup_mediator - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: start_mediator - !ruby/object:RI::MethodSummary name: started - !ruby/object:RI::MethodSummary name: test_finished - !ruby/object:RI::MethodSummary name: test_started name: TestRunner superclass: Object ri/1.8/system/Test/Unit/UI/Console/TestRunner/create_mediator-i.yaml 0000644 00000000333 15217654527 0021154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Console::TestRunner#create_mediator is_singleton: false name: create_mediator params: (suite) visibility: private ri/1.8/system/Test/Unit/UI/Console/TestRunner/output_single-i.yaml 0000644 00000000351 15217654527 0020726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Console::TestRunner#output_single is_singleton: false name: output_single params: (something, level=NORMAL) visibility: private ri/1.8/system/Test/Unit/UI/Fox/cdesc-Fox.yaml 0000644 00000000275 15217654527 0014440 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Test::Unit::UI::Fox includes: [] instance_methods: [] name: Fox superclass: ri/1.8/system/Test/Unit/UI/Fox/FaultListItem/new-c.yaml 0000644 00000000301 15217654527 0016352 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::FaultListItem::new is_singleton: true name: new params: (fault) visibility: public ri/1.8/system/Test/Unit/UI/Fox/FaultListItem/cdesc-FaultListItem.yaml 0000644 00000000510 15217654527 0021150 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: fault rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Test::Unit::UI::Fox::FaultListItem includes: [] instance_methods: [] name: FaultListItem superclass: FXListItem ri/1.8/system/Test/Unit/UI/Fox/TestRunner/create_window-i.yaml 0000644 00000000320 15217654527 0020005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#create_window is_singleton: false name: create_window params: (app) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/new-c.yaml 0000644 00000000460 15217654527 0015743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new TestRunner for running the passed suite. full_name: Test::Unit::UI::Fox::TestRunner::new is_singleton: true name: new params: (suite, output_level = NORMAL) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/create_tooltip-i.yaml 0000644 00000000322 15217654527 0020172 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#create_tooltip is_singleton: false name: create_tooltip params: (app) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/create_entry-i.yaml 0000644 00000000321 15217654527 0017640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#create_entry is_singleton: false name: create_entry params: (parent) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/raw_show_fault-i.yaml 0000644 00000000325 15217654527 0020204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#raw_show_fault is_singleton: false name: raw_show_fault params: (string) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/create_label-i.yaml 0000644 00000000327 15217654527 0017564 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#create_label is_singleton: false name: create_label params: (parent, text) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/create_info_panel-i.yaml 0000644 00000000333 15217654527 0020614 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#create_info_panel is_singleton: false name: create_info_panel params: (parent) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/output_status-i.yaml 0000644 00000000323 15217654527 0020121 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#output_status is_singleton: false name: output_status params: (string) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/create_fault_list-i.yaml 0000644 00000000333 15217654527 0020650 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#create_fault_list is_singleton: false name: create_fault_list params: (parent) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/setup_mediator-i.yaml 0000644 00000000317 15217654527 0020205 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#setup_mediator is_singleton: false name: setup_mediator params: () visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/add_fault-i.yaml 0000644 00000000312 15217654527 0017077 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#add_fault is_singleton: false name: add_fault params: (fault) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/create_application-i.yaml 0000644 00000000327 15217654527 0021010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#create_application is_singleton: false name: create_application params: () visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/test_started-i.yaml 0000644 00000000324 15217654527 0017664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#test_started is_singleton: false name: test_started params: (test_name) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/setup_ui-i.yaml 0000644 00000000303 15217654527 0017011 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#setup_ui is_singleton: false name: setup_ui params: () visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/create_suite_panel-i.yaml 0000644 00000000335 15217654527 0021014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#create_suite_panel is_singleton: false name: create_suite_panel params: (parent) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/create_progress_bar-i.yaml 0000644 00000000337 15217654527 0021176 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#create_progress_bar is_singleton: false name: create_progress_bar params: (parent) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/attach_to_mediator-i.yaml 0000644 00000000327 15217654527 0021014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#attach_to_mediator is_singleton: false name: attach_to_mediator params: () visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/create_button-i.yaml 0000644 00000000341 15217654527 0020014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#create_button is_singleton: false name: create_button params: (parent, text, action) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/started-i.yaml 0000644 00000000307 15217654527 0016626 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#started is_singleton: false name: started params: (result) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/start-i.yaml 0000644 00000000366 15217654527 0016322 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Begins the test run. full_name: Test::Unit::UI::Fox::TestRunner#start is_singleton: false name: start params: () visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/create_list_panel-i.yaml 0000644 00000000333 15217654527 0020634 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#create_list_panel is_singleton: false name: create_list_panel params: (parent) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/create_text-i.yaml 0000644 00000000317 15217654527 0017470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#create_text is_singleton: false name: create_text params: (parent) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/start_ui-i.yaml 0000644 00000000303 15217654527 0017006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#start_ui is_singleton: false name: start_ui params: () visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/reset_ui-i.yaml 0000644 00000000310 15217654527 0016771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#reset_ui is_singleton: false name: reset_ui params: (count) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/finished-i.yaml 0000644 00000000317 15217654527 0016752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#finished is_singleton: false name: finished params: (elapsed_time) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/stop-i.yaml 0000644 00000000273 15217654527 0016147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#stop is_singleton: false name: stop params: () visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/cdesc-TestRunner.yaml 0000644 00000004437 15217654527 0020132 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Runs a Test::Unit::TestSuite in a Fox UI. Obviously, this one requires you to have Fox (http://www.fox-toolkit.org/fox.html) and the Ruby Fox extension (http://fxruby.sourceforge.net/) installed. constants: - !ruby/object:RI::Constant comment: name: RED_STYLE value: FXRGBA(0xFF,0,0,0xFF) - !ruby/object:RI::Constant comment: name: GREEN_STYLE value: FXRGBA(0,0xFF,0,0xFF) full_name: Test::Unit::UI::Fox::TestRunner includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_fault - !ruby/object:RI::MethodSummary name: attach_to_mediator - !ruby/object:RI::MethodSummary name: clear_fault - !ruby/object:RI::MethodSummary name: create_application - !ruby/object:RI::MethodSummary name: create_button - !ruby/object:RI::MethodSummary name: create_detail_panel - !ruby/object:RI::MethodSummary name: create_entry - !ruby/object:RI::MethodSummary name: create_fault_list - !ruby/object:RI::MethodSummary name: create_info_panel - !ruby/object:RI::MethodSummary name: create_label - !ruby/object:RI::MethodSummary name: create_list_panel - !ruby/object:RI::MethodSummary name: create_main_panel - !ruby/object:RI::MethodSummary name: create_progress_bar - !ruby/object:RI::MethodSummary name: create_suite_panel - !ruby/object:RI::MethodSummary name: create_text - !ruby/object:RI::MethodSummary name: create_tooltip - !ruby/object:RI::MethodSummary name: create_window - !ruby/object:RI::MethodSummary name: finished - !ruby/object:RI::MethodSummary name: output_status - !ruby/object:RI::MethodSummary name: raw_show_fault - !ruby/object:RI::MethodSummary name: reset_ui - !ruby/object:RI::MethodSummary name: result_changed - !ruby/object:RI::MethodSummary name: setup_mediator - !ruby/object:RI::MethodSummary name: setup_ui - !ruby/object:RI::MethodSummary name: show_fault - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: start_ui - !ruby/object:RI::MethodSummary name: started - !ruby/object:RI::MethodSummary name: stop - !ruby/object:RI::MethodSummary name: test_started name: TestRunner superclass: Object ri/1.8/system/Test/Unit/UI/Fox/TestRunner/create_main_panel-i.yaml 0000644 00000000333 15217654527 0020605 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#create_main_panel is_singleton: false name: create_main_panel params: (parent) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/show_fault-i.yaml 0000644 00000000314 15217654527 0017331 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#show_fault is_singleton: false name: show_fault params: (fault) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/clear_fault-i.yaml 0000644 00000000311 15217654527 0017434 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#clear_fault is_singleton: false name: clear_fault params: () visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/create_detail_panel-i.yaml 0000644 00000000337 15217654527 0021127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#create_detail_panel is_singleton: false name: create_detail_panel params: (parent) visibility: public ri/1.8/system/Test/Unit/UI/Fox/TestRunner/result_changed-i.yaml 0000644 00000000325 15217654527 0020147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::Fox::TestRunner#result_changed is_singleton: false name: result_changed params: (result) visibility: public ri/1.8/system/Test/Unit/UI/TestRunnerUtilities/start_command_line_test-i.yaml 0000644 00000000604 15217654527 0023221 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Takes care of the ARGV parsing and suite determination necessary for running one of the TestRunners from the command line. full_name: Test::Unit::UI::TestRunnerUtilities#start_command_line_test is_singleton: false name: start_command_line_test params: () visibility: public ri/1.8/system/Test/Unit/UI/TestRunnerUtilities/run-i.yaml 0000644 00000000450 15217654527 0017123 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new TestRunner and runs the suite. full_name: Test::Unit::UI::TestRunnerUtilities#run is_singleton: false name: run params: (suite, output_level=NORMAL) visibility: public ri/1.8/system/Test/Unit/UI/TestRunnerUtilities/cdesc-TestRunnerUtilities.yaml 0000644 00000000657 15217654527 0023166 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Provides some utilities common to most, if not all, TestRunners. constants: [] full_name: Test::Unit::UI::TestRunnerUtilities includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: run - !ruby/object:RI::MethodSummary name: start_command_line_test name: TestRunnerUtilities superclass: ri/1.8/system/Test/Unit/UI/cdesc-UI.yaml 0000644 00000000720 15217654527 0013460 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: SILENT value: "0" - !ruby/object:RI::Constant comment: name: PROGRESS_ONLY value: "1" - !ruby/object:RI::Constant comment: name: NORMAL value: "2" - !ruby/object:RI::Constant comment: name: VERBOSE value: "3" full_name: Test::Unit::UI includes: [] instance_methods: [] name: UI superclass: ri/1.8/system/Test/Unit/UI/GTK/EnhancedLabel/set_text-i.yaml 0000644 00000000312 15217654527 0017240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::EnhancedLabel#set_text is_singleton: false name: set_text params: (text) visibility: public ri/1.8/system/Test/Unit/UI/GTK/EnhancedLabel/cdesc-EnhancedLabel.yaml 0000644 00000000420 15217654527 0020677 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Test::Unit::UI::GTK::EnhancedLabel includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: set_text name: EnhancedLabel superclass: Gtk::Label ri/1.8/system/Test/Unit/UI/GTK/FaultListItem/new-c.yaml 0000644 00000000301 15217654527 0016243 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::FaultListItem::new is_singleton: true name: new params: (fault) visibility: public ri/1.8/system/Test/Unit/UI/GTK/FaultListItem/cdesc-FaultListItem.yaml 0000644 00000000513 15217654527 0021044 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: fault rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Test::Unit::UI::GTK::FaultListItem includes: [] instance_methods: [] name: FaultListItem superclass: Gtk::ListItem ri/1.8/system/Test/Unit/UI/GTK/cdesc-GTK.yaml 0000644 00000000275 15217654527 0014222 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Test::Unit::UI::GTK includes: [] instance_methods: [] name: GTK superclass: ri/1.8/system/Test/Unit/UI/GTK/TestRunner/new-c.yaml 0000644 00000000460 15217654527 0015634 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new TestRunner for running the passed suite. full_name: Test::Unit::UI::GTK::TestRunner::new is_singleton: true name: new params: (suite, output_level = NORMAL) visibility: public ri/1.8/system/Test/Unit/UI/GTK/TestRunner/test_progress_bar-i.yaml 0000644 00000000326 15217654527 0020601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#test_progress_bar is_singleton: false name: test_progress_bar params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/main_window-i.yaml 0000644 00000000312 15217654527 0017360 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#main_window is_singleton: false name: main_window params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/status_panel-i.yaml 0000644 00000000314 15217654527 0017551 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#status_panel is_singleton: false name: status_panel params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/raw_show_fault-i.yaml 0000644 00000000326 15217654527 0020076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#raw_show_fault is_singleton: false name: raw_show_fault params: (string) visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/output_status-i.yaml 0000644 00000000324 15217654527 0020013 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#output_status is_singleton: false name: output_status params: (string) visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/test_finished-i.yaml 0000644 00000000327 15217654527 0017703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#test_finished is_singleton: false name: test_finished params: (test_name) visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/setup_mediator-i.yaml 0000644 00000000320 15217654527 0020070 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#setup_mediator is_singleton: false name: setup_mediator params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/fault_list-i.yaml 0000644 00000000310 15217654527 0017211 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#fault_list is_singleton: false name: fault_list params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/lazy_initialize-i.yaml 0000644 00000000343 15217654527 0020251 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: full_name: Test::Unit::UI::GTK::TestRunner#lazy_initialize is_singleton: false name: lazy_initialize params: (symbol) {|| ...} visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/info_panel-i.yaml 0000644 00000000310 15217654527 0017155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#info_panel is_singleton: false name: info_panel params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/fault_detail_label-i.yaml 0000644 00000000330 15217654527 0020641 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#fault_detail_label is_singleton: false name: fault_detail_label params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/red_style-i.yaml 0000644 00000000306 15217654527 0017042 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#red_style is_singleton: false name: red_style params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/add_fault-i.yaml 0000644 00000000313 15217654527 0016771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#add_fault is_singleton: false name: add_fault params: (fault) visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/test_started-i.yaml 0000644 00000000325 15217654527 0017556 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#test_started is_singleton: false name: test_started params: (test_name) visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/list_panel-i.yaml 0000644 00000000310 15217654527 0017175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#list_panel is_singleton: false name: list_panel params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/setup_ui-i.yaml 0000644 00000000304 15217654527 0016703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#setup_ui is_singleton: false name: setup_ui params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/run_test-i.yaml 0000644 00000000305 15217654527 0016712 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#run_test is_singleton: false name: run_test params: (*) visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/outer_detail_sub_panel-i.yaml 0000644 00000000340 15217654527 0021556 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#outer_detail_sub_panel is_singleton: false name: outer_detail_sub_panel params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/attach_to_mediator-i.yaml 0000644 00000000330 15217654527 0020677 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#attach_to_mediator is_singleton: false name: attach_to_mediator params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/detail_scrolled_window-i.yaml 0000644 00000000340 15217654527 0021566 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#detail_scrolled_window is_singleton: false name: detail_scrolled_window params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/error_count_label-i.yaml 0000644 00000000326 15217654527 0020552 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#error_count_label is_singleton: false name: error_count_label params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/started-i.yaml 0000644 00000000310 15217654527 0016511 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#started is_singleton: false name: started params: (result) visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/start-i.yaml 0000644 00000000366 15217654527 0016213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Begins the test run. full_name: Test::Unit::UI::GTK::TestRunner#start is_singleton: false name: start params: () visibility: public ri/1.8/system/Test/Unit/UI/GTK/TestRunner/green_style-i.yaml 0000644 00000000312 15217654527 0017365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#green_style is_singleton: false name: green_style params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/suite_name_entry-i.yaml 0000644 00000000324 15217654527 0020422 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#suite_name_entry is_singleton: false name: suite_name_entry params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/start_ui-i.yaml 0000644 00000000304 15217654527 0016700 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#start_ui is_singleton: false name: start_ui params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/suite_panel-i.yaml 0000644 00000000312 15217654527 0017355 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#suite_panel is_singleton: false name: suite_panel params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/run_button-i.yaml 0000644 00000000310 15217654527 0017242 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#run_button is_singleton: false name: run_button params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/run_count_label-i.yaml 0000644 00000000322 15217654527 0020221 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#run_count_label is_singleton: false name: run_count_label params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/reset_ui-i.yaml 0000644 00000000311 15217654527 0016663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#reset_ui is_singleton: false name: reset_ui params: (count) visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/finished-i.yaml 0000644 00000000320 15217654527 0016635 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#finished is_singleton: false name: finished params: (elapsed_time) visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/stop-i.yaml 0000644 00000000275 15217654527 0016042 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#stop is_singleton: false name: stop params: (*) visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/cdesc-TestRunner.yaml 0000644 00000005471 15217654527 0020022 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Runs a Test::Unit::TestSuite in a Gtk UI. Obviously, this one requires you to have Gtk (http://www.gtk.org/) and the Ruby Gtk extension (http://ruby-gnome.sourceforge.net/) installed. constants: [] full_name: Test::Unit::UI::GTK::TestRunner includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_fault - !ruby/object:RI::MethodSummary name: assertion_count_label - !ruby/object:RI::MethodSummary name: attach_to_mediator - !ruby/object:RI::MethodSummary name: clear_fault - !ruby/object:RI::MethodSummary name: detail_panel - !ruby/object:RI::MethodSummary name: detail_scrolled_window - !ruby/object:RI::MethodSummary name: error_count_label - !ruby/object:RI::MethodSummary name: failure_count_label - !ruby/object:RI::MethodSummary name: fault_detail_label - !ruby/object:RI::MethodSummary name: fault_list - !ruby/object:RI::MethodSummary name: finished - !ruby/object:RI::MethodSummary name: green_style - !ruby/object:RI::MethodSummary name: info_panel - !ruby/object:RI::MethodSummary name: inner_detail_sub_panel - !ruby/object:RI::MethodSummary name: lazy_initialize - !ruby/object:RI::MethodSummary name: list_panel - !ruby/object:RI::MethodSummary name: list_scrolled_window - !ruby/object:RI::MethodSummary name: main_panel - !ruby/object:RI::MethodSummary name: main_window - !ruby/object:RI::MethodSummary name: outer_detail_sub_panel - !ruby/object:RI::MethodSummary name: output_status - !ruby/object:RI::MethodSummary name: progress_panel - !ruby/object:RI::MethodSummary name: raw_show_fault - !ruby/object:RI::MethodSummary name: red_style - !ruby/object:RI::MethodSummary name: reset_ui - !ruby/object:RI::MethodSummary name: result_changed - !ruby/object:RI::MethodSummary name: run_button - !ruby/object:RI::MethodSummary name: run_count_label - !ruby/object:RI::MethodSummary name: run_test - !ruby/object:RI::MethodSummary name: setup_mediator - !ruby/object:RI::MethodSummary name: setup_ui - !ruby/object:RI::MethodSummary name: show_fault - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: start_ui - !ruby/object:RI::MethodSummary name: started - !ruby/object:RI::MethodSummary name: status_entry - !ruby/object:RI::MethodSummary name: status_panel - !ruby/object:RI::MethodSummary name: stop - !ruby/object:RI::MethodSummary name: suite_name_entry - !ruby/object:RI::MethodSummary name: suite_panel - !ruby/object:RI::MethodSummary name: test_finished - !ruby/object:RI::MethodSummary name: test_progress_bar - !ruby/object:RI::MethodSummary name: test_started name: TestRunner superclass: Object ri/1.8/system/Test/Unit/UI/GTK/TestRunner/status_entry-i.yaml 0000644 00000000314 15217654527 0017613 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#status_entry is_singleton: false name: status_entry params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/show_fault-i.yaml 0000644 00000000315 15217654527 0017223 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#show_fault is_singleton: false name: show_fault params: (fault) visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/failure_count_label-i.yaml 0000644 00000000332 15217654527 0021045 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#failure_count_label is_singleton: false name: failure_count_label params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/progress_panel-i.yaml 0000644 00000000320 15217654527 0020067 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#progress_panel is_singleton: false name: progress_panel params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/clear_fault-i.yaml 0000644 00000000312 15217654527 0017326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#clear_fault is_singleton: false name: clear_fault params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/main_panel-i.yaml 0000644 00000000310 15217654527 0017146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#main_panel is_singleton: false name: main_panel params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/assertion_count_label-i.yaml 0000644 00000000336 15217654527 0021431 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#assertion_count_label is_singleton: false name: assertion_count_label params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/list_scrolled_window-i.yaml 0000644 00000000334 15217654527 0021302 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#list_scrolled_window is_singleton: false name: list_scrolled_window params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/detail_panel-i.yaml 0000644 00000000314 15217654527 0017470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#detail_panel is_singleton: false name: detail_panel params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/result_changed-i.yaml 0000644 00000000326 15217654527 0020041 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#result_changed is_singleton: false name: result_changed params: (result) visibility: private ri/1.8/system/Test/Unit/UI/GTK/TestRunner/inner_detail_sub_panel-i.yaml 0000644 00000000340 15217654527 0021533 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::TestRunner#inner_detail_sub_panel is_singleton: false name: inner_detail_sub_panel params: () visibility: private ri/1.8/system/Test/Unit/UI/GTK/EnhancedProgressBar/set_style-i.yaml 0000644 00000000323 15217654527 0020630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::UI::GTK::EnhancedProgressBar#set_style is_singleton: false name: set_style params: (style) visibility: public ri/1.8/system/Test/Unit/UI/GTK/EnhancedProgressBar/cdesc-EnhancedProgressBar.yaml 0000644 00000000443 15217654527 0023330 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Test::Unit::UI::GTK::EnhancedProgressBar includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: set_style name: EnhancedProgressBar superclass: Gtk::ProgressBar ri/1.8/system/Test/Unit/AutoRunner/cdesc-AutoRunner.yaml 0000644 00000000705 15217654527 0017035 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: run - !ruby/object:RI::MethodSummary name: standalone? comment: constants: - !ruby/object:RI::Constant comment: name: RUNNERS value: "{ :console => proc do |r| require 'test/unit/ui/console/testrunner'" full_name: Test::Unit::AutoRunner includes: [] instance_methods: [] name: AutoRunner superclass: Object ri/1.8/system/Test/Unit/AutoRunner/standalone%3f-c.yaml 0000644 00000000300 15217654527 0016511 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::AutoRunner::standalone? is_singleton: true name: standalone? params: () visibility: public ri/1.8/system/Test/Unit/AutoRunner/run-c.yaml 0000644 00000000352 15217654527 0014676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::AutoRunner::run is_singleton: true name: run params: (force_standalone=false, default_dir=nil, argv=ARGV, &block) visibility: public ri/1.8/system/Test/Unit/TestCase/teardown-i.yaml 0000644 00000000457 15217654527 0015342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Called after every test method runs. Can be used to tear down fixture information. full_name: Test::Unit::TestCase#teardown is_singleton: false name: teardown params: () visibility: public ri/1.8/system/Test/Unit/TestCase/new-c.yaml 0000644 00000000476 15217654527 0014303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new instance of the fixture for running the test represented by test_method_name. full_name: Test::Unit::TestCase::new is_singleton: true name: new params: (test_method_name) visibility: public ri/1.8/system/Test/Unit/TestCase/to_s-i.yaml 0000644 00000000362 15217654527 0014456 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Overridden to return #name." full_name: Test::Unit::TestCase#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/Test/Unit/TestCase/setup-i.yaml 0000644 00000000447 15217654527 0014656 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Called before every test method runs. Can be used to set up fixture information. full_name: Test::Unit::TestCase#setup is_singleton: false name: setup params: () visibility: public ri/1.8/system/Test/Unit/TestCase/name-i.yaml 0000644 00000000463 15217654527 0014434 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a human-readable name for the specific test that this instance of TestCase represents. full_name: Test::Unit::TestCase#name is_singleton: false name: name params: () visibility: public ri/1.8/system/Test/Unit/TestCase/add_error-i.yaml 0000644 00000000304 15217654527 0015447 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::TestCase#add_error is_singleton: false name: add_error params: (exception) visibility: private ri/1.8/system/Test/Unit/TestCase/add_assertion-i.yaml 0000644 00000000303 15217654527 0016324 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::TestCase#add_assertion is_singleton: false name: add_assertion params: () visibility: private ri/1.8/system/Test/Unit/TestCase/suite-c.yaml 0000644 00000000517 15217654527 0014637 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Rolls up all of the test* methods in the fixture into one suite, creating a new instance of the fixture for each method. full_name: Test::Unit::TestCase::suite is_singleton: true name: suite params: () visibility: public ri/1.8/system/Test/Unit/TestCase/cdesc-TestCase.yaml 0000644 00000003427 15217654527 0016063 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: method_name rw: R class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: suite comment: - !ruby/struct:SM::Flow::P body: Ties everything together. If you subclass and add your own test methods, it takes care of making them into tests and wrapping those tests into a suite. It also does the nitty-gritty of actually running an individual test and collecting its results into a Test::Unit::TestResult object. constants: - !ruby/object:RI::Constant comment: name: STARTED value: name + "::STARTED" - !ruby/object:RI::Constant comment: name: FINISHED value: name + "::FINISHED" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: "These exceptions are not caught by #run." name: PASSTHROUGH_EXCEPTIONS value: "[NoMemoryError, SignalException, Interrupt, SystemExit]" full_name: Test::Unit::TestCase includes: - !ruby/object:RI::IncludedModule name: Assertions - !ruby/object:RI::IncludedModule name: Util::BacktraceFilter instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: add_assertion - !ruby/object:RI::MethodSummary name: add_error - !ruby/object:RI::MethodSummary name: add_failure - !ruby/object:RI::MethodSummary name: default_test - !ruby/object:RI::MethodSummary name: name - !ruby/object:RI::MethodSummary name: passed? - !ruby/object:RI::MethodSummary name: run - !ruby/object:RI::MethodSummary name: setup - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: teardown - !ruby/object:RI::MethodSummary name: to_s name: TestCase superclass: Object ri/1.8/system/Test/Unit/TestCase/passed%3f-i.yaml 0000644 00000000545 15217654527 0015272 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns whether this individual test passed or not. Primarily for use in teardown so that artifacts can be left behind if the test fails. full_name: Test::Unit::TestCase#passed? is_singleton: false name: passed? params: () visibility: private ri/1.8/system/Test/Unit/TestCase/run-i.yaml 0000644 00000000600 15217654527 0014311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (STARTED, name) comment: - !ruby/struct:SM::Flow::P body: Runs the individual test method represented by this instance of the fixture, collecting statistics, failures and errors in result. full_name: Test::Unit::TestCase#run is_singleton: false name: run params: (result) {|STARTED, name| ...} visibility: public ri/1.8/system/Test/Unit/TestCase/add_failure-i.yaml 0000644 00000000336 15217654527 0015752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::TestCase#add_failure is_singleton: false name: add_failure params: (message, all_locations=caller()) visibility: private ri/1.8/system/Test/Unit/TestCase/size-i.yaml 0000644 00000000260 15217654527 0014461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::TestCase#size is_singleton: false name: size params: () visibility: public ri/1.8/system/Test/Unit/TestCase/default_test-i.yaml 0000644 00000000300 15217654527 0016165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Test::Unit::TestCase#default_test is_singleton: false name: default_test params: () visibility: public ri/1.8/system/Test/Unit/TestCase/%3d%3d-i.yaml 0000644 00000000412 15217654527 0014355 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: It's handy to be able to compare TestCase instances. full_name: Test::Unit::TestCase#== is_singleton: false name: == params: (other) visibility: public ri/1.8/system/Test/Unit/Assertions/build_message-i.yaml 0000644 00000000633 15217654527 0016735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Builds a failure message. head is added before the template and arguments replaces the '?'s positionally in the template. full_name: Test::Unit::Assertions#build_message is_singleton: false name: build_message params: (head, template=nil, *arguments) visibility: public ri/1.8/system/Test/Unit/Assertions/assert_nothing_raised-i.yaml 0000644 00000000702 15217654527 0020505 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Passes if block does not raise an exception. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_nothing_raised do\n [1, 2].uniq\n end\n" full_name: Test::Unit::Assertions#assert_nothing_raised is_singleton: false name: assert_nothing_raised params: (*args) {|| ...} visibility: public ri/1.8/system/Test/Unit/Assertions/assert_block-i.yaml 0000644 00000001020 15217654527 0016574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: The assertion upon which all other assertions are based. Passes if the block yields true. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_block "Couldn't do the thing" do\n do_the_thing\n end\n" full_name: Test::Unit::Assertions#assert_block is_singleton: false name: assert_block params: (message="assert_block failed.") {|| ...} visibility: public ri/1.8/system/Test/Unit/Assertions/assert_in_delta-i.yaml 0000644 00000001017 15217654527 0017267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes if expected_float and actual_float are equal within delta tolerance. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_in_delta 0.05, (50000.0 / 10**6), 0.00001\n" full_name: Test::Unit::Assertions#assert_in_delta is_singleton: false name: assert_in_delta params: (expected_float, actual_float, delta, message="") visibility: public ri/1.8/system/Test/Unit/Assertions/assert_instance_of-i.yaml 0000644 00000000677 15217654527 0020013 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes if object .instance_of? klass - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_instance_of String, 'foo'\n" full_name: Test::Unit::Assertions#assert_instance_of is_singleton: false name: assert_instance_of params: (klass, object, message="") visibility: public ri/1.8/system/Test/Unit/Assertions/assert_operator-i.yaml 0000644 00000001052 15217654527 0017342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compares the +object1+ with +object2+ using operator. - !ruby/struct:SM::Flow::P body: Passes if object1.send(operator, object2) is true. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_operator 5, :>=, 4\n" full_name: Test::Unit::Assertions#assert_operator is_singleton: false name: assert_operator params: (object1, operator, object2, message="") visibility: public ri/1.8/system/Test/Unit/Assertions/flunk-i.yaml 0000644 00000000567 15217654527 0015257 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Flunk always fails. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " flunk 'Not done testing yet.'\n" full_name: Test::Unit::Assertions#flunk is_singleton: false name: flunk params: (message="Flunked") visibility: public ri/1.8/system/Test/Unit/Assertions/add_assertion-i.yaml 0000644 00000000546 15217654527 0016754 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Called whenever an assertion is made. Define this in classes that include Test::Unit::Assertions to record assertion counts. full_name: Test::Unit::Assertions#add_assertion is_singleton: false name: add_assertion params: () visibility: private ri/1.8/system/Test/Unit/Assertions/assert_respond_to-i.yaml 0000644 00000000701 15217654527 0017663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes if object .respond_to? method - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_respond_to 'bugbear', :slice\n" full_name: Test::Unit::Assertions#assert_respond_to is_singleton: false name: assert_respond_to params: (object, method, message="") visibility: public ri/1.8/system/Test/Unit/Assertions/assert-i.yaml 0000644 00000000627 15217654527 0015436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Asserts that boolean is not false or nil. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert [1, 2].include?(5)\n" full_name: Test::Unit::Assertions#assert is_singleton: false name: assert params: (boolean, message=nil) visibility: public ri/1.8/system/Test/Unit/Assertions/assert_throws-i.yaml 0000644 00000000711 15217654527 0017036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes if the block throws expected_symbol - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_throws :done do\n throw :done\n end\n" full_name: Test::Unit::Assertions#assert_throws is_singleton: false name: assert_throws params: (expected_symbol, message="", &proc) visibility: public ri/1.8/system/Test/Unit/Assertions/assert_raise-i.yaml 0000644 00000000716 15217654527 0016620 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: Passes if the block raises one of the given exceptions. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_raise RuntimeError, LoadError do\n raise 'Boom!!!'\n end\n" full_name: Test::Unit::Assertions#assert_raise is_singleton: false name: assert_raise params: (*args) {|| ...} visibility: public ri/1.8/system/Test/Unit/Assertions/assert_nothing_thrown-i.yaml 0000644 00000000674 15217654527 0020567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes if block does not throw anything. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_nothing_thrown do\n [1, 2].uniq\n end\n" full_name: Test::Unit::Assertions#assert_nothing_thrown is_singleton: false name: assert_nothing_thrown params: (message="", &proc) visibility: public ri/1.8/system/Test/Unit/Assertions/assert_equal-i.yaml 0000644 00000001173 15217654527 0016622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes if expected == +actual. - !ruby/struct:SM::Flow::P body: Note that the ordering of arguments is important, since a helpful error message is generated when this one fails that tells you the values of expected and actual. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_equal 'MY STRING', 'my string'.upcase\n" full_name: Test::Unit::Assertions#assert_equal is_singleton: false name: assert_equal params: (expected, actual, message=nil) visibility: public ri/1.8/system/Test/Unit/Assertions/assert_raises-i.yaml 0000644 00000000537 15217654527 0017004 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Alias of assert_raise. - !ruby/struct:SM::Flow::P body: Will be deprecated in 1.9, and removed in 2.0. full_name: Test::Unit::Assertions#assert_raises is_singleton: false name: assert_raises params: (*args, &block) visibility: public ri/1.8/system/Test/Unit/Assertions/use_pp%3d-c.yaml 0000644 00000000555 15217654527 0015716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Select whether or not to use the pretty-printer. If this option is set to false before any assertions are made, pp.rb will not be required. full_name: Test::Unit::Assertions::use_pp= is_singleton: true name: use_pp= params: (value) visibility: public ri/1.8/system/Test/Unit/Assertions/assert_nil-i.yaml 0000644 00000000612 15217654527 0016272 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes if object is nil. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_nil [1, 2].uniq!\n" full_name: Test::Unit::Assertions#assert_nil is_singleton: false name: assert_nil params: (object, message="") visibility: public ri/1.8/system/Test/Unit/Assertions/assert_match-i.yaml 0000644 00000000663 15217654527 0016612 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes if string =~ pattern. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_match(/\\d+/, 'five, 6, seven')\n" full_name: Test::Unit::Assertions#assert_match is_singleton: false name: assert_match params: (pattern, string, message="") visibility: public ri/1.8/system/Test/Unit/Assertions/cdesc-Assertions.yaml 0000644 00000005525 15217654527 0017122 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: use_pp= comment: - !ruby/struct:SM::Flow::P body: Test::Unit::Assertions contains the standard Test::Unit assertions. Assertions is included in Test::Unit::TestCase. - !ruby/struct:SM::Flow::P body: To include it in your own code and use its functionality, you simply need to rescue Test::Unit::AssertionFailedError. Additionally you may override add_assertion to get notified whenever an assertion is made. - !ruby/struct:SM::Flow::P body: "Notes:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: The message to each assertion, if given, will be propagated with the failure. - !ruby/struct:SM::Flow::LI label: "*" body: It is easy to add your own assertions based on assert_block(). type: :BULLET - !ruby/struct:SM::Flow::H level: 1 text: Example Custom Assertion - !ruby/struct:SM::Flow::VERB body: " def deny(boolean, message = nil)\n message = build_message message, '<?> is not false or nil.', boolean\n assert_block message do\n not boolean\n end\n end\n" constants: - !ruby/object:RI::Constant comment: name: UncaughtThrow value: "{NameError => /^uncaught throw \\`(.+)\\'$/, ThreadError => /^uncaught throw \\`(.+)\\' in thread /}" full_name: Test::Unit::Assertions includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _wrap_assertion - !ruby/object:RI::MethodSummary name: add_assertion - !ruby/object:RI::MethodSummary name: assert - !ruby/object:RI::MethodSummary name: assert_block - !ruby/object:RI::MethodSummary name: assert_equal - !ruby/object:RI::MethodSummary name: assert_in_delta - !ruby/object:RI::MethodSummary name: assert_instance_of - !ruby/object:RI::MethodSummary name: assert_kind_of - !ruby/object:RI::MethodSummary name: assert_match - !ruby/object:RI::MethodSummary name: assert_nil - !ruby/object:RI::MethodSummary name: assert_no_match - !ruby/object:RI::MethodSummary name: assert_not_equal - !ruby/object:RI::MethodSummary name: assert_not_nil - !ruby/object:RI::MethodSummary name: assert_not_same - !ruby/object:RI::MethodSummary name: assert_nothing_raised - !ruby/object:RI::MethodSummary name: assert_nothing_thrown - !ruby/object:RI::MethodSummary name: assert_operator - !ruby/object:RI::MethodSummary name: assert_raise - !ruby/object:RI::MethodSummary name: assert_raises - !ruby/object:RI::MethodSummary name: assert_respond_to - !ruby/object:RI::MethodSummary name: assert_same - !ruby/object:RI::MethodSummary name: assert_send - !ruby/object:RI::MethodSummary name: assert_throws - !ruby/object:RI::MethodSummary name: build_message - !ruby/object:RI::MethodSummary name: flunk name: Assertions superclass: ri/1.8/system/Test/Unit/Assertions/assert_kind_of-i.yaml 0000644 00000000657 15217654527 0017132 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes if object .kind_of? klass - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_kind_of Object, 'foo'\n" full_name: Test::Unit::Assertions#assert_kind_of is_singleton: false name: assert_kind_of params: (klass, object, message="") visibility: public ri/1.8/system/Test/Unit/Assertions/assert_not_equal-i.yaml 0000644 00000000667 15217654527 0017511 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes if expected != actual - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_not_equal 'some string', 5\n" full_name: Test::Unit::Assertions#assert_not_equal is_singleton: false name: assert_not_equal params: (expected, actual, message="") visibility: public ri/1.8/system/Test/Unit/Assertions/assert_send-i.yaml 0000644 00000001403 15217654527 0016440 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes if the method send returns a true value. - !ruby/struct:SM::Flow::P body: "send_array is composed of:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: A receiver - !ruby/struct:SM::Flow::LI label: "*" body: A method - !ruby/struct:SM::Flow::LI label: "*" body: Arguments to the method type: :BULLET - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_send [[1, 2], :include?, 4]\n" full_name: Test::Unit::Assertions#assert_send is_singleton: false name: assert_send params: (send_array, message="") visibility: public ri/1.8/system/Test/Unit/Assertions/assert_no_match-i.yaml 0000644 00000000665 15217654527 0017310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes if regexp !~ string - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_no_match(/two/, 'one 2 three')\n" full_name: Test::Unit::Assertions#assert_no_match is_singleton: false name: assert_no_match params: (regexp, string, message="") visibility: public ri/1.8/system/Test/Unit/Assertions/assert_not_nil-i.yaml 0000644 00000000644 15217654527 0017157 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes if ! object .nil? - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_not_nil '1 two 3'.sub!(/two/, '2')\n" full_name: Test::Unit::Assertions#assert_not_nil is_singleton: false name: assert_not_nil params: (object, message="") visibility: public ri/1.8/system/Test/Unit/Assertions/assert_same-i.yaml 0000644 00000000726 15217654527 0016443 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes if actual .equal? expected (i.e. they are the same instance). - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " o = Object.new\n assert_same o, o\n" full_name: Test::Unit::Assertions#assert_same is_singleton: false name: assert_same params: (expected, actual, message="") visibility: public ri/1.8/system/Test/Unit/Assertions/_wrap_assertion-i.yaml 0000644 00000000324 15217654527 0017326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: full_name: Test::Unit::Assertions#_wrap_assertion is_singleton: false name: _wrap_assertion params: () {|| ...} visibility: private ri/1.8/system/Test/Unit/Assertions/assert_not_same-i.yaml 0000644 00000000701 15217654527 0017314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes if ! actual .equal? expected - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_not_same Object.new, Object.new\n" full_name: Test::Unit::Assertions#assert_not_same is_singleton: false name: assert_not_same params: (expected, actual, message="") visibility: public ri/1.8/system/Test/cdesc-Test.yaml 0000644 00000000257 15217654527 0012633 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Test includes: [] instance_methods: [] name: Test superclass: ri/1.8/system/Matrix/new-c.yaml 0000644 00000000470 15217654527 0012170 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This method is used by the other methods that create matrices, and is of no use to general users. full_name: Matrix::new is_singleton: true name: new params: (init_method, *argv) visibility: public ri/1.8/system/Matrix/to_s-i.yaml 0000644 00000000334 15217654527 0012350 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Overrides Object#to_s full_name: Matrix#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/Matrix/minor-i.yaml 0000644 00000001154 15217654527 0012531 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns a section of the matrix. The parameters are either:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: start_row, nrows, start_col, ncols; OR - !ruby/struct:SM::Flow::LI label: "*" body: col_range, row_range type: :BULLET - !ruby/struct:SM::Flow::VERB body: " Matrix.diagonal(9, 5, -3).minor(0..1, 0..2)\n => 9 0 0\n 0 5 0\n" full_name: Matrix#minor is_singleton: false name: minor params: (*param) visibility: public ri/1.8/system/Matrix/diagonal-c.yaml 0000644 00000000640 15217654527 0013154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a matrix where the diagonal elements are composed of values. - !ruby/struct:SM::Flow::VERB body: " Matrix.diagonal(9, 5, -3)\n => 9 0 0\n 0 5 0\n 0 0 -3\n" full_name: Matrix::diagonal is_singleton: true name: diagonal params: (*values) visibility: public ri/1.8/system/Matrix/%2b-i.yaml 0000644 00000000511 15217654527 0011751 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Matrix addition. - !ruby/struct:SM::Flow::VERB body: " Matrix.scalar(2,5) + Matrix[[1,0], [-4,7]]\n => 6 0\n -4 12\n" full_name: Matrix#+ is_singleton: false name: + params: (m) visibility: public ri/1.8/system/Matrix/init_rows-i.yaml 0000644 00000000267 15217654527 0013426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Matrix#init_rows is_singleton: false name: init_rows params: (rows, copy) visibility: private ri/1.8/system/Matrix/inverse-i.yaml 0000644 00000000601 15217654527 0013054 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: inv block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the inverse of the matrix. - !ruby/struct:SM::Flow::VERB body: " Matrix[[1, 2], [2, 1]].inverse\n => -1 1\n 0 -1\n" full_name: Matrix#inverse is_singleton: false name: inverse params: () visibility: public ri/1.8/system/Matrix/zero-c.yaml 0000644 00000000517 15217654527 0012360 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates an n by n zero matrix. - !ruby/struct:SM::Flow::VERB body: " Matrix.zero(2)\n => 0 0\n 0 0\n" full_name: Matrix::zero is_singleton: true name: zero params: (n) visibility: public ri/1.8/system/Matrix/%5b%5d-c.yaml 0000644 00000000545 15217654527 0012253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a matrix where each argument is a row. - !ruby/struct:SM::Flow::VERB body: " Matrix[ [25, 93], [-1, 66] ]\n => 25 93\n -1 66\n" full_name: Matrix::[] is_singleton: true name: "[]" params: (*rows) visibility: public ri/1.8/system/Matrix/columns-c.yaml 0000644 00000000617 15217654527 0013062 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a matrix using columns as an array of column vectors. - !ruby/struct:SM::Flow::VERB body: " Matrix.columns([[25, 93], [-1, 66]])\n => 25 -1\n 93 66\n" full_name: Matrix::columns is_singleton: true name: columns params: (columns) visibility: public ri/1.8/system/Matrix/tr-i.yaml 0000644 00000000325 15217654527 0012031 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #trace" full_name: Matrix#tr is_singleton: false name: tr params: () visibility: public ri/1.8/system/Matrix/cdesc-Matrix.yaml 0000644 00000017102 15217654527 0013502 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: column_vector - !ruby/object:RI::MethodSummary name: columns - !ruby/object:RI::MethodSummary name: diagonal - !ruby/object:RI::MethodSummary name: identity - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: row_vector - !ruby/object:RI::MethodSummary name: rows - !ruby/object:RI::MethodSummary name: scalar - !ruby/object:RI::MethodSummary name: zero comment: - !ruby/struct:SM::Flow::P body: The Matrix class represents a mathematical matrix, and provides methods for creating special-case matrices (zero, identity, diagonal, singular, vector), operating on them arithmetically and algebraically, and determining their mathematical properties (trace, rank, inverse, determinant). - !ruby/struct:SM::Flow::P body: Note that although matrices should theoretically be rectangular, this is not enforced by the class. - !ruby/struct:SM::Flow::P body: Also note that the determinant of integer matrices may be incorrectly calculated unless you also require 'mathn'. This may be fixed in the future. - !ruby/struct:SM::Flow::H level: 2 text: Method Catalogue - !ruby/struct:SM::Flow::P body: "To create a matrix:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Matrix[*rows] - !ruby/struct:SM::Flow::LI label: "*" body: Matrix.[](*rows) - !ruby/struct:SM::Flow::LI label: "*" body: Matrix.rows(rows, copy = true) - !ruby/struct:SM::Flow::LI label: "*" body: Matrix.columns(columns) - !ruby/struct:SM::Flow::LI label: "*" body: Matrix.diagonal(*values) - !ruby/struct:SM::Flow::LI label: "*" body: Matrix.scalar(n, value) - !ruby/struct:SM::Flow::LI label: "*" body: Matrix.scalar(n, value) - !ruby/struct:SM::Flow::LI label: "*" body: Matrix.identity(n) - !ruby/struct:SM::Flow::LI label: "*" body: Matrix.unit(n) - !ruby/struct:SM::Flow::LI label: "*" body: Matrix.I(n) - !ruby/struct:SM::Flow::LI label: "*" body: Matrix.zero(n) - !ruby/struct:SM::Flow::LI label: "*" body: Matrix.row_vector(row) - !ruby/struct:SM::Flow::LI label: "*" body: Matrix.column_vector(column) type: :BULLET - !ruby/struct:SM::Flow::P body: "To access Matrix elements/columns/rows/submatrices/properties:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: [](i, j) - !ruby/struct:SM::Flow::LI label: "*" body: " #row_size " - !ruby/struct:SM::Flow::LI label: "*" body: " #column_size " - !ruby/struct:SM::Flow::LI label: "*" body: " #row(i) " - !ruby/struct:SM::Flow::LI label: "*" body: " #column(j) " - !ruby/struct:SM::Flow::LI label: "*" body: " #collect " - !ruby/struct:SM::Flow::LI label: "*" body: " #map " - !ruby/struct:SM::Flow::LI label: "*" body: " #minor(*param) " type: :BULLET - !ruby/struct:SM::Flow::P body: "Properties of a matrix:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: " #regular? " - !ruby/struct:SM::Flow::LI label: "*" body: " #singular? " - !ruby/struct:SM::Flow::LI label: "*" body: " #square? " type: :BULLET - !ruby/struct:SM::Flow::P body: "Matrix arithmetic:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: *(m) - !ruby/struct:SM::Flow::LI label: "*" body: +(m) - !ruby/struct:SM::Flow::LI label: "*" body: -(m) - !ruby/struct:SM::Flow::LI label: "*" body: " #/(m) " - !ruby/struct:SM::Flow::LI label: "*" body: " #inverse " - !ruby/struct:SM::Flow::LI label: "*" body: " #inv " - !ruby/struct:SM::Flow::LI label: "*" body: ** type: :BULLET - !ruby/struct:SM::Flow::P body: "Matrix functions:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: " #determinant " - !ruby/struct:SM::Flow::LI label: "*" body: " #det " - !ruby/struct:SM::Flow::LI label: "*" body: " #rank " - !ruby/struct:SM::Flow::LI label: "*" body: " #trace " - !ruby/struct:SM::Flow::LI label: "*" body: " #tr " - !ruby/struct:SM::Flow::LI label: "*" body: " #transpose " - !ruby/struct:SM::Flow::LI label: "*" body: " #t " type: :BULLET - !ruby/struct:SM::Flow::P body: "Conversion to other data types:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: " #coerce(other) " - !ruby/struct:SM::Flow::LI label: "*" body: " #row_vectors " - !ruby/struct:SM::Flow::LI label: "*" body: " #column_vectors " - !ruby/struct:SM::Flow::LI label: "*" body: " #to_a " type: :BULLET - !ruby/struct:SM::Flow::P body: "String representations:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: " #to_s " - !ruby/struct:SM::Flow::LI label: "*" body: " #inspect " type: :BULLET constants: [] full_name: Matrix includes: - !ruby/object:RI::IncludedModule name: ExceptionForMatrix instance_methods: - !ruby/object:RI::MethodSummary name: "*" - !ruby/object:RI::MethodSummary name: "**" - !ruby/object:RI::MethodSummary name: + - !ruby/object:RI::MethodSummary name: "-" - !ruby/object:RI::MethodSummary name: / - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: coerce - !ruby/object:RI::MethodSummary name: collect - !ruby/object:RI::MethodSummary name: column - !ruby/object:RI::MethodSummary name: column_size - !ruby/object:RI::MethodSummary name: column_vectors - !ruby/object:RI::MethodSummary name: compare_by_row_vectors - !ruby/object:RI::MethodSummary name: det - !ruby/object:RI::MethodSummary name: determinant - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: init_rows - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: inv - !ruby/object:RI::MethodSummary name: inverse - !ruby/object:RI::MethodSummary name: inverse_from - !ruby/object:RI::MethodSummary name: map - !ruby/object:RI::MethodSummary name: minor - !ruby/object:RI::MethodSummary name: rank - !ruby/object:RI::MethodSummary name: regular? - !ruby/object:RI::MethodSummary name: row - !ruby/object:RI::MethodSummary name: row_size - !ruby/object:RI::MethodSummary name: row_vectors - !ruby/object:RI::MethodSummary name: singular? - !ruby/object:RI::MethodSummary name: square? - !ruby/object:RI::MethodSummary name: t - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: tr - !ruby/object:RI::MethodSummary name: trace - !ruby/object:RI::MethodSummary name: transpose name: Matrix superclass: Object ri/1.8/system/Matrix/row_vector-c.yaml 0000644 00000000605 15217654527 0013570 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a single-row matrix where the values of that row are as given in row. - !ruby/struct:SM::Flow::VERB body: " Matrix.row_vector([4,5,6])\n => 4 5 6\n" full_name: Matrix::row_vector is_singleton: true name: row_vector params: (row) visibility: public ri/1.8/system/Matrix/hash-i.yaml 0000644 00000000352 15217654527 0012327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a hash-code for the matrix. full_name: Matrix#hash is_singleton: false name: hash params: () visibility: public ri/1.8/system/Matrix/det-i.yaml 0000644 00000000335 15217654527 0012161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #determinant" full_name: Matrix#det is_singleton: false name: det params: () visibility: public ri/1.8/system/Matrix/row-i.yaml 0000644 00000000557 15217654527 0012222 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: e comment: - !ruby/struct:SM::Flow::P body: Returns row vector number i of the matrix as a Vector (starting at 0 like an array). When a block is given, the elements of that vector are iterated. full_name: Matrix#row is_singleton: false name: row params: (i) {|e| ...} visibility: public ri/1.8/system/Matrix/square%3f-i.yaml 0000644 00000000473 15217654527 0013206 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true is this is a square matrix. See note in column_size about this being unreliable, though. full_name: Matrix#square? is_singleton: false name: square? params: () visibility: public ri/1.8/system/Matrix/t-i.yaml 0000644 00000000327 15217654527 0011651 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #transpose" full_name: Matrix#t is_singleton: false name: t params: () visibility: public ri/1.8/system/Matrix/regular%3f-i.yaml 0000644 00000000401 15217654527 0013336 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if this is a regular matrix. full_name: Matrix#regular? is_singleton: false name: regular? params: () visibility: public ri/1.8/system/Matrix/%2d-i.yaml 0000644 00000000520 15217654527 0011753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Matrix subtraction. - !ruby/struct:SM::Flow::VERB body: " Matrix[[1,5], [4,2]] - Matrix[[9,3], [-4,1]]\n => -8 2\n 8 1\n" full_name: Matrix#- is_singleton: false name: "-" params: (m) visibility: public ri/1.8/system/Matrix/singular%3f-i.yaml 0000644 00000000427 15217654527 0013531 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true is this is a singular (i.e. non-regular) matrix. full_name: Matrix#singular? is_singleton: false name: singular? params: () visibility: public ri/1.8/system/Matrix/%5b%5d-i.yaml 0000644 00000000455 15217654527 0012261 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns element (i,j) of the matrix. That is: row i, column j." full_name: Matrix#[] is_singleton: false name: "[]" params: (i, j) visibility: public ri/1.8/system/Matrix/collect-i.yaml 0000644 00000000730 15217654527 0013031 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: map block_params: e comment: - !ruby/struct:SM::Flow::P body: Returns a matrix that is the result of iteration of the given block over all elements of the matrix. - !ruby/struct:SM::Flow::VERB body: " Matrix[ [1,2], [3,4] ].collect { |i| i**2 }\n => 1 4\n 9 16\n" full_name: Matrix#collect is_singleton: false name: collect params: ( {|e| ...} visibility: public ri/1.8/system/Matrix/row_vectors-i.yaml 0000644 00000000423 15217654527 0013757 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array of the row vectors of the matrix. See Vector. full_name: Matrix#row_vectors is_singleton: false name: row_vectors params: () visibility: public ri/1.8/system/Matrix/inverse_from-i.yaml 0000644 00000000365 15217654527 0014106 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Not for public consumption? full_name: Matrix#inverse_from is_singleton: false name: inverse_from params: (src) visibility: public ri/1.8/system/Matrix/trace-i.yaml 0000644 00000000600 15217654527 0012476 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: tr block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the trace (sum of diagonal elements) of the matrix. - !ruby/struct:SM::Flow::VERB body: " Matrix[[7,6], [3,9]].trace\n => 16\n" full_name: Matrix#trace is_singleton: false name: trace params: () visibility: public ri/1.8/system/Matrix/compare_by_row_vectors-i.yaml 0000644 00000000433 15217654527 0016160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Not really intended for general consumption. full_name: Matrix#compare_by_row_vectors is_singleton: false name: compare_by_row_vectors params: (rows) visibility: public ri/1.8/system/Matrix/inspect-i.yaml 0000644 00000000345 15217654527 0013053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Overrides Object#inspect full_name: Matrix#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/Matrix/to_a-i.yaml 0000644 00000000407 15217654527 0012327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array of arrays that describe the rows of the matrix. full_name: Matrix#to_a is_singleton: false name: to_a params: () visibility: public ri/1.8/system/Matrix/column_vector-c.yaml 0000644 00000000652 15217654527 0014260 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a single-column matrix where the values of that column are as given in column. - !ruby/struct:SM::Flow::VERB body: " Matrix.column_vector([4,5,6])\n => 4\n 5\n 6\n" full_name: Matrix::column_vector is_singleton: true name: column_vector params: (column) visibility: public ri/1.8/system/Matrix/column-i.yaml 0000644 00000000570 15217654527 0012703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: e comment: - !ruby/struct:SM::Flow::P body: Returns column vector number j of the matrix as a Vector (starting at 0 like an array). When a block is given, the elements of that vector are iterated. full_name: Matrix#column is_singleton: false name: column params: (j) {|e| ...} visibility: public ri/1.8/system/Matrix/inv-i.yaml 0000644 00000000331 15217654527 0012175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #inverse" full_name: Matrix#inv is_singleton: false name: inv params: () visibility: public ri/1.8/system/Matrix/transpose-i.yaml 0000644 00000000722 15217654527 0013423 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: t block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the transpose of the matrix. - !ruby/struct:SM::Flow::VERB body: " Matrix[[1,2], [3,4], [5,6]]\n => 1 2\n 3 4\n 5 6\n Matrix[[1,2], [3,4], [5,6]].transpose\n => 1 3 5\n 2 4 6\n" full_name: Matrix#transpose is_singleton: false name: transpose params: () visibility: public ri/1.8/system/Matrix/map-i.yaml 0000644 00000000330 15217654527 0012155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #collect" full_name: Matrix#map is_singleton: false name: map params: ( visibility: public ri/1.8/system/Matrix/%2a-i.yaml 0000644 00000000514 15217654527 0011753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Matrix multiplication. - !ruby/struct:SM::Flow::VERB body: " Matrix[[2,4], [6,8]] * Matrix.identity(2)\n => 2 4\n 6 8\n" full_name: Matrix#* is_singleton: false name: "*" params: (m) visibility: public ri/1.8/system/Matrix/rows-c.yaml 0000644 00000001052 15217654527 0012366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a matrix where rows is an array of arrays, each of which is a row to the matrix. If the optional argument copy is false, use the given arrays as the internal structure of the matrix without copying. - !ruby/struct:SM::Flow::VERB body: " Matrix.rows([[25, 93], [-1, 66]])\n => 25 93\n -1 66\n" full_name: Matrix::rows is_singleton: true name: rows params: (rows, copy = true) visibility: public ri/1.8/system/Matrix/rank-i.yaml 0000644 00000000745 15217654527 0012345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the rank of the matrix. Beware that using Float values, with their usual lack of precision, can affect the value returned by this method. Use Rational values instead if this is important to you. - !ruby/struct:SM::Flow::VERB body: " Matrix[[7,6], [3,9]].rank\n => 2\n" full_name: Matrix#rank is_singleton: false name: rank params: () visibility: public ri/1.8/system/Matrix/row_size-i.yaml 0000644 00000000352 15217654527 0013245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of rows. full_name: Matrix#row_size is_singleton: false name: row_size params: () visibility: public ri/1.8/system/Matrix/%2f-i.yaml 0000644 00000000556 15217654527 0011766 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Matrix division (multiplication by the inverse). - !ruby/struct:SM::Flow::VERB body: " Matrix[[7,6], [3,9]] / Matrix[[2,9], [3,1]]\n => -7 1\n -3 -6\n" full_name: Matrix#/ is_singleton: false name: / params: (other) visibility: public ri/1.8/system/Matrix/clone-i.yaml 0000644 00000000450 15217654527 0012503 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a clone of the matrix, so that the contents of each do not reference identical objects. full_name: Matrix#clone is_singleton: false name: clone params: () visibility: public ri/1.8/system/Matrix/identity-c.yaml 0000644 00000000537 15217654527 0013234 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates an n by n identity matrix. - !ruby/struct:SM::Flow::VERB body: " Matrix.identity(2)\n => 1 0\n 0 1\n" full_name: Matrix::identity is_singleton: true name: identity params: (n) visibility: public ri/1.8/system/Matrix/column_size-i.yaml 0000644 00000000663 15217654527 0013740 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of columns. Note that it is possible to construct a matrix with uneven columns (e.g. Matrix[ [1,2,3], [4,5] ]), but this is mathematically unsound. This method uses the first row to determine the result. full_name: Matrix#column_size is_singleton: false name: column_size params: () visibility: public ri/1.8/system/Matrix/%3d%3d-i.yaml 0000644 00000000475 15217654527 0012261 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: eql? block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if and only if the two matrices contain equal elements. full_name: Matrix#== is_singleton: false name: == params: (other) visibility: public ri/1.8/system/Matrix/Scalar/cdesc-Scalar.yaml 0000644 00000000364 15217654527 0014652 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Private CLASS constants: [] full_name: Matrix::Scalar includes: [] instance_methods: [] name: Scalar superclass: Numeric ri/1.8/system/Matrix/scalar-c.yaml 0000644 00000000621 15217654527 0012642 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates an n by n diagonal matrix where each diagonal element is value. - !ruby/struct:SM::Flow::VERB body: " Matrix.scalar(2, 5)\n => 5 0\n 0 5\n" full_name: Matrix::scalar is_singleton: true name: scalar params: (n, value) visibility: public ri/1.8/system/Matrix/determinant-i.yaml 0000644 00000000654 15217654527 0013723 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: det block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the determinant of the matrix. If the matrix is not square, the result is 0. - !ruby/struct:SM::Flow::VERB body: " Matrix[[7,6], [3,9]].determinant\n => 63\n" full_name: Matrix#determinant is_singleton: false name: determinant params: () visibility: public ri/1.8/system/Matrix/eql%3f-i.yaml 0000644 00000000333 15217654527 0012462 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #==" full_name: Matrix#eql? is_singleton: false name: eql? params: (other) visibility: public ri/1.8/system/Matrix/coerce-i.yaml 0000644 00000000352 15217654527 0012644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "FIXME: describe #coerce." full_name: Matrix#coerce is_singleton: false name: coerce params: (other) visibility: public ri/1.8/system/Matrix/%2a%2a-i.yaml 0000644 00000000637 15217654527 0012251 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Matrix exponentiation. Defined for integer powers only. Equivalent to multiplying the matrix by itself N times. - !ruby/struct:SM::Flow::VERB body: " Matrix[[7,6], [3,9]] ** 2\n => 67 96\n 48 99\n" full_name: Matrix#** is_singleton: false name: "**" params: (other) visibility: public ri/1.8/system/Matrix/column_vectors-i.yaml 0000644 00000000434 15217654527 0014447 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array of the column vectors of the matrix. See Vector. full_name: Matrix#column_vectors is_singleton: false name: column_vectors params: () visibility: public ri/1.8/system/Time/mon-i.yaml 0000644 00000000702 15217654527 0011626 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the month of the year (1..12) for time. - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:03 CDT 2003\n t.mon #=> 4\n t.month #=> 4\n" full_name: Time#mon is_singleton: false name: mon params: | time.mon => fixnum time.month => fixnum visibility: public ri/1.8/system/Time/yday-i.yaml 0000644 00000000625 15217654527 0012007 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an integer representing the day of the year, 1..366. - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:04 CDT 2003\n t.yday #=> 99\n" full_name: Time#yday is_singleton: false name: yday params: | time.yday => fixnum visibility: public ri/1.8/system/Time/new-c.yaml 0000644 00000001670 15217654527 0011625 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Document-method: now" - !ruby/struct:SM::Flow::P body: Synonym for Time.new. Returns a Time object initialized tot he current system time. - !ruby/struct:SM::Flow::P body: Returns a Time object initialized to the current system time. Note: The object created will be created using the resolution available on your system clock, and so may include fractional seconds. - !ruby/struct:SM::Flow::VERB body: " a = Time.new #=> Wed Apr 09 08:56:03 CDT 2003\n b = Time.new #=> Wed Apr 09 08:56:03 CDT 2003\n a == b #=> false\n "%.6f" % a.to_f #=> "1049896563.230740"\n "%.6f" % b.to_f #=> "1049896563.231466"\n" full_name: Time::new is_singleton: true name: new params: | Time.new -> time visibility: public ri/1.8/system/Time/year-i.yaml 0000644 00000000626 15217654527 0012002 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the year for time (including the century). - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:04 CDT 2003\n t.year #=> 2003\n" full_name: Time#year is_singleton: false name: year params: | time.year => fixnum visibility: public ri/1.8/system/Time/make_time-c.yaml 0000644 00000000342 15217654527 0012762 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Time::make_time is_singleton: true name: make_time params: (year, mon, day, hour, min, sec, sec_fraction, zone, now) visibility: private ri/1.8/system/Time/cdesc-Time.yaml 0000644 00000012506 15217654527 0012571 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: _load - !ruby/object:RI::MethodSummary name: apply_offset - !ruby/object:RI::MethodSummary name: at - !ruby/object:RI::MethodSummary name: gm - !ruby/object:RI::MethodSummary name: httpdate - !ruby/object:RI::MethodSummary name: local - !ruby/object:RI::MethodSummary name: make_time - !ruby/object:RI::MethodSummary name: mktime - !ruby/object:RI::MethodSummary name: month_days - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: now - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: rfc2822 - !ruby/object:RI::MethodSummary name: times - !ruby/object:RI::MethodSummary name: utc - !ruby/object:RI::MethodSummary name: w3cdtf - !ruby/object:RI::MethodSummary name: xmlschema - !ruby/object:RI::MethodSummary name: yaml_new - !ruby/object:RI::MethodSummary name: zone_offset - !ruby/object:RI::MethodSummary name: zone_utc? comment: - !ruby/struct:SM::Flow::P body: Implements the extensions to the Time class that are described in the documentation for the time.rb library. constants: - !ruby/object:RI::Constant comment: name: ZoneOffset value: "{ 'UTC' => 0, # ISO 8601 'Z' => 0, # RFC 822 'UT' => 0, 'GMT' => 0, 'EST' => -5, 'EDT' => -4, 'CST' => -6, 'CDT' => -5, 'MST' => -7, 'MDT' => -6, 'PST' => -8, 'PDT' => -7, # Following definition of military zones is original one. # See RFC 1123 and RFC 2822 for the error in RFC 822. 'A' => +1, 'B' => +2, 'C' => +3, 'D' => +4, 'E' => +5, 'F' => +6, 'G' => +7, 'H' => +8, 'I' => +9, 'K' => +10, 'L' => +11, 'M' => +12, 'N' => -1, 'O' => -2, 'P' => -3, 'Q' => -4, 'R' => -5, 'S' => -6, 'T' => -7, 'U' => -8, 'V' => -9, 'W' => -10, 'X' => -11, 'Y' => -12, }" - !ruby/object:RI::Constant comment: name: LeapYearMonthDays value: "[31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]" - !ruby/object:RI::Constant comment: name: CommonYearMonthDays value: "[31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]" - !ruby/object:RI::Constant comment: name: MonthValue value: "{ 'JAN' => 1, 'FEB' => 2, 'MAR' => 3, 'APR' => 4, 'MAY' => 5, 'JUN' => 6, 'JUL' => 7, 'AUG' => 8, 'SEP' => 9, 'OCT' =>10, 'NOV' =>11, 'DEC' =>12" - !ruby/object:RI::Constant comment: name: RFC2822_DAY_NAME value: "[ 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'" - !ruby/object:RI::Constant comment: name: RFC2822_MONTH_NAME value: "[ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'" full_name: Time includes: - !ruby/object:RI::IncludedModule name: Comparable instance_methods: - !ruby/object:RI::MethodSummary name: + - !ruby/object:RI::MethodSummary name: "-" - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: _dump - !ruby/object:RI::MethodSummary name: asctime - !ruby/object:RI::MethodSummary name: ctime - !ruby/object:RI::MethodSummary name: day - !ruby/object:RI::MethodSummary name: dst? - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: getgm - !ruby/object:RI::MethodSummary name: getlocal - !ruby/object:RI::MethodSummary name: getutc - !ruby/object:RI::MethodSummary name: gmt? - !ruby/object:RI::MethodSummary name: gmt_offset - !ruby/object:RI::MethodSummary name: gmtime - !ruby/object:RI::MethodSummary name: gmtoff - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: hour - !ruby/object:RI::MethodSummary name: httpdate - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: isdst - !ruby/object:RI::MethodSummary name: iso8601 - !ruby/object:RI::MethodSummary name: localtime - !ruby/object:RI::MethodSummary name: marshal_dump - !ruby/object:RI::MethodSummary name: marshal_load - !ruby/object:RI::MethodSummary name: mday - !ruby/object:RI::MethodSummary name: min - !ruby/object:RI::MethodSummary name: mon - !ruby/object:RI::MethodSummary name: month - !ruby/object:RI::MethodSummary name: rfc2822 - !ruby/object:RI::MethodSummary name: rfc822 - !ruby/object:RI::MethodSummary name: sec - !ruby/object:RI::MethodSummary name: strftime - !ruby/object:RI::MethodSummary name: succ - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: to_date - !ruby/object:RI::MethodSummary name: to_datetime - !ruby/object:RI::MethodSummary name: to_f - !ruby/object:RI::MethodSummary name: to_i - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: tv_sec - !ruby/object:RI::MethodSummary name: tv_usec - !ruby/object:RI::MethodSummary name: usec - !ruby/object:RI::MethodSummary name: utc - !ruby/object:RI::MethodSummary name: utc? - !ruby/object:RI::MethodSummary name: utc_offset - !ruby/object:RI::MethodSummary name: w3cdtf - !ruby/object:RI::MethodSummary name: wday - !ruby/object:RI::MethodSummary name: xmlschema - !ruby/object:RI::MethodSummary name: yday - !ruby/object:RI::MethodSummary name: year - !ruby/object:RI::MethodSummary name: zone name: Time superclass: Object ri/1.8/system/Time/to_s-i.yaml 0000644 00000001051 15217654527 0011777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a string representing time. Equivalent to calling Time#strftime with a format string of ``%a %b %d %H:%M:%S %Z %Y''. - !ruby/struct:SM::Flow::VERB body: " Time.now.to_s #=> "Wed Apr 09 08:56:04 CDT 2003"\n" full_name: Time#to_s is_singleton: false name: to_s params: | time.inspect => string time.to_s => string visibility: public ri/1.8/system/Time/wday-i.yaml 0000644 00000000644 15217654527 0012006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an integer representing the day of the week, 0..6, with Sunday == 0. - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:04 CDT 2003\n t.wday #=> 3\n" full_name: Time#wday is_singleton: false name: wday params: | time.wday => fixnum visibility: public ri/1.8/system/Time/httpdate-c.yaml 0000644 00000001034 15217654527 0012643 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parses date as HTTP-date defined by RFC 2616 and converts it to a Time object. - !ruby/struct:SM::Flow::P body: ArgumentError is raised if date is not compliant with RFC 2616 or Time class cannot represent specified date. - !ruby/struct:SM::Flow::P body: "See #httpdate for more information on this format." full_name: Time::httpdate is_singleton: true name: httpdate params: (date) visibility: public ri/1.8/system/Time/%2b-i.yaml 0000644 00000000757 15217654527 0011417 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Addition---Adds some number of seconds (possibly fractional) to time and returns that value as a new time. - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:03 CDT 2003\n t + (60 * 60 * 24) #=> Thu Apr 10 08:56:03 CDT 2003\n" full_name: Time#+ is_singleton: false name: + params: | time + numeric => time visibility: public ri/1.8/system/Time/utc-c.yaml 0000644 00000002201 15217654527 0011616 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a time based on given values, interpreted as UTC (GMT). The year must be specified. Other values default to the minimum value for that field (and may be nil or omitted). Months may be specified by numbers from 1 to 12, or by the three-letter English month names. Hours are specified on a 24-hour clock (0..23). Raises an ArgumentError if any values are out of range. Will also accept ten arguments in the order output by Time#to_a. - !ruby/struct:SM::Flow::VERB body: " Time.utc(2000,"jan",1,20,15,1) #=> Sat Jan 01 20:15:01 UTC 2000\n Time.gm(2000,"jan",1,20,15,1) #=> Sat Jan 01 20:15:01 UTC 2000\n" full_name: Time::utc is_singleton: true name: utc params: | Time.utc( year [, month, day, hour, min, sec, usec] ) => time Time.utc( sec, min, hour, day, month, year, wday, yday, isdst, tz ) => time Time.gm( year [, month, day, hour, min, sec, usec] ) => time Time.gm( sec, min, hour, day, month, year, wday, yday, isdst, tz ) => time visibility: public ri/1.8/system/Time/w3cdtf-c.yaml 0000644 00000000250 15217654527 0012217 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Time::w3cdtf is_singleton: true name: w3cdtf params: (date) visibility: public ri/1.8/system/Time/now-c.yaml 0000644 00000001575 15217654527 0011643 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Synonym for Time.new. Returns a Time object initialized tot he current system time. - !ruby/struct:SM::Flow::P body: Returns a Time object initialized to the current system time. Note: The object created will be created using the resolution available on your system clock, and so may include fractional seconds. - !ruby/struct:SM::Flow::VERB body: " a = Time.new #=> Wed Apr 09 08:56:03 CDT 2003\n b = Time.new #=> Wed Apr 09 08:56:03 CDT 2003\n a == b #=> false\n "%.6f" % a.to_f #=> "1049896563.230740"\n "%.6f" % b.to_f #=> "1049896563.231466"\n" full_name: Time::now is_singleton: true name: now params: | Time.new -> time visibility: public ri/1.8/system/Time/localtime-i.yaml 0000644 00000001055 15217654527 0013010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts time to local time (using the local time zone in effect for this process) modifying the receiver. - !ruby/struct:SM::Flow::VERB body: " t = Time.gm(2000, "jan", 1, 20, 15, 1)\n t.gmt? #=> true\n t.localtime #=> Sat Jan 01 14:15:01 CST 2000\n t.gmt? #=> false\n" full_name: Time#localtime is_singleton: false name: localtime params: | time.localtime => time visibility: public ri/1.8/system/Time/zone-i.yaml 0000644 00000001066 15217654527 0012014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the name of the time zone used for time. As of Ruby 1.8, returns ``UTC'' rather than ``GMT'' for UTC times. - !ruby/struct:SM::Flow::VERB body: " t = Time.gm(2000, "jan", 1, 20, 15, 1)\n t.zone #=> "UTC"\n t = Time.local(2000, "jan", 1, 20, 15, 1)\n t.zone #=> "CST"\n" full_name: Time#zone is_singleton: false name: zone params: | time.zone => string visibility: public ri/1.8/system/Time/marshal_dump-i.yaml 0000644 00000000341 15217654527 0013510 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: undocumented full_name: Time#marshal_dump is_singleton: false name: marshal_dump params: () visibility: public ri/1.8/system/Time/mday-i.yaml 0000644 00000000700 15217654527 0011765 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the day of the month (1..n) for time. - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:03 CDT 2003\n t.day #=> 9\n t.mday #=> 9\n" full_name: Time#mday is_singleton: false name: mday params: | time.day => fixnum time.mday => fixnum visibility: public ri/1.8/system/Time/hash-i.yaml 0000644 00000000405 15217654527 0011760 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a hash code for this time object. full_name: Time#hash is_singleton: false name: hash params: | time.hash => fixnum visibility: public ri/1.8/system/Time/to_i-i.yaml 0000644 00000000751 15217654527 0011773 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the value of time as an integer number of seconds since epoch. - !ruby/struct:SM::Flow::VERB body: " t = Time.now\n "%10.5f" % t.to_f #=> "1049896564.17839"\n t.to_i #=> 1049896564\n" full_name: Time#to_i is_singleton: false name: to_i params: | time.to_i => int time.tv_sec => int visibility: public ri/1.8/system/Time/yaml_new-c.yaml 0000644 00000000271 15217654527 0012643 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Time::yaml_new is_singleton: true name: yaml_new params: ( klass, tag, val ) visibility: public ri/1.8/system/Time/%3c%3d%3e-i.yaml 0000644 00000001265 15217654527 0012205 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Comparison---Compares time with other_time or with numeric, which is the number of seconds (possibly fractional) since epoch. - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:03 CDT 2003\n t2 = t + 2592000 #=> Fri May 09 08:56:03 CDT 2003\n t <=> t2 #=> -1\n t2 <=> t #=> 1\n t <=> t #=> 0\n" full_name: Time#<=> is_singleton: false name: <=> params: | time <=> other_time => -1, 0, +1 time <=> numeric => -1, 0, +1 visibility: public ri/1.8/system/Time/tv_usec-i.yaml 0000644 00000001004 15217654527 0012501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns just the number of microseconds for time. - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:04 CDT 2003\n "%10.6f" % t.to_f #=> "1049896564.259970"\n t.usec #=> 259970\n" full_name: Time#tv_usec is_singleton: false name: tv_usec params: | time.usec => int time.tv_usec => int visibility: public ri/1.8/system/Time/gmt_offset-i.yaml 0000644 00000001212 15217654527 0013167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the offset in seconds between the timezone of time and UTC. - !ruby/struct:SM::Flow::VERB body: " t = Time.gm(2000,1,1,20,15,1) #=> Sat Jan 01 20:15:01 UTC 2000\n t.gmt_offset #=> 0\n l = t.getlocal #=> Sat Jan 01 14:15:01 CST 2000\n l.gmt_offset #=> -21600\n" full_name: Time#gmt_offset is_singleton: false name: gmt_offset params: | time.gmt_offset => fixnum time.gmtoff => fixnum time.utc_offset => fixnum visibility: public ri/1.8/system/Time/zone_offset-c.yaml 0000644 00000000306 15217654527 0013350 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Time::zone_offset is_singleton: true name: zone_offset params: (zone, year=self.now.year) visibility: public ri/1.8/system/Time/isdst-i.yaml 0000644 00000001106 15217654527 0012162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if time occurs during Daylight Saving Time in its time zone. - !ruby/struct:SM::Flow::VERB body: " Time.local(2000, 7, 1).isdst #=> true\n Time.local(2000, 1, 1).isdst #=> false\n Time.local(2000, 7, 1).dst? #=> true\n Time.local(2000, 1, 1).dst? #=> false\n" full_name: Time#isdst is_singleton: false name: isdst params: | time.isdst => true or false time.dst? => true or false visibility: public ri/1.8/system/Time/sec-i.yaml 0000644 00000001137 15217654527 0011612 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the second of the minute (0..60)[Yes, seconds really can range from zero to 60. This allows the system to inject leap seconds every now and then to correct for the fact that years are not really a convenient number of hours long.] for time. - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:04 CDT 2003\n t.sec #=> 4\n" full_name: Time#sec is_singleton: false name: sec params: | time.sec => fixnum visibility: public ri/1.8/system/Time/%2d-i.yaml 0000644 00000001237 15217654527 0011413 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Difference---Returns a new time that represents the difference between two times, or subtracts the given number of seconds in numeric from time. - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:03 CDT 2003\n t2 = t + 2592000 #=> Fri May 09 08:56:03 CDT 2003\n t2 - t #=> 2592000.0\n t2 - 2592000 #=> Wed Apr 09 08:56:03 CDT 2003\n" full_name: Time#- is_singleton: false name: "-" params: | time - other_time => float time - numeric => time visibility: public ri/1.8/system/Time/local-c.yaml 0000644 00000001150 15217654527 0012117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Same as Time::gm, but interprets the values in the local time zone. - !ruby/struct:SM::Flow::VERB body: " Time.local(2000,"jan",1,20,15,1) #=> Sat Jan 01 20:15:01 CST 2000\n" full_name: Time::local is_singleton: true name: local params: | Time.local( year [, month, day, hour, min, sec, usec] ) => time Time.local( sec, min, hour, day, month, year, wday, yday, isdst, tz ) => time Time.mktime( year, month, day, hour, min, sec, usec ) => time visibility: public ri/1.8/system/Time/xmlschema-c.yaml 0000644 00000001146 15217654527 0013013 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parses date as dateTime defined by XML Schema and converts it to a Time object. The format is restricted version of the format defined by ISO 8601. - !ruby/struct:SM::Flow::P body: ArgumentError is raised if date is not compliant with the format or Time class cannot represent specified date. - !ruby/struct:SM::Flow::P body: "See #xmlschema for more information on this format." full_name: Time::xmlschema is_singleton: true name: xmlschema params: (date) visibility: public ri/1.8/system/Time/rfc2822-c.yaml 0000644 00000001160 15217654527 0012116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parses date as date-time defined by RFC 2822 and converts it to a Time object. The format is identical to the date format defined by RFC 822 and updated by RFC 1123. - !ruby/struct:SM::Flow::P body: ArgumentError is raised if date is not compliant with RFC 2822 or Time class cannot represent specified date. - !ruby/struct:SM::Flow::P body: "See #rfc2822 for more information on this format." full_name: Time::rfc2822 is_singleton: true name: rfc2822 params: (date) visibility: public ri/1.8/system/Time/gmtoff-i.yaml 0000644 00000001202 15217654527 0012313 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the offset in seconds between the timezone of time and UTC. - !ruby/struct:SM::Flow::VERB body: " t = Time.gm(2000,1,1,20,15,1) #=> Sat Jan 01 20:15:01 UTC 2000\n t.gmt_offset #=> 0\n l = t.getlocal #=> Sat Jan 01 14:15:01 CST 2000\n l.gmt_offset #=> -21600\n" full_name: Time#gmtoff is_singleton: false name: gmtoff params: | time.gmt_offset => fixnum time.gmtoff => fixnum time.utc_offset => fixnum visibility: public ri/1.8/system/Time/utc_offset-i.yaml 0000644 00000001212 15217654527 0013173 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the offset in seconds between the timezone of time and UTC. - !ruby/struct:SM::Flow::VERB body: " t = Time.gm(2000,1,1,20,15,1) #=> Sat Jan 01 20:15:01 UTC 2000\n t.gmt_offset #=> 0\n l = t.getlocal #=> Sat Jan 01 14:15:01 CST 2000\n l.gmt_offset #=> -21600\n" full_name: Time#utc_offset is_singleton: false name: utc_offset params: | time.gmt_offset => fixnum time.gmtoff => fixnum time.utc_offset => fixnum visibility: public ri/1.8/system/Time/month-i.yaml 0000644 00000000706 15217654527 0012166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the month of the year (1..12) for time. - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:03 CDT 2003\n t.mon #=> 4\n t.month #=> 4\n" full_name: Time#month is_singleton: false name: month params: | time.mon => fixnum time.month => fixnum visibility: public ri/1.8/system/Time/tv_sec-i.yaml 0000644 00000000755 15217654527 0012330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the value of time as an integer number of seconds since epoch. - !ruby/struct:SM::Flow::VERB body: " t = Time.now\n "%10.5f" % t.to_f #=> "1049896564.17839"\n t.to_i #=> 1049896564\n" full_name: Time#tv_sec is_singleton: false name: tv_sec params: | time.to_i => int time.tv_sec => int visibility: public ri/1.8/system/Time/usec-i.yaml 0000644 00000000776 15217654527 0012007 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns just the number of microseconds for time. - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:04 CDT 2003\n "%10.6f" % t.to_f #=> "1049896564.259970"\n t.usec #=> 259970\n" full_name: Time#usec is_singleton: false name: usec params: | time.usec => int time.tv_usec => int visibility: public ri/1.8/system/Time/min-i.yaml 0000644 00000000617 15217654527 0011625 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the minute of the hour (0..59) for time. - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:03 CDT 2003\n t.min #=> 56\n" full_name: Time#min is_singleton: false name: min params: | time.min => fixnum visibility: public ri/1.8/system/Time/asctime-i.yaml 0000644 00000000645 15217654527 0012470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a canonical string representation of time. - !ruby/struct:SM::Flow::VERB body: " Time.now.asctime #=> "Wed Apr 9 08:56:03 2003"\n" full_name: Time#asctime is_singleton: false name: asctime params: | time.asctime => string time.ctime => string visibility: public ri/1.8/system/Time/rfc2822-i.yaml 0000644 00000001065 15217654527 0012130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: rfc822 block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns a string which represents the time as date-time defined by RFC 2822:" - !ruby/struct:SM::Flow::VERB body: " day-of-week, DD month-name CCYY hh:mm:ss zone\n" - !ruby/struct:SM::Flow::P body: where zone is [+-]hhmm. - !ruby/struct:SM::Flow::P body: If self is a UTC time, -0000 is used as zone. full_name: Time#rfc2822 is_singleton: false name: rfc2822 params: () visibility: public ri/1.8/system/Time/httpdate-i.yaml 0000644 00000000723 15217654527 0012655 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns a string which represents the time as rfc1123-date of HTTP-date defined by RFC 2616:" - !ruby/struct:SM::Flow::VERB body: " day-of-week, DD month-name CCYY hh:mm:ss GMT\n" - !ruby/struct:SM::Flow::P body: Note that the result is always UTC (GMT). full_name: Time#httpdate is_singleton: false name: httpdate params: () visibility: public ri/1.8/system/Time/utc%3f-i.yaml 0000644 00000001575 15217654527 0012137 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if time represents a time in UTC (GMT). - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:04 CDT 2003\n t.utc? #=> false\n t = Time.gm(2000,"jan",1,20,15,1) #=> Sat Jan 01 20:15:01 UTC 2000\n t.utc? #=> true\n\n t = Time.now #=> Wed Apr 09 08:56:03 CDT 2003\n t.gmt? #=> false\n t = Time.gm(2000,1,1,20,15,1) #=> Sat Jan 01 20:15:01 UTC 2000\n t.gmt? #=> true\n" full_name: Time#utc? is_singleton: false name: utc? params: | time.utc? => true or false time.gmt? => true or false visibility: public ri/1.8/system/Time/month_days-c.yaml 0000644 00000000261 15217654527 0013174 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Time::month_days is_singleton: true name: month_days params: (y, m) visibility: private ri/1.8/system/Time/parse-c.yaml 0000644 00000005174 15217654527 0012151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (year) comment: - !ruby/struct:SM::Flow::P body: Parses date using Date._parse and converts it to a Time object. - !ruby/struct:SM::Flow::P body: "If a block is given, the year described in date is converted by the block. For example:" - !ruby/struct:SM::Flow::VERB body: " Time.parse(...) {|y| y < 100 ? (y >= 69 ? y + 1900 : y + 2000) : y}\n" - !ruby/struct:SM::Flow::P body: "If the upper components of the given time are broken or missing, they are supplied with those of now. For the lower components, the minimum values (1 or 0) are assumed if broken or missing. For example:" - !ruby/struct:SM::Flow::VERB body: " # Suppose it is "Thu Nov 29 14:33:20 GMT 2001" now and\n # your timezone is GMT:\n Time.parse("16:30") #=> Thu Nov 29 16:30:00 GMT 2001\n Time.parse("7/23") #=> Mon Jul 23 00:00:00 GMT 2001\n Time.parse("Aug 31") #=> Fri Aug 31 00:00:00 GMT 2001\n" - !ruby/struct:SM::Flow::P body: "Since there are numerous conflicts among locally defined timezone abbreviations all over the world, this method is not made to understand all of them. For example, the abbreviation "CST" is used variously as:" - !ruby/struct:SM::Flow::VERB body: " -06:00 in America/Chicago,\n -05:00 in America/Havana,\n +08:00 in Asia/Harbin,\n +09:30 in Australia/Darwin,\n +10:30 in Australia/Adelaide,\n etc.\n" - !ruby/struct:SM::Flow::P body: Based on the fact, this method only understands the timezone abbreviations described in RFC 822 and the system timezone, in the order named. (i.e. a definition in RFC 822 overrides the system timezone definition.) The system timezone is taken from Time.local(year, 1, 1).zone and Time.local(year, 7, 1).zone. If the extracted timezone abbreviation does not match any of them, it is ignored and the given time is regarded as a local time. - !ruby/struct:SM::Flow::P body: ArgumentError is raised if Date._parse cannot extract information from date or Time class cannot represent specified date. - !ruby/struct:SM::Flow::P body: "This method can be used as fail-safe for other parsing methods as:" - !ruby/struct:SM::Flow::VERB body: " Time.rfc2822(date) rescue Time.parse(date)\n Time.httpdate(date) rescue Time.parse(date)\n Time.xmlschema(date) rescue Time.parse(date)\n" - !ruby/struct:SM::Flow::P body: A failure for Time.parse should be checked, though. full_name: Time::parse is_singleton: true name: parse params: (date, now=self.now) {|year| ...} visibility: public ri/1.8/system/Time/getgm-i.yaml 0000644 00000001236 15217654527 0012143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new new_time object representing time in UTC. - !ruby/struct:SM::Flow::VERB body: " t = Time.local(2000,1,1,20,15,1) #=> Sat Jan 01 20:15:01 CST 2000\n t.gmt? #=> false\n y = t.getgm #=> Sun Jan 02 02:15:01 UTC 2000\n y.gmt? #=> true\n t == y #=> true\n" full_name: Time#getgm is_singleton: false name: getgm params: | time.getgm => new_time time.getutc => new_time visibility: public ri/1.8/system/Time/ctime-i.yaml 0000644 00000000641 15217654530 0012132 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a canonical string representation of time. - !ruby/struct:SM::Flow::VERB body: " Time.now.asctime #=> "Wed Apr 9 08:56:03 2003"\n" full_name: Time#ctime is_singleton: false name: ctime params: | time.asctime => string time.ctime => string visibility: public ri/1.8/system/Time/zone_utc%3f-c.yaml 0000644 00000000257 15217654530 0013152 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Time::zone_utc? is_singleton: true name: zone_utc? params: (zone) visibility: private ri/1.8/system/Time/gmtime-i.yaml 0000644 00000001275 15217654530 0012317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts time to UTC (GMT), modifying the receiver. - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:03 CDT 2003\n t.gmt? #=> false\n t.gmtime #=> Wed Apr 09 13:56:03 UTC 2003\n t.gmt? #=> true\n\n t = Time.now #=> Wed Apr 09 08:56:04 CDT 2003\n t.utc? #=> false\n t.utc #=> Wed Apr 09 13:56:04 UTC 2003\n t.utc? #=> true\n" full_name: Time#gmtime is_singleton: false name: gmtime params: | time.gmtime => time time.utc => time visibility: public ri/1.8/system/Time/w3cdtf-i.yaml 0000644 00000000244 15217654530 0012222 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Time#w3cdtf is_singleton: false name: w3cdtf params: () visibility: public ri/1.8/system/Time/inspect-i.yaml 0000644 00000001057 15217654530 0012500 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a string representing time. Equivalent to calling Time#strftime with a format string of ``%a %b %d %H:%M:%S %Z %Y''. - !ruby/struct:SM::Flow::VERB body: " Time.now.to_s #=> "Wed Apr 09 08:56:04 CDT 2003"\n" full_name: Time#inspect is_singleton: false name: inspect params: | time.inspect => string time.to_s => string visibility: public ri/1.8/system/Time/to_datetime-i.yaml 0000644 00000000257 15217654530 0013332 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Time#to_datetime is_singleton: false name: to_datetime params: () visibility: private ri/1.8/system/Time/strftime-i.yaml 0000644 00000003425 15217654530 0012671 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Formats time according to the directives in the given format string. Any text not listed as a directive will be passed through to the output string. - !ruby/struct:SM::Flow::P body: "Format meaning:" - !ruby/struct:SM::Flow::VERB body: " %a - The abbreviated weekday name (``Sun'')\n %A - The full weekday name (``Sunday'')\n %b - The abbreviated month name (``Jan'')\n %B - The full month name (``January'')\n %c - The preferred local date and time representation\n %d - Day of the month (01..31)\n %H - Hour of the day, 24-hour clock (00..23)\n %I - Hour of the day, 12-hour clock (01..12)\n %j - Day of the year (001..366)\n %m - Month of the year (01..12)\n %M - Minute of the hour (00..59)\n %p - Meridian indicator (``AM'' or ``PM'')\n %S - Second of the minute (00..60)\n %U - Week number of the current year,\n starting with the first Sunday as the first\n day of the first week (00..53)\n %W - Week number of the current year,\n starting with the first Monday as the first\n day of the first week (00..53)\n %w - Day of the week (Sunday is 0, 0..6)\n %x - Preferred representation for the date alone, no time\n %X - Preferred representation for the time alone, no date\n %y - Year without a century (00..99)\n %Y - Year with century\n %Z - Time zone name\n %% - Literal ``%'' character\n\n t = Time.now\n t.strftime("Printed on %m/%d/%Y") #=> "Printed on 04/09/2003"\n t.strftime("at %I:%M%p") #=> "at 08:56AM"\n" full_name: Time#strftime is_singleton: false name: strftime params: | time.strftime( string ) => string visibility: public ri/1.8/system/Time/to_date-i.yaml 0000644 00000000346 15217654530 0012452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: def to_time() getlocal end full_name: Time#to_date is_singleton: false name: to_date params: () visibility: private ri/1.8/system/Time/to_a-i.yaml 0000644 00000001341 15217654530 0011751 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns a ten-element array of values for time: {[ sec, min, hour, day, month, year, wday, yday, isdst, zone ]}. See the individual methods for an explanation of the valid ranges of each value. The ten elements can be passed directly to Time::utc or Time::local to create a new Time." - !ruby/struct:SM::Flow::VERB body: " now = Time.now #=> Wed Apr 09 08:56:04 CDT 2003\n t = now.to_a #=> [4, 56, 8, 9, 4, 2003, 3, 99, true, "CDT"]\n" full_name: Time#to_a is_singleton: false name: to_a params: | time.to_a => array visibility: public ri/1.8/system/Time/hour-i.yaml 0000644 00000000616 15217654530 0012010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the hour of the day (0..23) for time. - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:03 CDT 2003\n t.hour #=> 8\n" full_name: Time#hour is_singleton: false name: hour params: | time.hour => fixnum visibility: public ri/1.8/system/Time/gmt%3f-i.yaml 0000644 00000001575 15217654530 0012125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if time represents a time in UTC (GMT). - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:04 CDT 2003\n t.utc? #=> false\n t = Time.gm(2000,"jan",1,20,15,1) #=> Sat Jan 01 20:15:01 UTC 2000\n t.utc? #=> true\n\n t = Time.now #=> Wed Apr 09 08:56:03 CDT 2003\n t.gmt? #=> false\n t = Time.gm(2000,1,1,20,15,1) #=> Sat Jan 01 20:15:01 UTC 2000\n t.gmt? #=> true\n" full_name: Time#gmt? is_singleton: false name: gmt? params: | time.utc? => true or false time.gmt? => true or false visibility: public ri/1.8/system/Time/times-c.yaml 0000644 00000000420 15217654530 0012137 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deprecated in favor of Process::times full_name: Time::times is_singleton: true name: times params: | Time.times => struct_tms visibility: public ri/1.8/system/Time/dst%3f-i.yaml 0000644 00000001104 15217654530 0012114 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if time occurs during Daylight Saving Time in its time zone. - !ruby/struct:SM::Flow::VERB body: " Time.local(2000, 7, 1).isdst #=> true\n Time.local(2000, 1, 1).isdst #=> false\n Time.local(2000, 7, 1).dst? #=> true\n Time.local(2000, 1, 1).dst? #=> false\n" full_name: Time#dst? is_singleton: false name: dst? params: | time.isdst => true or false time.dst? => true or false visibility: public ri/1.8/system/Time/gm-c.yaml 0000644 00000002177 15217654530 0011434 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a time based on given values, interpreted as UTC (GMT). The year must be specified. Other values default to the minimum value for that field (and may be nil or omitted). Months may be specified by numbers from 1 to 12, or by the three-letter English month names. Hours are specified on a 24-hour clock (0..23). Raises an ArgumentError if any values are out of range. Will also accept ten arguments in the order output by Time#to_a. - !ruby/struct:SM::Flow::VERB body: " Time.utc(2000,"jan",1,20,15,1) #=> Sat Jan 01 20:15:01 UTC 2000\n Time.gm(2000,"jan",1,20,15,1) #=> Sat Jan 01 20:15:01 UTC 2000\n" full_name: Time::gm is_singleton: true name: gm params: | Time.utc( year [, month, day, hour, min, sec, usec] ) => time Time.utc( sec, min, hour, day, month, year, wday, yday, isdst, tz ) => time Time.gm( year [, month, day, hour, min, sec, usec] ) => time Time.gm( sec, min, hour, day, month, year, wday, yday, isdst, tz ) => time visibility: public ri/1.8/system/Time/at-c.yaml 0000644 00000001321 15217654530 0011423 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new time object with the value given by aTime, or the given number of seconds (and optional microseconds) from epoch. A non-portable feature allows the offset to be negative on some systems. - !ruby/struct:SM::Flow::VERB body: " Time.at(0) #=> Wed Dec 31 18:00:00 CST 1969\n Time.at(946702800) #=> Fri Dec 31 23:00:00 CST 1999\n Time.at(-284061600) #=> Sat Dec 31 00:00:00 CST 1960\n" full_name: Time::at is_singleton: true name: at params: | Time.at( aTime ) => time Time.at( seconds [, microseconds] ) => time visibility: public ri/1.8/system/Time/rfc822-i.yaml 0000644 00000000335 15217654530 0012037 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #rfc2822" full_name: Time#rfc822 is_singleton: false name: rfc822 params: () visibility: public ri/1.8/system/Time/getutc-i.yaml 0000644 00000001240 15217654530 0012320 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new new_time object representing time in UTC. - !ruby/struct:SM::Flow::VERB body: " t = Time.local(2000,1,1,20,15,1) #=> Sat Jan 01 20:15:01 CST 2000\n t.gmt? #=> false\n y = t.getgm #=> Sun Jan 02 02:15:01 UTC 2000\n y.gmt? #=> true\n t == y #=> true\n" full_name: Time#getutc is_singleton: false name: getutc params: | time.getgm => new_time time.getutc => new_time visibility: public ri/1.8/system/Time/mktime-c.yaml 0000644 00000001152 15217654530 0012307 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Same as Time::gm, but interprets the values in the local time zone. - !ruby/struct:SM::Flow::VERB body: " Time.local(2000,"jan",1,20,15,1) #=> Sat Jan 01 20:15:01 CST 2000\n" full_name: Time::mktime is_singleton: true name: mktime params: | Time.local( year [, month, day, hour, min, sec, usec] ) => time Time.local( sec, min, hour, day, month, year, wday, yday, isdst, tz ) => time Time.mktime( year, month, day, hour, min, sec, usec ) => time visibility: public ri/1.8/system/Time/to_f-i.yaml 0000644 00000000732 15217654530 0011761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the value of time as a floating point number of seconds since epoch. - !ruby/struct:SM::Flow::VERB body: " t = Time.now\n "%10.5f" % t.to_f #=> "1049896564.13654"\n t.to_i #=> 1049896564\n" full_name: Time#to_f is_singleton: false name: to_f params: | time.to_f => float visibility: public ri/1.8/system/Time/_dump-i.yaml 0000644 00000000402 15217654530 0012130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Dump time for marshaling. full_name: Time#_dump is_singleton: false name: _dump params: | time._dump => string visibility: public ri/1.8/system/Time/_load-c.yaml 0000644 00000000416 15217654530 0012101 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Unmarshal a dumped Time object. full_name: Time::_load is_singleton: true name: _load params: | Time._load(string) => time visibility: public ri/1.8/system/Time/iso8601-i.yaml 0000644 00000000362 15217654530 0012142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #xmlschema" full_name: Time#iso8601 is_singleton: false name: iso8601 params: (fraction_digits=0) visibility: public ri/1.8/system/Time/getlocal-i.yaml 0000644 00000001273 15217654530 0012625 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new new_time object representing time in local time (using the local time zone in effect for this process). - !ruby/struct:SM::Flow::VERB body: " t = Time.gm(2000,1,1,20,15,1) #=> Sat Jan 01 20:15:01 UTC 2000\n t.gmt? #=> true\n l = t.getlocal #=> Sat Jan 01 14:15:01 CST 2000\n l.gmt? #=> false\n t == l #=> true\n" full_name: Time#getlocal is_singleton: false name: getlocal params: | time.getlocal => new_time visibility: public ri/1.8/system/Time/to_yaml-i.yaml 0000644 00000000261 15217654530 0012473 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Time#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/Time/marshal_load-i.yaml 0000644 00000000343 15217654530 0013456 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: undocumented full_name: Time#marshal_load is_singleton: false name: marshal_load params: (p1) visibility: public ri/1.8/system/Time/succ-i.yaml 0000644 00000000435 15217654530 0011767 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a new time object, one second later than time. full_name: Time#succ is_singleton: false name: succ params: | time.succ => new_time visibility: public ri/1.8/system/Time/xmlschema-i.yaml 0000644 00000001363 15217654530 0013014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: iso8601 block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns a string which represents the time as dateTime defined by XML Schema:" - !ruby/struct:SM::Flow::VERB body: " CCYY-MM-DDThh:mm:ssTZD\n CCYY-MM-DDThh:mm:ss.sssTZD\n" - !ruby/struct:SM::Flow::P body: where TZD is Z or [+-]hh:mm. - !ruby/struct:SM::Flow::P body: If self is a UTC time, Z is used as TZD. [+-]hh:mm is used otherwise. - !ruby/struct:SM::Flow::P body: fractional_seconds specifies a number of digits of fractional seconds. Its default value is 0. full_name: Time#xmlschema is_singleton: false name: xmlschema params: (fraction_digits=0) visibility: public ri/1.8/system/Time/eql%3f-i.yaml 0000644 00000000547 15217654530 0012115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return true if time and other_time are both Time objects with the same seconds and fractional seconds. full_name: Time#eql? is_singleton: false name: eql? params: | time.eql?(other_time) visibility: public ri/1.8/system/Time/utc-i.yaml 0000644 00000001267 15217654530 0011631 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts time to UTC (GMT), modifying the receiver. - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:03 CDT 2003\n t.gmt? #=> false\n t.gmtime #=> Wed Apr 09 13:56:03 UTC 2003\n t.gmt? #=> true\n\n t = Time.now #=> Wed Apr 09 08:56:04 CDT 2003\n t.utc? #=> false\n t.utc #=> Wed Apr 09 13:56:04 UTC 2003\n t.utc? #=> true\n" full_name: Time#utc is_singleton: false name: utc params: | time.gmtime => time time.utc => time visibility: public ri/1.8/system/Time/day-i.yaml 0000644 00000000676 15217654530 0011616 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the day of the month (1..n) for time. - !ruby/struct:SM::Flow::VERB body: " t = Time.now #=> Wed Apr 09 08:56:03 CDT 2003\n t.day #=> 9\n t.mday #=> 9\n" full_name: Time#day is_singleton: false name: day params: | time.day => fixnum time.mday => fixnum visibility: public ri/1.8/system/Time/apply_offset-c.yaml 0000644 00000000324 15217654530 0013514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Time::apply_offset is_singleton: true name: apply_offset params: (year, mon, day, hour, min, sec, off) visibility: private ri/1.8/system/NameError/new-c.yaml 0000644 00000000605 15217654530 0012610 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Construct a new NameError exception. If given the name parameter may subsequently be examined using the NameError.name method. full_name: NameError::new is_singleton: true name: new params: | NameError.new(msg [, name]) => name_error visibility: public ri/1.8/system/NameError/to_s-i.yaml 0000644 00000000455 15217654530 0012774 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Produce a nicely-formated string representing the NameError. full_name: NameError#to_s is_singleton: false name: to_s params: | name_error.to_s => string visibility: public ri/1.8/system/NameError/name-i.yaml 0000644 00000000452 15217654530 0012745 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the name associated with this NameError exception. full_name: NameError#name is_singleton: false name: name params: | name_error.name => string or nil visibility: public ri/1.8/system/NameError/cdesc-NameError.yaml 0000644 00000001402 15217654530 0014544 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: NameError includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: name - !ruby/object:RI::MethodSummary name: to_s name: NameError superclass: StandardError ri/1.8/system/NameError/message/cdesc-message.yaml 0000644 00000001172 15217654530 0015726 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: NameError::message includes: [] instance_methods: [] name: message superclass: Data ri/1.8/system/FloatDomainError/cdesc-FloatDomainError.yaml 0000644 00000000453 15217654530 0017403 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Turn off floating point exceptions for overflow, etc. constants: [] full_name: FloatDomainError includes: [] instance_methods: [] name: FloatDomainError superclass: RangeError ri/1.8/system/DEBUGGER__/set_trace-c.yaml 0000644 00000000265 15217654530 0013562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::set_trace is_singleton: true name: set_trace params: ( arg ) visibility: public ri/1.8/system/DEBUGGER__/stdout%3d-c.yaml 0000644 00000000255 15217654530 0013426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::stdout= is_singleton: true name: stdout= params: (s) visibility: public ri/1.8/system/DEBUGGER__/break_points-c.yaml 0000644 00000000266 15217654530 0014272 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::break_points is_singleton: true name: break_points params: () visibility: public ri/1.8/system/DEBUGGER__/make_thread_list-c.yaml 0000644 00000000276 15217654530 0015112 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::make_thread_list is_singleton: true name: make_thread_list params: () visibility: public ri/1.8/system/DEBUGGER__/cdesc-DEBUGGER__.yaml 0000644 00000002126 15217654530 0014130 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: break_points - !ruby/object:RI::MethodSummary name: context - !ruby/object:RI::MethodSummary name: debug_thread_info - !ruby/object:RI::MethodSummary name: display - !ruby/object:RI::MethodSummary name: get_thread - !ruby/object:RI::MethodSummary name: interrupt - !ruby/object:RI::MethodSummary name: make_thread_list - !ruby/object:RI::MethodSummary name: resume - !ruby/object:RI::MethodSummary name: set_last_thread - !ruby/object:RI::MethodSummary name: set_trace - !ruby/object:RI::MethodSummary name: stdout - !ruby/object:RI::MethodSummary name: stdout= - !ruby/object:RI::MethodSummary name: suspend - !ruby/object:RI::MethodSummary name: thread_list - !ruby/object:RI::MethodSummary name: thread_list_all - !ruby/object:RI::MethodSummary name: waiting comment: constants: - !ruby/object:RI::Constant comment: name: MUTEX value: Mutex.new full_name: DEBUGGER__ includes: [] instance_methods: [] name: DEBUGGER__ superclass: Object ri/1.8/system/DEBUGGER__/Mutex/new-c.yaml 0000644 00000000253 15217654530 0013501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Mutex::new is_singleton: true name: new params: () visibility: public ri/1.8/system/DEBUGGER__/Mutex/cdesc-Mutex.yaml 0000644 00000000575 15217654530 0014660 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: DEBUGGER__::Mutex includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: lock - !ruby/object:RI::MethodSummary name: locked? - !ruby/object:RI::MethodSummary name: unlock name: Mutex superclass: Object ri/1.8/system/DEBUGGER__/Mutex/lock-i.yaml 0000644 00000000255 15217654530 0013650 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Mutex#lock is_singleton: false name: lock params: () visibility: public ri/1.8/system/DEBUGGER__/Mutex/locked%3f-i.yaml 0000644 00000000263 15217654530 0014456 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Mutex#locked? is_singleton: false name: locked? params: () visibility: public ri/1.8/system/DEBUGGER__/Mutex/unlock-i.yaml 0000644 00000000261 15217654530 0014210 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Mutex#unlock is_singleton: false name: unlock params: () visibility: public ri/1.8/system/DEBUGGER__/debug_thread_info-c.yaml 0000644 00000000316 15217654530 0015236 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::debug_thread_info is_singleton: true name: debug_thread_info params: (input, binding) visibility: public ri/1.8/system/DEBUGGER__/Context/new-c.yaml 0000644 00000000255 15217654530 0014025 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context::new is_singleton: true name: new params: () visibility: public ri/1.8/system/DEBUGGER__/Context/var_list-i.yaml 0000644 00000000303 15217654530 0015057 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#var_list is_singleton: false name: var_list params: (ary, binding) visibility: public ri/1.8/system/DEBUGGER__/Context/set_trace_all-i.yaml 0000644 00000000304 15217654530 0016036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#set_trace_all is_singleton: false name: set_trace_all params: (arg) visibility: public ri/1.8/system/DEBUGGER__/Context/break_points-i.yaml 0000644 00000000277 15217654530 0015726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#break_points is_singleton: false name: break_points params: () visibility: public ri/1.8/system/DEBUGGER__/Context/debug_print_help-i.yaml 0000644 00000000307 15217654530 0016552 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#debug_print_help is_singleton: false name: debug_print_help params: () visibility: public ri/1.8/system/DEBUGGER__/Context/trace_func-i.yaml 0000644 00000000340 15217654530 0015346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#trace_func is_singleton: false name: trace_func params: (event, file, line, id, binding, klass) visibility: public ri/1.8/system/DEBUGGER__/Context/trace%3f-i.yaml 0000644 00000000263 15217654530 0014635 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#trace? is_singleton: false name: trace? params: () visibility: public ri/1.8/system/DEBUGGER__/Context/display_expressions-i.yaml 0000644 00000000324 15217654530 0017346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#display_expressions is_singleton: false name: display_expressions params: (binding) visibility: public ri/1.8/system/DEBUGGER__/Context/stdout-i.yaml 0000644 00000000263 15217654530 0014563 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#stdout is_singleton: false name: stdout params: () visibility: public ri/1.8/system/DEBUGGER__/Context/display_expression-i.yaml 0000644 00000000327 15217654530 0017166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#display_expression is_singleton: false name: display_expression params: (exp, binding) visibility: public ri/1.8/system/DEBUGGER__/Context/suspend_all-i.yaml 0000644 00000000275 15217654530 0015555 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#suspend_all is_singleton: false name: suspend_all params: () visibility: public ri/1.8/system/DEBUGGER__/Context/set_trace-i.yaml 0000644 00000000274 15217654530 0015214 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#set_trace is_singleton: false name: set_trace params: (arg) visibility: public ri/1.8/system/DEBUGGER__/Context/format_frame-i.yaml 0000644 00000000302 15217654530 0015675 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#format_frame is_singleton: false name: format_frame params: (pos) visibility: public ri/1.8/system/DEBUGGER__/Context/context-i.yaml 0000644 00000000267 15217654530 0014731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#context is_singleton: false name: context params: (th) visibility: public ri/1.8/system/DEBUGGER__/Context/excn_handle-i.yaml 0000644 00000000324 15217654530 0015507 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#excn_handle is_singleton: false name: excn_handle params: (file, line, id, binding) visibility: public ri/1.8/system/DEBUGGER__/Context/debug_eval-i.yaml 0000644 00000000307 15217654530 0015335 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#debug_eval is_singleton: false name: debug_eval params: (str, binding) visibility: public ri/1.8/system/DEBUGGER__/Context/readline-i.yaml 0000644 00000000303 15217654530 0015017 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#readline is_singleton: false name: readline params: (prompt, hist) visibility: public ri/1.8/system/DEBUGGER__/Context/check_suspend-i.yaml 0000644 00000000301 15217654530 0016050 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#check_suspend is_singleton: false name: check_suspend params: () visibility: public ri/1.8/system/DEBUGGER__/Context/debug_command-i.yaml 0000644 00000000330 15217654530 0016020 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#debug_command is_singleton: false name: debug_command params: (file, line, id, binding) visibility: public ri/1.8/system/DEBUGGER__/Context/frame_set_pos-i.yaml 0000644 00000000313 15217654530 0016063 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#frame_set_pos is_singleton: false name: frame_set_pos params: (file, line) visibility: public ri/1.8/system/DEBUGGER__/Context/resume_all-i.yaml 0000644 00000000273 15217654530 0015372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#resume_all is_singleton: false name: resume_all params: () visibility: public ri/1.8/system/DEBUGGER__/Context/display-i.yaml 0000644 00000000265 15217654530 0014710 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#display is_singleton: false name: display params: () visibility: public ri/1.8/system/DEBUGGER__/Context/line_at-i.yaml 0000644 00000000277 15217654530 0014661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#line_at is_singleton: false name: line_at params: (file, line) visibility: public ri/1.8/system/DEBUGGER__/Context/clear_suspend-i.yaml 0000644 00000000301 15217654530 0016061 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#clear_suspend is_singleton: false name: clear_suspend params: () visibility: public ri/1.8/system/DEBUGGER__/Context/thnum-i.yaml 0000644 00000000261 15217654530 0014372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#thnum is_singleton: false name: thnum params: () visibility: public ri/1.8/system/DEBUGGER__/Context/set_suspend-i.yaml 0000644 00000000275 15217654530 0015600 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#set_suspend is_singleton: false name: set_suspend params: () visibility: public ri/1.8/system/DEBUGGER__/Context/check_break_points-i.yaml 0000644 00000000350 15217654530 0017053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#check_break_points is_singleton: false name: check_break_points params: (file, klass, pos, binding, id) visibility: public ri/1.8/system/DEBUGGER__/Context/debug_variable_info-i.yaml 0000644 00000000333 15217654530 0017205 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#debug_variable_info is_singleton: false name: debug_variable_info params: (input, binding) visibility: public ri/1.8/system/DEBUGGER__/Context/cdesc-Context.yaml 0000644 00000004405 15217654530 0015520 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: DEBUG_LAST_CMD value: "[]" - !ruby/object:RI::Constant comment: name: USE_READLINE value: "false" full_name: DEBUGGER__::Context includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: break_points - !ruby/object:RI::MethodSummary name: check_break_points - !ruby/object:RI::MethodSummary name: check_suspend - !ruby/object:RI::MethodSummary name: clear_suspend - !ruby/object:RI::MethodSummary name: context - !ruby/object:RI::MethodSummary name: debug_command - !ruby/object:RI::MethodSummary name: debug_eval - !ruby/object:RI::MethodSummary name: debug_funcname - !ruby/object:RI::MethodSummary name: debug_method_info - !ruby/object:RI::MethodSummary name: debug_print_help - !ruby/object:RI::MethodSummary name: debug_silent_eval - !ruby/object:RI::MethodSummary name: debug_variable_info - !ruby/object:RI::MethodSummary name: display - !ruby/object:RI::MethodSummary name: display_expression - !ruby/object:RI::MethodSummary name: display_expressions - !ruby/object:RI::MethodSummary name: display_frames - !ruby/object:RI::MethodSummary name: display_list - !ruby/object:RI::MethodSummary name: excn_handle - !ruby/object:RI::MethodSummary name: format_frame - !ruby/object:RI::MethodSummary name: frame_set_pos - !ruby/object:RI::MethodSummary name: line_at - !ruby/object:RI::MethodSummary name: readline - !ruby/object:RI::MethodSummary name: readline - !ruby/object:RI::MethodSummary name: resume_all - !ruby/object:RI::MethodSummary name: set_last_thread - !ruby/object:RI::MethodSummary name: set_suspend - !ruby/object:RI::MethodSummary name: set_trace - !ruby/object:RI::MethodSummary name: set_trace_all - !ruby/object:RI::MethodSummary name: stdout - !ruby/object:RI::MethodSummary name: stop_next - !ruby/object:RI::MethodSummary name: suspend_all - !ruby/object:RI::MethodSummary name: thnum - !ruby/object:RI::MethodSummary name: trace? - !ruby/object:RI::MethodSummary name: trace_func - !ruby/object:RI::MethodSummary name: var_list name: Context superclass: Object ri/1.8/system/DEBUGGER__/Context/stop_next-i.yaml 0000644 00000000274 15217654530 0015266 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#stop_next is_singleton: false name: stop_next params: (n=1) visibility: public ri/1.8/system/DEBUGGER__/Context/display_list-i.yaml 0000644 00000000317 15217654530 0015741 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#display_list is_singleton: false name: display_list params: (b, e, file, line) visibility: public ri/1.8/system/DEBUGGER__/Context/set_last_thread-i.yaml 0000644 00000000307 15217654530 0016405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#set_last_thread is_singleton: false name: set_last_thread params: (th) visibility: public ri/1.8/system/DEBUGGER__/Context/display_frames-i.yaml 0000644 00000000306 15217654530 0016241 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#display_frames is_singleton: false name: display_frames params: (pos) visibility: public ri/1.8/system/DEBUGGER__/Context/debug_funcname-i.yaml 0000644 00000000305 15217654530 0016200 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#debug_funcname is_singleton: false name: debug_funcname params: (id) visibility: public ri/1.8/system/DEBUGGER__/Context/debug_silent_eval-i.yaml 0000644 00000000325 15217654530 0016713 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#debug_silent_eval is_singleton: false name: debug_silent_eval params: (str, binding) visibility: public ri/1.8/system/DEBUGGER__/Context/debug_method_info-i.yaml 0000644 00000000327 15217654530 0016703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::Context#debug_method_info is_singleton: false name: debug_method_info params: (input, binding) visibility: public ri/1.8/system/DEBUGGER__/stdout-c.yaml 0000644 00000000252 15217654530 0013127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::stdout is_singleton: true name: stdout params: () visibility: public ri/1.8/system/DEBUGGER__/waiting-c.yaml 0000644 00000000254 15217654530 0013251 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::waiting is_singleton: true name: waiting params: () visibility: public ri/1.8/system/DEBUGGER__/suspend-c.yaml 0000644 00000000254 15217654530 0013270 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::suspend is_singleton: true name: suspend params: () visibility: public ri/1.8/system/DEBUGGER__/set_last_thread-c.yaml 0000644 00000000276 15217654530 0014760 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::set_last_thread is_singleton: true name: set_last_thread params: (th) visibility: public ri/1.8/system/DEBUGGER__/interrupt-c.yaml 0000644 00000000260 15217654530 0013640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::interrupt is_singleton: true name: interrupt params: () visibility: public ri/1.8/system/DEBUGGER__/resume-c.yaml 0000644 00000000252 15217654530 0013105 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::resume is_singleton: true name: resume params: () visibility: public ri/1.8/system/DEBUGGER__/context-c.yaml 0000644 00000000301 15217654530 0013264 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::context is_singleton: true name: context params: (thread=Thread.current) visibility: public ri/1.8/system/DEBUGGER__/thread_list_all-c.yaml 0000644 00000000274 15217654530 0014743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::thread_list_all is_singleton: true name: thread_list_all params: () visibility: public ri/1.8/system/DEBUGGER__/thread_list-c.yaml 0000644 00000000267 15217654530 0014115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::thread_list is_singleton: true name: thread_list params: (num) visibility: public ri/1.8/system/DEBUGGER__/display-c.yaml 0000644 00000000254 15217654530 0013254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::display is_singleton: true name: display params: () visibility: public ri/1.8/system/DEBUGGER__/get_thread-c.yaml 0000644 00000000265 15217654530 0013717 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DEBUGGER__::get_thread is_singleton: true name: get_thread params: (num) visibility: public ri/1.8/system/GC/stress%3d-c.yaml 0000644 00000000746 15217654530 0012243 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: updates GC stress mode. - !ruby/struct:SM::Flow::P body: "When GC.stress = true, GC is invoked for all GC opportunity: all memory and object allocation." - !ruby/struct:SM::Flow::P body: Since it makes Ruby very slow, it is only for debugging. full_name: GC::stress= is_singleton: true name: stress= params: | GC.stress = bool => bool visibility: public ri/1.8/system/GC/enable-c.yaml 0000644 00000000714 15217654530 0011645 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Enables garbage collection, returning true if garbage collection was previously disabled. - !ruby/struct:SM::Flow::VERB body: " GC.disable #=> false\n GC.enable #=> true\n GC.enable #=> false\n" full_name: GC::enable is_singleton: true name: enable params: | GC.enable => true or false visibility: public ri/1.8/system/GC/disable-c.yaml 0000644 00000000657 15217654530 0012030 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Disables garbage collection, returning true if garbage collection was already disabled. - !ruby/struct:SM::Flow::VERB body: " GC.disable #=> false\n GC.disable #=> true\n" full_name: GC::disable is_singleton: true name: disable params: | GC.disable => true or false visibility: public ri/1.8/system/GC/cdesc-GC.yaml 0000644 00000001264 15217654530 0011550 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: disable - !ruby/object:RI::MethodSummary name: enable - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: stress - !ruby/object:RI::MethodSummary name: stress= comment: - !ruby/struct:SM::Flow::P body: The GC module provides an interface to Ruby's mark and sweep garbage collection mechanism. Some of the underlying methods are also available via the ObjectSpace module. constants: [] full_name: GC includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: garbage_collect name: GC superclass: ri/1.8/system/GC/start-c.yaml 0000644 00000000556 15217654530 0011560 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Initiates garbage collection, unless manually disabled. full_name: GC::start is_singleton: true name: start params: | GC.start => nil gc.garbage_collect => nil ObjectSpace.garbage_collect => nil visibility: public ri/1.8/system/GC/stress-c.yaml 0000644 00000000435 15217654530 0011742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: returns current status of GC stress mode. full_name: GC::stress is_singleton: true name: stress params: | GC.stress => true or false visibility: public ri/1.8/system/GC/garbage_collect-i.yaml 0000644 00000000602 15217654530 0013516 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Initiates garbage collection, unless manually disabled. full_name: GC#garbage_collect is_singleton: false name: garbage_collect params: | GC.start => nil gc.garbage_collect => nil ObjectSpace.garbage_collect => nil visibility: public ri/1.8/system/Signal/trap-c.yaml 0000644 00000002562 15217654530 0012314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Specifies the handling of signals. The first parameter is a signal name (a string such as ``SIGALRM'', ``SIGUSR1'', and so on) or a signal number. The characters ``SIG'' may be omitted from the signal name. The command or block specifies code to be run when the signal is raised. If the command is the string ``IGNORE'' or ``SIG_IGN'', the signal will be ignored. If the command is ``DEFAULT'' or ``SIG_DFL'', the operating system's default handler will be invoked. If the command is ``EXIT'', the script will be terminated by the signal. Otherwise, the given command or block will be run. The special signal name ``EXIT'' or signal number zero will be invoked just prior to program termination. trap returns the previous handler for the given signal. - !ruby/struct:SM::Flow::VERB body: " Signal.trap(0, proc { puts "Terminating: #{$$}" })\n Signal.trap("CLD") { puts "Child died" }\n fork && Process.wait\n" - !ruby/struct:SM::Flow::P body: "produces:" - !ruby/struct:SM::Flow::VERB body: " Terminating: 27461\n Child died\n Terminating: 27460\n" full_name: Signal::trap is_singleton: true name: trap params: | Signal.trap( signal, proc ) => obj Signal.trap( signal ) {| | block } => obj visibility: public ri/1.8/system/Signal/list-c.yaml 0000644 00000002224 15217654530 0012314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a list of signal names mapped to the corresponding underlying signal numbers. - !ruby/struct:SM::Flow::P body: "Signal.list #=> {"ABRT"=>6, "ALRM"=>14, "BUS"=>7, "CHLD"=>17, "CLD"=>17, "CONT"=>18, "FPE"=>8, "HUP"=>1, "ILL"=>4, "INT"=>2, "IO"=>29, "IOT"=>6, "KILL"=>9, "PIPE"=>13, "POLL"=>29, "PROF"=>27, "PWR"=>30, "QUIT"=>3, "SEGV"=>11, "STOP"=>19, "SYS"=>31, "TERM"=>15, "TRAP"=>5, "TSTP"=>20, "TTIN"=>21, "TTOU"=>22, "URG"=>23, "USR1"=>10, "USR2"=>12, "VTALRM"=>26, "WINCH"=>28, "XCPU"=>24, "XFSZ"=>25}" full_name: Signal::list is_singleton: true name: list params: | Signal.list => a_hash visibility: public ri/1.8/system/Signal/cdesc-Signal.yaml 0000644 00000003014 15217654530 0013413 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: list - !ruby/object:RI::MethodSummary name: trap comment: - !ruby/struct:SM::Flow::P body: Many operating systems allow signals to be sent to running processes. Some signals have a defined effect on the process, while others may be trapped at the code level and acted upon. For example, your process may trap the USR1 signal and use it to toggle debugging, and may use TERM to initiate a controlled shutdown. - !ruby/struct:SM::Flow::VERB body: " pid = fork do\n Signal.trap("USR1") do\n $debug = !$debug\n puts "Debug now: #$debug"\n end\n Signal.trap("TERM") do\n puts "Terminating..."\n shutdown()\n end\n # . . . do some work . . .\n end\n\n Process.detach(pid)\n\n # Controlling program:\n Process.kill("USR1", pid)\n # ...\n Process.kill("USR1", pid)\n # ...\n Process.kill("TERM", pid)\n" - !ruby/struct:SM::Flow::P body: "produces:" - !ruby/struct:SM::Flow::VERB body: " Debug now: true\n Debug now: false\n Terminating...\n" - !ruby/struct:SM::Flow::P body: The list of available signal names and their interpretation is system dependent. Signal delivery semantics may also vary between systems; in particular signal delivery may not always be reliable. constants: [] full_name: Signal includes: [] instance_methods: [] name: Signal superclass: ri/1.8/system/ParseError/new-c.yaml 0000644 00000000251 15217654530 0012777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: ParseError::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/ParseError/to_s-i.yaml 0000644 00000000337 15217654530 0013165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #message" full_name: ParseError#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/ParseError/message-i.yaml 0000644 00000000463 15217654530 0013645 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: to_s block_params: comment: - !ruby/struct:SM::Flow::P body: Default stringizing method to emit standard error message. full_name: ParseError#message is_singleton: false name: message params: () visibility: public ri/1.8/system/ParseError/recover-i.yaml 0000644 00000000404 15217654530 0013661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Pushes back erred argument(s) to argv. full_name: ParseError#recover is_singleton: false name: recover params: (argv) visibility: public ri/1.8/system/ParseError/inspect-i.yaml 0000644 00000000254 15217654530 0013664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: ParseError#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/ParseError/cdesc-ParseError.yaml 0000644 00000001603 15217654530 0015133 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: args rw: R - !ruby/object:RI::Attribute comment: name: reason rw: W class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Base class of exceptions from OptionParser. constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Reason which caused the error. name: Reason value: "'parse error'.freeze" full_name: ParseError includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: message - !ruby/object:RI::MethodSummary name: reason - !ruby/object:RI::MethodSummary name: recover - !ruby/object:RI::MethodSummary name: set_option - !ruby/object:RI::MethodSummary name: to_s name: ParseError superclass: RuntimeError ri/1.8/system/ParseError/reason-i.yaml 0000644 00000000374 15217654530 0013511 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns error reason. Override this for I18N. full_name: ParseError#reason is_singleton: false name: reason params: () visibility: public ri/1.8/system/ParseError/set_option-i.yaml 0000644 00000000271 15217654530 0014401 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: ParseError#set_option is_singleton: false name: set_option params: (opt, eq) visibility: public ri/1.8/system/Abbrev/cdesc-Abbrev.yaml 0000644 00000001537 15217654530 0013373 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Calculate the set of unique abbreviations for a given set of strings. - !ruby/struct:SM::Flow::VERB body: " require 'abbrev'\n require 'pp'\n\n pp Abbrev::abbrev(['ruby', 'rules']).sort\n" - !ruby/struct:SM::Flow::P body: Generates: - !ruby/struct:SM::Flow::VERB body: " [["rub", "ruby"],\n ["ruby", "ruby"],\n ["rul", "rules"],\n ["rule", "rules"],\n ["rules", "rules"]]\n" - !ruby/struct:SM::Flow::P body: Also adds an abbrev method to class Array. constants: [] full_name: Abbrev includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: abbrev name: Abbrev superclass: ri/1.8/system/Abbrev/abbrev-i.yaml 0000644 00000001563 15217654530 0012601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Given a set of strings, calculate the set of unambiguous abbreviations for those strings, and return a hash where the keys are all the possible abbreviations and the values are the full strings. Thus, given input of "car" and "cone", the keys pointing to "car" would be "ca" and "car", while those pointing to "cone" would be "co", "con", and "cone". - !ruby/struct:SM::Flow::P body: The optional pattern parameter is a pattern or a string. Only those input strings matching the pattern, or begging the string, are considered for inclusion in the output hash full_name: Abbrev#abbrev is_singleton: false name: abbrev params: (words, pattern = nil) visibility: public ri/1.8/system/RegAnd/new-c.yaml 0000644 00000000250 15217654530 0012052 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RegAnd::new is_singleton: true name: new params: (re1, re2) visibility: public ri/1.8/system/RegAnd/cdesc-RegAnd.yaml 0000644 00000000416 15217654530 0013264 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: RegAnd includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: =~ name: RegAnd superclass: Object ri/1.8/system/RegAnd/%3d%7e-i.yaml 0000644 00000000241 15217654530 0012143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RegAnd#=~ is_singleton: false name: =~ params: (str) visibility: public ri/1.8/system/Enumerable/first-i.yaml 0000644 00000000707 15217654530 0013344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the first element, or the first n elements, of the enumerable. If the enumerable is empty, the first form returns nil, and the second form returns an empty array. full_name: Enumerable#first is_singleton: false name: first params: | enum.first -> obj or nil enum.first(n) -> an_array visibility: public ri/1.8/system/Enumerable/each_cons-i.yaml 0000644 00000001171 15217654530 0014133 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates the given block for each array of consecutive <n> elements. If no block is given, returns an enumerator.a - !ruby/struct:SM::Flow::P body: "e.g.:" - !ruby/struct:SM::Flow::VERB body: " (1..10).each_cons(3) {|a| p a}\n # outputs below\n [1, 2, 3]\n [2, 3, 4]\n [3, 4, 5]\n [4, 5, 6]\n [5, 6, 7]\n [6, 7, 8]\n [7, 8, 9]\n [8, 9, 10]\n" full_name: Enumerable#each_cons is_singleton: false name: each_cons params: | each_cons(n) {...} each_cons(n) visibility: public ri/1.8/system/Enumerable/Enumerator/new-c.yaml 0000644 00000001014 15217654530 0015111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new Enumerable::Enumerator object, which is to be used as an Enumerable object using the given object's given method with the given arguments. - !ruby/struct:SM::Flow::P body: Use of this method is discouraged. Use Kernel#enum_for() instead. full_name: Enumerable::Enumerator::new is_singleton: true name: new params: | Enumerable::Enumerator.new(obj, method = :each, *args) visibility: public ri/1.8/system/Enumerable/Enumerator/rewind-i.yaml 0000644 00000000441 15217654530 0015621 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Rewinds the enumeration sequence by the next method. full_name: Enumerable::Enumerator#rewind is_singleton: false name: rewind params: | e.rewind => e visibility: public ri/1.8/system/Enumerable/Enumerator/each_with_index-i.yaml 0000644 00000000633 15217654530 0017456 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates the given block for each elements with an index, which start from 0. If no block is given, returns an enumerator. full_name: Enumerable::Enumerator#each_with_index is_singleton: false name: each_with_index params: | e.with_index {|(*args), idx| ... } e.with_index visibility: public ri/1.8/system/Enumerable/Enumerator/each-i.yaml 0000644 00000000543 15217654530 0015234 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates the given block using the object and the method specified in the first place. If no block is given, returns self. full_name: Enumerable::Enumerator#each is_singleton: false name: each params: | enum.each {...} visibility: public ri/1.8/system/Enumerable/Enumerator/__generator-i.yaml 0000644 00000000301 15217654530 0016610 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Enumerable::Enumerator#__generator is_singleton: false name: __generator params: () visibility: private ri/1.8/system/Enumerable/Enumerator/cdesc-Enumerator.yaml 0000644 00000001453 15217654530 0017307 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A class which provides a method `each' to be used as an Enumerable object. constants: [] full_name: Enumerable::Enumerator includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: __generator - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: each_with_index - !ruby/object:RI::MethodSummary name: next - !ruby/object:RI::MethodSummary name: next - !ruby/object:RI::MethodSummary name: rewind - !ruby/object:RI::MethodSummary name: rewind - !ruby/object:RI::MethodSummary name: with_index name: Enumerator superclass: Object ri/1.8/system/Enumerable/Enumerator/next-i.yaml 0000644 00000001363 15217654530 0015313 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the next object in the enumerator, and move the internal position forward. When the position reached at the end, internal position is rewinded then StopIteration is raised. - !ruby/struct:SM::Flow::P body: Note that enumeration sequence by next method does not affect other non-external enumeration methods, unless underlying iteration methods itself has side-effect, e.g. IO#each_line. - !ruby/struct:SM::Flow::P body: "Caution: Calling this method causes the "generator" library to be loaded." full_name: Enumerable::Enumerator#next is_singleton: false name: next params: | e.next => object visibility: public ri/1.8/system/Enumerable/Enumerator/with_index-i.yaml 0000644 00000000621 15217654530 0016473 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates the given block for each elements with an index, which start from 0. If no block is given, returns an enumerator. full_name: Enumerable::Enumerator#with_index is_singleton: false name: with_index params: | e.with_index {|(*args), idx| ... } e.with_index visibility: public ri/1.8/system/Enumerable/one%3f-i.yaml 0000644 00000001575 15217654530 0013300 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes each element of the collection to the given block. The method returns true if the block returns true exactly once. If the block is not given, one? will return true only if exactly one of the collection members is true. - !ruby/struct:SM::Flow::VERB body: " %w{ant bear cat}.one? {|word| word.length == 4} #=> true\n %w{ant bear cat}.one? {|word| word.length > 4} #=> false\n %w{ant bear cat}.one? {|word| word.length < 4} #=> false\n [ nil, true, 99 ].one? #=> false\n [ nil, true, false ].one? #=> true\n" full_name: Enumerable#one? is_singleton: false name: one? params: | enum.one? [{|obj| block }] => true or false visibility: public ri/1.8/system/Enumerable/detect-i.yaml 0000644 00000001334 15217654530 0013462 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes each entry in enum to block. Returns the first for which block is not false. If no object matches, calls ifnone and returns its result when it is specified, or returns nil - !ruby/struct:SM::Flow::VERB body: " (1..10).detect {|i| i % 5 == 0 and i % 7 == 0 } #=> nil\n (1..100).detect {|i| i % 5 == 0 and i % 7 == 0 } #=> 35\n" full_name: Enumerable#detect is_singleton: false name: detect params: | enum.detect(ifnone = nil) {| obj | block } => obj or nil enum.find(ifnone = nil) {| obj | block } => obj or nil visibility: public ri/1.8/system/Enumerable/reject-i.yaml 0000644 00000000745 15217654530 0013473 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array for all elements of enum for which block is false (see also Enumerable#find_all). - !ruby/struct:SM::Flow::VERB body: " (1..10).reject {|i| i % 3 == 0 } #=> [1, 2, 4, 5, 7, 8, 10]\n" full_name: Enumerable#reject is_singleton: false name: reject params: | enum.reject {| obj | block } => array visibility: public ri/1.8/system/Enumerable/group_by-i.yaml 0000644 00000001007 15217654530 0014035 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a hash, which keys are evaluated result from the block, and values are arrays of elements in enum corresponding to the key. - !ruby/struct:SM::Flow::VERB body: " (1..6).group_by {|i| i%3} #=> {0=>[3, 6], 1=>[1, 4], 2=>[2, 5]}\n" full_name: Enumerable#group_by is_singleton: false name: group_by params: | enum.group_by {| obj | block } => a_hash visibility: public ri/1.8/system/Enumerable/grep-i.yaml 0000644 00000001515 15217654530 0013150 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array of every element in enum for which Pattern === element. If the optional block is supplied, each matching element is passed to it, and the block's result is stored in the output array. - !ruby/struct:SM::Flow::VERB body: " (1..100).grep 38..44 #=> [38, 39, 40, 41, 42, 43, 44]\n c = IO.constants\n c.grep(/SEEK/) #=> ["SEEK_END", "SEEK_SET", "SEEK_CUR"]\n res = c.grep(/SEEK/) {|v| IO.const_get(v) }\n res #=> [2, 0, 1]\n" full_name: Enumerable#grep is_singleton: false name: grep params: | enum.grep(pattern) => array enum.grep(pattern) {| obj | block } => array visibility: public ri/1.8/system/Enumerable/each_slice-i.yaml 0000644 00000001063 15217654530 0014270 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates the given block for each slice of <n> elements. If no block is given, returns an enumerator. - !ruby/struct:SM::Flow::P body: "e.g.:" - !ruby/struct:SM::Flow::VERB body: " (1..10).each_slice(3) {|a| p a}\n # outputs below\n [1, 2, 3]\n [4, 5, 6]\n [7, 8, 9]\n [10]\n" full_name: Enumerable#each_slice is_singleton: false name: each_slice params: | e.each_slice(n) {...} e.each_slice(n) visibility: public ri/1.8/system/Enumerable/min_by-i.yaml 0000644 00000000714 15217654530 0013470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the object in enum that gives the minimum value from the given block. - !ruby/struct:SM::Flow::VERB body: " a = %w(albatross dog horse)\n a.min_by {|x| x.length } #=> "dog"\n" full_name: Enumerable#min_by is_singleton: false name: min_by params: | enum.min_by {| obj| block } => obj visibility: public ri/1.8/system/Enumerable/any%3f-i.yaml 0000644 00000001555 15217654530 0013304 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes each element of the collection to the given block. The method returns true if the block ever returns a value other than false or nil. If the block is not given, Ruby adds an implicit block of {|obj| obj} (that is any? will return true if at least one of the collection members is not false or nil. - !ruby/struct:SM::Flow::VERB body: " %w{ ant bear cat}.any? {|word| word.length >= 3} #=> true\n %w{ ant bear cat}.any? {|word| word.length >= 4} #=> true\n [ nil, true, 99 ].any? #=> true\n" full_name: Enumerable#any? is_singleton: false name: any? params: | enum.any? [{|obj| block } ] => true or false visibility: public ri/1.8/system/Enumerable/enum_with_index-i.yaml 0000644 00000001141 15217654530 0015374 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls block with two arguments, the item and its index, for each item in enum. - !ruby/struct:SM::Flow::VERB body: " hash = Hash.new\n %w(cat dog wombat).each_with_index {|item, index|\n hash[item] = index\n }\n hash #=> {"cat"=>0, "wombat"=>2, "dog"=>1}\n" full_name: Enumerable#enum_with_index is_singleton: false name: enum_with_index params: | enum.each_with_index {|obj, i| block } -> enum visibility: public ri/1.8/system/Enumerable/drop-i.yaml 0000644 00000000663 15217654530 0013162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Drops first n elements from enum, and returns rest elements in an array. - !ruby/struct:SM::Flow::VERB body: " a = [1, 2, 3, 4, 5, 0]\n a.drop(3) # => [4, 5, 0]\n" full_name: Enumerable#drop is_singleton: false name: drop params: | enum.drop(n) => array visibility: public ri/1.8/system/Enumerable/select-i.yaml 0000644 00000001031 15217654530 0013463 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array containing all elements of enum for which block is not false (see also Enumerable#reject). - !ruby/struct:SM::Flow::VERB body: " (1..10).find_all {|i| i % 3 == 0 } #=> [3, 6, 9]\n" full_name: Enumerable#select is_singleton: false name: select params: | enum.find_all {| obj | block } => array enum.select {| obj | block } => array visibility: public ri/1.8/system/Enumerable/find_all-i.yaml 0000644 00000001035 15217654530 0013760 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array containing all elements of enum for which block is not false (see also Enumerable#reject). - !ruby/struct:SM::Flow::VERB body: " (1..10).find_all {|i| i % 3 == 0 } #=> [3, 6, 9]\n" full_name: Enumerable#find_all is_singleton: false name: find_all params: | enum.find_all {| obj | block } => array enum.select {| obj | block } => array visibility: public ri/1.8/system/Enumerable/max_by-i.yaml 0000644 00000000722 15217654530 0013471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the object in enum that gives the maximum value from the given block. - !ruby/struct:SM::Flow::VERB body: " a = %w(albatross dog horse)\n a.max_by {|x| x.length } #=> "albatross"\n" full_name: Enumerable#max_by is_singleton: false name: max_by params: | enum.max_by {| obj| block } => obj visibility: public ri/1.8/system/Enumerable/find_index-i.yaml 0000644 00000001401 15217654530 0014314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compares each entry in enum with value or passes to block. Returns the index for the first for which the evaluated value is non-false. If no object matches, returns nil - !ruby/struct:SM::Flow::VERB body: " (1..10).find_index {|i| i % 5 == 0 and i % 7 == 0 } #=> nil\n (1..100).find_index {|i| i % 5 == 0 and i % 7 == 0 } #=> 34\n (1..100).find_index(50) #=> 49\n" full_name: Enumerable#find_index is_singleton: false name: find_index params: | enum.find_index(value) => int or nil enum.find_index {| obj | block } => int or nil visibility: public ri/1.8/system/Enumerable/collect-i.yaml 0000644 00000001141 15217654530 0013633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new array with the results of running block once for every element in enum. - !ruby/struct:SM::Flow::VERB body: " (1..4).collect {|i| i*i } #=> [1, 4, 9, 16]\n (1..4).collect { "cat" } #=> ["cat", "cat", "cat", "cat"]\n" full_name: Enumerable#collect is_singleton: false name: collect params: | enum.collect {| obj | block } => array enum.map {| obj | block } => array visibility: public ri/1.8/system/Enumerable/sort-i.yaml 0000644 00000001636 15217654530 0013206 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array containing the items in enum sorted, either according to their own <=> method, or by using the results of the supplied block. The block should return -1, 0, or +1 depending on the comparison between a and b. As of Ruby 1.8, the method Enumerable#sort_by implements a built-in Schwartzian Transform, useful when key computation or comparison is expensive.. - !ruby/struct:SM::Flow::VERB body: " %w(rhea kea flea).sort #=> ["flea", "kea", "rhea"]\n (1..10).sort {|a,b| b <=> a} #=> [10, 9, 8, 7, 6, 5, 4, 3, 2, 1]\n" full_name: Enumerable#sort is_singleton: false name: sort params: | enum.sort => array enum.sort {| a, b | block } => array visibility: public ri/1.8/system/Enumerable/each_with_index-i.yaml 0000644 00000001141 15217654530 0015330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls block with two arguments, the item and its index, for each item in enum. - !ruby/struct:SM::Flow::VERB body: " hash = Hash.new\n %w(cat dog wombat).each_with_index {|item, index|\n hash[item] = index\n }\n hash #=> {"cat"=>0, "wombat"=>2, "dog"=>1}\n" full_name: Enumerable#each_with_index is_singleton: false name: each_with_index params: | enum.each_with_index {|obj, i| block } -> enum visibility: public ri/1.8/system/Enumerable/partition-i.yaml 0000644 00000001031 15217654530 0014215 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns two arrays, the first containing the elements of enum for which the block evaluates to true, the second containing the rest. - !ruby/struct:SM::Flow::VERB body: " (1..6).partition {|i| (i&1).zero?} #=> [[2, 4, 6], [1, 3, 5]]\n" full_name: Enumerable#partition is_singleton: false name: partition params: | enum.partition {| obj | block } => [ true_array, false_array ] visibility: public ri/1.8/system/Enumerable/min-i.yaml 0000644 00000001246 15217654530 0012777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the object in enum with the minimum value. The first form assumes all objects implement Comparable; the second uses the block to return a <=> b. - !ruby/struct:SM::Flow::VERB body: " a = %w(albatross dog horse)\n a.min #=> "albatross"\n a.min {|a,b| a.length <=> b.length } #=> "dog"\n" full_name: Enumerable#min is_singleton: false name: min params: | enum.min => obj enum.min {| a,b | block } => obj visibility: public ri/1.8/system/Enumerable/sort_by-i.yaml 0000644 00000006250 15217654530 0013675 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sorts enum using a set of keys generated by mapping the values in enum through the given block. - !ruby/struct:SM::Flow::VERB body: " %w{ apple pear fig }.sort_by {|word| word.length}\n #=> ["fig", "pear", "apple"]\n" - !ruby/struct:SM::Flow::P body: The current implementation of sort_by generates an array of tuples containing the original collection element and the mapped value. This makes sort_by fairly expensive when the keysets are simple - !ruby/struct:SM::Flow::VERB body: " require 'benchmark'\n include Benchmark\n\n a = (1..100000).map {rand(100000)}\n\n bm(10) do |b|\n b.report("Sort") { a.sort }\n b.report("Sort by") { a.sort_by {|a| a} }\n end\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " user system total real\n Sort 0.180000 0.000000 0.180000 ( 0.175469)\n Sort by 1.980000 0.040000 2.020000 ( 2.013586)\n" - !ruby/struct:SM::Flow::P body: However, consider the case where comparing the keys is a non-trivial operation. The following code sorts some files on modification time using the basic sort method. - !ruby/struct:SM::Flow::VERB body: " files = Dir["*"]\n sorted = files.sort {|a,b| File.new(a).mtime <=> File.new(b).mtime}\n sorted #=> ["mon", "tues", "wed", "thurs"]\n" - !ruby/struct:SM::Flow::P body: "This sort is inefficient: it generates two new File objects during every comparison. A slightly better technique is to use the Kernel#test method to generate the modification times directly." - !ruby/struct:SM::Flow::VERB body: " files = Dir["*"]\n sorted = files.sort { |a,b|\n test(?M, a) <=> test(?M, b)\n }\n sorted #=> ["mon", "tues", "wed", "thurs"]\n" - !ruby/struct:SM::Flow::P body: This still generates many unnecessary Time objects. A more efficient technique is to cache the sort keys (modification times in this case) before the sort. Perl users often call this approach a Schwartzian Transform, after Randal Schwartz. We construct a temporary array, where each element is an array containing our sort key along with the filename. We sort this array, and then extract the filename from the result. - !ruby/struct:SM::Flow::VERB body: " sorted = Dir["*"].collect { |f|\n [test(?M, f), f]\n }.sort.collect { |f| f[1] }\n sorted #=> ["mon", "tues", "wed", "thurs"]\n" - !ruby/struct:SM::Flow::P body: This is exactly what sort_by does internally. - !ruby/struct:SM::Flow::VERB body: " sorted = Dir["*"].sort_by {|f| test(?M, f)}\n sorted #=> ["mon", "tues", "wed", "thurs"]\n" full_name: Enumerable#sort_by is_singleton: false name: sort_by params: | enum.sort_by {| obj | block } => array visibility: public ri/1.8/system/Enumerable/none%3f-i.yaml 0000644 00000001577 15217654530 0013460 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes each element of the collection to the given block. The method returns true if the block never returns true for all elements. If the block is not given, none? will return true only if none of the collection members is true. - !ruby/struct:SM::Flow::VERB body: " %w{ant bear cat}.none? {|word| word.length == 5} #=> true\n %w{ant bear cat}.none? {|word| word.length >= 4} #=> false\n [].none? #=> true\n [nil].none? #=> true\n [nil,false].none? #=> true\n" full_name: Enumerable#none? is_singleton: false name: none? params: | enum.none? [{|obj| block }] => true or false visibility: public ri/1.8/system/Enumerable/entries-i.yaml 0000644 00000001042 15217654530 0013657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array containing the items in enum. - !ruby/struct:SM::Flow::VERB body: " (1..7).to_a #=> [1, 2, 3, 4, 5, 6, 7]\n { 'a'=>1, 'b'=>2, 'c'=>3 }.to_a #=> [["a", 1], ["b", 2], ["c", 3]]\n" full_name: Enumerable#entries is_singleton: false name: entries params: | enum.to_a => array enum.entries => array visibility: public ri/1.8/system/Enumerable/all%3f-i.yaml 0000644 00000001530 15217654530 0013256 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes each element of the collection to the given block. The method returns true if the block never returns false or nil. If the block is not given, Ruby adds an implicit block of {|obj| obj} (that is all? will return true only if none of the collection members are false or nil.) - !ruby/struct:SM::Flow::VERB body: " %w{ ant bear cat}.all? {|word| word.length >= 3} #=> true\n %w{ ant bear cat}.all? {|word| word.length >= 4} #=> false\n [ nil, true, 99 ].all? #=> false\n" full_name: Enumerable#all? is_singleton: false name: all? params: | enum.all? [{|obj| block } ] => true or false visibility: public ri/1.8/system/Enumerable/member%3f-i.yaml 0000644 00000001107 15217654530 0013755 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if any member of enum equals obj. Equality is tested using ==. - !ruby/struct:SM::Flow::VERB body: " IO.constants.include? "SEEK_SET" #=> true\n IO.constants.include? "SEEK_NO_FURTHER" #=> false\n" full_name: Enumerable#member? is_singleton: false name: member? params: | enum.include?(obj) => true or false enum.member?(obj) => true or false visibility: public ri/1.8/system/Enumerable/to_a-i.yaml 0000644 00000001034 15217654530 0013131 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array containing the items in enum. - !ruby/struct:SM::Flow::VERB body: " (1..7).to_a #=> [1, 2, 3, 4, 5, 6, 7]\n { 'a'=>1, 'b'=>2, 'c'=>3 }.to_a #=> [["a", 1], ["b", 2], ["c", 3]]\n" full_name: Enumerable#to_a is_singleton: false name: to_a params: | enum.to_a => array enum.entries => array visibility: public ri/1.8/system/Enumerable/minmax_by-i.yaml 0000644 00000001067 15217654530 0014200 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns two elements array array containing the objects in enum that gives the minimum and maximum values respectively from the given block. - !ruby/struct:SM::Flow::VERB body: " a = %w(albatross dog horse)\n a.minmax_by {|x| x.length } #=> ["dog", "albatross"]\n" full_name: Enumerable#minmax_by is_singleton: false name: minmax_by params: | enum.minmax_by {| obj| block } => [min, max] visibility: public ri/1.8/system/Enumerable/take_while-i.yaml 0000644 00000000775 15217654530 0014336 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes elements to the block until the block returns nil or false, then stops iterating and returns an array of all prior elements. - !ruby/struct:SM::Flow::VERB body: " a = [1, 2, 3, 4, 5, 0]\n a.take_while {|i| i < 3 } # => [1, 2]\n" full_name: Enumerable#take_while is_singleton: false name: take_while params: | enum.take_while {|arr| block } => array visibility: public ri/1.8/system/Enumerable/cdesc-Enumerable.yaml 0000644 00000005634 15217654530 0015131 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The Enumerable mixin provides collection classes with several traversal and searching methods, and with the ability to sort. The class must provide a method each, which yields successive members of the collection. If Enumerable#max, #min, or #sort is used, the objects in the collection must also implement a meaningful <=> operator, as these methods rely on an ordering between members of the collection. constants: [] full_name: Enumerable includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: all? - !ruby/object:RI::MethodSummary name: any? - !ruby/object:RI::MethodSummary name: collect - !ruby/object:RI::MethodSummary name: count - !ruby/object:RI::MethodSummary name: cycle - !ruby/object:RI::MethodSummary name: detect - !ruby/object:RI::MethodSummary name: drop - !ruby/object:RI::MethodSummary name: drop_while - !ruby/object:RI::MethodSummary name: each_cons - !ruby/object:RI::MethodSummary name: each_slice - !ruby/object:RI::MethodSummary name: each_with_index - !ruby/object:RI::MethodSummary name: entries - !ruby/object:RI::MethodSummary name: enum_cons - !ruby/object:RI::MethodSummary name: enum_slice - !ruby/object:RI::MethodSummary name: enum_with_index - !ruby/object:RI::MethodSummary name: find - !ruby/object:RI::MethodSummary name: find_all - !ruby/object:RI::MethodSummary name: find_index - !ruby/object:RI::MethodSummary name: first - !ruby/object:RI::MethodSummary name: grep - !ruby/object:RI::MethodSummary name: group_by - !ruby/object:RI::MethodSummary name: include? - !ruby/object:RI::MethodSummary name: inject - !ruby/object:RI::MethodSummary name: inject - !ruby/object:RI::MethodSummary name: map - !ruby/object:RI::MethodSummary name: max - !ruby/object:RI::MethodSummary name: max_by - !ruby/object:RI::MethodSummary name: member? - !ruby/object:RI::MethodSummary name: min - !ruby/object:RI::MethodSummary name: min_by - !ruby/object:RI::MethodSummary name: minmax - !ruby/object:RI::MethodSummary name: minmax_by - !ruby/object:RI::MethodSummary name: none? - !ruby/object:RI::MethodSummary name: one? - !ruby/object:RI::MethodSummary name: partition - !ruby/object:RI::MethodSummary name: reduce - !ruby/object:RI::MethodSummary name: reject - !ruby/object:RI::MethodSummary name: reverse_each - !ruby/object:RI::MethodSummary name: select - !ruby/object:RI::MethodSummary name: sort - !ruby/object:RI::MethodSummary name: sort_by - !ruby/object:RI::MethodSummary name: take - !ruby/object:RI::MethodSummary name: take_while - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: to_set - !ruby/object:RI::MethodSummary name: zip name: Enumerable superclass: ri/1.8/system/Enumerable/map-i.yaml 0000644 00000001131 15217654530 0012762 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new array with the results of running block once for every element in enum. - !ruby/struct:SM::Flow::VERB body: " (1..4).collect {|i| i*i } #=> [1, 4, 9, 16]\n (1..4).collect { "cat" } #=> ["cat", "cat", "cat", "cat"]\n" full_name: Enumerable#map is_singleton: false name: map params: | enum.collect {| obj | block } => array enum.map {| obj | block } => array visibility: public ri/1.8/system/Enumerable/cycle-i.yaml 0000644 00000001600 15217654530 0013305 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls block for each element of enum repeatedly n times or forever if none or nil is given. If a non-positive number is given or the collection is empty, does nothing. Returns nil if the loop has finished without getting interrupted. - !ruby/struct:SM::Flow::P body: Enumerable#cycle saves elements in an internal array so changes to enum after the first pass have no effect. - !ruby/struct:SM::Flow::VERB body: " a = ["a", "b", "c"]\n a.cycle {|x| puts x } # print, a, b, c, a, b, c,.. forever.\n a.cycle(2) {|x| puts x } # print, a, b, c, a, b, c.\n" full_name: Enumerable#cycle is_singleton: false name: cycle params: | enum.cycle {|obj| block } enum.cycle(n) {|obj| block } visibility: public ri/1.8/system/Enumerable/to_set-i.yaml 0000644 00000000534 15217654530 0013510 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Makes a set from the enumerable object with given arguments. Needs to +require "set"+ to use this method. full_name: Enumerable#to_set is_singleton: false name: to_set params: (klass = Set, *args, &block) visibility: public ri/1.8/system/Enumerable/drop_while-i.yaml 0000644 00000001033 15217654530 0014342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Drops elements up to, but not including, the first element for which the block returns nil or false and returns an array containing the remaining elements. - !ruby/struct:SM::Flow::VERB body: " a = [1, 2, 3, 4, 5, 0]\n a.drop_while {|i| i < 3 } # => [3, 4, 5, 0]\n" full_name: Enumerable#drop_while is_singleton: false name: drop_while params: | enum.drop_while {|arr| block } => array visibility: public ri/1.8/system/Enumerable/take-i.yaml 0000644 00000000616 15217654530 0013140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns first n elements from enum. - !ruby/struct:SM::Flow::VERB body: " a = [1, 2, 3, 4, 5, 0]\n a.take(3) # => [1, 2, 3]\n" full_name: Enumerable#take is_singleton: false name: take params: | enum.take(n) => array visibility: public ri/1.8/system/Enumerable/reduce-i.yaml 0000644 00000004065 15217654530 0013465 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::VERB body: " enum.reduce(initial, sym) => obj\n enum.reduce(sym) => obj\n enum.reduce(initial) {| memo, obj | block } => obj\n enum.reduce {| memo, obj | block } => obj\n" - !ruby/struct:SM::Flow::P body: Combines all elements of enum by applying a binary operation, specified by a block or a symbol that names a method or operator. - !ruby/struct:SM::Flow::P body: If you specify a block, then for each element in enum<i> the block is passed an accumulator value (<i>memo) and the element. If you specify a symbol instead, then each element in the collection will be passed to the named method of memo. In either case, the result becomes the new value for memo. At the end of the iteration, the final value of memo is the return value fo the method. - !ruby/struct:SM::Flow::P body: If you do not explicitly specify an initial value for memo, then uses the first element of collection is used as the initial value of memo. - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " # Sum some numbers\n (5..10).reduce(:+) #=> 45\n # Same using a block and inject\n (5..10).inject {|sum, n| sum + n } #=> 45\n # Multiply some numbers\n (5..10).reduce(1, :*) #=> 151200\n # Same using a block\n (5..10).inject(1) {|product, n| product * n } #=> 151200\n # find the longest word\n longest = %w{ cat sheep bear }.inject do |memo,word|\n memo.length > word.length ? memo : word\n end\n longest #=> "sheep"\n" full_name: Enumerable#reduce is_singleton: false name: reduce params: | enum.inject(initial, sym) => obj enum.inject(sym) => obj enum.inject(initial) {| memo, obj | block } => obj enum.inject {| memo, obj | block } => obj visibility: public ri/1.8/system/Enumerable/minmax-i.yaml 0000644 00000001423 15217654530 0013502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns two elements array which contains the minimum and the maximum value in the enumerable. The first form assumes all objects implement Comparable; the second uses the block to return a <=> b. - !ruby/struct:SM::Flow::VERB body: " a = %w(albatross dog horse)\n a.minmax #=> ["albatross", "horse"]\n a.minmax {|a,b| a.length <=> b.length } #=> ["dog", "albatross"]\n" full_name: Enumerable#minmax is_singleton: false name: minmax params: | enum.minmax => [min,max] enum.minmax {|a,b| block } => [min,max] visibility: public ri/1.8/system/Enumerable/include%3f-i.yaml 0000644 00000001111 15217654530 0014124 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if any member of enum equals obj. Equality is tested using ==. - !ruby/struct:SM::Flow::VERB body: " IO.constants.include? "SEEK_SET" #=> true\n IO.constants.include? "SEEK_NO_FURTHER" #=> false\n" full_name: Enumerable#include? is_singleton: false name: include? params: | enum.include?(obj) => true or false enum.member?(obj) => true or false visibility: public ri/1.8/system/Enumerable/zip-i.yaml 0000644 00000002011 15217654530 0013005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts any arguments to arrays, then merges elements of enum with corresponding elements from each argument. This generates a sequence of enum#size n-element arrays, where n is one more that the count of arguments. If the size of any argument is less than enum#size, nil values are supplied. If a block given, it is invoked for each output array, otherwise an array of arrays is returned. - !ruby/struct:SM::Flow::VERB body: " a = [ 4, 5, 6 ]\n b = [ 7, 8, 9 ]\n\n (1..3).zip(a, b) #=> [[1, 4, 7], [2, 5, 8], [3, 6, 9]]\n "cat\\ndog".zip([1]) #=> [["cat\\n", 1], ["dog", nil]]\n (1..3).zip #=> [[1], [2], [3]]\n" full_name: Enumerable#zip is_singleton: false name: zip params: | enum.zip(arg, ...) => array enum.zip(arg, ...) {|arr| block } => nil visibility: public ri/1.8/system/Enumerable/enum_cons-i.yaml 0000644 00000001171 15217654530 0014177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates the given block for each array of consecutive <n> elements. If no block is given, returns an enumerator.a - !ruby/struct:SM::Flow::P body: "e.g.:" - !ruby/struct:SM::Flow::VERB body: " (1..10).each_cons(3) {|a| p a}\n # outputs below\n [1, 2, 3]\n [2, 3, 4]\n [3, 4, 5]\n [4, 5, 6]\n [5, 6, 7]\n [6, 7, 8]\n [7, 8, 9]\n [8, 9, 10]\n" full_name: Enumerable#enum_cons is_singleton: false name: enum_cons params: | each_cons(n) {...} each_cons(n) visibility: public ri/1.8/system/Enumerable/reverse_each-i.yaml 0000644 00000000451 15217654530 0014644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Traverses enum in reverse order. full_name: Enumerable#reverse_each is_singleton: false name: reverse_each params: | enum.reverse_each {|item| block } visibility: public ri/1.8/system/Enumerable/inject-i.yaml 0000644 00000000321 15217654530 0013461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (result, item) comment: full_name: Enumerable#inject is_singleton: false name: inject params: (init) {|result, item| ...} visibility: public ri/1.8/system/Enumerable/find-i.yaml 0000644 00000001330 15217654530 0013126 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes each entry in enum to block. Returns the first for which block is not false. If no object matches, calls ifnone and returns its result when it is specified, or returns nil - !ruby/struct:SM::Flow::VERB body: " (1..10).detect {|i| i % 5 == 0 and i % 7 == 0 } #=> nil\n (1..100).detect {|i| i % 5 == 0 and i % 7 == 0 } #=> 35\n" full_name: Enumerable#find is_singleton: false name: find params: | enum.detect(ifnone = nil) {| obj | block } => obj or nil enum.find(ifnone = nil) {| obj | block } => obj or nil visibility: public ri/1.8/system/Enumerable/enum_slice-i.yaml 0000644 00000001063 15217654530 0014334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates the given block for each slice of <n> elements. If no block is given, returns an enumerator. - !ruby/struct:SM::Flow::P body: "e.g.:" - !ruby/struct:SM::Flow::VERB body: " (1..10).each_slice(3) {|a| p a}\n # outputs below\n [1, 2, 3]\n [4, 5, 6]\n [7, 8, 9]\n [10]\n" full_name: Enumerable#enum_slice is_singleton: false name: enum_slice params: | e.each_slice(n) {...} e.each_slice(n) visibility: public ri/1.8/system/Enumerable/count-i.yaml 0000644 00000001457 15217654530 0013350 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns the number of items in enum, where #size is called if it responds to it, otherwise the items are counted through enumeration. If an argument is given, counts the number of items in enum, for which equals to item. If a block is given, counts the number of elements yielding a true value." - !ruby/struct:SM::Flow::VERB body: " ary = [1, 2, 4, 2]\n ary.count # => 4\n ary.count(2) # => 2\n ary.count{|x|x%2==0} # => 3\n" full_name: Enumerable#count is_singleton: false name: count params: | enum.count => int enum.count(item) => int enum.count {| obj | block } => int visibility: public ri/1.8/system/Enumerable/max-i.yaml 0000644 00000001246 15217654530 0013001 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the object in enum with the maximum value. The first form assumes all objects implement Comparable; the second uses the block to return a <=> b. - !ruby/struct:SM::Flow::VERB body: " a = %w(albatross dog horse)\n a.max #=> "horse"\n a.max {|a,b| a.length <=> b.length } #=> "albatross"\n" full_name: Enumerable#max is_singleton: false name: max params: | enum.max => obj enum.max {|a,b| block } => obj visibility: public ri/1.8/system/XMP/new-c.yaml 0000644 00000000247 15217654530 0011364 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XMP::new is_singleton: true name: new params: (bind = nil) visibility: public ri/1.8/system/XMP/StringInputMethod/new-c.yaml 0000644 00000000260 15217654530 0015006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XMP::StringInputMethod::new is_singleton: true name: new params: () visibility: public ri/1.8/system/XMP/StringInputMethod/cdesc-StringInputMethod.yaml 0000644 00000000623 15217654530 0020506 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: XMP::StringInputMethod includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: eof? - !ruby/object:RI::MethodSummary name: gets - !ruby/object:RI::MethodSummary name: puts name: StringInputMethod superclass: IRB::InputMethod ri/1.8/system/XMP/StringInputMethod/puts-i.yaml 0000644 00000000266 15217654530 0015224 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XMP::StringInputMethod#puts is_singleton: false name: puts params: (exps) visibility: public ri/1.8/system/XMP/StringInputMethod/eof%3f-i.yaml 0000644 00000000262 15217654530 0015274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XMP::StringInputMethod#eof? is_singleton: false name: eof? params: () visibility: public ri/1.8/system/XMP/StringInputMethod/gets-i.yaml 0000644 00000000262 15217654530 0015167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XMP::StringInputMethod#gets is_singleton: false name: gets params: () visibility: public ri/1.8/system/XMP/cdesc-XMP.yaml 0000644 00000000412 15217654530 0012070 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: XMP includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: puts name: XMP superclass: Object ri/1.8/system/XMP/puts-i.yaml 0000644 00000000243 15217654530 0011570 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: XMP#puts is_singleton: false name: puts params: (exps) visibility: public ri/1.8/system/AmbiguousArgument/cdesc-AmbiguousArgument.yaml 0000644 00000000475 15217654530 0020065 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Raises when the given argument word can't be completed uniquely. constants: [] full_name: AmbiguousArgument includes: [] instance_methods: [] name: AmbiguousArgument superclass: InvalidArgument ri/1.8/system/Comparable/%3c-i.yaml 0000644 00000000517 15217654530 0012554 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compares two objects based on the receiver's <=> method, returning true if it returns -1. full_name: Comparable#< is_singleton: false name: < params: | obj < other => true or false visibility: public ri/1.8/system/Comparable/%3e-i.yaml 0000644 00000000520 15217654530 0012550 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compares two objects based on the receiver's <=> method, returning true if it returns 1. full_name: Comparable#> is_singleton: false name: ">" params: | obj > other => true or false visibility: public ri/1.8/system/Comparable/cdesc-Comparable.yaml 0000644 00000003273 15217654530 0015102 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The Comparable mixin is used by classes whose objects may be ordered. The class must define the <=> operator, which compares the receiver against another object, returning -1, 0, or +1 depending on whether the receiver is less than, equal to, or greater than the other object. Comparable uses <=> to implement the conventional comparison operators (<, <=, ==, >=, and >) and the method between?. - !ruby/struct:SM::Flow::VERB body: " class SizeMatters\n include Comparable\n attr :str\n def <=>(anOther)\n str.size <=> anOther.str.size\n end\n def initialize(str)\n @str = str\n end\n def inspect\n @str\n end\n end\n\n s1 = SizeMatters.new("Z")\n s2 = SizeMatters.new("YY")\n s3 = SizeMatters.new("XXX")\n s4 = SizeMatters.new("WWWW")\n s5 = SizeMatters.new("VVVVV")\n\n s1 < s2 #=> true\n s4.between?(s1, s3) #=> false\n s4.between?(s3, s5) #=> true\n [ s3, s2, s5, s4, s1 ].sort #=> [Z, YY, XXX, WWWW, VVVVV]\n" constants: [] full_name: Comparable includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: < - !ruby/object:RI::MethodSummary name: <= - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: ">" - !ruby/object:RI::MethodSummary name: ">=" - !ruby/object:RI::MethodSummary name: between? name: Comparable superclass: ri/1.8/system/Comparable/between%3f-i.yaml 0000644 00000001247 15217654530 0014132 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns false if obj <=> min is less than zero or if anObject <=> max is greater than zero, true otherwise. - !ruby/struct:SM::Flow::VERB body: " 3.between?(1, 5) #=> true\n 6.between?(1, 5) #=> false\n 'cat'.between?('ant', 'dog') #=> true\n 'gnu'.between?('ant', 'dog') #=> false\n" full_name: Comparable#between? is_singleton: false name: between? params: | obj.between?(min, max) => true or false visibility: public ri/1.8/system/Comparable/%3c%3d-i.yaml 0000644 00000000527 15217654530 0013051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compares two objects based on the receiver's <=> method, returning true if it returns -1 or 0. full_name: Comparable#<= is_singleton: false name: <= params: | obj <= other => true or false visibility: public ri/1.8/system/Comparable/%3d%3d-i.yaml 0000644 00000000633 15217654530 0013050 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compares two objects based on the receiver's <=> method, returning true if it returns 0. Also returns true if obj and other are the same object. full_name: Comparable#== is_singleton: false name: == params: | obj == other => true or false visibility: public ri/1.8/system/Comparable/%3e%3d-i.yaml 0000644 00000000530 15217654530 0013045 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compares two objects based on the receiver's <=> method, returning true if it returns 0 or 1. full_name: Comparable#>= is_singleton: false name: ">=" params: | obj >= other => true or false visibility: public ri/1.8/system/SignalException/cdesc-SignalException.yaml 0000644 00000001204 15217654530 0017150 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: SignalException includes: [] instance_methods: [] name: SignalException superclass: Exception ri/1.8/system/Module/method_undefined-i.yaml 0000644 00000000357 15217654530 0014665 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Not documented full_name: Module#method_undefined is_singleton: false name: method_undefined params: (p1) visibility: public ri/1.8/system/Module/undef_method-i.yaml 0000644 00000002215 15217654530 0014020 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Prevents the current class from responding to calls to the named method. Contrast this with remove_method, which deletes the method from the particular class; Ruby will still search superclasses and mixed-in modules for a possible receiver. - !ruby/struct:SM::Flow::VERB body: " class Parent\n def hello\n puts "In parent"\n end\n end\n class Child < Parent\n def hello\n puts "In child"\n end\n end\n\n c = Child.new\n c.hello\n\n class Child\n remove_method :hello # remove from child, still in parent\n end\n c.hello\n\n class Child\n undef_method :hello # prevent any calls to 'hello'\n end\n c.hello\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " In child\n In parent\n prog.rb:23: undefined method `hello' for #<Child:0x401b3bb4> (NoMethodError)\n" full_name: Module#undef_method is_singleton: false name: undef_method params: | undef_method(symbol) => self visibility: public ri/1.8/system/Module/new-c.yaml 0000644 00000001423 15217654530 0012142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new anonymous module. If a block is given, it is passed the module object, and the block is evaluated in the context of this module using module_eval. - !ruby/struct:SM::Flow::VERB body: " Fred = Module.new do\n def meth1\n "hello"\n end\n def meth2\n "bye"\n end\n end\n a = "my string"\n a.extend(Fred) #=> "my string"\n a.meth1 #=> "hello"\n a.meth2 #=> "bye"\n" full_name: Module::new is_singleton: true name: new params: | Module.new => mod Module.new {|mod| block } => mod visibility: public ri/1.8/system/Module/to_s-i.yaml 0000644 00000000615 15217654530 0012325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a string representing this module or class. For basic classes and modules, this is the name. For singletons, we show information on the thing we're attached to as well. full_name: Module#to_s is_singleton: false name: to_s params: | mod.to_s => string visibility: public ri/1.8/system/Module/include-i.yaml 0000644 00000000461 15217654530 0013003 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes Module.append_features on each parameter in turn. full_name: Module#include is_singleton: false name: include params: | include(module, ...) => self visibility: public ri/1.8/system/Module/attr_writer-i.yaml 0000644 00000000534 15217654530 0013727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates an accessor method to allow assignment to the attribute aSymbol.id2name. full_name: Module#attr_writer is_singleton: false name: attr_writer params: | attr_writer(symbol, ...) => nil visibility: public ri/1.8/system/Module/class_variables-i.yaml 0000644 00000001142 15217654530 0014512 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array of the names of class variables in mod and the ancestors of mod. - !ruby/struct:SM::Flow::VERB body: " class One\n @@var1 = 1\n end\n class Two < One\n @@var2 = 2\n end\n One.class_variables #=> ["@@var1"]\n Two.class_variables #=> ["@@var2", "@@var1"]\n" full_name: Module#class_variables is_singleton: false name: class_variables params: | mod.class_variables => array visibility: public ri/1.8/system/Module/%3c-i.yaml 0000644 00000000734 15217654530 0011735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns true if mod is a subclass of other. Returns nil if there's no relationship between the two. (Think of the relationship in terms of the class definition: "class A<B" implies "A<B")." full_name: Module#< is_singleton: false name: < params: | mod < other => true, false, or nil visibility: public ri/1.8/system/Module/%3e-i.yaml 0000644 00000000737 15217654530 0011742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns true if mod is an ancestor of other. Returns nil if there's no relationship between the two. (Think of the relationship in terms of the class definition: "class A<B" implies "B>A")." full_name: Module#> is_singleton: false name: ">" params: | mod > other => true, false, or nil visibility: public ri/1.8/system/Module/class_eval-i.yaml 0000644 00000002030 15217654530 0013466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evaluates the string or block in the context of mod. This can be used to add methods to a class. module_eval returns the result of evaluating its argument. The optional filename and lineno parameters set the text for error messages. - !ruby/struct:SM::Flow::VERB body: " class Thing\n end\n a = %q{def hello() "Hello there!" end}\n Thing.module_eval(a)\n puts Thing.new.hello()\n Thing.module_eval("invalid code", "dummy", 123)\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Hello there!\n dummy:123:in `module_eval': undefined local variable\n or method `code' for Thing:Class\n" full_name: Module#class_eval is_singleton: false name: class_eval params: | mod.class_eval(string [, filename [, lineno]]) => obj mod.module_eval {|| block } => obj visibility: public ri/1.8/system/Module/class_exec-i.yaml 0000644 00000001331 15217654530 0013466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evaluates the given block in the context of the class/module. The method defined in the block will belong to the receiver. - !ruby/struct:SM::Flow::VERB body: " class Thing\n end\n Thing.class_exec{\n def hello() "Hello there!" end\n }\n puts Thing.new.hello()\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Hello there!\n" full_name: Module#class_exec is_singleton: false name: class_exec params: | mod.module_exec(arg...) {|var...| block } => obj mod.class_exec(arg...) {|var...| block } => obj visibility: public ri/1.8/system/Module/remove_class_variable-i.yaml 0000644 00000001157 15217654530 0015712 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes the definition of the sym, returning that constant's value. - !ruby/struct:SM::Flow::VERB body: " class Dummy\n @@var = 99\n puts @@var\n remove_class_variable(:@@var)\n puts(defined? @@var)\n end\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " 99\n nil\n" full_name: Module#remove_class_variable is_singleton: false name: remove_class_variable params: | remove_class_variable(sym) => obj visibility: public ri/1.8/system/Module/constants-c.yaml 0000644 00000001210 15217654530 0013357 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array of the names of all constants defined in the system. This list includes the names of all modules and classes. - !ruby/struct:SM::Flow::VERB body: " p Module.constants.sort[1..5]\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " ["ARGV", "ArgumentError", "Array", "Bignum", "Binding"]\n" full_name: Module::constants is_singleton: true name: constants params: | Module.constants => array visibility: public ri/1.8/system/Module/remove_method-i.yaml 0000644 00000000565 15217654530 0014222 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes the method identified by symbol from the current class. For an example, see Module.undef_method. full_name: Module#remove_method is_singleton: false name: remove_method params: | remove_method(symbol) => self visibility: public ri/1.8/system/Module/define_method-i.yaml 0000644 00000002426 15217654530 0014155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Defines an instance method in the receiver. The method parameter can be a Proc or Method object. If a block is specified, it is used as the method body. This block is evaluated using instance_eval, a point that is tricky to demonstrate because define_method is private. (This is why we resort to the send hack in this example.) - !ruby/struct:SM::Flow::VERB body: " class A\n def fred\n puts "In Fred"\n end\n def create_method(name, &block)\n self.class.send(:define_method, name, &block)\n end\n define_method(:wilma) { puts "Charge it!" }\n end\n class B < A\n define_method(:barney, instance_method(:fred))\n end\n a = B.new\n a.barney\n a.wilma\n a.create_method(:betty) { p self }\n a.betty\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " In Fred\n Charge it!\n #<B:0x401b39e8>\n" full_name: Module#define_method is_singleton: false name: define_method params: | define_method(symbol, method) => new_method define_method(symbol) { block } => proc visibility: public ri/1.8/system/Module/name-i.yaml 0000644 00000000413 15217654530 0012275 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the name of the module mod. full_name: Module#name is_singleton: false name: name params: | mod.name => string visibility: public ri/1.8/system/Module/included-i.yaml 0000644 00000001256 15217654530 0013152 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Callback invoked whenever the receiver is included in another module or class. This should be used in preference to Module.append_features if your code wants to perform some action when a module is included in another. - !ruby/struct:SM::Flow::VERB body: " module A\n def A.included(mod)\n puts "#{self} included in #{mod}"\n end\n end\n module Enumerable\n include A\n end\n" full_name: Module#included is_singleton: false name: included params: | included( othermod ) visibility: public ri/1.8/system/Module/module_function-i.yaml 0000644 00000002245 15217654530 0014554 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates module functions for the named methods. These functions may be called with the module as a receiver, and also become available as instance methods to classes that mix in the module. Module functions are copies of the original, and so may be changed independently. The instance-method versions are made private. If used with no arguments, subsequently defined methods become module functions. - !ruby/struct:SM::Flow::VERB body: " module Mod\n def one\n "This is one"\n end\n module_function :one\n end\n class Cls\n include Mod\n def callOne\n one\n end\n end\n Mod.one #=> "This is one"\n c = Cls.new\n c.callOne #=> "This is one"\n module Mod\n def one\n "This is the new one"\n end\n end\n Mod.one #=> "This is one"\n c.callOne #=> "This is the new one"\n" full_name: Module#module_function is_singleton: false name: module_function params: | module_function(symbol, ...) => self visibility: public ri/1.8/system/Module/%3c%3d%3e-i.yaml 0000644 00000001036 15217654530 0012522 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Comparison---Returns -1 if mod includes other_mod, 0 if mod is the same as other_mod, and +1 if mod is included by other_mod or if mod has no relationship with other_mod. Returns nil if other_mod is not a module. full_name: Module#<=> is_singleton: false name: <=> params: | mod <=> other_mod => -1, 0, +1, or nil visibility: public ri/1.8/system/Module/constants-i.yaml 0000644 00000000623 15217654530 0013374 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array of the names of the constants accessible in mod. This includes the names of constants in any included modules (example at start of section). full_name: Module#constants is_singleton: false name: constants params: | mod.constants => array visibility: public ri/1.8/system/Module/freeze-i.yaml 0000644 00000000407 15217654530 0012640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Prevents further modifications to mod. full_name: Module#freeze is_singleton: false name: freeze params: | mod.freeze visibility: public ri/1.8/system/Module/public_class_method-i.yaml 0000644 00000000504 15217654530 0015361 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Makes a list of existing class methods public. full_name: Module#public_class_method is_singleton: false name: public_class_method params: | mod.public_class_method(symbol, ...) => mod visibility: public ri/1.8/system/Module/instance_method-i.yaml 0000644 00000002117 15217654530 0014524 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an UnboundMethod representing the given instance method in mod. - !ruby/struct:SM::Flow::VERB body: " class Interpreter\n def do_a() print "there, "; end\n def do_d() print "Hello "; end\n def do_e() print "!\\n"; end\n def do_v() print "Dave"; end\n Dispatcher = {\n ?a => instance_method(:do_a),\n ?d => instance_method(:do_d),\n ?e => instance_method(:do_e),\n ?v => instance_method(:do_v)\n }\n def interpret(string)\n string.each_byte {|b| Dispatcher[b].bind(self).call }\n end\n end\n\n interpreter = Interpreter.new\n interpreter.interpret('dave')\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Hello there, Dave!\n" full_name: Module#instance_method is_singleton: false name: instance_method params: | mod.instance_method(symbol) => unbound_method visibility: public ri/1.8/system/Module/method_added-i.yaml 0000644 00000000347 15217654530 0013764 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Not documented full_name: Module#method_added is_singleton: false name: method_added params: (p1) visibility: public ri/1.8/system/Module/protected_instance_methods-i.yaml 0000644 00000000730 15217654530 0016757 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a list of the protected instance methods defined in mod. If the optional parameter is not false, the methods of any ancestors are included. full_name: Module#protected_instance_methods is_singleton: false name: protected_instance_methods params: | mod.protected_instance_methods(include_super=true) => array visibility: public ri/1.8/system/Module/class_variable_get-i.yaml 0000644 00000001134 15217654530 0015167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the value of the given class variable (or throws a NameError exception). The @@ part of the variable name should be included for regular class variables - !ruby/struct:SM::Flow::VERB body: " class Fred\n @@foo = 99\n end\n\n def Fred.foo\n class_variable_get(:@@foo) #=> 99\n end\n" full_name: Module#class_variable_get is_singleton: false name: class_variable_get params: | mod.class_variable_get(symbol) => obj visibility: public ri/1.8/system/Module/const_missing-i.yaml 0000644 00000002223 15217654530 0014235 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Invoked when a reference is made to an undefined constant in mod. It is passed a symbol for the undefined constant, and returns a value to be used for that constant. The following code is a (very bad) example: if reference is made to an undefined constant, it attempts to load a file whose name is the lowercase version of the constant (thus class Fred is assumed to be in file fred.rb). If found, it returns the value of the loaded class. It therefore implements a perverse kind of autoload facility." - !ruby/struct:SM::Flow::VERB body: " def Object.const_missing(name)\n @looked_for ||= {}\n str_name = name.to_s\n raise "Class not found: #{name}" if @looked_for[str_name]\n @looked_for[str_name] = 1\n file = str_name.downcase\n require file\n klass = const_get(name)\n return klass if klass\n raise "Class not found: #{name}"\n end\n" full_name: Module#const_missing is_singleton: false name: const_missing params: | mod.const_missing(sym) => obj visibility: public ri/1.8/system/Module/%3d%3d%3d-i.yaml 0000644 00000000714 15217654530 0012524 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Case Equality---Returns true if anObject is an instance of mod or one of mod's descendents. Of limited use for modules, but can be used in case statements to classify objects by class. full_name: Module#=== is_singleton: false name: === params: | mod === obj => true or false visibility: public ri/1.8/system/Module/alias_method-i.yaml 0000644 00000001362 15217654530 0014012 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Makes new_name a new copy of the method old_name. This can be used to retain access to methods that are overridden. - !ruby/struct:SM::Flow::VERB body: " module Mod\n alias_method :orig_exit, :exit\n def exit(code=0)\n puts "Exiting with code #{code}"\n orig_exit(code)\n end\n end\n include Mod\n exit(99)\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Exiting with code 99\n" full_name: Module#alias_method is_singleton: false name: alias_method params: | alias_method(new_name, old_name) => self visibility: public ri/1.8/system/Module/append_features-i.yaml 0000644 00000001163 15217654530 0014525 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: When this module is included in another, Ruby calls append_features in this module, passing it the receiving module in mod. Ruby's default implementation is to add the constants, methods, and module variables of this module to mod if this module has not already been added to mod or one of its ancestors. See also Module#include. full_name: Module#append_features is_singleton: false name: append_features params: | append_features(mod) => mod visibility: public ri/1.8/system/Module/attr-i.yaml 0000644 00000001535 15217654530 0012335 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Defines a named attribute for this module, where the name is symbol.id2name, creating an instance variable (@name) and a corresponding access method to read it. If the optional writable argument is true, also creates a method called name= to set the attribute. - !ruby/struct:SM::Flow::VERB body: " module Mod\n attr :size, true\n end\n" - !ruby/struct:SM::Flow::P body: is equivalent to: - !ruby/struct:SM::Flow::VERB body: " module Mod\n def size\n @size\n end\n def size=(val)\n @size = val\n end\n end\n" full_name: Module#attr is_singleton: false name: attr params: | attr(symbol, writable=false) => nil visibility: public ri/1.8/system/Module/autoload-i.yaml 0000644 00000001121 15217654530 0013162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Registers filename to be loaded (using Kernel::require) the first time that name (which may be a String or a symbol) is accessed in the namespace of mod. - !ruby/struct:SM::Flow::VERB body: " module A\n end\n A.autoload(:B, "b")\n A::B.doit # autoloads "b"\n" full_name: Module#autoload is_singleton: false name: autoload params: | mod.autoload(name, filename) => nil visibility: public ri/1.8/system/Module/instance_methods-i.yaml 0000644 00000002107 15217654530 0014706 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array containing the names of public instance methods in the receiver. For a module, these are the public methods; for a class, they are the instance (not singleton) methods. With no argument, or with an argument that is false, the instance methods in mod are returned, otherwise the methods in mod and mod's superclasses are returned. - !ruby/struct:SM::Flow::VERB body: " module A\n def method1() end\n end\n class B\n def method2() end\n end\n class C < B\n def method3() end\n end\n\n A.instance_methods #=> ["method1"]\n B.instance_methods(false) #=> ["method2"]\n C.instance_methods(false) #=> ["method3"]\n C.instance_methods(true).length #=> 43\n" full_name: Module#instance_methods is_singleton: false name: instance_methods params: | mod.instance_methods(include_super=true) => array visibility: public ri/1.8/system/Module/public-i.yaml 0000644 00000000651 15217654530 0012637 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: With no arguments, sets the default visibility for subsequently defined methods to public. With arguments, sets the named methods to have public visibility. full_name: Module#public is_singleton: false name: public params: | public => self public(symbol, ...) => self visibility: public ri/1.8/system/Module/cdesc-Module.yaml 0000644 00000010775 15217654530 0013447 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: constants - !ruby/object:RI::MethodSummary name: nesting - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A Module is a collection of methods and constants. The methods in a module may be instance methods or module methods. Instance methods appear as methods in a class when the module is included, module methods do not. Conversely, module methods may be called without creating an encapsulating object, while instance methods may not. (See Module#module_function) - !ruby/struct:SM::Flow::P body: In the descriptions that follow, the parameter syml refers to a symbol, which is either a quoted string or a Symbol (such as :name). - !ruby/struct:SM::Flow::VERB body: " module Mod\n include Math\n CONST = 1\n def meth\n # ...\n end\n end\n Mod.class #=> Module\n Mod.constants #=> ["E", "PI", "CONST"]\n Mod.instance_methods #=> ["meth"]\n" constants: [] full_name: Module includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: < - !ruby/object:RI::MethodSummary name: <= - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: === - !ruby/object:RI::MethodSummary name: ">" - !ruby/object:RI::MethodSummary name: ">=" - !ruby/object:RI::MethodSummary name: alias_method - !ruby/object:RI::MethodSummary name: ancestors - !ruby/object:RI::MethodSummary name: append_features - !ruby/object:RI::MethodSummary name: attr - !ruby/object:RI::MethodSummary name: attr_accessor - !ruby/object:RI::MethodSummary name: attr_reader - !ruby/object:RI::MethodSummary name: attr_writer - !ruby/object:RI::MethodSummary name: autoload - !ruby/object:RI::MethodSummary name: autoload? - !ruby/object:RI::MethodSummary name: class_eval - !ruby/object:RI::MethodSummary name: class_exec - !ruby/object:RI::MethodSummary name: class_variable_defined? - !ruby/object:RI::MethodSummary name: class_variable_get - !ruby/object:RI::MethodSummary name: class_variable_set - !ruby/object:RI::MethodSummary name: class_variables - !ruby/object:RI::MethodSummary name: const_defined? - !ruby/object:RI::MethodSummary name: const_get - !ruby/object:RI::MethodSummary name: const_missing - !ruby/object:RI::MethodSummary name: const_set - !ruby/object:RI::MethodSummary name: constants - !ruby/object:RI::MethodSummary name: define_method - !ruby/object:RI::MethodSummary name: extend_object - !ruby/object:RI::MethodSummary name: extended - !ruby/object:RI::MethodSummary name: freeze - !ruby/object:RI::MethodSummary name: include - !ruby/object:RI::MethodSummary name: include? - !ruby/object:RI::MethodSummary name: included - !ruby/object:RI::MethodSummary name: included_modules - !ruby/object:RI::MethodSummary name: instance_method - !ruby/object:RI::MethodSummary name: instance_methods - !ruby/object:RI::MethodSummary name: method_added - !ruby/object:RI::MethodSummary name: method_defined? - !ruby/object:RI::MethodSummary name: method_removed - !ruby/object:RI::MethodSummary name: method_undefined - !ruby/object:RI::MethodSummary name: module_eval - !ruby/object:RI::MethodSummary name: module_exec - !ruby/object:RI::MethodSummary name: module_function - !ruby/object:RI::MethodSummary name: name - !ruby/object:RI::MethodSummary name: private - !ruby/object:RI::MethodSummary name: private_class_method - !ruby/object:RI::MethodSummary name: private_instance_methods - !ruby/object:RI::MethodSummary name: private_method_defined? - !ruby/object:RI::MethodSummary name: protected - !ruby/object:RI::MethodSummary name: protected_instance_methods - !ruby/object:RI::MethodSummary name: protected_method_defined? - !ruby/object:RI::MethodSummary name: public - !ruby/object:RI::MethodSummary name: public_class_method - !ruby/object:RI::MethodSummary name: public_instance_methods - !ruby/object:RI::MethodSummary name: public_method_defined? - !ruby/object:RI::MethodSummary name: remove_class_variable - !ruby/object:RI::MethodSummary name: remove_const - !ruby/object:RI::MethodSummary name: remove_method - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: undef_method name: Module superclass: ri/1.8/system/Module/attr_accessor-i.yaml 0000644 00000001065 15217654530 0014215 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to calling ``attrsymbol, true'' on each symbol in turn. - !ruby/struct:SM::Flow::VERB body: " module Mod\n attr_accessor(:one, :two)\n end\n Mod.instance_methods.sort #=> ["one", "one=", "two", "two="]\n" full_name: Module#attr_accessor is_singleton: false name: attr_accessor params: | attr_accessor(symbol, ...) => nil visibility: public ri/1.8/system/Module/module_exec-i.yaml 0000644 00000001333 15217654530 0013650 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evaluates the given block in the context of the class/module. The method defined in the block will belong to the receiver. - !ruby/struct:SM::Flow::VERB body: " class Thing\n end\n Thing.class_exec{\n def hello() "Hello there!" end\n }\n puts Thing.new.hello()\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Hello there!\n" full_name: Module#module_exec is_singleton: false name: module_exec params: | mod.module_exec(arg...) {|var...| block } => obj mod.class_exec(arg...) {|var...| block } => obj visibility: public ri/1.8/system/Module/public_method_defined%3f-i.yaml 0000644 00000001606 15217654530 0016154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named public method is defined by mod (or its included modules and, if mod is a class, its ancestors). - !ruby/struct:SM::Flow::VERB body: " module A\n def method1() end\n end\n class B\n protected\n def method2() end\n end\n class C < B\n include A\n def method3() end\n end\n\n A.method_defined? :method1 #=> true\n C.public_method_defined? "method1" #=> true\n C.public_method_defined? "method2" #=> false\n C.method_defined? "method2" #=> true\n" full_name: Module#public_method_defined? is_singleton: false name: public_method_defined? params: | mod.public_method_defined?(symbol) => true or false visibility: public ri/1.8/system/Module/remove_const-i.yaml 0000644 00000000626 15217654530 0014066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes the definition of the given constant, returning that constant's value. Predefined classes and singleton objects (such as true) cannot be removed. full_name: Module#remove_const is_singleton: false name: remove_const params: | remove_const(sym) => obj visibility: public ri/1.8/system/Module/private_class_method-i.yaml 0000644 00000001155 15217654530 0015560 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Makes existing class methods private. Often used to hide the default constructor new. - !ruby/struct:SM::Flow::VERB body: " class SimpleSingleton # Not thread safe\n private_class_method :new\n def SimpleSingleton.create(*args, &block)\n @me = new(*args, &block) if ! @me\n @me\n end\n end\n" full_name: Module#private_class_method is_singleton: false name: private_class_method params: | mod.private_class_method(symbol, ...) => mod visibility: public ri/1.8/system/Module/module_eval-i.yaml 0000644 00000002032 15217654530 0013650 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evaluates the string or block in the context of mod. This can be used to add methods to a class. module_eval returns the result of evaluating its argument. The optional filename and lineno parameters set the text for error messages. - !ruby/struct:SM::Flow::VERB body: " class Thing\n end\n a = %q{def hello() "Hello there!" end}\n Thing.module_eval(a)\n puts Thing.new.hello()\n Thing.module_eval("invalid code", "dummy", 123)\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Hello there!\n dummy:123:in `module_eval': undefined local variable\n or method `code' for Thing:Class\n" full_name: Module#module_eval is_singleton: false name: module_eval params: | mod.class_eval(string [, filename [, lineno]]) => obj mod.module_eval {|| block } => obj visibility: public ri/1.8/system/Module/public_instance_methods-i.yaml 0000644 00000000714 15217654530 0016246 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a list of the public instance methods defined in mod. If the optional parameter is not false, the methods of any ancestors are included. full_name: Module#public_instance_methods is_singleton: false name: public_instance_methods params: | mod.public_instance_methods(include_super=true) => array visibility: public ri/1.8/system/Module/%3c%3d-i.yaml 0000644 00000001000 15217654530 0012214 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns true if mod is a subclass of other or is the same as other. Returns nil if there's no relationship between the two. (Think of the relationship in terms of the class definition: "class A<B" implies "A<B")." full_name: Module#<= is_singleton: false name: <= params: | mod <= other => true, false, or nil visibility: public ri/1.8/system/Module/ancestors-i.yaml 0000644 00000001003 15217654530 0013352 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a list of modules included in mod (including mod itself). - !ruby/struct:SM::Flow::VERB body: " module Mod\n include Math\n include Comparable\n end\n\n Mod.ancestors #=> [Mod, Comparable, Math]\n Math.ancestors #=> [Math]\n" full_name: Module#ancestors is_singleton: false name: ancestors params: | mod.ancestors -> array visibility: public ri/1.8/system/Module/const_defined%3f-i.yaml 0000644 00000000672 15217654530 0014466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if a constant with the given name is defined by mod. - !ruby/struct:SM::Flow::VERB body: " Math.const_defined? "PI" #=> true\n" full_name: Module#const_defined? is_singleton: false name: const_defined? params: | mod.const_defined?(sym) => true or false visibility: public ri/1.8/system/Module/const_set-i.yaml 0000644 00000001117 15217654530 0013360 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the named constant to the given object, returning that object. Creates a new constant if no constant with the given name previously existed. - !ruby/struct:SM::Flow::VERB body: " Math.const_set("HIGH_SCHOOL_PI", 22.0/7.0) #=> 3.14285714285714\n Math::HIGH_SCHOOL_PI - Math::PI #=> 0.00126448926734968\n" full_name: Module#const_set is_singleton: false name: const_set params: | mod.const_set(sym, obj) => obj visibility: public ri/1.8/system/Module/extend_object-i.yaml 0000644 00000001705 15217654530 0014177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Extends the specified object by adding this module's constants and methods (which are added as singleton methods). This is the callback method used by Object#extend. - !ruby/struct:SM::Flow::VERB body: " module Picky\n def Picky.extend_object(o)\n if String === o\n puts "Can't add Picky to a String"\n else\n puts "Picky added to #{o.class}"\n super\n end\n end\n end\n (s = Array.new).extend Picky # Call Object.extend\n (s = "quick brown fox").extend Picky\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Picky added to Array\n Can't add Picky to a String\n" full_name: Module#extend_object is_singleton: false name: extend_object params: | extend_object(obj) => obj visibility: public ri/1.8/system/Module/private_method_defined%3f-i.yaml 0000644 00000001610 15217654530 0016343 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named private method is defined by _ mod_ (or its included modules and, if mod is a class, its ancestors). - !ruby/struct:SM::Flow::VERB body: " module A\n def method1() end\n end\n class B\n private\n def method2() end\n end\n class C < B\n include A\n def method3() end\n end\n\n A.method_defined? :method1 #=> true\n C.private_method_defined? "method1" #=> false\n C.private_method_defined? "method2" #=> true\n C.method_defined? "method2" #=> false\n" full_name: Module#private_method_defined? is_singleton: false name: private_method_defined? params: | mod.private_method_defined?(symbol) => true or false visibility: public ri/1.8/system/Module/private-i.yaml 0000644 00000001221 15217654530 0013025 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: With no arguments, sets the default visibility for subsequently defined methods to private. With arguments, sets the named methods to have private visibility. - !ruby/struct:SM::Flow::VERB body: " module Mod\n def a() end\n def b() end\n private\n def c() end\n private :a\n end\n Mod.private_instance_methods #=> ["a", "c"]\n" full_name: Module#private is_singleton: false name: private params: | private => self private(symbol, ...) => self visibility: public ri/1.8/system/Module/autoload%3f-i.yaml 0000644 00000001014 15217654530 0013461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns filename to be loaded if name is registered as autoload in the namespace of mod. - !ruby/struct:SM::Flow::VERB body: " module A\n end\n A.autoload(:B, "b")\n A.autoload?(:B) # => "b"\n" full_name: Module#autoload? is_singleton: false name: autoload? params: | mod.autoload?(name) => String or nil visibility: public ri/1.8/system/Module/protected_method_defined%3f-i.yaml 0000644 00000001636 15217654530 0016672 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named protected method is defined by mod (or its included modules and, if mod is a class, its ancestors). - !ruby/struct:SM::Flow::VERB body: " module A\n def method1() end\n end\n class B\n protected\n def method2() end\n end\n class C < B\n include A\n def method3() end\n end\n\n A.method_defined? :method1 #=> true\n C.protected_method_defined? "method1" #=> false\n C.protected_method_defined? "method2" #=> true\n C.method_defined? "method2" #=> true\n" full_name: Module#protected_method_defined? is_singleton: false name: protected_method_defined? params: | mod.protected_method_defined?(symbol) => true or false visibility: public ri/1.8/system/Module/%3d%3d-i.yaml 0000644 00000002514 15217654530 0012230 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equality---At the Object level, == returns true only if obj and other are the same object. Typically, this method is overridden in descendent classes to provide class-specific meaning. - !ruby/struct:SM::Flow::P body: "Unlike ==, the equal? method should never be overridden by subclasses: it is used to determine object identity (that is, a.equal?(b) iff a is the same object as b)." - !ruby/struct:SM::Flow::P body: "The eql? method returns true if obj and anObject have the same value. Used by Hash to test members for equality. For objects of class Object, eql? is synonymous with ==. Subclasses normally continue this tradition, but there are exceptions. Numeric types, for example, perform type conversion across ==, but not across eql?, so:" - !ruby/struct:SM::Flow::VERB body: " 1 == 1.0 #=> true\n 1.eql? 1.0 #=> false\n" full_name: Module#== is_singleton: false name: == params: | obj == other => true or false obj.equal?(other) => true or false obj.eql?(other) => true or false visibility: public ri/1.8/system/Module/method_defined%3f-i.yaml 0000644 00000001641 15217654530 0014615 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named method is defined by mod (or its included modules and, if mod is a class, its ancestors). Public and protected methods are matched. - !ruby/struct:SM::Flow::VERB body: " module A\n def method1() end\n end\n class B\n def method2() end\n end\n class C < B\n include A\n def method3() end\n end\n\n A.method_defined? :method1 #=> true\n C.method_defined? "method1" #=> true\n C.method_defined? "method2" #=> true\n C.method_defined? "method3" #=> true\n C.method_defined? "method4" #=> false\n" full_name: Module#method_defined? is_singleton: false name: method_defined? params: | mod.method_defined?(symbol) => true or false visibility: public ri/1.8/system/Module/%3e%3d-i.yaml 0000644 00000001003 15217654530 0012221 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns true if mod is an ancestor of other, or the two modules are the same. Returns nil if there's no relationship between the two. (Think of the relationship in terms of the class definition: "class A<B" implies "B>A")." full_name: Module#>= is_singleton: false name: ">=" params: | mod >= other => true, false, or nil visibility: public ri/1.8/system/Module/method_removed-i.yaml 0000644 00000000353 15217654530 0014361 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Not documented full_name: Module#method_removed is_singleton: false name: method_removed params: (p1) visibility: public ri/1.8/system/Module/attr_reader-i.yaml 0000644 00000000653 15217654530 0013657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates instance variables and corresponding methods that return the value of each instance variable. Equivalent to calling ``attr:name'' on each name in turn. full_name: Module#attr_reader is_singleton: false name: attr_reader params: | attr_reader(symbol, ...) => nil visibility: public ri/1.8/system/Module/include%3f-i.yaml 0000644 00000001101 15217654530 0013271 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if module is included in mod or one of mod's ancestors. - !ruby/struct:SM::Flow::VERB body: " module A\n end\n class B\n include A\n end\n class C < B\n end\n B.include?(A) #=> true\n C.include?(A) #=> true\n A.include?(A) #=> false\n" full_name: Module#include? is_singleton: false name: include? params: | mod.include?(module) => true or false visibility: public ri/1.8/system/Module/included_modules-i.yaml 0000644 00000000773 15217654530 0014705 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the list of modules included in mod. - !ruby/struct:SM::Flow::VERB body: " module Mixin\n end\n\n module Outer\n include Mixin\n end\n\n Mixin.included_modules #=> []\n Outer.included_modules #=> [Mixin]\n" full_name: Module#included_modules is_singleton: false name: included_modules params: | mod.included_modules -> array visibility: public ri/1.8/system/Module/class_variable_set-i.yaml 0000644 00000001145 15217654530 0015205 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the class variable names by symbol to object. - !ruby/struct:SM::Flow::VERB body: " class Fred\n @@foo = 99\n def foo\n @@foo\n end\n end\n\n def Fred.foo\n class_variable_set(:@@foo, 101) #=> 101\n end\n Fred.foo\n Fred.new.foo #=> 101\n" full_name: Module#class_variable_set is_singleton: false name: class_variable_set params: | obj.class_variable_set(symbol, obj) => obj visibility: public ri/1.8/system/Module/extended-i.yaml 0000644 00000000337 15217654530 0013162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Not documented full_name: Module#extended is_singleton: false name: extended params: (p1) visibility: public ri/1.8/system/Module/class_variable_defined%3f-i.yaml 0000644 00000001067 15217654530 0016311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the given class variable is defined in obj. - !ruby/struct:SM::Flow::VERB body: " class Fred\n @@foo = 99\n end\n Fred.class_variable_defined?(:@@foo) #=> true\n Fred.class_variable_defined?(:@@bar) #=> false\n" full_name: Module#class_variable_defined? is_singleton: false name: class_variable_defined? params: | obj.class_variable_defined?(symbol) => true or false visibility: public ri/1.8/system/Module/protected-i.yaml 0000644 00000000671 15217654530 0013354 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: With no arguments, sets the default visibility for subsequently defined methods to protected. With arguments, sets the named methods to have protected visibility. full_name: Module#protected is_singleton: false name: protected params: | protected => self protected(symbol, ...) => self visibility: public ri/1.8/system/Module/const_get-i.yaml 0000644 00000000604 15217654530 0013344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the value of the named constant in mod. - !ruby/struct:SM::Flow::VERB body: " Math.const_get(:PI) #=> 3.14159265358979\n" full_name: Module#const_get is_singleton: false name: const_get params: | mod.const_get(sym) => obj visibility: public ri/1.8/system/Module/nesting-c.yaml 0000644 00000000761 15217654530 0013024 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the list of Modules nested at the point of call. - !ruby/struct:SM::Flow::VERB body: " module M1\n module M2\n $a = Module.nesting\n end\n end\n $a #=> [M1::M2, M1]\n $a[0].name #=> "M1::M2"\n" full_name: Module::nesting is_singleton: true name: nesting params: | Module.nesting => array visibility: public ri/1.8/system/Module/private_instance_methods-i.yaml 0000644 00000001333 15217654530 0016440 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a list of the private instance methods defined in mod. If the optional parameter is not false, the methods of any ancestors are included. - !ruby/struct:SM::Flow::VERB body: " module Mod\n def method1() end\n private :method1\n def method2() end\n end\n Mod.instance_methods #=> ["method2"]\n Mod.private_instance_methods #=> ["method1"]\n" full_name: Module#private_instance_methods is_singleton: false name: private_instance_methods params: | mod.private_instance_methods(include_super=true) => array visibility: public ri/1.8/system/RiError/cdesc-RiError.yaml 0000644 00000000301 15217654530 0013725 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: [] constants: [] full_name: RiError includes: [] instance_methods: [] name: RiError superclass: Exception ri/1.8/system/IRB/init_error-c.yaml 0000644 00000000253 15217654530 0012714 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::init_error is_singleton: true name: init_error params: () visibility: public ri/1.8/system/IRB/load_modules-c.yaml 0000644 00000000343 15217654530 0013207 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: loading modules full_name: IRB::load_modules is_singleton: true name: load_modules params: () visibility: public ri/1.8/system/IRB/LoadAbort/cdesc-LoadAbort.yaml 0000644 00000000307 15217654530 0015115 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::LoadAbort includes: [] instance_methods: [] name: LoadAbort superclass: Exception ri/1.8/system/IRB/History/new-c.yaml 0000644 00000000257 15217654530 0012776 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::History::new is_singleton: true name: new params: (size = 16) visibility: public ri/1.8/system/IRB/History/cdesc-History.yaml 0000644 00000000647 15217654530 0014510 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: IRB::History includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: push - !ruby/object:RI::MethodSummary name: size name: History superclass: Object ri/1.8/system/IRB/History/push-i.yaml 0000644 00000000257 15217654530 0013172 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::History#push is_singleton: false name: push params: (no, val) visibility: public ri/1.8/system/IRB/History/%5b%5d-i.yaml 0000644 00000000251 15217654530 0013056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::History#[] is_singleton: false name: "[]" params: (idx) visibility: public ri/1.8/system/IRB/History/size-i.yaml 0000644 00000000254 15217654530 0013162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::History#size is_singleton: false name: size params: (size) visibility: public ri/1.8/system/IRB/History/inspect-i.yaml 0000644 00000000256 15217654530 0013657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::History#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/IRB/Frame/new-c.yaml 0000644 00000000244 15217654530 0012363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Frame::new is_singleton: true name: new params: () visibility: public ri/1.8/system/IRB/Frame/bottom-i.yaml 0000644 00000000257 15217654530 0013110 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Frame#bottom is_singleton: false name: bottom params: (n = 0) visibility: public ri/1.8/system/IRB/Frame/top-c.yaml 0000644 00000000251 15217654530 0012372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Frame::top is_singleton: true name: top params: (n = 0) visibility: public ri/1.8/system/IRB/Frame/trace_func-i.yaml 0000644 00000000320 15217654530 0013704 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Frame#trace_func is_singleton: false name: trace_func params: (event, file, line, id, binding) visibility: public ri/1.8/system/IRB/Frame/cdesc-Frame.yaml 0000644 00000001244 15217654530 0013464 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: bottom - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: sender - !ruby/object:RI::MethodSummary name: top comment: constants: - !ruby/object:RI::Constant comment: name: INIT_STACK_TIMES value: "3" - !ruby/object:RI::Constant comment: name: CALL_STACK_OFFSET value: "3" full_name: IRB::Frame includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: bottom - !ruby/object:RI::MethodSummary name: top - !ruby/object:RI::MethodSummary name: trace_func name: Frame superclass: Object ri/1.8/system/IRB/Frame/bottom-c.yaml 0000644 00000000347 15217654530 0013102 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: singleton functions full_name: IRB::Frame::bottom is_singleton: true name: bottom params: (n = 0) visibility: public ri/1.8/system/IRB/Frame/top-i.yaml 0000644 00000000251 15217654530 0012400 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Frame#top is_singleton: false name: top params: (n = 0) visibility: public ri/1.8/system/IRB/Frame/sender-c.yaml 0000644 00000000252 15217654530 0013051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Frame::sender is_singleton: true name: sender params: () visibility: public ri/1.8/system/IRB/init_config-c.yaml 0000644 00000000360 15217654530 0013027 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "@CONF default setting" full_name: IRB::init_config is_singleton: true name: init_config params: (ap_path) visibility: public ri/1.8/system/IRB/irb_abort-c.yaml 0000644 00000000277 15217654530 0012511 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::irb_abort is_singleton: true name: irb_abort params: (irb, exception = Abort) visibility: public ri/1.8/system/IRB/conf-c.yaml 0000644 00000000237 15217654530 0011467 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::conf is_singleton: true name: conf params: () visibility: public ri/1.8/system/IRB/IrbLoader/old-i.yaml 0000644 00000000250 15217654530 0013164 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::IrbLoader#old is_singleton: false name: old params: () visibility: public ri/1.8/system/IRB/IrbLoader/load_file-i.yaml 0000644 00000000304 15217654530 0014324 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::IrbLoader#load_file is_singleton: false name: load_file params: (path, priv = nil) visibility: public ri/1.8/system/IRB/IrbLoader/irb_load-i.yaml 0000644 00000000300 15217654530 0014155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::IrbLoader#irb_load is_singleton: false name: irb_load params: (fn, priv = nil) visibility: public ri/1.8/system/IRB/IrbLoader/source_file-i.yaml 0000644 00000000274 15217654530 0014713 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::IrbLoader#source_file is_singleton: false name: source_file params: (path) visibility: public ri/1.8/system/IRB/IrbLoader/search_file_from_ruby_path-i.yaml 0000644 00000000330 15217654530 0017751 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::IrbLoader#search_file_from_ruby_path is_singleton: false name: search_file_from_ruby_path params: (fn) visibility: public ri/1.8/system/IRB/IrbLoader/cdesc-IrbLoader.yaml 0000644 00000000713 15217654530 0015106 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::IrbLoader includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: irb_load - !ruby/object:RI::MethodSummary name: load_file - !ruby/object:RI::MethodSummary name: old - !ruby/object:RI::MethodSummary name: search_file_from_ruby_path - !ruby/object:RI::MethodSummary name: source_file name: IrbLoader superclass: ri/1.8/system/IRB/StdioOutputMethod/cdesc-StdioOutputMethod.yaml 0000644 00000000407 15217654530 0020510 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::StdioOutputMethod includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: print name: StdioOutputMethod superclass: OutputMethod ri/1.8/system/IRB/StdioOutputMethod/print-i.yaml 0000644 00000000271 15217654530 0015346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::StdioOutputMethod#print is_singleton: false name: print params: (*opts) visibility: public ri/1.8/system/IRB/JobManager-c.yaml 0000644 00000000253 15217654530 0012545 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::JobManager is_singleton: true name: JobManager params: () visibility: public ri/1.8/system/IRB/OutputMethod/cdesc-OutputMethod.yaml 0000644 00000001277 15217654530 0016510 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: OutputMethod - !ruby/struct:SM::Flow::VERB body: " StdioOutputMethod\n" constants: [] full_name: IRB::OutputMethod includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: foo - !ruby/object:RI::MethodSummary name: parse_printf_format - !ruby/object:RI::MethodSummary name: pp - !ruby/object:RI::MethodSummary name: ppx - !ruby/object:RI::MethodSummary name: print - !ruby/object:RI::MethodSummary name: printf - !ruby/object:RI::MethodSummary name: printn - !ruby/object:RI::MethodSummary name: puts name: OutputMethod superclass: Object ri/1.8/system/IRB/OutputMethod/ppx-i.yaml 0000644 00000000270 15217654530 0014015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::OutputMethod#ppx is_singleton: false name: ppx params: (prefix, *objs) visibility: public ri/1.8/system/IRB/OutputMethod/pp-i.yaml 0000644 00000000256 15217654530 0013631 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::OutputMethod#pp is_singleton: false name: pp params: (*objs) visibility: public ri/1.8/system/IRB/OutputMethod/foo-i.yaml 0000644 00000000261 15217654530 0013771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::OutputMethod#foo is_singleton: false name: foo params: (format) visibility: public ri/1.8/system/IRB/OutputMethod/printf-i.yaml 0000644 00000000360 15217654530 0014510 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: extend printf full_name: IRB::OutputMethod#printf is_singleton: false name: printf params: (format, *opts) visibility: public ri/1.8/system/IRB/OutputMethod/print-i.yaml 0000644 00000000264 15217654530 0014345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::OutputMethod#print is_singleton: false name: print params: (*opts) visibility: public ri/1.8/system/IRB/OutputMethod/puts-i.yaml 0000644 00000000262 15217654530 0014202 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::OutputMethod#puts is_singleton: false name: puts params: (*objs) visibility: public ri/1.8/system/IRB/OutputMethod/printn-i.yaml 0000644 00000000266 15217654530 0014525 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::OutputMethod#printn is_singleton: false name: printn params: (*opts) visibility: public ri/1.8/system/IRB/OutputMethod/parse_printf_format-i.yaml 0000644 00000001145 15217654530 0017254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "% <\xA5\xD5\xA5\xE9\xA5\xB0> [#0- +] <\xBA\xC7\xBE\xAE\xA5\xD5\xA5\xA3\xA1\xBC\xA5\xEB\xA5\xC9\xC9\xFD> (*|*[1-9][0-9]*\\$|[1-9][0-9]*) <\xC0\xBA\xC5\xD9>.(*|*[1-9][0-9]*\\$|[1-9][0-9]*|)? #<\xC4\xB9\xA4\xB5\xBD\xA4\xC0\xB5\xCA\xB8\xBB\xFA>(hh|h|l|ll|L|q|j|z|t) <\xCA\xD1\xB4\xB9\xBD\xA4\xC0\xB5\xCA\xB8\xBB\xFA>[diouxXeEfgGcsb%]" full_name: IRB::OutputMethod#parse_printf_format is_singleton: false name: parse_printf_format params: (format, opts) visibility: public ri/1.8/system/IRB/CurrentContext-c.yaml 0000644 00000000263 15217654530 0013530 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::CurrentContext is_singleton: true name: CurrentContext params: () visibility: public ri/1.8/system/IRB/initialize_tracer-c.yaml 0000644 00000000371 15217654530 0014242 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: initialize tracing function full_name: IRB::initialize_tracer is_singleton: true name: initialize_tracer params: () visibility: public ri/1.8/system/IRB/FileInputMethod/new-c.yaml 0000644 00000000262 15217654530 0014371 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::FileInputMethod::new is_singleton: true name: new params: (file) visibility: public ri/1.8/system/IRB/FileInputMethod/eof%3f-i.yaml 0000644 00000000260 15217654530 0014653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::FileInputMethod#eof? is_singleton: false name: eof? params: () visibility: public ri/1.8/system/IRB/FileInputMethod/cdesc-FileInputMethod.yaml 0000644 00000000634 15217654530 0017502 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: file_name rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: IRB::FileInputMethod includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: eof? - !ruby/object:RI::MethodSummary name: gets name: FileInputMethod superclass: InputMethod ri/1.8/system/IRB/FileInputMethod/gets-i.yaml 0000644 00000000260 15217654530 0014546 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::FileInputMethod#gets is_singleton: false name: gets params: () visibility: public ri/1.8/system/IRB/irb-c.yaml 0000644 00000000343 15217654530 0011314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: invoke multi-irb full_name: IRB::irb is_singleton: true name: irb params: (file = nil, *main) visibility: public ri/1.8/system/IRB/rc_file-c.yaml 0000644 00000000264 15217654530 0012145 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::rc_file is_singleton: true name: rc_file params: (ext = IRBRC_EXT) visibility: public ri/1.8/system/IRB/Context/history_file-i.yaml 0000644 00000000270 15217654530 0014671 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#history_file is_singleton: false name: history_file params: () visibility: public ri/1.8/system/IRB/Context/save_history-i.yaml 0000644 00000000270 15217654530 0014710 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#save_history is_singleton: false name: save_history params: () visibility: public ri/1.8/system/IRB/Context/new-c.yaml 0000644 00000000674 15217654530 0012764 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Arguments:" - !ruby/struct:SM::Flow::VERB body: " input_method: nil -- stdin or readline\n String -- File\n other -- using this as InputMethod\n" full_name: IRB::Context::new is_singleton: true name: new params: (irb, workspace = nil, input_method = nil, output_method = nil) visibility: public ri/1.8/system/IRB/Context/to_s-i.yaml 0000644 00000000341 15217654530 0013134 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #inspect" full_name: IRB::Context#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/IRB/Context/evaluate-i.yaml 0000644 00000000275 15217654530 0014004 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#evaluate is_singleton: false name: evaluate params: (line, line_no) visibility: public ri/1.8/system/IRB/Context/prompt_mode%3d-i.yaml 0000644 00000000274 15217654530 0015016 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#prompt_mode= is_singleton: false name: prompt_mode= params: (mode) visibility: public ri/1.8/system/IRB/Context/verbose%3f-i.yaml 0000644 00000000260 15217654530 0014133 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#verbose? is_singleton: false name: verbose? params: () visibility: public ri/1.8/system/IRB/Context/workspaces-i.yaml 0000644 00000000264 15217654530 0014355 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#workspaces is_singleton: false name: workspaces params: () visibility: public ri/1.8/system/IRB/Context/inspect%3f-i.yaml 0000644 00000000260 15217654530 0014133 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#inspect? is_singleton: false name: inspect? params: () visibility: public ri/1.8/system/IRB/Context/init_save_history-i.yaml 0000644 00000000302 15217654530 0015727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#init_save_history is_singleton: false name: init_save_history params: () visibility: public ri/1.8/system/IRB/Context/use_loader%3f-i.yaml 0000644 00000000362 15217654530 0014613 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #use_loader" full_name: IRB::Context#use_loader? is_singleton: false name: use_loader? params: () visibility: public ri/1.8/system/IRB/Context/use_readline%3d-i.yaml 0000644 00000000275 15217654530 0015131 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#use_readline= is_singleton: false name: use_readline= params: (opt) visibility: public ri/1.8/system/IRB/Context/history_file%3d-i.yaml 0000644 00000000276 15217654530 0015173 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#history_file= is_singleton: false name: history_file= params: (hist) visibility: public ri/1.8/system/IRB/Context/debug%3f-i.yaml 0000644 00000000254 15217654530 0013557 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#debug? is_singleton: false name: debug? params: () visibility: public ri/1.8/system/IRB/Context/prompting%3f-i.yaml 0000644 00000000264 15217654530 0014511 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#prompting? is_singleton: false name: prompting? params: () visibility: public ri/1.8/system/IRB/Context/file_input%3f-i.yaml 0000644 00000000266 15217654530 0014632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#file_input? is_singleton: false name: file_input? params: () visibility: public ri/1.8/system/IRB/Context/use_loader-i.yaml 0000644 00000000343 15217654530 0014314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: use_loader? block_params: comment: full_name: IRB::Context#use_loader is_singleton: false name: use_loader params: () visibility: public ri/1.8/system/IRB/Context/use_loader%3d-i.yaml 0000644 00000000271 15217654530 0014610 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#use_loader= is_singleton: false name: use_loader= params: (opt) visibility: public ri/1.8/system/IRB/Context/eval_history%3d-i.yaml 0000644 00000000274 15217654530 0015201 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#eval_history= is_singleton: false name: eval_history= params: (no) visibility: public ri/1.8/system/IRB/Context/irb_level-i.yaml 0000644 00000000262 15217654530 0014135 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#irb_level is_singleton: false name: irb_level params: () visibility: public ri/1.8/system/IRB/Context/inspect-i.yaml 0000644 00000000326 15217654530 0013640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: to_s block_params: comment: full_name: IRB::Context#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/IRB/Context/set_last_value-i.yaml 0000644 00000000364 15217654530 0015207 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: _set_last_value block_params: comment: full_name: IRB::Context#set_last_value is_singleton: false name: set_last_value params: (value) visibility: public ri/1.8/system/IRB/Context/exit-i.yaml 0000644 00000000257 15217654530 0013147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#exit is_singleton: false name: exit params: (ret = 0) visibility: public ri/1.8/system/IRB/Context/_set_last_value-i.yaml 0000644 00000000403 15217654530 0015340 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #set_last_value" full_name: IRB::Context#_set_last_value is_singleton: false name: _set_last_value params: (value) visibility: public ri/1.8/system/IRB/Context/save_history%3d-i.yaml 0000644 00000000275 15217654530 0015211 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#save_history= is_singleton: false name: save_history= params: (val) visibility: public ri/1.8/system/IRB/Context/cdesc-Context.yaml 0000644 00000010560 15217654530 0014451 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: ap_name rw: RW - !ruby/object:RI::Attribute comment: name: auto_indent_mode rw: RW - !ruby/object:RI::Attribute comment: name: back_trace_limit rw: RW - !ruby/object:RI::Attribute comment: name: debug_level rw: R - !ruby/object:RI::Attribute comment: name: echo rw: RW - !ruby/object:RI::Attribute comment: name: eval_history rw: R - !ruby/object:RI::Attribute comment: name: ignore_eof rw: RW - !ruby/object:RI::Attribute comment: name: ignore_sigint rw: RW - !ruby/object:RI::Attribute comment: name: inspect_mode rw: R - !ruby/object:RI::Attribute comment: name: io rw: RW - !ruby/object:RI::Attribute comment: name: irb rw: RW - !ruby/object:RI::Attribute comment: name: irb_name rw: R - !ruby/object:RI::Attribute comment: name: irb_name rw: RW - !ruby/object:RI::Attribute comment: name: irb_path rw: RW - !ruby/object:RI::Attribute comment: name: last_value rw: R - !ruby/object:RI::Attribute comment: name: load_modules rw: RW - !ruby/object:RI::Attribute comment: name: math_mode rw: R - !ruby/object:RI::Attribute comment: name: prompt_c rw: RW - !ruby/object:RI::Attribute comment: name: prompt_i rw: RW - !ruby/object:RI::Attribute comment: name: prompt_mode rw: R - !ruby/object:RI::Attribute comment: name: prompt_n rw: RW - !ruby/object:RI::Attribute comment: name: prompt_s rw: RW - !ruby/object:RI::Attribute comment: name: rc rw: RW - !ruby/object:RI::Attribute comment: name: return_format rw: RW - !ruby/object:RI::Attribute comment: name: thread rw: R - !ruby/object:RI::Attribute comment: name: use_readline rw: R - !ruby/object:RI::Attribute comment: name: use_tracer rw: R - !ruby/object:RI::Attribute comment: name: verbose rw: RW - !ruby/object:RI::Attribute comment: name: workspace rw: RW - !ruby/object:RI::Attribute comment: name: workspace_home rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: NOPRINTING_IVARS value: "[\"@last_value\"]" - !ruby/object:RI::Constant comment: name: NO_INSPECTING_IVARS value: "[\"@irb\", \"@io\"]" - !ruby/object:RI::Constant comment: name: IDNAME_IVARS value: "[\"@prompt_mode\"]" full_name: IRB::Context includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _set_last_value - !ruby/object:RI::MethodSummary name: change_workspace - !ruby/object:RI::MethodSummary name: debug? - !ruby/object:RI::MethodSummary name: debug_level= - !ruby/object:RI::MethodSummary name: eval_history= - !ruby/object:RI::MethodSummary name: evaluate - !ruby/object:RI::MethodSummary name: exit - !ruby/object:RI::MethodSummary name: file_input? - !ruby/object:RI::MethodSummary name: history_file - !ruby/object:RI::MethodSummary name: history_file= - !ruby/object:RI::MethodSummary name: home_workspace - !ruby/object:RI::MethodSummary name: init_save_history - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: inspect? - !ruby/object:RI::MethodSummary name: inspect? - !ruby/object:RI::MethodSummary name: inspect_mode= - !ruby/object:RI::MethodSummary name: irb_level - !ruby/object:RI::MethodSummary name: main - !ruby/object:RI::MethodSummary name: math_mode= - !ruby/object:RI::MethodSummary name: pop_workspace - !ruby/object:RI::MethodSummary name: prompt_mode= - !ruby/object:RI::MethodSummary name: prompting? - !ruby/object:RI::MethodSummary name: push_workspace - !ruby/object:RI::MethodSummary name: save_history - !ruby/object:RI::MethodSummary name: save_history= - !ruby/object:RI::MethodSummary name: set_last_value - !ruby/object:RI::MethodSummary name: set_last_value - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: use_loader - !ruby/object:RI::MethodSummary name: use_loader= - !ruby/object:RI::MethodSummary name: use_loader? - !ruby/object:RI::MethodSummary name: use_readline= - !ruby/object:RI::MethodSummary name: use_tracer= - !ruby/object:RI::MethodSummary name: verbose? - !ruby/object:RI::MethodSummary name: workspaces name: Context superclass: Object ri/1.8/system/IRB/Context/home_workspace-i.yaml 0000644 00000000274 15217654530 0015203 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#home_workspace is_singleton: false name: home_workspace params: () visibility: public ri/1.8/system/IRB/Context/math_mode%3d-i.yaml 0000644 00000000267 15217654530 0014430 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#math_mode= is_singleton: false name: math_mode= params: (opt) visibility: public ri/1.8/system/IRB/Context/change_workspace-i.yaml 0000644 00000000306 15217654530 0015474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#change_workspace is_singleton: false name: change_workspace params: (*_main) visibility: public ri/1.8/system/IRB/Context/pop_workspace-i.yaml 0000644 00000000272 15217654530 0015047 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#pop_workspace is_singleton: false name: pop_workspace params: () visibility: public ri/1.8/system/IRB/Context/inspect_mode%3d-i.yaml 0000644 00000000275 15217654530 0015143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#inspect_mode= is_singleton: false name: inspect_mode= params: (opt) visibility: public ri/1.8/system/IRB/Context/main-i.yaml 0000644 00000000250 15217654530 0013113 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#main is_singleton: false name: main params: () visibility: public ri/1.8/system/IRB/Context/use_tracer%3d-i.yaml 0000644 00000000271 15217654530 0014622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#use_tracer= is_singleton: false name: use_tracer= params: (opt) visibility: public ri/1.8/system/IRB/Context/debug_level%3d-i.yaml 0000644 00000000275 15217654530 0014747 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#debug_level= is_singleton: false name: debug_level= params: (value) visibility: public ri/1.8/system/IRB/Context/push_workspace-i.yaml 0000644 00000000302 15217654530 0015222 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Context#push_workspace is_singleton: false name: push_workspace params: (*_main) visibility: public ri/1.8/system/IRB/start-c.yaml 0000644 00000000371 15217654530 0011676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: initialize IRB and start TOP_LEVEL irb full_name: IRB::start is_singleton: true name: start params: (ap_path = nil) visibility: public ri/1.8/system/IRB/Notifier/CompositeNotifier/new-c.yaml 0000644 00000000317 15217654530 0016553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Notifier::CompositeNotifier::new is_singleton: true name: new params: (prefix, base_notifier) visibility: public ri/1.8/system/IRB/Notifier/CompositeNotifier/level%3d-i.yaml 0000644 00000000406 15217654530 0017372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #level_notifier=" full_name: IRB::Notifier::CompositeNotifier#level= is_singleton: false name: level= params: (value) visibility: public ri/1.8/system/IRB/Notifier/CompositeNotifier/level_notifier%3d-i.yaml 0000644 00000000401 15217654530 0021264 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: level= block_params: comment: full_name: IRB::Notifier::CompositeNotifier#level_notifier= is_singleton: false name: level_notifier= params: (value) visibility: public ri/1.8/system/IRB/Notifier/CompositeNotifier/def_notifier-i.yaml 0000644 00000000336 15217654530 0020426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Notifier::CompositeNotifier#def_notifier is_singleton: false name: def_notifier params: (level, prefix = "") visibility: public ri/1.8/system/IRB/Notifier/CompositeNotifier/cdesc-CompositeNotifier.yaml 0000644 00000001074 15217654530 0022264 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: level_notifier rw: R - !ruby/object:RI::Attribute comment: name: notifiers rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: IRB::Notifier::CompositeNotifier includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: def_notifier - !ruby/object:RI::MethodSummary name: level= - !ruby/object:RI::MethodSummary name: level_notifier= name: CompositeNotifier superclass: AbstructNotifier ri/1.8/system/IRB/Notifier/LeveledNotifier/new-c.yaml 0000644 00000000313 15217654530 0016165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Notifier::LeveledNotifier::new is_singleton: true name: new params: (base, level, prefix) visibility: public ri/1.8/system/IRB/Notifier/LeveledNotifier/%3c%3d%3e-i.yaml 0000644 00000000275 15217654530 0016554 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Notifier::LeveledNotifier#<=> is_singleton: false name: <=> params: (other) visibility: public ri/1.8/system/IRB/Notifier/LeveledNotifier/notify%3f-i.yaml 0000644 00000000300 15217654530 0017204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Notifier::LeveledNotifier#notify? is_singleton: false name: notify? params: () visibility: public ri/1.8/system/IRB/Notifier/LeveledNotifier/cdesc-LeveledNotifier.yaml 0000644 00000000734 15217654530 0021322 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: level rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: IRB::Notifier::LeveledNotifier includes: - !ruby/object:RI::IncludedModule name: Comparable instance_methods: - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: notify? name: LeveledNotifier superclass: AbstructNotifier ri/1.8/system/IRB/Notifier/def_notifier-i.yaml 0000644 00000000353 15217654530 0014763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Notifier#def_notifier is_singleton: false name: def_notifier params: (prefix = "", output_method = StdioOutputMethod.new) visibility: public ri/1.8/system/IRB/Notifier/AbstructNotifier/new-c.yaml 0000644 00000000316 15217654530 0016377 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Notifier::AbstructNotifier::new is_singleton: true name: new params: (prefix, base_notifier) visibility: public ri/1.8/system/IRB/Notifier/AbstructNotifier/cdesc-AbstructNotifier.yaml 0000644 00000001302 15217654530 0021730 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: prefix rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: IRB::Notifier::AbstructNotifier includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: exec_if - !ruby/object:RI::MethodSummary name: notify? - !ruby/object:RI::MethodSummary name: pp - !ruby/object:RI::MethodSummary name: ppx - !ruby/object:RI::MethodSummary name: print - !ruby/object:RI::MethodSummary name: printf - !ruby/object:RI::MethodSummary name: printn - !ruby/object:RI::MethodSummary name: puts name: AbstructNotifier superclass: Object ri/1.8/system/IRB/Notifier/AbstructNotifier/ppx-i.yaml 0000644 00000000306 15217654530 0016422 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Notifier::AbstructNotifier#ppx is_singleton: false name: ppx params: (prefix, *objs) visibility: public ri/1.8/system/IRB/Notifier/AbstructNotifier/exec_if-i.yaml 0000644 00000000350 15217654530 0017214 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (@base_notifier) comment: full_name: IRB::Notifier::AbstructNotifier#exec_if is_singleton: false name: exec_if params: () {|@base_notifier| ...} visibility: public ri/1.8/system/IRB/Notifier/AbstructNotifier/pp-i.yaml 0000644 00000000274 15217654530 0016236 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Notifier::AbstructNotifier#pp is_singleton: false name: pp params: (*objs) visibility: public ri/1.8/system/IRB/Notifier/AbstructNotifier/notify%3f-i.yaml 0000644 00000000301 15217654530 0017414 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Notifier::AbstructNotifier#notify? is_singleton: false name: notify? params: () visibility: public ri/1.8/system/IRB/Notifier/AbstructNotifier/printf-i.yaml 0000644 00000000314 15217654530 0017114 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Notifier::AbstructNotifier#printf is_singleton: false name: printf params: (format, *opts) visibility: public ri/1.8/system/IRB/Notifier/AbstructNotifier/print-i.yaml 0000644 00000000302 15217654530 0016743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Notifier::AbstructNotifier#print is_singleton: false name: print params: (*opts) visibility: public ri/1.8/system/IRB/Notifier/AbstructNotifier/puts-i.yaml 0000644 00000000300 15217654530 0016600 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Notifier::AbstructNotifier#puts is_singleton: false name: puts params: (*objs) visibility: public ri/1.8/system/IRB/Notifier/AbstructNotifier/printn-i.yaml 0000644 00000000304 15217654530 0017123 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Notifier::AbstructNotifier#printn is_singleton: false name: printn params: (*opts) visibility: public ri/1.8/system/IRB/Notifier/NoMsgNotifier/new-c.yaml 0000644 00000000266 15217654530 0015637 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Notifier::NoMsgNotifier::new is_singleton: true name: new params: () visibility: public ri/1.8/system/IRB/Notifier/NoMsgNotifier/notify%3f-i.yaml 0000644 00000000276 15217654530 0016663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Notifier::NoMsgNotifier#notify? is_singleton: false name: notify? params: () visibility: public ri/1.8/system/IRB/Notifier/NoMsgNotifier/cdesc-NoMsgNotifier.yaml 0000644 00000000471 15217654530 0020426 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: IRB::Notifier::NoMsgNotifier includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: notify? name: NoMsgNotifier superclass: LeveledNotifier ri/1.8/system/IRB/Notifier/cdesc-Notifier.yaml 0000644 00000000501 15217654530 0014731 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: D_NOMSG value: NoMsgNotifier.new full_name: IRB::Notifier includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: def_notifier name: Notifier superclass: ri/1.8/system/IRB/ReadlineInputMethod/new-c.yaml 0000644 00000000262 15217654530 0015235 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ReadlineInputMethod::new is_singleton: true name: new params: () visibility: public ri/1.8/system/IRB/ReadlineInputMethod/cdesc-ReadlineInputMethod.yaml 0000644 00000001001 15217654530 0021177 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: IRB::ReadlineInputMethod includes: - !ruby/object:RI::IncludedModule name: Readline instance_methods: - !ruby/object:RI::MethodSummary name: eof? - !ruby/object:RI::MethodSummary name: gets - !ruby/object:RI::MethodSummary name: line - !ruby/object:RI::MethodSummary name: readable_atfer_eof? name: ReadlineInputMethod superclass: InputMethod ri/1.8/system/IRB/ReadlineInputMethod/readable_atfer_eof%3f-i.yaml 0000644 00000000322 15217654530 0020516 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ReadlineInputMethod#readable_atfer_eof? is_singleton: false name: readable_atfer_eof? params: () visibility: public ri/1.8/system/IRB/ReadlineInputMethod/eof%3f-i.yaml 0000644 00000000264 15217654530 0015523 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ReadlineInputMethod#eof? is_singleton: false name: eof? params: () visibility: public ri/1.8/system/IRB/ReadlineInputMethod/gets-i.yaml 0000644 00000000264 15217654530 0015416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ReadlineInputMethod#gets is_singleton: false name: gets params: () visibility: public ri/1.8/system/IRB/ReadlineInputMethod/line-i.yaml 0000644 00000000273 15217654530 0015403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ReadlineInputMethod#line is_singleton: false name: line params: (line_no) visibility: public ri/1.8/system/IRB/rc_file_generators-c.yaml 0000644 00000000557 15217654530 0014403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "proc{|rc| rc == \"rc\" ? irbrc : irbrc+rc" comment: - !ruby/struct:SM::Flow::P body: enumerate possible rc-file base name generators full_name: IRB::rc_file_generators is_singleton: true name: rc_file_generators params: "() {|proc{|rc| rc == \"rc\" ? irbrc : irbrc+rc| ...}" visibility: public ri/1.8/system/IRB/StdioInputMethod/new-c.yaml 0000644 00000000257 15217654530 0014600 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::StdioInputMethod::new is_singleton: true name: new params: () visibility: public ri/1.8/system/IRB/StdioInputMethod/cdesc-StdioInputMethod.yaml 0000644 00000000712 15217654530 0020105 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: IRB::StdioInputMethod includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: eof? - !ruby/object:RI::MethodSummary name: gets - !ruby/object:RI::MethodSummary name: line - !ruby/object:RI::MethodSummary name: readable_atfer_eof? name: StdioInputMethod superclass: InputMethod ri/1.8/system/IRB/StdioInputMethod/readable_atfer_eof%3f-i.yaml 0000644 00000000317 15217654530 0020061 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::StdioInputMethod#readable_atfer_eof? is_singleton: false name: readable_atfer_eof? params: () visibility: public ri/1.8/system/IRB/StdioInputMethod/eof%3f-i.yaml 0000644 00000000261 15217654530 0015057 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::StdioInputMethod#eof? is_singleton: false name: eof? params: () visibility: public ri/1.8/system/IRB/StdioInputMethod/gets-i.yaml 0000644 00000000261 15217654530 0014752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::StdioInputMethod#gets is_singleton: false name: gets params: () visibility: public ri/1.8/system/IRB/StdioInputMethod/line-i.yaml 0000644 00000000270 15217654530 0014737 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::StdioInputMethod#line is_singleton: false name: line params: (line_no) visibility: public ri/1.8/system/IRB/Abort/cdesc-Abort.yaml 0000644 00000000277 15217654530 0013523 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::Abort includes: [] instance_methods: [] name: Abort superclass: Exception ri/1.8/system/IRB/setup-c.yaml 0000644 00000000336 15217654530 0011702 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: initialize config full_name: IRB::setup is_singleton: true name: setup params: (ap_path) visibility: public ri/1.8/system/IRB/cdesc-IRB.yaml 0000644 00000003710 15217654530 0012014 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: CurrentContext - !ruby/object:RI::MethodSummary name: CurrentContext - !ruby/object:RI::MethodSummary name: JobManager - !ruby/object:RI::MethodSummary name: conf - !ruby/object:RI::MethodSummary name: delete_caller - !ruby/object:RI::MethodSummary name: init_config - !ruby/object:RI::MethodSummary name: init_error - !ruby/object:RI::MethodSummary name: initialize_tracer - !ruby/object:RI::MethodSummary name: irb - !ruby/object:RI::MethodSummary name: irb_abort - !ruby/object:RI::MethodSummary name: irb_at_exit - !ruby/object:RI::MethodSummary name: irb_exit - !ruby/object:RI::MethodSummary name: load_modules - !ruby/object:RI::MethodSummary name: parse_opts - !ruby/object:RI::MethodSummary name: print_usage - !ruby/object:RI::MethodSummary name: rc_file - !ruby/object:RI::MethodSummary name: rc_file_generators - !ruby/object:RI::MethodSummary name: run_config - !ruby/object:RI::MethodSummary name: setup - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: version comment: - !ruby/struct:SM::Flow::VERB body: " irb/help.rb - print usage module\n $Release Version: 0.9.5$\n $Revision: 16857 $\n $Date: 2008-06-06 17:05:24 +0900 (Fri, 06 Jun 2008) $\n by Keiju ISHITSUKA(keiju@ishitsuka.com)\n" - !ruby/struct:SM::Flow::P body: -- constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: InputMethod - !ruby/struct:SM::Flow::VERB body: " StdioInputMethod\n FileInputMethod\n (ReadlineInputMethod)\n" name: STDIN_FILE_NAME value: "\"(line)\"" - !ruby/object:RI::Constant comment: name: FEATURE_IOPT_CHANGE_VERSION value: "\"1.9.0\"" - !ruby/object:RI::Constant comment: name: IRBRC_EXT value: "\"rc\"" full_name: IRB includes: [] instance_methods: [] name: IRB superclass: ri/1.8/system/IRB/Locale/new-c.yaml 0000644 00000000261 15217654530 0012527 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Locale::new is_singleton: true name: new params: (locale = nil) visibility: public ri/1.8/system/IRB/Locale/require-i.yaml 0000644 00000000275 15217654530 0013425 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Locale#require is_singleton: false name: require params: (file, priv = nil) visibility: public ri/1.8/system/IRB/Locale/String-i.yaml 0000644 00000000256 15217654530 0013216 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Locale#String is_singleton: false name: String params: (mes) visibility: public ri/1.8/system/IRB/Locale/lc2kconv-i.yaml 0000644 00000000264 15217654530 0013470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Locale#lc2kconv is_singleton: false name: lc2kconv params: (lang) visibility: private ri/1.8/system/IRB/Locale/load-i.yaml 0000644 00000000265 15217654530 0012667 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Locale#load is_singleton: false name: load params: (file, priv=nil) visibility: public ri/1.8/system/IRB/Locale/cdesc-Locale.yaml 0000644 00000002165 15217654530 0014001 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: lang rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: JPDefaultLocale value: "\"ja\"" - !ruby/object:RI::Constant comment: name: LOCALE_DIR value: "\"/lc/\"" full_name: IRB::Locale includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: String - !ruby/object:RI::MethodSummary name: find - !ruby/object:RI::MethodSummary name: format - !ruby/object:RI::MethodSummary name: gets - !ruby/object:RI::MethodSummary name: lc2kconv - !ruby/object:RI::MethodSummary name: lc_path - !ruby/object:RI::MethodSummary name: load - !ruby/object:RI::MethodSummary name: print - !ruby/object:RI::MethodSummary name: printf - !ruby/object:RI::MethodSummary name: puts - !ruby/object:RI::MethodSummary name: readline - !ruby/object:RI::MethodSummary name: real_load - !ruby/object:RI::MethodSummary name: require - !ruby/object:RI::MethodSummary name: search_file name: Locale superclass: Object ri/1.8/system/IRB/Locale/readline-i.yaml 0000644 00000000262 15217654530 0013530 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Locale#readline is_singleton: false name: readline params: (*rs) visibility: public ri/1.8/system/IRB/Locale/lc_path-i.yaml 0000644 00000000303 15217654530 0013353 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Locale#lc_path is_singleton: false name: lc_path params: (file = "", lc = @lang) visibility: private ri/1.8/system/IRB/Locale/printf-i.yaml 0000644 00000000260 15217654530 0013245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Locale#printf is_singleton: false name: printf params: (*opts) visibility: public ri/1.8/system/IRB/Locale/print-i.yaml 0000644 00000000256 15217654530 0013104 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Locale#print is_singleton: false name: print params: (*opts) visibility: public ri/1.8/system/IRB/Locale/puts-i.yaml 0000644 00000000254 15217654530 0012741 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Locale#puts is_singleton: false name: puts params: (*opts) visibility: public ri/1.8/system/IRB/Locale/gets-i.yaml 0000644 00000000252 15217654530 0012706 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Locale#gets is_singleton: false name: gets params: (*rs) visibility: public ri/1.8/system/IRB/Locale/format-i.yaml 0000644 00000000260 15217654530 0013233 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Locale#format is_singleton: false name: format params: (*opts) visibility: public ri/1.8/system/IRB/Locale/real_load-i.yaml 0000644 00000000274 15217654530 0013672 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Locale#real_load is_singleton: false name: real_load params: (path, priv) visibility: private ri/1.8/system/IRB/Locale/search_file-i.yaml 0000644 00000000300 15217654530 0014202 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Locale#search_file is_singleton: false name: search_file params: (path, file) visibility: private ri/1.8/system/IRB/Locale/find-i.yaml 0000644 00000000270 15217654530 0012664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Locale#find is_singleton: false name: find params: (file , paths = $:) visibility: public ri/1.8/system/IRB/InputMethod/new-c.yaml 0000644 00000000300 15217654530 0013562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::InputMethod::new is_singleton: true name: new params: (file = STDIN_FILE_NAME) visibility: public ri/1.8/system/IRB/InputMethod/readable_atfer_eof%3f-i.yaml 0000644 00000000312 15217654530 0017051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::InputMethod#readable_atfer_eof? is_singleton: false name: readable_atfer_eof? params: () visibility: public ri/1.8/system/IRB/InputMethod/cdesc-InputMethod.yaml 0000644 00000000740 15217654530 0016100 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: file_name rw: R - !ruby/object:RI::Attribute comment: name: prompt rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: IRB::InputMethod includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: gets - !ruby/object:RI::MethodSummary name: readable_atfer_eof? name: InputMethod superclass: Object ri/1.8/system/IRB/InputMethod/gets-i.yaml 0000644 00000000254 15217654530 0013751 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::InputMethod#gets is_singleton: false name: gets params: () visibility: public ri/1.8/system/IRB/irb_exit-c.yaml 0000644 00000000257 15217654530 0012351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::irb_exit is_singleton: true name: irb_exit params: (irb, ret) visibility: public ri/1.8/system/IRB/ExtendCommandBundle/cdesc-ExtendCommandBundle.yaml 0000644 00000002117 15217654530 0021140 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: def_extend_command - !ruby/object:RI::MethodSummary name: extend_object - !ruby/object:RI::MethodSummary name: install_extend_commands - !ruby/object:RI::MethodSummary name: irb_original_method_name comment: - !ruby/struct:SM::Flow::P body: IRB extended command constants: - !ruby/object:RI::Constant comment: name: EXCB value: ExtendCommandBundle - !ruby/object:RI::Constant comment: name: NO_OVERRIDE value: "0" - !ruby/object:RI::Constant comment: name: OVERRIDE_PRIVATE_ONLY value: "0x01" - !ruby/object:RI::Constant comment: name: OVERRIDE_ALL value: "0x02" full_name: IRB::ExtendCommandBundle includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: install_alias_method - !ruby/object:RI::MethodSummary name: irb_context - !ruby/object:RI::MethodSummary name: irb_exit - !ruby/object:RI::MethodSummary name: irb_load - !ruby/object:RI::MethodSummary name: irb_require name: ExtendCommandBundle superclass: ri/1.8/system/IRB/ExtendCommandBundle/irb_original_method_name-c.yaml 0000644 00000000347 15217654530 0021424 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommandBundle::irb_original_method_name is_singleton: true name: irb_original_method_name params: (method_name) visibility: public ri/1.8/system/IRB/ExtendCommandBundle/install_extend_commands-c.yaml 0000644 00000000332 15217654530 0021314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommandBundle::install_extend_commands is_singleton: true name: install_extend_commands params: () visibility: public ri/1.8/system/IRB/ExtendCommandBundle/extend_object-c.yaml 0000644 00000000311 15217654530 0017230 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommandBundle::extend_object is_singleton: true name: extend_object params: (obj) visibility: public ri/1.8/system/IRB/ExtendCommandBundle/def_extend_command-c.yaml 0000644 00000000510 15217654530 0020217 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: aliases = [commands_alias, flag], ... full_name: IRB::ExtendCommandBundle::def_extend_command is_singleton: true name: def_extend_command params: (cmd_name, cmd_class, load_file = nil, *aliases) visibility: public ri/1.8/system/IRB/ExtendCommandBundle/irb_load-i.yaml 0000644 00000000305 15217654530 0016177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommandBundle#irb_load is_singleton: false name: irb_load params: (*opts, &b) visibility: public ri/1.8/system/IRB/ExtendCommandBundle/irb_exit-i.yaml 0000644 00000000303 15217654530 0016227 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommandBundle#irb_exit is_singleton: false name: irb_exit params: (ret = 0) visibility: public ri/1.8/system/IRB/ExtendCommandBundle/install_alias_method-i.yaml 0000644 00000000526 15217654530 0020610 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: override = {NO_OVERRIDE, OVERRIDE_PRIVATE_ONLY, OVERRIDE_ALL} full_name: IRB::ExtendCommandBundle#install_alias_method is_singleton: false name: install_alias_method params: (to, from, override = NO_OVERRIDE) visibility: public ri/1.8/system/IRB/ExtendCommandBundle/irb_context-i.yaml 0000644 00000000302 15217654530 0016741 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommandBundle#irb_context is_singleton: false name: irb_context params: () visibility: public ri/1.8/system/IRB/ExtendCommandBundle/irb_require-i.yaml 0000644 00000000313 15217654530 0016733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommandBundle#irb_require is_singleton: false name: irb_require params: (*opts, &b) visibility: public ri/1.8/system/IRB/WorkSpace/new-c.yaml 0000644 00000000464 15217654530 0013233 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: create new workspace. set self to main if specified, otherwise inherit main from TOPLEVEL_BINDING. full_name: IRB::WorkSpace::new is_singleton: true name: new params: (*main) visibility: public ri/1.8/system/IRB/WorkSpace/evaluate-i.yaml 0000644 00000000335 15217654530 0014253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::WorkSpace#evaluate is_singleton: false name: evaluate params: (context, statements, file = nil, line = nil) visibility: public ri/1.8/system/IRB/WorkSpace/__evaluate__-i.yaml 0000644 00000000451 15217654530 0015046 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #evaluate" full_name: IRB::WorkSpace#__evaluate__ is_singleton: false name: __evaluate__ params: (context, statements, file = __FILE__, line = __LINE__) visibility: public ri/1.8/system/IRB/WorkSpace/filter_backtrace-i.yaml 0000644 00000000402 15217654530 0015724 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: error message manipulator full_name: IRB::WorkSpace#filter_backtrace is_singleton: false name: filter_backtrace params: (bt) visibility: public ri/1.8/system/IRB/WorkSpace/cdesc-WorkSpace.yaml 0000644 00000001102 15217654530 0015165 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: binding rw: R - !ruby/object:RI::Attribute comment: name: main rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: IRB::WorkSpace includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: __evaluate__ - !ruby/object:RI::MethodSummary name: evaluate - !ruby/object:RI::MethodSummary name: evaluate - !ruby/object:RI::MethodSummary name: filter_backtrace name: WorkSpace superclass: Object ri/1.8/system/IRB/InputCompletor/select_message-c.yaml 0000644 00000000340 15217654530 0016504 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::InputCompletor::select_message is_singleton: true name: select_message params: (receiver, message, candidates) visibility: public ri/1.8/system/IRB/InputCompletor/cdesc-InputCompletor.yaml 0000644 00000002277 15217654530 0017357 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: select_message comment: constants: - !ruby/object:RI::Constant comment: name: ReservedWords value: "[ \"BEGIN\", \"END\", \"alias\", \"and\", \"begin\", \"break\", \"case\", \"class\", \"def\", \"defined\", \"do\", \"else\", \"elsif\", \"end\", \"ensure\", \"false\", \"for\", \"if\", \"in\", \"module\", \"next\", \"nil\", \"not\", \"or\", \"redo\", \"rescue\", \"retry\", \"return\", \"self\", \"super\", \"then\", \"true\", \"undef\", \"unless\", \"until\", \"when\", \"while\", \"yield\", ]" - !ruby/object:RI::Constant comment: name: CompletionProc value: proc { |input| bind = IRB.conf[:MAIN_CONTEXT].workspace.binding - !ruby/object:RI::Constant comment: name: Operators value: "[\"%\", \"&\", \"*\", \"**\", \"+\", \"-\", \"/\", \"<\", \"<<\", \"<=\", \"<=>\", \"==\", \"===\", \"=~\", \">\", \">=\", \">>\", \"[]\", \"[]=\", \"^\",]" full_name: IRB::InputCompletor includes: [] instance_methods: [] name: InputCompletor superclass: ri/1.8/system/IRB/irb_at_exit-c.yaml 0000644 00000000255 15217654530 0013033 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::irb_at_exit is_singleton: true name: irb_at_exit params: () visibility: public ri/1.8/system/IRB/ExtendCommand/PushWorkspace/execute-i.yaml 0000644 00000000307 15217654530 0017534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommand::PushWorkspace#execute is_singleton: false name: execute params: (*obj) visibility: public ri/1.8/system/IRB/ExtendCommand/PushWorkspace/cdesc-PushWorkspace.yaml 0000644 00000000416 15217654530 0021522 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::ExtendCommand::PushWorkspace includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: execute name: PushWorkspace superclass: Workspaces ri/1.8/system/IRB/ExtendCommand/Fork/execute-i.yaml 0000644 00000000313 15217654530 0015634 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: full_name: IRB::ExtendCommand::Fork#execute is_singleton: false name: execute params: (&block) {|| ...} visibility: public ri/1.8/system/IRB/ExtendCommand/Fork/cdesc-Fork.yaml 0000644 00000000365 15217654530 0015733 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::ExtendCommand::Fork includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: execute name: Fork superclass: Nop ri/1.8/system/IRB/ExtendCommand/Workspaces/execute-i.yaml 0000644 00000000304 15217654530 0017054 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommand::Workspaces#execute is_singleton: false name: execute params: (*obj) visibility: public ri/1.8/system/IRB/ExtendCommand/Workspaces/cdesc-Workspaces.yaml 0000644 00000000401 15217654530 0020362 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::ExtendCommand::Workspaces includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: execute name: Workspaces superclass: Nop ri/1.8/system/IRB/ExtendCommand/Foreground/execute-i.yaml 0000644 00000000303 15217654530 0017044 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommand::Foreground#execute is_singleton: false name: execute params: (key) visibility: public ri/1.8/system/IRB/ExtendCommand/Foreground/cdesc-Foreground.yaml 0000644 00000000401 15217654530 0020344 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::ExtendCommand::Foreground includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: execute name: Foreground superclass: Nop ri/1.8/system/IRB/ExtendCommand/cdesc-ExtendCommand.yaml 0000644 00000000306 15217654530 0016652 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::ExtendCommand includes: [] instance_methods: [] name: ExtendCommand superclass: ri/1.8/system/IRB/ExtendCommand/Load/execute-i.yaml 0000644 00000000317 15217654530 0015616 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommand::Load#execute is_singleton: false name: execute params: (file_name, priv = nil) visibility: public ri/1.8/system/IRB/ExtendCommand/Load/cdesc-Load.yaml 0000644 00000000447 15217654530 0015670 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::ExtendCommand::Load includes: - !ruby/object:RI::IncludedModule name: IrbLoader instance_methods: - !ruby/object:RI::MethodSummary name: execute name: Load superclass: Nop ri/1.8/system/IRB/ExtendCommand/Nop/irb-i.yaml 0000644 00000000261 15217654530 0014603 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommand::Nop#irb is_singleton: false name: irb params: () visibility: public ri/1.8/system/IRB/ExtendCommand/Nop/new-c.yaml 0000644 00000000265 15217654530 0014616 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommand::Nop::new is_singleton: true name: new params: (conf) visibility: public ri/1.8/system/IRB/ExtendCommand/Nop/cdesc-Nop.yaml 0000644 00000000704 15217654530 0015416 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: irb_context rw: R class_methods: - !ruby/object:RI::MethodSummary name: execute - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: IRB::ExtendCommand::Nop includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: execute - !ruby/object:RI::MethodSummary name: irb name: Nop superclass: Object ri/1.8/system/IRB/ExtendCommand/Nop/execute-i.yaml 0000644 00000000276 15217654530 0015477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommand::Nop#execute is_singleton: false name: execute params: (*opts) visibility: public ri/1.8/system/IRB/ExtendCommand/Nop/execute-c.yaml 0000644 00000000304 15217654530 0015461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommand::Nop::execute is_singleton: true name: execute params: (conf, *opts) visibility: public ri/1.8/system/IRB/ExtendCommand/IrbCommand/execute-i.yaml 0000644 00000000304 15217654530 0016746 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommand::IrbCommand#execute is_singleton: false name: execute params: (*obj) visibility: public ri/1.8/system/IRB/ExtendCommand/IrbCommand/cdesc-IrbCommand.yaml 0000644 00000000401 15217654530 0020146 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::ExtendCommand::IrbCommand includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: execute name: IrbCommand superclass: Nop ri/1.8/system/IRB/ExtendCommand/Source/execute-i.yaml 0000644 00000000305 15217654530 0016174 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommand::Source#execute is_singleton: false name: execute params: (file_name) visibility: public ri/1.8/system/IRB/ExtendCommand/Source/cdesc-Source.yaml 0000644 00000000453 15217654530 0016627 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::ExtendCommand::Source includes: - !ruby/object:RI::IncludedModule name: IrbLoader instance_methods: - !ruby/object:RI::MethodSummary name: execute name: Source superclass: Nop ri/1.8/system/IRB/ExtendCommand/PopWorkspace/execute-i.yaml 0000644 00000000306 15217654530 0017352 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommand::PopWorkspace#execute is_singleton: false name: execute params: (*obj) visibility: public ri/1.8/system/IRB/ExtendCommand/PopWorkspace/cdesc-PopWorkspace.yaml 0000644 00000000414 15217654530 0021156 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::ExtendCommand::PopWorkspace includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: execute name: PopWorkspace superclass: Workspaces ri/1.8/system/IRB/ExtendCommand/Jobs/execute-i.yaml 0000644 00000000272 15217654530 0015634 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommand::Jobs#execute is_singleton: false name: execute params: () visibility: public ri/1.8/system/IRB/ExtendCommand/Jobs/cdesc-Jobs.yaml 0000644 00000000365 15217654530 0015723 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::ExtendCommand::Jobs includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: execute name: Jobs superclass: Nop ri/1.8/system/IRB/ExtendCommand/ChangeWorkspace/execute-i.yaml 0000644 00000000311 15217654530 0017775 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommand::ChangeWorkspace#execute is_singleton: false name: execute params: (*obj) visibility: public ri/1.8/system/IRB/ExtendCommand/ChangeWorkspace/cdesc-ChangeWorkspace.yaml 0000644 00000000413 15217654530 0022233 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::ExtendCommand::ChangeWorkspace includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: execute name: ChangeWorkspace superclass: Nop ri/1.8/system/IRB/ExtendCommand/Help/cdesc-Help.yaml 0000644 00000000362 15217654530 0015706 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: execute comment: constants: [] full_name: IRB::ExtendCommand::Help includes: [] instance_methods: [] name: Help superclass: ri/1.8/system/IRB/ExtendCommand/Help/execute-c.yaml 0000644 00000000311 15217654530 0015613 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommand::Help::execute is_singleton: true name: execute params: (context, *names) visibility: public ri/1.8/system/IRB/ExtendCommand/Kill/execute-i.yaml 0000644 00000000277 15217654530 0015637 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommand::Kill#execute is_singleton: false name: execute params: (*keys) visibility: public ri/1.8/system/IRB/ExtendCommand/Kill/cdesc-Kill.yaml 0000644 00000000365 15217654530 0015717 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::ExtendCommand::Kill includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: execute name: Kill superclass: Nop ri/1.8/system/IRB/ExtendCommand/CurrentWorkingWorkspace/execute-i.yaml 0000644 00000000321 15217654530 0021574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommand::CurrentWorkingWorkspace#execute is_singleton: false name: execute params: (*obj) visibility: public ri/1.8/system/IRB/ExtendCommand/CurrentWorkingWorkspace/cdesc-CurrentWorkingWorkspace.yaml 0000644 00000000433 15217654530 0025631 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::ExtendCommand::CurrentWorkingWorkspace includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: execute name: CurrentWorkingWorkspace superclass: Nop ri/1.8/system/IRB/ExtendCommand/Require/execute-i.yaml 0000644 00000000306 15217654530 0016351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ExtendCommand::Require#execute is_singleton: false name: execute params: (file_name) visibility: public ri/1.8/system/IRB/ExtendCommand/Require/cdesc-Require.yaml 0000644 00000000455 15217654530 0017161 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::ExtendCommand::Require includes: - !ruby/object:RI::IncludedModule name: IrbLoader instance_methods: - !ruby/object:RI::MethodSummary name: execute name: Require superclass: Nop ri/1.8/system/IRB/ContextExtender/install_extend_commands-c.yaml 0000644 00000000326 15217654530 0020562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ContextExtender::install_extend_commands is_singleton: true name: install_extend_commands params: () visibility: public ri/1.8/system/IRB/ContextExtender/def_extend_command-c.yaml 0000644 00000000351 15217654530 0017465 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::ContextExtender::def_extend_command is_singleton: true name: def_extend_command params: (cmd_name, load_file, *aliases) visibility: public ri/1.8/system/IRB/ContextExtender/cdesc-ContextExtender.yaml 0000644 00000000722 15217654530 0017646 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: def_extend_command - !ruby/object:RI::MethodSummary name: install_extend_commands comment: - !ruby/struct:SM::Flow::P body: extension support for Context constants: - !ruby/object:RI::Constant comment: name: CE value: ContextExtender full_name: IRB::ContextExtender includes: [] instance_methods: [] name: ContextExtender superclass: ri/1.8/system/IRB/HistorySavingAbility/save_history-i.yaml 0000644 00000000305 15217654530 0017412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::HistorySavingAbility#save_history is_singleton: false name: save_history params: () visibility: public ri/1.8/system/IRB/HistorySavingAbility/cdesc-HistorySavingAbility.yaml 0000644 00000000640 15217654530 0021655 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: extended comment: constants: [] full_name: IRB::HistorySavingAbility includes: - !ruby/object:RI::IncludedModule name: Readline instance_methods: - !ruby/object:RI::MethodSummary name: load_history - !ruby/object:RI::MethodSummary name: save_history name: HistorySavingAbility superclass: ri/1.8/system/IRB/HistorySavingAbility/extended-c.yaml 0000644 00000001253 15217654530 0016470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: def HistorySavingAbility.create_finalizer - !ruby/struct:SM::Flow::VERB body: " proc do\n if num = IRB.conf[:SAVE_HISTORY] and (num = num.to_i) > 0\n if hf = IRB.conf[:HISTORY_FILE]\n file = File.expand_path(hf)\n end\n file = IRB.rc_file("_history") unless file\n open(file, 'w' ) do |f|\n hist = HISTORY.to_a\n f.puts(hist[-num..-1] || hist)\n end\n end\n end\n" - !ruby/struct:SM::Flow::P body: end full_name: IRB::HistorySavingAbility::extended is_singleton: true name: extended params: (obj) visibility: public ri/1.8/system/IRB/HistorySavingAbility/load_history-i.yaml 0000644 00000000305 15217654530 0017373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::HistorySavingAbility#load_history is_singleton: false name: load_history params: () visibility: public ri/1.8/system/IRB/Irb/new-c.yaml 0000644 00000000332 15217654530 0012043 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Irb::new is_singleton: true name: new params: (workspace = nil, input_method = nil, output_method = nil) visibility: public ri/1.8/system/IRB/Irb/signal_status-i.yaml 0000644 00000000377 15217654530 0014151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: if @signal_status == :IN_LOAD comment: full_name: IRB::Irb#signal_status is_singleton: false name: signal_status params: (status) {|if @signal_status == :IN_LOAD| ...} visibility: public ri/1.8/system/IRB/Irb/eval_input-i.yaml 0000644 00000000260 15217654530 0013426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Irb#eval_input is_singleton: false name: eval_input params: () visibility: public ri/1.8/system/IRB/Irb/suspend_workspace-i.yaml 0000644 00000000354 15217654530 0015023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: back_workspace comment: full_name: IRB::Irb#suspend_workspace is_singleton: false name: suspend_workspace params: (workspace) {|back_workspace| ...} visibility: public ri/1.8/system/IRB/Irb/suspend_input_method-i.yaml 0000644 00000000347 15217654530 0015526 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: back_io comment: full_name: IRB::Irb#suspend_input_method is_singleton: false name: suspend_input_method params: (input_method) {|back_io| ...} visibility: public ri/1.8/system/IRB/Irb/inspect-i.yaml 0000644 00000000252 15217654530 0012726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Irb#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/IRB/Irb/cdesc-Irb.yaml 0000644 00000002006 15217654530 0012625 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: context rw: R - !ruby/object:RI::Attribute comment: name: scanner rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: irb interpriter main routine constants: [] full_name: IRB::Irb includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: eval_input - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: output_value - !ruby/object:RI::MethodSummary name: prompt - !ruby/object:RI::MethodSummary name: signal_handle - !ruby/object:RI::MethodSummary name: signal_handle - !ruby/object:RI::MethodSummary name: signal_status - !ruby/object:RI::MethodSummary name: suspend_context - !ruby/object:RI::MethodSummary name: suspend_input_method - !ruby/object:RI::MethodSummary name: suspend_name - !ruby/object:RI::MethodSummary name: suspend_workspace name: Irb superclass: Object ri/1.8/system/IRB/Irb/prompt-i.yaml 0000644 00000000306 15217654530 0012602 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Irb#prompt is_singleton: false name: prompt params: (prompt, ltype, indent, line_no) visibility: public ri/1.8/system/IRB/Irb/suspend_name-i.yaml 0000644 00000000373 15217654530 0013746 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: back_path, back_name comment: full_name: IRB::Irb#suspend_name is_singleton: false name: suspend_name params: (path = nil, name = nil) {|back_path, back_name| ...} visibility: public ri/1.8/system/IRB/Irb/output_value-i.yaml 0000644 00000000264 15217654530 0014020 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Irb#output_value is_singleton: false name: output_value params: () visibility: public ri/1.8/system/IRB/Irb/suspend_context-i.yaml 0000644 00000000342 15217654530 0014506 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: back_context comment: full_name: IRB::Irb#suspend_context is_singleton: false name: suspend_context params: (context) {|back_context| ...} visibility: public ri/1.8/system/IRB/Irb/signal_handle-i.yaml 0000644 00000000266 15217654530 0014056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::Irb#signal_handle is_singleton: false name: signal_handle params: () visibility: public ri/1.8/system/IRB/run_config-c.yaml 0000644 00000000336 15217654530 0012673 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: running config full_name: IRB::run_config is_singleton: true name: run_config params: () visibility: public ri/1.8/system/IRB/JobManager/irb-i.yaml 0000644 00000000254 15217654530 0013330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::JobManager#irb is_singleton: false name: irb params: (key) visibility: public ri/1.8/system/IRB/JobManager/new-c.yaml 0000644 00000000251 15217654530 0013334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::JobManager::new is_singleton: true name: new params: () visibility: public ri/1.8/system/IRB/JobManager/switch-i.yaml 0000644 00000000262 15217654530 0014054 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::JobManager#switch is_singleton: false name: switch params: (key) visibility: public ri/1.8/system/IRB/JobManager/thread-i.yaml 0000644 00000000262 15217654530 0014022 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::JobManager#thread is_singleton: false name: thread params: (key) visibility: public ri/1.8/system/IRB/JobManager/delete-i.yaml 0000644 00000000262 15217654530 0014015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::JobManager#delete is_singleton: false name: delete params: (key) visibility: public ri/1.8/system/IRB/JobManager/main_thread-i.yaml 0000644 00000000271 15217654530 0015026 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::JobManager#main_thread is_singleton: false name: main_thread params: () visibility: public ri/1.8/system/IRB/JobManager/kill-i.yaml 0000644 00000000260 15217654530 0013504 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::JobManager#kill is_singleton: false name: kill params: (*keys) visibility: public ri/1.8/system/IRB/JobManager/insert-i.yaml 0000644 00000000262 15217654530 0014057 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::JobManager#insert is_singleton: false name: insert params: (irb) visibility: public ri/1.8/system/IRB/JobManager/search-i.yaml 0000644 00000000262 15217654530 0014020 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::JobManager#search is_singleton: false name: search params: (key) visibility: public ri/1.8/system/IRB/JobManager/main_irb-i.yaml 0000644 00000000263 15217654530 0014334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::JobManager#main_irb is_singleton: false name: main_irb params: () visibility: public ri/1.8/system/IRB/JobManager/n_jobs-i.yaml 0000644 00000000257 15217654530 0014031 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::JobManager#n_jobs is_singleton: false name: n_jobs params: () visibility: public ri/1.8/system/IRB/JobManager/cdesc-JobManager.yaml 0000644 00000001611 15217654530 0015410 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: current_job rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: job management class constants: [] full_name: IRB::JobManager includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: insert - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: irb - !ruby/object:RI::MethodSummary name: kill - !ruby/object:RI::MethodSummary name: main_irb - !ruby/object:RI::MethodSummary name: main_thread - !ruby/object:RI::MethodSummary name: n_jobs - !ruby/object:RI::MethodSummary name: search - !ruby/object:RI::MethodSummary name: switch - !ruby/object:RI::MethodSummary name: thread name: JobManager superclass: Object ri/1.8/system/IRB/JobManager/inspect-i.yaml 0000644 00000000261 15217654530 0014217 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::JobManager#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/IRB/version-c.yaml 0000644 00000000334 15217654530 0012225 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: IRB version method full_name: IRB::version is_singleton: true name: version params: () visibility: public ri/1.8/system/IRB/SLex/new-c.yaml 0000644 00000000243 15217654530 0012203 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::SLex::new is_singleton: true name: new params: () visibility: public ri/1.8/system/IRB/SLex/cdesc-SLex.yaml 0000644 00000002004 15217654530 0013121 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: DOUT value: Notifier::def_notifier("SLex::") - !ruby/object:RI::Constant comment: name: D_WARN value: "DOUT::def_notifier(1, \"Warn: \")" - !ruby/object:RI::Constant comment: name: D_DEBUG value: "DOUT::def_notifier(2, \"Debug: \")" - !ruby/object:RI::Constant comment: name: D_DETAIL value: "DOUT::def_notifier(4, \"Detail: \")" full_name: IRB::SLex includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: create - !ruby/object:RI::MethodSummary name: def_rule - !ruby/object:RI::MethodSummary name: def_rules - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: match - !ruby/object:RI::MethodSummary name: postproc - !ruby/object:RI::MethodSummary name: preproc - !ruby/object:RI::MethodSummary name: search name: SLex superclass: Object ri/1.8/system/IRB/SLex/search-i.yaml 0000644 00000000256 15217654530 0012671 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::SLex#search is_singleton: false name: search params: (token) visibility: public ri/1.8/system/IRB/SLex/Node/new-c.yaml 0000644 00000000517 15217654530 0013074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: if postproc is nil, this node is an abstract node. if postproc is non-nil, this node is a real node. full_name: IRB::SLex::Node::new is_singleton: true name: new params: (preproc = nil, postproc = nil) visibility: public ri/1.8/system/IRB/SLex/Node/match_io-i.yaml 0000644 00000000276 15217654530 0014076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::SLex::Node#match_io is_singleton: false name: match_io params: (io, op = "") visibility: public ri/1.8/system/IRB/SLex/Node/search-i.yaml 0000644 00000000276 15217654530 0013560 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::SLex::Node#search is_singleton: false name: search params: (chrs, opt = nil) visibility: public ri/1.8/system/IRB/SLex/Node/create_subnode-i.yaml 0000644 00000000342 15217654530 0015267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::SLex::Node#create_subnode is_singleton: false name: create_subnode params: (chrs, preproc = nil, postproc = nil) visibility: public ri/1.8/system/IRB/SLex/Node/cdesc-Node.yaml 0000644 00000001071 15217654530 0014023 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: postproc rw: RW - !ruby/object:RI::Attribute comment: name: preproc rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: IRB::SLex::Node includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: create_subnode - !ruby/object:RI::MethodSummary name: match - !ruby/object:RI::MethodSummary name: match_io - !ruby/object:RI::MethodSummary name: search name: Node superclass: Object ri/1.8/system/IRB/SLex/Node/match-i.yaml 0000644 00000000634 15217654530 0013405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "chrs: String" - !ruby/struct:SM::Flow::VERB body: " character array\n io must have getc()/ungetc(); and ungetc() must be\n able to be called arbitrary number of times.\n" full_name: IRB::SLex::Node#match is_singleton: false name: match params: (chrs, op = "") visibility: public ri/1.8/system/IRB/SLex/inspect-i.yaml 0000644 00000000253 15217654530 0013066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::SLex#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/IRB/SLex/preproc-i.yaml 0000644 00000000266 15217654530 0013077 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::SLex#preproc is_singleton: false name: preproc params: (token, proc) visibility: public ri/1.8/system/IRB/SLex/def_rule-i.yaml 0000644 00000000331 15217654530 0013203 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::SLex#def_rule is_singleton: false name: def_rule params: (token, preproc = nil, postproc = nil, &block) visibility: public ri/1.8/system/IRB/SLex/postproc-i.yaml 0000644 00000000354 15217654530 0013274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "\e$BMW%A%'%C%/\e(B?" full_name: IRB::SLex#postproc is_singleton: false name: postproc params: (token) visibility: public ri/1.8/system/IRB/SLex/create-i.yaml 0000644 00000000315 15217654530 0012663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::SLex#create is_singleton: false name: create params: (token, preproc = nil, postproc = nil) visibility: public ri/1.8/system/IRB/SLex/match-i.yaml 0000644 00000000254 15217654530 0012516 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::SLex#match is_singleton: false name: match params: (token) visibility: public ri/1.8/system/IRB/SLex/def_rules-i.yaml 0000644 00000000276 15217654530 0013376 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::SLex#def_rules is_singleton: false name: def_rules params: (*tokens, &block) visibility: public ri/1.8/system/IRB/parse_opts-c.yaml 0000644 00000000340 15217654530 0012714 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: option analyzing full_name: IRB::parse_opts is_singleton: true name: parse_opts params: () visibility: public ri/1.8/system/IRB/delete_caller-c.yaml 0000644 00000000261 15217654530 0013323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::delete_caller is_singleton: true name: delete_caller params: () visibility: public ri/1.8/system/IRB/print_usage-c.yaml 0000644 00000000255 15217654530 0013062 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::print_usage is_singleton: true name: print_usage params: () visibility: public ri/1.8/system/IRB/MethodExtender/def_pre_proc-i.yaml 0000644 00000000331 15217654530 0016111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::MethodExtender#def_pre_proc is_singleton: false name: def_pre_proc params: (base_method, extend_method) visibility: public ri/1.8/system/IRB/MethodExtender/cdesc-MethodExtender.yaml 0000644 00000000555 15217654530 0017242 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: IRB::MethodExtender includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: def_post_proc - !ruby/object:RI::MethodSummary name: def_pre_proc - !ruby/object:RI::MethodSummary name: new_alias_name name: MethodExtender superclass: ri/1.8/system/IRB/MethodExtender/def_post_proc-i.yaml 0000644 00000000333 15217654530 0016312 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IRB::MethodExtender#def_post_proc is_singleton: false name: def_post_proc params: (base_method, extend_method) visibility: public ri/1.8/system/IRB/MethodExtender/new_alias_name-i.yaml 0000644 00000000503 15217654530 0016425 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "return #{prefix}#{name}#{postfix}<num>" full_name: IRB::MethodExtender#new_alias_name is_singleton: false name: new_alias_name params: (name, prefix = "__alias_of__", postfix = "__") visibility: public ri/1.8/system/TailGroup/cdesc-TailGroup.yaml 0000644 00000000315 15217654530 0014576 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: TailGroup includes: [] instance_methods: [] name: TailGroup superclass: Test::Unit::TestCase ri/1.8/system/WEBrick/SimpleServer/start-c.yaml 0000644 00000000276 15217654530 0015174 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: full_name: WEBrick::SimpleServer::start is_singleton: true name: start params: () {|| ...} visibility: public ri/1.8/system/WEBrick/SimpleServer/cdesc-SimpleServer.yaml 0000644 00000000373 15217654530 0017314 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: start comment: constants: [] full_name: WEBrick::SimpleServer includes: [] instance_methods: [] name: SimpleServer superclass: Object ri/1.8/system/WEBrick/cdesc-WEBrick.yaml 0000644 00000001642 15217654530 0013542 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: accesslog.rb -- Access log handling utilities - !ruby/struct:SM::Flow::P body: "Author: IPR -- Internet Programming with Ruby -- writers Copyright (c) 2002 keita yamaguchi Copyright (c) 2002 Internet Programming with Ruby writers" - !ruby/struct:SM::Flow::P body: "$IPR: accesslog.rb,v 1.1 2002/10/01 17:16:32 gotoyuzo Exp $" constants: - !ruby/object:RI::Constant comment: name: NullReader value: Object.new - !ruby/object:RI::Constant comment: name: VERSION value: "\"1.3.1\"" - !ruby/object:RI::Constant comment: name: CR value: "\"\\x0d\"" - !ruby/object:RI::Constant comment: name: LF value: "\"\\x0a\"" - !ruby/object:RI::Constant comment: name: CRLF value: "\"\\x0d\\x0a\"" full_name: WEBrick includes: [] instance_methods: [] name: WEBrick superclass: ri/1.8/system/WEBrick/HTTPServerError/cdesc-HTTPServerError.yaml 0000644 00000000331 15217654530 0020206 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WEBrick::HTTPServerError includes: [] instance_methods: [] name: HTTPServerError superclass: ServerError ri/1.8/system/WEBrick/HTMLUtils/cdesc-HTMLUtils.yaml 0000644 00000000360 15217654530 0015622 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WEBrick::HTMLUtils includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: escape name: HTMLUtils superclass: ri/1.8/system/WEBrick/HTMLUtils/escape-i.yaml 0000644 00000000270 15217654530 0014444 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTMLUtils#escape is_singleton: false name: escape params: (string) visibility: public ri/1.8/system/WEBrick/Daemon/cdesc-Daemon.yaml 0000644 00000000357 15217654530 0014664 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: start comment: constants: [] full_name: WEBrick::Daemon includes: [] instance_methods: [] name: Daemon superclass: Object ri/1.8/system/WEBrick/Daemon/start-c.yaml 0000644 00000000324 15217654530 0013751 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: if block_given? comment: full_name: WEBrick::Daemon::start is_singleton: true name: start params: () {|if block_given?| ...} visibility: public ri/1.8/system/WEBrick/HTTPStatus/server_error%3f-i.yaml 0000644 00000000305 15217654530 0016416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPStatus#server_error? is_singleton: false name: server_error? params: (code) visibility: public ri/1.8/system/WEBrick/HTTPStatus/%5b%5d-c.yaml 0000644 00000000261 15217654530 0014245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPStatus::[] is_singleton: true name: "[]" params: (code) visibility: public ri/1.8/system/WEBrick/HTTPStatus/EOFError/cdesc-EOFError.yaml 0000644 00000000331 15217654530 0017277 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WEBrick::HTTPStatus::EOFError includes: [] instance_methods: [] name: EOFError superclass: StandardError ri/1.8/system/WEBrick/HTTPStatus/Success/cdesc-Success.yaml 0000644 00000000320 15217654530 0017247 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WEBrick::HTTPStatus::Success includes: [] instance_methods: [] name: Success superclass: Status ri/1.8/system/WEBrick/HTTPStatus/ClientError/cdesc-ClientError.yaml 0000644 00000000327 15217654530 0020716 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WEBrick::HTTPStatus::ClientError includes: [] instance_methods: [] name: ClientError superclass: Error ri/1.8/system/WEBrick/HTTPStatus/success%3f-i.yaml 0000644 00000000273 15217654530 0015353 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPStatus#success? is_singleton: false name: success? params: (code) visibility: public ri/1.8/system/WEBrick/HTTPStatus/client_error%3f-i.yaml 0000644 00000000305 15217654530 0016366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPStatus#client_error? is_singleton: false name: client_error? params: (code) visibility: public ri/1.8/system/WEBrick/HTTPStatus/Status/new-c.yaml 0000644 00000000272 15217654530 0015452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPStatus::Status::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/WEBrick/HTTPStatus/Status/cdesc-Status.yaml 0000644 00000001027 15217654530 0017002 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: code rw: R - !ruby/object:RI::Attribute comment: name: reason_phrase rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WEBrick::HTTPStatus::Status includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: code - !ruby/object:RI::MethodSummary name: reason_phrase - !ruby/object:RI::MethodSummary name: to_i name: Status superclass: StandardError ri/1.8/system/WEBrick/HTTPStatus/Status/to_i-i.yaml 0000644 00000000355 15217654530 0015623 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #code" full_name: WEBrick::HTTPStatus::Status#to_i is_singleton: false name: to_i params: () visibility: public ri/1.8/system/WEBrick/HTTPStatus/Status/code-i.yaml 0000644 00000000337 15217654530 0015603 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: to_i block_params: comment: full_name: WEBrick::HTTPStatus::Status#code is_singleton: false name: code params: () visibility: public ri/1.8/system/WEBrick/HTTPStatus/Status/reason_phrase-i.yaml 0000644 00000000311 15217654530 0017512 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPStatus::Status#reason_phrase is_singleton: false name: reason_phrase params: () visibility: public ri/1.8/system/WEBrick/HTTPStatus/Error/cdesc-Error.yaml 0000644 00000000314 15217654530 0016414 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WEBrick::HTTPStatus::Error includes: [] instance_methods: [] name: Error superclass: Status ri/1.8/system/WEBrick/HTTPStatus/ServerError/cdesc-ServerError.yaml 0000644 00000000327 15217654530 0020776 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WEBrick::HTTPStatus::ServerError includes: [] instance_methods: [] name: ServerError superclass: Error ri/1.8/system/WEBrick/HTTPStatus/error%3f-i.yaml 0000644 00000000267 15217654530 0015037 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPStatus#error? is_singleton: false name: error? params: (code) visibility: public ri/1.8/system/WEBrick/HTTPStatus/Redirect/cdesc-Redirect.yaml 0000644 00000000322 15217654530 0017533 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WEBrick::HTTPStatus::Redirect includes: [] instance_methods: [] name: Redirect superclass: Status ri/1.8/system/WEBrick/HTTPStatus/reason_phrase-i.yaml 0000644 00000000305 15217654530 0016232 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPStatus#reason_phrase is_singleton: false name: reason_phrase params: (code) visibility: public ri/1.8/system/WEBrick/HTTPStatus/cdesc-HTTPStatus.yaml 0000644 00000003635 15217654530 0016226 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: "[]" comment: constants: - !ruby/object:RI::Constant comment: name: StatusMessage value: "{ 100, 'Continue', 101, 'Switching Protocols', 200, 'OK', 201, 'Created', 202, 'Accepted', 203, 'Non-Authoritative Information', 204, 'No Content', 205, 'Reset Content', 206, 'Partial Content', 300, 'Multiple Choices', 301, 'Moved Permanently', 302, 'Found', 303, 'See Other', 304, 'Not Modified', 305, 'Use Proxy', 307, 'Temporary Redirect', 400, 'Bad Request', 401, 'Unauthorized', 402, 'Payment Required', 403, 'Forbidden', 404, 'Not Found', 405, 'Method Not Allowed', 406, 'Not Acceptable', 407, 'Proxy Authentication Required', 408, 'Request Timeout', 409, 'Conflict', 410, 'Gone', 411, 'Length Required', 412, 'Precondition Failed', 413, 'Request Entity Too Large', 414, 'Request-URI Too Large', 415, 'Unsupported Media Type', 416, 'Request Range Not Satisfiable', 417, 'Expectation Failed', 500, 'Internal Server Error', 501, 'Not Implemented', 502, 'Bad Gateway', 503, 'Service Unavailable', 504, 'Gateway Timeout', 505, 'HTTP Version Not Supported'" - !ruby/object:RI::Constant comment: name: CodeToError value: "{}" full_name: WEBrick::HTTPStatus includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: client_error? - !ruby/object:RI::MethodSummary name: error? - !ruby/object:RI::MethodSummary name: info? - !ruby/object:RI::MethodSummary name: reason_phrase - !ruby/object:RI::MethodSummary name: redirect? - !ruby/object:RI::MethodSummary name: server_error? - !ruby/object:RI::MethodSummary name: success? name: HTTPStatus superclass: ri/1.8/system/WEBrick/HTTPStatus/info%3f-i.yaml 0000644 00000000265 15217654530 0014637 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPStatus#info? is_singleton: false name: info? params: (code) visibility: public ri/1.8/system/WEBrick/HTTPStatus/Info/cdesc-Info.yaml 0000644 00000000312 15217654530 0016016 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WEBrick::HTTPStatus::Info includes: [] instance_methods: [] name: Info superclass: Status ri/1.8/system/WEBrick/HTTPStatus/redirect%3f-i.yaml 0000644 00000000275 15217654530 0015506 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPStatus#redirect? is_singleton: false name: redirect? params: (code) visibility: public ri/1.8/system/WEBrick/HTTPServer/new-c.yaml 0000644 00000000314 15217654530 0014147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServer::new is_singleton: true name: new params: (config={}, default=Config::HTTP) visibility: public ri/1.8/system/WEBrick/HTTPServer/unmount-i.yaml 0000644 00000000342 15217654530 0015072 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: umount block_params: comment: full_name: WEBrick::HTTPServer#unmount is_singleton: false name: unmount params: (dir) visibility: public ri/1.8/system/WEBrick/HTTPServer/search_servlet-i.yaml 0000644 00000000307 15217654530 0016377 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServer#search_servlet is_singleton: false name: search_servlet params: (path) visibility: public ri/1.8/system/WEBrick/HTTPServer/mount-i.yaml 0000644 00000000307 15217654530 0014530 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServer#mount is_singleton: false name: mount params: (dir, servlet, *options) visibility: public ri/1.8/system/WEBrick/HTTPServer/cdesc-HTTPServer.yaml 0000644 00000001500 15217654530 0016161 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WEBrick::HTTPServer includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: access_log - !ruby/object:RI::MethodSummary name: do_OPTIONS - !ruby/object:RI::MethodSummary name: lookup_server - !ruby/object:RI::MethodSummary name: mount - !ruby/object:RI::MethodSummary name: mount_proc - !ruby/object:RI::MethodSummary name: run - !ruby/object:RI::MethodSummary name: search_servlet - !ruby/object:RI::MethodSummary name: service - !ruby/object:RI::MethodSummary name: umount - !ruby/object:RI::MethodSummary name: unmount - !ruby/object:RI::MethodSummary name: virtual_host name: HTTPServer superclass: "::WEBrick::GenericServer" ri/1.8/system/WEBrick/HTTPServer/do_OPTIONS-i.yaml 0000644 00000000303 15217654530 0015177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServer#do_OPTIONS is_singleton: false name: do_OPTIONS params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPServer/MountTable/new-c.yaml 0000644 00000000271 15217654530 0016223 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServer::MountTable::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WEBrick/HTTPServer/MountTable/scan-i.yaml 0000644 00000000277 15217654530 0016372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServer::MountTable#scan is_singleton: false name: scan params: (path) visibility: public ri/1.8/system/WEBrick/HTTPServer/MountTable/delete-i.yaml 0000644 00000000302 15217654530 0016675 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServer::MountTable#delete is_singleton: false name: delete params: (dir) visibility: public ri/1.8/system/WEBrick/HTTPServer/MountTable/cdesc-MountTable.yaml 0000644 00000001043 15217654530 0020341 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WEBrick::HTTPServer::MountTable includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: compile - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: normalize - !ruby/object:RI::MethodSummary name: scan name: MountTable superclass: Object ri/1.8/system/WEBrick/HTTPServer/MountTable/%5b%5d%3d-i.yaml 0000644 00000000303 15217654530 0016601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServer::MountTable#[]= is_singleton: false name: "[]=" params: (dir, val) visibility: public ri/1.8/system/WEBrick/HTTPServer/MountTable/%5b%5d-i.yaml 0000644 00000000274 15217654530 0016314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServer::MountTable#[] is_singleton: false name: "[]" params: (dir) visibility: public ri/1.8/system/WEBrick/HTTPServer/MountTable/normalize-i.yaml 0000644 00000000311 15217654530 0017433 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServer::MountTable#normalize is_singleton: false name: normalize params: (dir) visibility: private ri/1.8/system/WEBrick/HTTPServer/MountTable/compile-i.yaml 0000644 00000000302 15217654530 0017063 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServer::MountTable#compile is_singleton: false name: compile params: () visibility: private ri/1.8/system/WEBrick/HTTPServer/lookup_server-i.yaml 0000644 00000000304 15217654530 0016262 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServer#lookup_server is_singleton: false name: lookup_server params: (req) visibility: public ri/1.8/system/WEBrick/HTTPServer/mount_proc-i.yaml 0000644 00000000320 15217654530 0015546 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServer#mount_proc is_singleton: false name: mount_proc params: (dir, proc=nil, &block) visibility: public ri/1.8/system/WEBrick/HTTPServer/run-i.yaml 0000644 00000000261 15217654530 0014171 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServer#run is_singleton: false name: run params: (sock) visibility: public ri/1.8/system/WEBrick/HTTPServer/access_log-i.yaml 0000644 00000000313 15217654530 0015465 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServer#access_log is_singleton: false name: access_log params: (config, req, res) visibility: public ri/1.8/system/WEBrick/HTTPServer/umount-i.yaml 0000644 00000000357 15217654530 0014722 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #unmount" full_name: WEBrick::HTTPServer#umount is_singleton: false name: umount params: (dir) visibility: public ri/1.8/system/WEBrick/HTTPServer/virtual_host-i.yaml 0000644 00000000305 15217654530 0016107 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServer#virtual_host is_singleton: false name: virtual_host params: (server) visibility: public ri/1.8/system/WEBrick/HTTPServer/service-i.yaml 0000644 00000000275 15217654530 0015032 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServer#service is_singleton: false name: service params: (req, res) visibility: public ri/1.8/system/WEBrick/GenericServer/new-c.yaml 0000644 00000000322 15217654530 0014743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::GenericServer::new is_singleton: true name: new params: (config={}, default=Config::General) visibility: public ri/1.8/system/WEBrick/GenericServer/setup_ssl_context-i.yaml 0000644 00000000322 15217654530 0017745 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::GenericServer#setup_ssl_context is_singleton: false name: setup_ssl_context params: (config) visibility: public ri/1.8/system/WEBrick/GenericServer/accept_client-i.yaml 0000644 00000000310 15217654530 0016752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::GenericServer#accept_client is_singleton: false name: accept_client params: (svr) visibility: private ri/1.8/system/WEBrick/GenericServer/shutdown-i.yaml 0000644 00000000272 15217654530 0016037 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::GenericServer#shutdown is_singleton: false name: shutdown params: () visibility: public ri/1.8/system/WEBrick/GenericServer/listen-i.yaml 0000644 00000000303 15217654530 0015455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::GenericServer#listen is_singleton: false name: listen params: (address, port) visibility: public ri/1.8/system/WEBrick/GenericServer/%5b%5d-i.yaml 0000644 00000000263 15217654530 0015035 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::GenericServer#[] is_singleton: false name: "[]" params: (key) visibility: public ri/1.8/system/WEBrick/GenericServer/cdesc-GenericServer.yaml 0000644 00000002247 15217654530 0017564 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: config rw: R - !ruby/object:RI::Attribute comment: name: listeners rw: R - !ruby/object:RI::Attribute comment: name: logger rw: R - !ruby/object:RI::Attribute comment: name: status rw: R - !ruby/object:RI::Attribute comment: name: tokens rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WEBrick::GenericServer includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: accept_client - !ruby/object:RI::MethodSummary name: call_callback - !ruby/object:RI::MethodSummary name: listen - !ruby/object:RI::MethodSummary name: listen - !ruby/object:RI::MethodSummary name: run - !ruby/object:RI::MethodSummary name: setup_ssl_context - !ruby/object:RI::MethodSummary name: shutdown - !ruby/object:RI::MethodSummary name: ssl_context - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: start_thread - !ruby/object:RI::MethodSummary name: stop name: GenericServer superclass: Object ri/1.8/system/WEBrick/GenericServer/run-i.yaml 0000644 00000000264 15217654530 0014771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::GenericServer#run is_singleton: false name: run params: (sock) visibility: public ri/1.8/system/WEBrick/GenericServer/start-i.yaml 0000644 00000000272 15217654530 0015321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::GenericServer#start is_singleton: false name: start params: (&block) visibility: public ri/1.8/system/WEBrick/GenericServer/start_thread-i.yaml 0000644 00000000317 15217654530 0016650 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::GenericServer#start_thread is_singleton: false name: start_thread params: (sock, &block) visibility: private ri/1.8/system/WEBrick/GenericServer/stop-i.yaml 0000644 00000000262 15217654530 0015150 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::GenericServer#stop is_singleton: false name: stop params: () visibility: public ri/1.8/system/WEBrick/GenericServer/ssl_context-i.yaml 0000644 00000000300 15217654530 0016521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::GenericServer#ssl_context is_singleton: false name: ssl_context params: () visibility: public ri/1.8/system/WEBrick/GenericServer/call_callback-i.yaml 0000644 00000000331 15217654530 0016707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::GenericServer#call_callback is_singleton: false name: call_callback params: (callback_name, *args) visibility: private ri/1.8/system/WEBrick/HTTPVersion/new-c.yaml 0000644 00000000265 15217654530 0014333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPVersion::new is_singleton: true name: new params: (version) visibility: public ri/1.8/system/WEBrick/HTTPVersion/to_s-i.yaml 0000644 00000000260 15217654530 0014507 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPVersion#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/WEBrick/HTTPVersion/cdesc-HTTPVersion.yaml 0000644 00000001065 15217654530 0016525 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: major rw: RW - !ruby/object:RI::Attribute comment: name: minor rw: RW class_methods: - !ruby/object:RI::MethodSummary name: convert - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WEBrick::HTTPVersion includes: - !ruby/object:RI::IncludedModule name: Comparable instance_methods: - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: to_s name: HTTPVersion superclass: Object ri/1.8/system/WEBrick/HTTPVersion/convert-c.yaml 0000644 00000000275 15217654530 0015223 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPVersion::convert is_singleton: true name: convert params: (version) visibility: public ri/1.8/system/WEBrick/HTTPVersion/%3c%3d%3e-i.yaml 0000644 00000000263 15217654530 0014711 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPVersion#<=> is_singleton: false name: <=> params: (other) visibility: public ri/1.8/system/WEBrick/Utils/set_close_on_exec-i.yaml 0000644 00000000306 15217654530 0016177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::Utils#set_close_on_exec is_singleton: false name: set_close_on_exec params: (io) visibility: public ri/1.8/system/WEBrick/Utils/su-i.yaml 0000644 00000000252 15217654530 0013146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::Utils#su is_singleton: false name: su params: (user) visibility: public ri/1.8/system/WEBrick/Utils/set_non_blocking-i.yaml 0000644 00000000304 15217654530 0016032 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::Utils#set_non_blocking is_singleton: false name: set_non_blocking params: (io) visibility: public ri/1.8/system/WEBrick/Utils/cdesc-Utils.yaml 0000644 00000001377 15217654530 0014461 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: RAND_CHARS value: "\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\" + \"0123456789\" + \"abcdefghijklmnopqrstuvwxyz\"" full_name: WEBrick::Utils includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: create_listeners - !ruby/object:RI::MethodSummary name: create_self_signed_cert - !ruby/object:RI::MethodSummary name: getservername - !ruby/object:RI::MethodSummary name: random_string - !ruby/object:RI::MethodSummary name: set_close_on_exec - !ruby/object:RI::MethodSummary name: set_non_blocking - !ruby/object:RI::MethodSummary name: su name: Utils superclass: ri/1.8/system/WEBrick/Utils/create_listeners-i.yaml 0000644 00000000333 15217654530 0016052 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::Utils#create_listeners is_singleton: false name: create_listeners params: (address, port, logger=nil) visibility: public ri/1.8/system/WEBrick/Utils/getservername-i.yaml 0000644 00000000274 15217654530 0015372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::Utils#getservername is_singleton: false name: getservername params: () visibility: public ri/1.8/system/WEBrick/Utils/random_string-i.yaml 0000644 00000000277 15217654530 0015374 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::Utils#random_string is_singleton: false name: random_string params: (len) visibility: public ri/1.8/system/WEBrick/Utils/create_self_signed_cert-i.yaml 0000644 00000000341 15217654530 0017340 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::Utils#create_self_signed_cert is_singleton: false name: create_self_signed_cert params: (bits, cn, comment) visibility: public ri/1.8/system/WEBrick/Log/new-c.yaml 0000644 00000000275 15217654530 0012730 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::Log::new is_singleton: true name: new params: (log_file=nil, level=nil) visibility: public ri/1.8/system/WEBrick/Log/cdesc-Log.yaml 0000644 00000000610 15217654530 0013510 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: time_format rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WEBrick::Log includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: debug - !ruby/object:RI::MethodSummary name: log name: Log superclass: BasicLog ri/1.8/system/WEBrick/Log/debug-i.yaml 0000644 00000000276 15217654530 0013234 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: full_name: WEBrick::Log#debug is_singleton: false name: debug params: (msg = nil) {|| ...} visibility: public ri/1.8/system/WEBrick/Log/log-i.yaml 0000644 00000000261 15217654530 0012721 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::Log#log is_singleton: false name: log params: (level, data) visibility: public ri/1.8/system/WEBrick/HTTPServlet/ProcHandler/new-c.yaml 0000644 00000000277 15217654530 0016536 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::ProcHandler::new is_singleton: true name: new params: (proc) visibility: public ri/1.8/system/WEBrick/HTTPServlet/ProcHandler/cdesc-ProcHandler.yaml 0000644 00000000644 15217654530 0021003 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WEBrick::HTTPServlet::ProcHandler includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: do_GET - !ruby/object:RI::MethodSummary name: do_POST - !ruby/object:RI::MethodSummary name: get_instance name: ProcHandler superclass: AbstractServlet ri/1.8/system/WEBrick/HTTPServlet/ProcHandler/get_instance-i.yaml 0000644 00000000335 15217654530 0020411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::ProcHandler#get_instance is_singleton: false name: get_instance params: (server, *options) visibility: public ri/1.8/system/WEBrick/HTTPServlet/ProcHandler/do_GET-i.yaml 0000644 00000000375 15217654530 0017053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: do_POST block_params: comment: full_name: WEBrick::HTTPServlet::ProcHandler#do_GET is_singleton: false name: do_GET params: (request, response) visibility: public ri/1.8/system/WEBrick/HTTPServlet/ProcHandler/do_POST-i.yaml 0000644 00000000414 15217654530 0017213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #do_GET" full_name: WEBrick::HTTPServlet::ProcHandler#do_POST is_singleton: false name: do_POST params: (request, response) visibility: public ri/1.8/system/WEBrick/HTTPServlet/HTTPServletError/cdesc-HTTPServletError.yaml 0000644 00000000352 15217654530 0022671 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WEBrick::HTTPServlet::HTTPServletError includes: [] instance_methods: [] name: HTTPServletError superclass: StandardError ri/1.8/system/WEBrick/HTTPServlet/ERBHandler/new-c.yaml 0000644 00000000306 15217654530 0016234 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::ERBHandler::new is_singleton: true name: new params: (server, name) visibility: public ri/1.8/system/WEBrick/HTTPServlet/ERBHandler/evaluate-i.yaml 0000644 00000000353 15217654530 0017261 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::ERBHandler#evaluate is_singleton: false name: evaluate params: (erb, servlet_request, servlet_response) visibility: private ri/1.8/system/WEBrick/HTTPServlet/ERBHandler/do_GET-i.yaml 0000644 00000000363 15217654530 0016555 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: do_POST block_params: comment: full_name: WEBrick::HTTPServlet::ERBHandler#do_GET is_singleton: false name: do_GET params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPServlet/ERBHandler/do_POST-i.yaml 0000644 00000000402 15217654530 0016715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #do_GET" full_name: WEBrick::HTTPServlet::ERBHandler#do_POST is_singleton: false name: do_POST params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPServlet/ERBHandler/cdesc-ERBHandler.yaml 0000644 00000000636 15217654530 0020216 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WEBrick::HTTPServlet::ERBHandler includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: do_GET - !ruby/object:RI::MethodSummary name: do_POST - !ruby/object:RI::MethodSummary name: evaluate name: ERBHandler superclass: AbstractServlet ri/1.8/system/WEBrick/HTTPServlet/DefaultFileHandler/new-c.yaml 0000644 00000000324 15217654530 0020010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::DefaultFileHandler::new is_singleton: true name: new params: (server, local_path) visibility: public ri/1.8/system/WEBrick/HTTPServlet/DefaultFileHandler/make_partial_content-i.yaml 0000644 00000000400 15217654530 0023403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::DefaultFileHandler#make_partial_content is_singleton: false name: make_partial_content params: (req, res, filename, filesize) visibility: public ri/1.8/system/WEBrick/HTTPServlet/DefaultFileHandler/cdesc-DefaultFileHandler.yaml 0000644 00000000770 15217654530 0023545 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WEBrick::HTTPServlet::DefaultFileHandler includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: do_GET - !ruby/object:RI::MethodSummary name: make_partial_content - !ruby/object:RI::MethodSummary name: not_modified? - !ruby/object:RI::MethodSummary name: prepare_range name: DefaultFileHandler superclass: AbstractServlet ri/1.8/system/WEBrick/HTTPServlet/DefaultFileHandler/not_modified%3f-i.yaml 0000644 00000000353 15217654530 0022165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::DefaultFileHandler#not_modified? is_singleton: false name: not_modified? params: (req, res, mtime, etag) visibility: public ri/1.8/system/WEBrick/HTTPServlet/DefaultFileHandler/do_GET-i.yaml 0000644 00000000320 15217654530 0020322 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::DefaultFileHandler#do_GET is_singleton: false name: do_GET params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPServlet/DefaultFileHandler/prepare_range-i.yaml 0000644 00000000345 15217654530 0022042 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::DefaultFileHandler#prepare_range is_singleton: false name: prepare_range params: (range, filesize) visibility: public ri/1.8/system/WEBrick/HTTPServlet/FileHandler/new-c.yaml 0000644 00000000360 15217654530 0016503 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler::new is_singleton: true name: new params: (server, root, options={}, default=Config::FileHandler) visibility: public ri/1.8/system/WEBrick/HTTPServlet/FileHandler/do_OPTIONS-i.yaml 0000644 00000000321 15217654530 0017532 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler#do_OPTIONS is_singleton: false name: do_OPTIONS params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPServlet/FileHandler/exec_handler-i.yaml 0000644 00000000326 15217654530 0020343 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler#exec_handler is_singleton: false name: exec_handler params: (req, res) visibility: private ri/1.8/system/WEBrick/HTTPServlet/FileHandler/add_handler-c.yaml 0000644 00000000332 15217654530 0020136 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler::add_handler is_singleton: true name: add_handler params: (suffix, handler) visibility: public ri/1.8/system/WEBrick/HTTPServlet/FileHandler/search_index_file-i.yaml 0000644 00000000340 15217654530 0021351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler#search_index_file is_singleton: false name: search_index_file params: (req, res) visibility: private ri/1.8/system/WEBrick/HTTPServlet/FileHandler/trailing_pathsep%3f-i.yaml 0000644 00000001012 15217654530 0021546 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "RFC3253: Versioning Extensions to WebDAV" - !ruby/struct:SM::Flow::VERB body: " (Web Distributed Authoring and Versioning)\n" - !ruby/struct:SM::Flow::P body: VERSION-CONTROL REPORT CHECKOUT CHECK_IN UNCHECKOUT MKWORKSPACE UPDATE LABEL MERGE ACTIVITY full_name: WEBrick::HTTPServlet::FileHandler#trailing_pathsep? is_singleton: false name: trailing_pathsep? params: (path) visibility: private ri/1.8/system/WEBrick/HTTPServlet/FileHandler/set_filename-i.yaml 0000644 00000000326 15217654530 0020355 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler#set_filename is_singleton: false name: set_filename params: (req, res) visibility: private ri/1.8/system/WEBrick/HTTPServlet/FileHandler/set_dir_list-i.yaml 0000644 00000000326 15217654530 0020406 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler#set_dir_list is_singleton: false name: set_dir_list params: (req, res) visibility: private ri/1.8/system/WEBrick/HTTPServlet/FileHandler/remove_handler-c.yaml 0000644 00000000327 15217654530 0020707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler::remove_handler is_singleton: true name: remove_handler params: (suffix) visibility: public ri/1.8/system/WEBrick/HTTPServlet/FileHandler/nondisclosure_name%3f-i.yaml 0000644 00000000340 15217654530 0022103 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler#nondisclosure_name? is_singleton: false name: nondisclosure_name? params: (name) visibility: private ri/1.8/system/WEBrick/HTTPServlet/FileHandler/do_GET-i.yaml 0000644 00000000311 15217654530 0017015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler#do_GET is_singleton: false name: do_GET params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPServlet/FileHandler/check_filename-i.yaml 0000644 00000000340 15217654530 0020633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler#check_filename is_singleton: false name: check_filename params: (req, res, name) visibility: private ri/1.8/system/WEBrick/HTTPServlet/FileHandler/cdesc-FileHandler.yaml 0000644 00000002612 15217654530 0020730 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: add_handler - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: remove_handler comment: constants: - !ruby/object:RI::Constant comment: name: HandlerTable value: Hash.new full_name: WEBrick::HTTPServlet::FileHandler includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: call_callback - !ruby/object:RI::MethodSummary name: check_filename - !ruby/object:RI::MethodSummary name: do_GET - !ruby/object:RI::MethodSummary name: do_OPTIONS - !ruby/object:RI::MethodSummary name: do_POST - !ruby/object:RI::MethodSummary name: exec_handler - !ruby/object:RI::MethodSummary name: get_handler - !ruby/object:RI::MethodSummary name: nondisclosure_name? - !ruby/object:RI::MethodSummary name: prevent_directory_traversal - !ruby/object:RI::MethodSummary name: search_file - !ruby/object:RI::MethodSummary name: search_index_file - !ruby/object:RI::MethodSummary name: service - !ruby/object:RI::MethodSummary name: set_dir_list - !ruby/object:RI::MethodSummary name: set_filename - !ruby/object:RI::MethodSummary name: shift_path_info - !ruby/object:RI::MethodSummary name: trailing_pathsep? - !ruby/object:RI::MethodSummary name: windows_ambiguous_name? name: FileHandler superclass: AbstractServlet ri/1.8/system/WEBrick/HTTPServlet/FileHandler/windows_ambiguous_name%3f-i.yaml 0000644 00000000350 15217654530 0022762 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler#windows_ambiguous_name? is_singleton: false name: windows_ambiguous_name? params: (name) visibility: private ri/1.8/system/WEBrick/HTTPServlet/FileHandler/get_handler-i.yaml 0000644 00000000324 15217654530 0020174 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler#get_handler is_singleton: false name: get_handler params: (req, res) visibility: private ri/1.8/system/WEBrick/HTTPServlet/FileHandler/search_file-i.yaml 0000644 00000000336 15217654530 0020167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler#search_file is_singleton: false name: search_file params: (req, res, basename) visibility: private ri/1.8/system/WEBrick/HTTPServlet/FileHandler/prevent_directory_traversal-i.yaml 0000644 00000000364 15217654530 0023556 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler#prevent_directory_traversal is_singleton: false name: prevent_directory_traversal params: (req, res) visibility: private ri/1.8/system/WEBrick/HTTPServlet/FileHandler/do_POST-i.yaml 0000644 00000000313 15217654530 0017165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler#do_POST is_singleton: false name: do_POST params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPServlet/FileHandler/service-i.yaml 0000644 00000000313 15217654530 0017356 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler#service is_singleton: false name: service params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPServlet/FileHandler/shift_path_info-i.yaml 0000644 00000000361 15217654530 0021065 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler#shift_path_info is_singleton: false name: shift_path_info params: (req, res, path_info, base=nil) visibility: private ri/1.8/system/WEBrick/HTTPServlet/FileHandler/call_callback-i.yaml 0000644 00000000347 15217654530 0020454 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::FileHandler#call_callback is_singleton: false name: call_callback params: (callback_name, req, res) visibility: private ri/1.8/system/WEBrick/HTTPServlet/CGIHandler/new-c.yaml 0000644 00000000306 15217654530 0016226 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::CGIHandler::new is_singleton: true name: new params: (server, name) visibility: public ri/1.8/system/WEBrick/HTTPServlet/CGIHandler/cdesc-CGIHandler.yaml 0000644 00000001233 15217654530 0020174 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Ruby value: File::join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name']) - !ruby/object:RI::Constant comment: name: CGIRunner value: "\"\\\"#{Ruby}\\\" \\\"#{Config::LIBDIR}/httpservlet/cgi_runner.rb\\\"\"" full_name: WEBrick::HTTPServlet::CGIHandler includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: do_GET - !ruby/object:RI::MethodSummary name: do_POST name: CGIHandler superclass: AbstractServlet ri/1.8/system/WEBrick/HTTPServlet/CGIHandler/do_GET-i.yaml 0000644 00000000363 15217654530 0016547 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: do_POST block_params: comment: full_name: WEBrick::HTTPServlet::CGIHandler#do_GET is_singleton: false name: do_GET params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPServlet/CGIHandler/do_POST-i.yaml 0000644 00000000402 15217654530 0016707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #do_GET" full_name: WEBrick::HTTPServlet::CGIHandler#do_POST is_singleton: false name: do_POST params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPServlet/cdesc-HTTPServlet.yaml 0000644 00000000306 15217654530 0016520 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WEBrick::HTTPServlet includes: [] instance_methods: [] name: HTTPServlet superclass: ri/1.8/system/WEBrick/HTTPServlet/AbstractServlet/new-c.yaml 0000644 00000000317 15217654530 0017440 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::AbstractServlet::new is_singleton: true name: new params: (server, *options) visibility: public ri/1.8/system/WEBrick/HTTPServlet/AbstractServlet/do_OPTIONS-i.yaml 0000644 00000000325 15217654530 0020471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::AbstractServlet#do_OPTIONS is_singleton: false name: do_OPTIONS params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPServlet/AbstractServlet/cdesc-AbstractServlet.yaml 0000644 00000001116 15217654530 0022614 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: get_instance - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WEBrick::HTTPServlet::AbstractServlet includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: do_GET - !ruby/object:RI::MethodSummary name: do_HEAD - !ruby/object:RI::MethodSummary name: do_OPTIONS - !ruby/object:RI::MethodSummary name: redirect_to_directory_uri - !ruby/object:RI::MethodSummary name: service name: AbstractServlet superclass: Object ri/1.8/system/WEBrick/HTTPServlet/AbstractServlet/do_HEAD-i.yaml 0000644 00000000317 15217654530 0020040 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::AbstractServlet#do_HEAD is_singleton: false name: do_HEAD params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPServlet/AbstractServlet/redirect_to_directory_uri-i.yaml 0000644 00000000364 15217654530 0024125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::AbstractServlet#redirect_to_directory_uri is_singleton: false name: redirect_to_directory_uri params: (req, res) visibility: private ri/1.8/system/WEBrick/HTTPServlet/AbstractServlet/do_GET-i.yaml 0000644 00000000315 15217654530 0017754 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::AbstractServlet#do_GET is_singleton: false name: do_GET params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPServlet/AbstractServlet/get_instance-c.yaml 0000644 00000000341 15217654530 0021307 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::AbstractServlet::get_instance is_singleton: true name: get_instance params: (config, *options) visibility: public ri/1.8/system/WEBrick/HTTPServlet/AbstractServlet/service-i.yaml 0000644 00000000317 15217654530 0020315 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPServlet::AbstractServlet#service is_singleton: false name: service params: (req, res) visibility: public ri/1.8/system/WEBrick/CGI/new-c.yaml 0000644 00000000253 15217654530 0012605 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::CGI::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/WEBrick/CGI/cdesc-CGI.yaml 0000644 00000001115 15217654530 0013253 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: config rw: R - !ruby/object:RI::Attribute comment: name: logger rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: CGIError value: Class.new(StandardError) full_name: WEBrick::CGI includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: service - !ruby/object:RI::MethodSummary name: start name: CGI superclass: Object ri/1.8/system/WEBrick/CGI/%5b%5d-i.yaml 0000644 00000000251 15217654530 0012671 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::CGI#[] is_singleton: false name: "[]" params: (key) visibility: public ri/1.8/system/WEBrick/CGI/Socket/new-c.yaml 0000644 00000000310 15217654530 0014027 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::CGI::Socket::new is_singleton: true name: new params: (config, env, stdin, stdout) visibility: public ri/1.8/system/WEBrick/CGI/Socket/peer_cert-i.yaml 0000644 00000000272 15217654530 0015223 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::CGI::Socket#peer_cert is_singleton: false name: peer_cert params: () visibility: public ri/1.8/system/WEBrick/CGI/Socket/addr-i.yaml 0000644 00000000260 15217654530 0014162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::CGI::Socket#addr is_singleton: false name: addr params: () visibility: public ri/1.8/system/WEBrick/CGI/Socket/%3c%3c-i.yaml 0000644 00000000262 15217654530 0014117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::CGI::Socket#<< is_singleton: false name: "<<" params: (data) visibility: public ri/1.8/system/WEBrick/CGI/Socket/cert-i.yaml 0000644 00000000260 15217654530 0014205 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::CGI::Socket#cert is_singleton: false name: cert params: () visibility: public ri/1.8/system/WEBrick/CGI/Socket/cdesc-Socket.yaml 0000644 00000001741 15217654530 0015336 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WEBrick::CGI::Socket includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: add_header - !ruby/object:RI::MethodSummary name: addr - !ruby/object:RI::MethodSummary name: cert - !ruby/object:RI::MethodSummary name: cipher - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: gets - !ruby/object:RI::MethodSummary name: input - !ruby/object:RI::MethodSummary name: peer_cert - !ruby/object:RI::MethodSummary name: peer_cert_chain - !ruby/object:RI::MethodSummary name: peeraddr - !ruby/object:RI::MethodSummary name: read - !ruby/object:RI::MethodSummary name: request_line - !ruby/object:RI::MethodSummary name: setup_header name: Socket superclass: Object ri/1.8/system/WEBrick/CGI/Socket/peeraddr-i.yaml 0000644 00000000270 15217654530 0015037 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::CGI::Socket#peeraddr is_singleton: false name: peeraddr params: () visibility: public ri/1.8/system/WEBrick/CGI/Socket/setup_header-i.yaml 0000644 00000000301 15217654530 0015714 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::CGI::Socket#setup_header is_singleton: false name: setup_header params: () visibility: private ri/1.8/system/WEBrick/CGI/Socket/request_line-i.yaml 0000644 00000000301 15217654530 0015743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::CGI::Socket#request_line is_singleton: false name: request_line params: () visibility: private ri/1.8/system/WEBrick/CGI/Socket/read-i.yaml 0000644 00000000270 15217654530 0014164 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::CGI::Socket#read is_singleton: false name: read params: (size=nil) visibility: public ri/1.8/system/WEBrick/CGI/Socket/input-i.yaml 0000644 00000000263 15217654530 0014412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::CGI::Socket#input is_singleton: false name: input params: () visibility: private ri/1.8/system/WEBrick/CGI/Socket/cipher-i.yaml 0000644 00000000264 15217654530 0014526 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::CGI::Socket#cipher is_singleton: false name: cipher params: () visibility: public ri/1.8/system/WEBrick/CGI/Socket/each-i.yaml 0000644 00000000303 15217654530 0014146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (line) comment: full_name: WEBrick::CGI::Socket#each is_singleton: false name: each params: () {|line| ...} visibility: public ri/1.8/system/WEBrick/CGI/Socket/peer_cert_chain-i.yaml 0000644 00000000306 15217654530 0016363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::CGI::Socket#peer_cert_chain is_singleton: false name: peer_cert_chain params: () visibility: public ri/1.8/system/WEBrick/CGI/Socket/gets-i.yaml 0000644 00000000266 15217654530 0014220 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::CGI::Socket#gets is_singleton: false name: gets params: (eol=LF) visibility: public ri/1.8/system/WEBrick/CGI/Socket/add_header-i.yaml 0000644 00000000315 15217654530 0015311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::CGI::Socket#add_header is_singleton: false name: add_header params: (envname, hdrname) visibility: private ri/1.8/system/WEBrick/CGI/start-i.yaml 0000644 00000000317 15217654530 0013160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::CGI#start is_singleton: false name: start params: (env=ENV, stdin=$stdin, stdout=$stdout) visibility: public ri/1.8/system/WEBrick/CGI/service-i.yaml 0000644 00000000266 15217654530 0013466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::CGI#service is_singleton: false name: service params: (req, res) visibility: public ri/1.8/system/WEBrick/ServerError/cdesc-ServerError.yaml 0000644 00000000323 15217654530 0017007 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WEBrick::ServerError includes: [] instance_methods: [] name: ServerError superclass: StandardError ri/1.8/system/WEBrick/HTTPProxyServer/proxy_uri-i.yaml 0000644 00000000306 15217654530 0016467 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPProxyServer#proxy_uri is_singleton: false name: proxy_uri params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPProxyServer/new-c.yaml 0000644 00000000270 15217654530 0015212 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPProxyServer::new is_singleton: true name: new params: (config) visibility: public ri/1.8/system/WEBrick/HTTPProxyServer/set_via-i.yaml 0000644 00000000273 15217654530 0016064 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPProxyServer#set_via is_singleton: false name: set_via params: (h) visibility: public ri/1.8/system/WEBrick/HTTPProxyServer/set_cookie-i.yaml 0000644 00000000470 15217654530 0016555 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Net::HTTP is stupid about the multiple header fields. Here is workaround:" full_name: WEBrick::HTTPProxyServer#set_cookie is_singleton: false name: set_cookie params: (src, dst) visibility: public ri/1.8/system/WEBrick/HTTPProxyServer/split_field-i.yaml 0000644 00000000303 15217654530 0016722 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPProxyServer#split_field is_singleton: false name: split_field params: (f) visibility: public ri/1.8/system/WEBrick/HTTPProxyServer/proxy_service-i.yaml 0000644 00000000316 15217654530 0017331 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPProxyServer#proxy_service is_singleton: false name: proxy_service params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPProxyServer/do_OPTIONS-i.yaml 0000644 00000000310 15217654530 0016237 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPProxyServer#do_OPTIONS is_singleton: false name: do_OPTIONS params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPProxyServer/proxy_connect-i.yaml 0000644 00000000316 15217654530 0017322 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPProxyServer#proxy_connect is_singleton: false name: proxy_connect params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPProxyServer/choose_header-i.yaml 0000644 00000000316 15217654530 0017220 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPProxyServer#choose_header is_singleton: false name: choose_header params: (src, dst) visibility: public ri/1.8/system/WEBrick/HTTPProxyServer/cdesc-HTTPProxyServer.yaml 0000644 00000002231 15217654530 0020267 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Some header fields should not be transferred. name: HopByHop value: "%w( connection keep-alive proxy-authenticate upgrade proxy-authorization te trailers transfer-encoding )" - !ruby/object:RI::Constant comment: name: ShouldNotTransfer value: "%w( set-cookie proxy-connection )" full_name: WEBrick::HTTPProxyServer includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: choose_header - !ruby/object:RI::MethodSummary name: do_OPTIONS - !ruby/object:RI::MethodSummary name: proxy_auth - !ruby/object:RI::MethodSummary name: proxy_connect - !ruby/object:RI::MethodSummary name: proxy_service - !ruby/object:RI::MethodSummary name: proxy_uri - !ruby/object:RI::MethodSummary name: service - !ruby/object:RI::MethodSummary name: set_cookie - !ruby/object:RI::MethodSummary name: set_via - !ruby/object:RI::MethodSummary name: split_field name: HTTPProxyServer superclass: HTTPServer ri/1.8/system/WEBrick/HTTPProxyServer/service-i.yaml 0000644 00000000302 15217654530 0016063 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPProxyServer#service is_singleton: false name: service params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPProxyServer/proxy_auth-i.yaml 0000644 00000000310 15217654530 0016624 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPProxyServer#proxy_auth is_singleton: false name: proxy_auth params: (req, res) visibility: public ri/1.8/system/WEBrick/AccessLog/setup_params-i.yaml 0000644 00000000637 15217654530 0015774 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This format specification is a subset of mod_log_config of Apache. - !ruby/struct:SM::Flow::VERB body: " http://httpd.apache.org/docs/mod/mod_log_config.html#formats\n" full_name: WEBrick::AccessLog#setup_params is_singleton: false name: setup_params params: (config, req, res) visibility: public ri/1.8/system/WEBrick/AccessLog/AccessLogError/cdesc-AccessLogError.yaml 0000644 00000000344 15217654530 0021647 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WEBrick::AccessLog::AccessLogError includes: [] instance_methods: [] name: AccessLogError superclass: StandardError ri/1.8/system/WEBrick/AccessLog/format-i.yaml 0000644 00000000307 15217654530 0014553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::AccessLog#format is_singleton: false name: format params: (format_string, params) visibility: public ri/1.8/system/WEBrick/AccessLog/escape-i.yaml 0000644 00000000266 15217654530 0014527 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::AccessLog#escape is_singleton: false name: escape params: (data) visibility: public ri/1.8/system/WEBrick/AccessLog/cdesc-AccessLog.yaml 0000644 00000001706 15217654530 0015763 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: CLF_TIME_FORMAT value: "\"[%d/%b/%Y:%H:%M:%S %Z]\"" - !ruby/object:RI::Constant comment: name: COMMON_LOG_FORMAT value: "\"%h %l %u %t \\\"%r\\\" %s %b\"" - !ruby/object:RI::Constant comment: name: CLF value: COMMON_LOG_FORMAT - !ruby/object:RI::Constant comment: name: REFERER_LOG_FORMAT value: "\"%{Referer}i -> %U\"" - !ruby/object:RI::Constant comment: name: AGENT_LOG_FORMAT value: "\"%{User-Agent}i\"" - !ruby/object:RI::Constant comment: name: COMBINED_LOG_FORMAT value: "\"#{CLF} \\\"%{Referer}i\\\" \\\"%{User-agent}i\\\"\"" full_name: WEBrick::AccessLog includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: escape - !ruby/object:RI::MethodSummary name: format - !ruby/object:RI::MethodSummary name: setup_params name: AccessLog superclass: ri/1.8/system/WEBrick/HTTPUtils/escape8bit-i.yaml 0000644 00000000275 15217654530 0015253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils#escape8bit is_singleton: false name: escape8bit params: (str) visibility: public ri/1.8/system/WEBrick/HTTPUtils/mime_type-i.yaml 0000644 00000000312 15217654530 0015204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils#mime_type is_singleton: false name: mime_type params: (filename, mime_tab) visibility: public ri/1.8/system/WEBrick/HTTPUtils/quote-i.yaml 0000644 00000000263 15217654530 0014356 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils#quote is_singleton: false name: quote params: (str) visibility: public ri/1.8/system/WEBrick/HTTPUtils/normalize_path-i.yaml 0000644 00000000306 15217654530 0016233 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils#normalize_path is_singleton: false name: normalize_path params: (path) visibility: public ri/1.8/system/WEBrick/HTTPUtils/cdesc-HTTPUtils.yaml 0000644 00000010025 15217654530 0015647 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: [] name: DefaultMimeTypes value: "{ \"ai\" => \"application/postscript\", \"asc\" => \"text/plain\", \"avi\" => \"video/x-msvideo\", \"bin\" => \"application/octet-stream\", \"bmp\" => \"image/bmp\", \"class\" => \"application/octet-stream\", \"cer\" => \"application/pkix-cert\", \"crl\" => \"application/pkix-crl\", \"crt\" => \"application/x-x509-ca-cert\", #\"crl\" => \"application/x-pkcs7-crl\", \"css\" => \"text/css\", \"dms\" => \"application/octet-stream\", \"doc\" => \"application/msword\", \"dvi\" => \"application/x-dvi\", \"eps\" => \"application/postscript\", \"etx\" => \"text/x-setext\", \"exe\" => \"application/octet-stream\", \"gif\" => \"image/gif\", \"htm\" => \"text/html\", \"html\" => \"text/html\", \"jpe\" => \"image/jpeg\", \"jpeg\" => \"image/jpeg\", \"jpg\" => \"image/jpeg\", \"lha\" => \"application/octet-stream\", \"lzh\" => \"application/octet-stream\", \"mov\" => \"video/quicktime\", \"mpe\" => \"video/mpeg\", \"mpeg\" => \"video/mpeg\", \"mpg\" => \"video/mpeg\", \"pbm\" => \"image/x-portable-bitmap\", \"pdf\" => \"application/pdf\", \"pgm\" => \"image/x-portable-graymap\", \"png\" => \"image/png\", \"pnm\" => \"image/x-portable-anymap\", \"ppm\" => \"image/x-portable-pixmap\", \"ppt\" => \"application/vnd.ms-powerpoint\", \"ps\" => \"application/postscript\", \"qt\" => \"video/quicktime\", \"ras\" => \"image/x-cmu-raster\", \"rb\" => \"text/plain\", \"rd\" => \"text/plain\", \"rtf\" => \"application/rtf\", \"sgm\" => \"text/sgml\", \"sgml\" => \"text/sgml\", \"tif\" => \"image/tiff\", \"tiff\" => \"image/tiff\", \"txt\" => \"text/plain\", \"xbm\" => \"image/x-xbitmap\", \"xls\" => \"application/vnd.ms-excel\", \"xml\" => \"text/xml\", \"xpm\" => \"image/x-xpixmap\", \"xwd\" => \"image/x-xwindowdump\", \"zip\" => \"application/zip\", }" - !ruby/object:RI::Constant comment: name: UNESCAPED value: _make_regex(control+space+delims+unwise+nonascii) - !ruby/object:RI::Constant comment: name: UNESCAPED_FORM value: _make_regex(reserved+control+delims+unwise+nonascii) - !ruby/object:RI::Constant comment: name: NONASCII value: _make_regex(nonascii) - !ruby/object:RI::Constant comment: name: ESCAPED value: /%([0-9a-fA-F]{2})/ - !ruby/object:RI::Constant comment: name: UNESCAPED_PCHAR value: _make_regex!(unreserved+":@&=+$,") full_name: WEBrick::HTTPUtils includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _escape - !ruby/object:RI::MethodSummary name: _make_regex - !ruby/object:RI::MethodSummary name: _make_regex! - !ruby/object:RI::MethodSummary name: _unescape - !ruby/object:RI::MethodSummary name: dequote - !ruby/object:RI::MethodSummary name: escape - !ruby/object:RI::MethodSummary name: escape8bit - !ruby/object:RI::MethodSummary name: escape_form - !ruby/object:RI::MethodSummary name: escape_path - !ruby/object:RI::MethodSummary name: load_mime_types - !ruby/object:RI::MethodSummary name: mime_type - !ruby/object:RI::MethodSummary name: normalize_path - !ruby/object:RI::MethodSummary name: parse_form_data - !ruby/object:RI::MethodSummary name: parse_header - !ruby/object:RI::MethodSummary name: parse_query - !ruby/object:RI::MethodSummary name: parse_qvalues - !ruby/object:RI::MethodSummary name: parse_range_header - !ruby/object:RI::MethodSummary name: quote - !ruby/object:RI::MethodSummary name: split_header_value - !ruby/object:RI::MethodSummary name: unescape - !ruby/object:RI::MethodSummary name: unescape_form name: HTTPUtils superclass: ri/1.8/system/WEBrick/HTTPUtils/FormData/new-c.yaml 0000644 00000000273 15217654530 0015502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils::FormData::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/WEBrick/HTTPUtils/FormData/to_s-i.yaml 0000644 00000000270 15217654530 0015660 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils::FormData#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/WEBrick/HTTPUtils/FormData/%3c%3c-i.yaml 0000644 00000000271 15217654530 0015562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils::FormData#<< is_singleton: false name: "<<" params: (str) visibility: public ri/1.8/system/WEBrick/HTTPUtils/FormData/each_data-i.yaml 0000644 00000000323 15217654530 0016604 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (tmp) comment: full_name: WEBrick::HTTPUtils::FormData#each_data is_singleton: false name: each_data params: () {|tmp| ...} visibility: public ri/1.8/system/WEBrick/HTTPUtils/FormData/append_data-i.yaml 0000644 00000000312 15217654530 0017151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils::FormData#append_data is_singleton: false name: append_data params: (data) visibility: public ri/1.8/system/WEBrick/HTTPUtils/FormData/cdesc-FormData.yaml 0000644 00000001675 15217654530 0017254 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: filename rw: RW - !ruby/object:RI::Attribute comment: name: name rw: RW - !ruby/object:RI::Attribute comment: name: next_data rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: [] constants: - !ruby/object:RI::Constant comment: name: EmptyRawHeader value: "[].freeze" - !ruby/object:RI::Constant comment: name: EmptyHeader value: "{}.freeze" full_name: WEBrick::HTTPUtils::FormData includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: append_data - !ruby/object:RI::MethodSummary name: each_data - !ruby/object:RI::MethodSummary name: list - !ruby/object:RI::MethodSummary name: to_ary - !ruby/object:RI::MethodSummary name: to_s name: FormData superclass: String ri/1.8/system/WEBrick/HTTPUtils/FormData/%5b%5d-i.yaml 0000644 00000000272 15217654530 0015567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils::FormData#[] is_singleton: false name: "[]" params: (*key) visibility: public ri/1.8/system/WEBrick/HTTPUtils/FormData/to_ary-i.yaml 0000644 00000000362 15217654530 0016213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #list" full_name: WEBrick::HTTPUtils::FormData#to_ary is_singleton: false name: to_ary params: () visibility: public ri/1.8/system/WEBrick/HTTPUtils/FormData/list-i.yaml 0000644 00000000342 15217654530 0015667 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: to_ary block_params: comment: full_name: WEBrick::HTTPUtils::FormData#list is_singleton: false name: list params: () visibility: public ri/1.8/system/WEBrick/HTTPUtils/split_header_value-i.yaml 0000644 00000000315 15217654530 0017056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils#split_header_value is_singleton: false name: split_header_value params: (str) visibility: public ri/1.8/system/WEBrick/HTTPUtils/parse_qvalues-i.yaml 0000644 00000000305 15217654530 0016070 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils#parse_qvalues is_singleton: false name: parse_qvalues params: (value) visibility: public ri/1.8/system/WEBrick/HTTPUtils/parse_form_data-i.yaml 0000644 00000000320 15217654530 0016341 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils#parse_form_data is_singleton: false name: parse_form_data params: (io, boundary) visibility: public ri/1.8/system/WEBrick/HTTPUtils/escape_form-i.yaml 0000644 00000000277 15217654530 0015511 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils#escape_form is_singleton: false name: escape_form params: (str) visibility: public ri/1.8/system/WEBrick/HTTPUtils/_escape-i.yaml 0000644 00000000276 15217654530 0014624 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils#_escape is_singleton: false name: _escape params: (str, regex) visibility: public ri/1.8/system/WEBrick/HTTPUtils/load_mime_types-i.yaml 0000644 00000000424 15217654530 0016372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Load Apache compatible mime.types file. full_name: WEBrick::HTTPUtils#load_mime_types is_singleton: false name: load_mime_types params: (file) visibility: public ri/1.8/system/WEBrick/HTTPUtils/parse_query-i.yaml 0000644 00000000277 15217654530 0015565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils#parse_query is_singleton: false name: parse_query params: (str) visibility: public ri/1.8/system/WEBrick/HTTPUtils/_make_regex-i.yaml 0000644 00000000277 15217654530 0015474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils#_make_regex is_singleton: false name: _make_regex params: (str) visibility: public ri/1.8/system/WEBrick/HTTPUtils/unescape_form-i.yaml 0000644 00000000303 15217654530 0016042 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils#unescape_form is_singleton: false name: unescape_form params: (str) visibility: public ri/1.8/system/WEBrick/HTTPUtils/parse_range_header-i.yaml 0000644 00000000332 15217654530 0017014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils#parse_range_header is_singleton: false name: parse_range_header params: (ranges_specifier) visibility: public ri/1.8/system/WEBrick/HTTPUtils/escape-i.yaml 0000644 00000000265 15217654530 0014463 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils#escape is_singleton: false name: escape params: (str) visibility: public ri/1.8/system/WEBrick/HTTPUtils/escape_path-i.yaml 0000644 00000000277 15217654530 0015502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils#escape_path is_singleton: false name: escape_path params: (str) visibility: public ri/1.8/system/WEBrick/HTTPUtils/dequote-i.yaml 0000644 00000000272 15217654530 0014667 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: WEBrick::HTTPUtils#dequote is_singleton: false name: dequote params: (str) visibility: public ri/1.8/system/WEBrick/HTTPUtils/parse_header-i.yaml 0000644 00000000304 15217654530 0015637 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: WEBrick::HTTPUtils#parse_header is_singleton: false name: parse_header params: (raw) visibility: public ri/1.8/system/WEBrick/HTTPUtils/unescape-i.yaml 0000644 00000000271 15217654530 0015023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils#unescape is_singleton: false name: unescape params: (str) visibility: public ri/1.8/system/WEBrick/HTTPUtils/_unescape-i.yaml 0000644 00000000302 15217654530 0015155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils#_unescape is_singleton: false name: _unescape params: (str, regex) visibility: public ri/1.8/system/WEBrick/HTTPUtils/_make_regex%21-i.yaml 0000644 00000000301 15217654530 0015670 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPUtils#_make_regex! is_singleton: false name: _make_regex! params: (str) visibility: public ri/1.8/system/WEBrick/HTTPRequest/new-c.yaml 0000644 00000000264 15217654530 0014335 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest::new is_singleton: true name: new params: (config) visibility: public ri/1.8/system/WEBrick/HTTPRequest/to_s-i.yaml 0000644 00000000260 15217654530 0014512 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/WEBrick/HTTPRequest/content_length-i.yaml 0000644 00000000304 15217654530 0016560 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#content_length is_singleton: false name: content_length params: () visibility: public ri/1.8/system/WEBrick/HTTPRequest/read_data-i.yaml 0000644 00000000303 15217654530 0015450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#read_data is_singleton: false name: read_data params: (io, size) visibility: private ri/1.8/system/WEBrick/HTTPRequest/read_line-i.yaml 0000644 00000000275 15217654530 0015476 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#read_line is_singleton: false name: read_line params: (io) visibility: private ri/1.8/system/WEBrick/HTTPRequest/cdesc-HTTPRequest.yaml 0000644 00000007650 15217654530 0016541 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: accept rw: R - !ruby/object:RI::Attribute comment: name: accept_charset rw: R - !ruby/object:RI::Attribute comment: name: accept_encoding rw: R - !ruby/object:RI::Attribute comment: name: accept_language rw: R - !ruby/object:RI::Attribute comment: name: addr rw: R - !ruby/object:RI::Attribute comment: name: attributes rw: R - !ruby/object:RI::Attribute comment: name: cipher rw: R - !ruby/object:RI::Attribute comment: name: client_cert rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Header and entity body name: cookies rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Header and entity body name: header rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Request-URI name: host rw: R - !ruby/object:RI::Attribute comment: name: http_version rw: R - !ruby/object:RI::Attribute comment: name: keep_alive rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Request-URI name: path rw: R - !ruby/object:RI::Attribute comment: name: path_info rw: RW - !ruby/object:RI::Attribute comment: name: peeraddr rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Request-URI name: port rw: R - !ruby/object:RI::Attribute comment: name: query_string rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Header and entity body name: raw_header rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Request line name: request_line rw: R - !ruby/object:RI::Attribute comment: name: request_method rw: R - !ruby/object:RI::Attribute comment: name: request_time rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Request-URI name: request_uri rw: R - !ruby/object:RI::Attribute comment: name: script_name rw: RW - !ruby/object:RI::Attribute comment: name: server_cert rw: R - !ruby/object:RI::Attribute comment: name: unparsed_uri rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Misc name: user rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: BODY_CONTAINABLE_METHODS value: "[ \"POST\", \"PUT\" ]" - !ruby/object:RI::Constant comment: name: BUFSIZE value: 1024*4 full_name: WEBrick::HTTPRequest includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: _read_data - !ruby/object:RI::MethodSummary name: body - !ruby/object:RI::MethodSummary name: content_length - !ruby/object:RI::MethodSummary name: content_type - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: fixup - !ruby/object:RI::MethodSummary name: keep_alive? - !ruby/object:RI::MethodSummary name: meta_vars - !ruby/object:RI::MethodSummary name: meta_vars - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: parse_query - !ruby/object:RI::MethodSummary name: parse_uri - !ruby/object:RI::MethodSummary name: parse_uri - !ruby/object:RI::MethodSummary name: query - !ruby/object:RI::MethodSummary name: read_body - !ruby/object:RI::MethodSummary name: read_chunk_size - !ruby/object:RI::MethodSummary name: read_chunked - !ruby/object:RI::MethodSummary name: read_data - !ruby/object:RI::MethodSummary name: read_header - !ruby/object:RI::MethodSummary name: read_line - !ruby/object:RI::MethodSummary name: read_request_line - !ruby/object:RI::MethodSummary name: to_s name: HTTPRequest superclass: Object ri/1.8/system/WEBrick/HTTPRequest/keep_alive%3f-i.yaml 0000644 00000000276 15217654530 0016157 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#keep_alive? is_singleton: false name: keep_alive? params: () visibility: public ri/1.8/system/WEBrick/HTTPRequest/content_type-i.yaml 0000644 00000000300 15217654530 0016254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#content_type is_singleton: false name: content_type params: () visibility: public ri/1.8/system/WEBrick/HTTPRequest/parse_uri-i.yaml 0000644 00000000315 15217654530 0015540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#parse_uri is_singleton: false name: parse_uri params: (str, scheme="https") visibility: public ri/1.8/system/WEBrick/HTTPRequest/%5b%5d-i.yaml 0000644 00000000271 15217654530 0014421 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#[] is_singleton: false name: "[]" params: (header_name) visibility: public ri/1.8/system/WEBrick/HTTPRequest/read_header-i.yaml 0000644 00000000305 15217654530 0015771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#read_header is_singleton: false name: read_header params: (socket) visibility: private ri/1.8/system/WEBrick/HTTPRequest/read_request_line-i.yaml 0000644 00000000321 15217654530 0017236 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#read_request_line is_singleton: false name: read_request_line params: (socket) visibility: private ri/1.8/system/WEBrick/HTTPRequest/each-i.yaml 0000644 00000000423 15217654530 0014447 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "(k, value.empty? ? nil : value.join(\", \"))" comment: full_name: WEBrick::HTTPRequest#each is_singleton: false name: each params: "() {|k, value.empty? ? nil : value.join(\", \")| ...}" visibility: public ri/1.8/system/WEBrick/HTTPRequest/query-i.yaml 0000644 00000000262 15217654530 0014715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#query is_singleton: false name: query params: () visibility: public ri/1.8/system/WEBrick/HTTPRequest/_read_data-i.yaml 0000644 00000000314 15217654530 0015611 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#_read_data is_singleton: false name: _read_data params: (io, method, arg) visibility: private ri/1.8/system/WEBrick/HTTPRequest/parse-i.yaml 0000644 00000000274 15217654530 0014665 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#parse is_singleton: false name: parse params: (socket=nil) visibility: public ri/1.8/system/WEBrick/HTTPRequest/parse_query-i.yaml 0000644 00000000277 15217654530 0016115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#parse_query is_singleton: false name: parse_query params: () visibility: private ri/1.8/system/WEBrick/HTTPRequest/body-i.yaml 0000644 00000000266 15217654530 0014511 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#body is_singleton: false name: body params: (&block) visibility: public ri/1.8/system/WEBrick/HTTPRequest/meta_vars-i.yaml 0000644 00000000272 15217654530 0015532 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#meta_vars is_singleton: false name: meta_vars params: () visibility: public ri/1.8/system/WEBrick/HTTPRequest/read_chunk_size-i.yaml 0000644 00000000315 15217654530 0016704 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#read_chunk_size is_singleton: false name: read_chunk_size params: (socket) visibility: private ri/1.8/system/WEBrick/HTTPRequest/read_chunked-i.yaml 0000644 00000000316 15217654530 0016164 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#read_chunked is_singleton: false name: read_chunked params: (socket, block) visibility: private ri/1.8/system/WEBrick/HTTPRequest/read_body-i.yaml 0000644 00000000310 15217654530 0015472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#read_body is_singleton: false name: read_body params: (socket, block) visibility: private ri/1.8/system/WEBrick/HTTPRequest/fixup-i.yaml 0000644 00000000262 15217654530 0014703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPRequest#fixup is_singleton: false name: fixup params: () visibility: public ri/1.8/system/WEBrick/Cookie/cdesc-Cookie.yaml 0000644 00000002057 15217654530 0014677 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: comment rw: RW - !ruby/object:RI::Attribute comment: name: domain rw: RW - !ruby/object:RI::Attribute comment: name: max_age rw: RW - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: path rw: RW - !ruby/object:RI::Attribute comment: name: secure rw: RW - !ruby/object:RI::Attribute comment: name: value rw: RW - !ruby/object:RI::Attribute comment: name: version rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: parse_set_cookie - !ruby/object:RI::MethodSummary name: parse_set_cookies comment: constants: [] full_name: WEBrick::Cookie includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: expires - !ruby/object:RI::MethodSummary name: expires= - !ruby/object:RI::MethodSummary name: to_s name: Cookie superclass: Object ri/1.8/system/WEBrick/Cookie/new-c.yaml 0000644 00000000404 15217654530 0013412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: attr_accessor :comment_url, :discard, :port full_name: WEBrick::Cookie::new is_singleton: true name: new params: (name, value) visibility: public ri/1.8/system/WEBrick/Cookie/to_s-i.yaml 0000644 00000000253 15217654530 0013575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::Cookie#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/WEBrick/Cookie/expires-i.yaml 0000644 00000000261 15217654530 0014307 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::Cookie#expires is_singleton: false name: expires params: () visibility: public ri/1.8/system/WEBrick/Cookie/parse_set_cookie-c.yaml 0000644 00000000306 15217654530 0016140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::Cookie::parse_set_cookie is_singleton: true name: parse_set_cookie params: (str) visibility: public ri/1.8/system/WEBrick/Cookie/expires%3d-i.yaml 0000644 00000000264 15217654530 0014606 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::Cookie#expires= is_singleton: false name: expires= params: (t) visibility: public ri/1.8/system/WEBrick/Cookie/parse_set_cookies-c.yaml 0000644 00000000310 15217654530 0016316 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::Cookie::parse_set_cookies is_singleton: true name: parse_set_cookies params: (str) visibility: public ri/1.8/system/WEBrick/Cookie/parse-c.yaml 0000644 00000000502 15217654530 0013732 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Cookie::parse() - !ruby/struct:SM::Flow::VERB body: " It parses Cookie field sent from the user agent.\n" full_name: WEBrick::Cookie::parse is_singleton: true name: parse params: (str) visibility: public ri/1.8/system/WEBrick/HTTPResponse/_write_data-i.yaml 0000644 00000000314 15217654530 0016176 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#_write_data is_singleton: false name: _write_data params: (socket, data) visibility: private ri/1.8/system/WEBrick/HTTPResponse/new-c.yaml 0000644 00000000265 15217654530 0014504 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse::new is_singleton: true name: new params: (config) visibility: public ri/1.8/system/WEBrick/HTTPResponse/to_s-i.yaml 0000644 00000000261 15217654530 0014661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/WEBrick/HTTPResponse/content_length-i.yaml 0000644 00000000305 15217654530 0016727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#content_length is_singleton: false name: content_length params: () visibility: public ri/1.8/system/WEBrick/HTTPResponse/_send_file-i.yaml 0000644 00000000331 15217654530 0016002 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#_send_file is_singleton: false name: _send_file params: (output, input, offset, size) visibility: private ri/1.8/system/WEBrick/HTTPResponse/set_redirect-i.yaml 0000644 00000000314 15217654530 0016370 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#set_redirect is_singleton: false name: set_redirect params: (status, url) visibility: public ri/1.8/system/WEBrick/HTTPResponse/setup_header-i.yaml 0000644 00000000301 15217654530 0016360 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#setup_header is_singleton: false name: setup_header params: () visibility: public ri/1.8/system/WEBrick/HTTPResponse/cdesc-HTTPResponse.yaml 0000644 00000004601 15217654530 0017046 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: body rw: RW - !ruby/object:RI::Attribute comment: name: config rw: R - !ruby/object:RI::Attribute comment: name: cookies rw: R - !ruby/object:RI::Attribute comment: name: filename rw: RW - !ruby/object:RI::Attribute comment: name: header rw: R - !ruby/object:RI::Attribute comment: name: http_version rw: R - !ruby/object:RI::Attribute comment: name: keep_alive rw: RW - !ruby/object:RI::Attribute comment: name: reason_phrase rw: RW - !ruby/object:RI::Attribute comment: name: request_http_version rw: RW - !ruby/object:RI::Attribute comment: name: request_method rw: RW - !ruby/object:RI::Attribute comment: name: request_uri rw: RW - !ruby/object:RI::Attribute comment: name: sent_size rw: R - !ruby/object:RI::Attribute comment: name: status rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: BUFSIZE value: 1024*4 full_name: WEBrick::HTTPResponse includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: _send_file - !ruby/object:RI::MethodSummary name: _write_data - !ruby/object:RI::MethodSummary name: chunked= - !ruby/object:RI::MethodSummary name: chunked? - !ruby/object:RI::MethodSummary name: content_length - !ruby/object:RI::MethodSummary name: content_length= - !ruby/object:RI::MethodSummary name: content_type - !ruby/object:RI::MethodSummary name: content_type= - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: keep_alive? - !ruby/object:RI::MethodSummary name: send_body - !ruby/object:RI::MethodSummary name: send_body_io - !ruby/object:RI::MethodSummary name: send_body_string - !ruby/object:RI::MethodSummary name: send_header - !ruby/object:RI::MethodSummary name: send_response - !ruby/object:RI::MethodSummary name: set_error - !ruby/object:RI::MethodSummary name: set_redirect - !ruby/object:RI::MethodSummary name: setup_header - !ruby/object:RI::MethodSummary name: status= - !ruby/object:RI::MethodSummary name: status_line - !ruby/object:RI::MethodSummary name: to_s name: HTTPResponse superclass: Object ri/1.8/system/WEBrick/HTTPResponse/keep_alive%3f-i.yaml 0000644 00000000277 15217654530 0016326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#keep_alive? is_singleton: false name: keep_alive? params: () visibility: public ri/1.8/system/WEBrick/HTTPResponse/send_body_io-i.yaml 0000644 00000000310 15217654530 0016345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#send_body_io is_singleton: false name: send_body_io params: (socket) visibility: private ri/1.8/system/WEBrick/HTTPResponse/send_body-i.yaml 0000644 00000000301 15217654530 0015656 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#send_body is_singleton: false name: send_body params: (socket) visibility: public ri/1.8/system/WEBrick/HTTPResponse/content_type-i.yaml 0000644 00000000301 15217654530 0016423 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#content_type is_singleton: false name: content_type params: () visibility: public ri/1.8/system/WEBrick/HTTPResponse/content_length%3d-i.yaml 0000644 00000000312 15217654530 0017221 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#content_length= is_singleton: false name: content_length= params: (len) visibility: public ri/1.8/system/WEBrick/HTTPResponse/send_header-i.yaml 0000644 00000000305 15217654530 0016155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#send_header is_singleton: false name: send_header params: (socket) visibility: public ri/1.8/system/WEBrick/HTTPResponse/%5b%5d%3d-i.yaml 0000644 00000000275 15217654530 0015067 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#[]= is_singleton: false name: "[]=" params: (field, value) visibility: public ri/1.8/system/WEBrick/HTTPResponse/content_type%3d-i.yaml 0000644 00000000307 15217654530 0016725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#content_type= is_singleton: false name: content_type= params: (type) visibility: public ri/1.8/system/WEBrick/HTTPResponse/send_response-i.yaml 0000644 00000000311 15217654530 0016560 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#send_response is_singleton: false name: send_response params: (socket) visibility: public ri/1.8/system/WEBrick/HTTPResponse/%5b%5d-i.yaml 0000644 00000000264 15217654530 0014571 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#[] is_singleton: false name: "[]" params: (field) visibility: public ri/1.8/system/WEBrick/HTTPResponse/send_body_string-i.yaml 0000644 00000000320 15217654530 0017245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#send_body_string is_singleton: false name: send_body_string params: (socket) visibility: private ri/1.8/system/WEBrick/HTTPResponse/status%3d-i.yaml 0000644 00000000275 15217654530 0015541 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#status= is_singleton: false name: status= params: (status) visibility: public ri/1.8/system/WEBrick/HTTPResponse/each-i.yaml 0000644 00000000304 15217654530 0014613 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (k, v) comment: full_name: WEBrick::HTTPResponse#each is_singleton: false name: each params: () {|k, v| ...} visibility: public ri/1.8/system/WEBrick/HTTPResponse/status_line-i.yaml 0000644 00000000277 15217654530 0016256 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#status_line is_singleton: false name: status_line params: () visibility: public ri/1.8/system/WEBrick/HTTPResponse/set_error-i.yaml 0000644 00000000316 15217654530 0015722 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#set_error is_singleton: false name: set_error params: (ex, backtrace=false) visibility: public ri/1.8/system/WEBrick/HTTPResponse/chunked%3f-i.yaml 0000644 00000000271 15217654530 0015635 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#chunked? is_singleton: false name: chunked? params: () visibility: public ri/1.8/system/WEBrick/HTTPResponse/chunked%3d-i.yaml 0000644 00000000274 15217654530 0015636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPResponse#chunked= is_singleton: false name: chunked= params: (val) visibility: public ri/1.8/system/WEBrick/BasicLog/new-c.yaml 0000644 00000000302 15217654530 0013661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::BasicLog::new is_singleton: true name: new params: (log_file=nil, level=nil) visibility: public ri/1.8/system/WEBrick/BasicLog/%3c%3c-i.yaml 0000644 00000000256 15217654530 0013753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::BasicLog#<< is_singleton: false name: "<<" params: (obj) visibility: public ri/1.8/system/WEBrick/BasicLog/warn-i.yaml 0000644 00000000260 15217654530 0014050 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::BasicLog#warn is_singleton: false name: warn params: (msg) visibility: public ri/1.8/system/WEBrick/BasicLog/error-i.yaml 0000644 00000000262 15217654530 0014234 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::BasicLog#error is_singleton: false name: error params: (msg) visibility: public ri/1.8/system/WEBrick/BasicLog/warn%3f-i.yaml 0000644 00000000257 15217654530 0014354 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::BasicLog#warn? is_singleton: false name: warn? params: () visibility: public ri/1.8/system/WEBrick/BasicLog/debug%3f-i.yaml 0000644 00000000261 15217654530 0014466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::BasicLog#debug? is_singleton: false name: debug? params: () visibility: public ri/1.8/system/WEBrick/BasicLog/close-i.yaml 0000644 00000000257 15217654530 0014214 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::BasicLog#close is_singleton: false name: close params: () visibility: public ri/1.8/system/WEBrick/BasicLog/fatal-i.yaml 0000644 00000000262 15217654530 0014172 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::BasicLog#fatal is_singleton: false name: fatal params: (msg) visibility: public ri/1.8/system/WEBrick/BasicLog/info-i.yaml 0000644 00000000260 15217654530 0014034 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::BasicLog#info is_singleton: false name: info params: (msg) visibility: public ri/1.8/system/WEBrick/BasicLog/error%3f-i.yaml 0000644 00000000261 15217654530 0014531 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::BasicLog#error? is_singleton: false name: error? params: () visibility: public ri/1.8/system/WEBrick/BasicLog/cdesc-BasicLog.yaml 0000644 00000002026 15217654530 0015417 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: level rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: DEBUG value: 1, 2, 3, 4, 5 full_name: WEBrick::BasicLog includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: debug - !ruby/object:RI::MethodSummary name: debug? - !ruby/object:RI::MethodSummary name: error - !ruby/object:RI::MethodSummary name: error? - !ruby/object:RI::MethodSummary name: fatal - !ruby/object:RI::MethodSummary name: fatal? - !ruby/object:RI::MethodSummary name: format - !ruby/object:RI::MethodSummary name: info - !ruby/object:RI::MethodSummary name: info? - !ruby/object:RI::MethodSummary name: log - !ruby/object:RI::MethodSummary name: warn - !ruby/object:RI::MethodSummary name: warn? name: BasicLog superclass: Object ri/1.8/system/WEBrick/BasicLog/debug-i.yaml 0000644 00000000262 15217654530 0014171 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::BasicLog#debug is_singleton: false name: debug params: (msg) visibility: public ri/1.8/system/WEBrick/BasicLog/format-i.yaml 0000644 00000000265 15217654530 0014376 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::BasicLog#format is_singleton: false name: format params: (arg) visibility: private ri/1.8/system/WEBrick/BasicLog/info%3f-i.yaml 0000644 00000000257 15217654530 0014340 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::BasicLog#info? is_singleton: false name: info? params: () visibility: public ri/1.8/system/WEBrick/BasicLog/fatal%3f-i.yaml 0000644 00000000261 15217654530 0014467 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::BasicLog#fatal? is_singleton: false name: fatal? params: () visibility: public ri/1.8/system/WEBrick/BasicLog/log-i.yaml 0000644 00000000266 15217654530 0013670 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::BasicLog#log is_singleton: false name: log params: (level, data) visibility: public ri/1.8/system/WEBrick/Config/cdesc-Config.yaml 0000644 00000010042 15217654530 0014660 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: LIBDIR value: File::dirname(__FILE__) - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: for GenericServer name: General value: "{ :ServerName => Utils::getservername, :BindAddress => nil, # \"0.0.0.0\" or \"::\" or nil :Port => nil, # users MUST specifiy this!! :MaxClients => 100, # maximum number of the concurrent connections :ServerType => nil, # default: WEBrick::SimpleServer :Logger => nil, # default: WEBrick::Log.new :ServerSoftware => \"WEBrick/#{WEBrick::VERSION} \" + \"(Ruby/#{RUBY_VERSION}/#{RUBY_RELEASE_DATE})\", :TempDir => ENV['TMPDIR']||ENV['TMP']||ENV['TEMP']||'/tmp', :DoNotListen => false, :StartCallback => nil, :StopCallback => nil, :AcceptCallback => nil, }" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: for HTTPServer, HTTPRequest, HTTPResponse ... name: HTTP value: "General.dup.update( :Port => 80, :RequestTimeout => 30, :HTTPVersion => HTTPVersion.new(\"1.1\"), :AccessLog => nil, :MimeTypes => HTTPUtils::DefaultMimeTypes, :DirectoryIndex => [\"index.html\",\"index.htm\",\"index.cgi\",\"index.rhtml\"], :DocumentRoot => nil, :DocumentRootOptions => { :FancyIndexing => true }, :RequestHandler => nil, :RequestCallback => nil, # alias of :RequestHandler :ServerAlias => nil, # for HTTPProxyServer :ProxyAuthProc => nil, :ProxyContentHandler => nil, :ProxyVia => true, :ProxyTimeout => true, :ProxyURI => nil, :CGIInterpreter => nil, :CGIPathEnv => nil, # workaround: if Request-URIs contain 8bit chars, # they should be escaped before calling of URI::parse(). :Escape8bitURI => false" - !ruby/object:RI::Constant comment: name: FileHandler value: "{ :NondisclosureName => [\".ht*\", \"*~\"], :FancyIndexing => false, :HandlerTable => {}, :HandlerCallback => nil, :DirectoryCallback => nil, :FileCallback => nil, :UserDir => nil, # e.g. \"public_html\" :AcceptableLanguages => []" - !ruby/object:RI::Constant comment: name: BasicAuth value: "{ :AutoReloadUserDB => true, }" - !ruby/object:RI::Constant comment: name: DigestAuth value: "{ :Algorithm => 'MD5-sess', # or 'MD5' :Domain => nil, # an array includes domain names. :Qop => [ 'auth' ], # 'auth' or 'auth-int' or both. :UseOpaque => true, :UseNextNonce => false, :CheckNc => false, :UseAuthenticationInfoHeader => true, :AutoReloadUserDB => true, :NonceExpirePeriod => 30*60, :NonceExpireDelta => 60, :InternetExplorerHack => true, :OperaHack => true, }" - !ruby/object:RI::Constant comment: name: SSL value: "{ :ServerSoftware => \"#{svrsoft} OpenSSL/#{osslv}\", :SSLEnable => false, :SSLCertificate => nil, :SSLPrivateKey => nil, :SSLClientCA => nil, :SSLExtraChainCert => nil, :SSLCACertificateFile => nil, :SSLCACertificatePath => nil, :SSLCertificateStore => nil, :SSLVerifyClient => ::OpenSSL::SSL::VERIFY_NONE, :SSLVerifyDepth => nil, :SSLVerifyCallback => nil, # custom verification :SSLTimeout => nil, :SSLOptions => nil, :SSLStartImmediately => true, # Must specify if you use auto generated certificate. :SSLCertName => nil, :SSLCertComment => \"Generated by Ruby/OpenSSL\"" full_name: WEBrick::Config includes: [] instance_methods: [] name: Config superclass: ri/1.8/system/WEBrick/HTTPAuth/_basic_auth-i.yaml 0000644 00000000361 15217654530 0015262 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth#_basic_auth is_singleton: false name: _basic_auth params: (req, res, realm, req_field, res_field, err_type, block) visibility: public ri/1.8/system/WEBrick/HTTPAuth/Authenticator/error-i.yaml 0000644 00000000311 15217654530 0016757 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Authenticator#error is_singleton: false name: error params: (fmt, *args) visibility: private ri/1.8/system/WEBrick/HTTPAuth/Authenticator/check_init-i.yaml 0000644 00000000317 15217654530 0017734 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Authenticator#check_init is_singleton: false name: check_init params: (config) visibility: private ri/1.8/system/WEBrick/HTTPAuth/Authenticator/info-i.yaml 0000644 00000000307 15217654530 0016566 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Authenticator#info is_singleton: false name: info params: (fmt, *args) visibility: private ri/1.8/system/WEBrick/HTTPAuth/Authenticator/check_scheme-i.yaml 0000644 00000000320 15217654530 0020227 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Authenticator#check_scheme is_singleton: false name: check_scheme params: (req) visibility: private ri/1.8/system/WEBrick/HTTPAuth/Authenticator/cdesc-Authenticator.yaml 0000644 00000002120 15217654530 0021271 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: logger rw: R - !ruby/object:RI::Attribute comment: name: realm rw: R - !ruby/object:RI::Attribute comment: name: userdb rw: R class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: RequestField value: "\"Authorization\"" - !ruby/object:RI::Constant comment: name: ResponseField value: "\"WWW-Authenticate\"" - !ruby/object:RI::Constant comment: name: ResponseInfoField value: "\"Authentication-Info\"" - !ruby/object:RI::Constant comment: name: AuthException value: HTTPStatus::Unauthorized - !ruby/object:RI::Constant comment: name: AuthScheme value: nil full_name: WEBrick::HTTPAuth::Authenticator includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: check_init - !ruby/object:RI::MethodSummary name: check_scheme - !ruby/object:RI::MethodSummary name: error - !ruby/object:RI::MethodSummary name: info - !ruby/object:RI::MethodSummary name: log name: Authenticator superclass: ri/1.8/system/WEBrick/HTTPAuth/Authenticator/log-i.yaml 0000644 00000000313 15217654530 0016411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Authenticator#log is_singleton: false name: log params: (meth, fmt, *args) visibility: private ri/1.8/system/WEBrick/HTTPAuth/proxy_basic_auth-i.yaml 0000644 00000000334 15217654530 0016364 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth#proxy_basic_auth is_singleton: false name: proxy_basic_auth params: (req, res, realm, &block) visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htgroup/new-c.yaml 0000644 00000000270 15217654530 0015233 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Htgroup::new is_singleton: true name: new params: (path) visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htgroup/reload-i.yaml 0000644 00000000272 15217654530 0015720 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Htgroup#reload is_singleton: false name: reload params: () visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htgroup/cdesc-Htgroup.yaml 0000644 00000000667 15217654530 0016743 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WEBrick::HTTPAuth::Htgroup includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: flush - !ruby/object:RI::MethodSummary name: members - !ruby/object:RI::MethodSummary name: reload name: Htgroup superclass: Object ri/1.8/system/WEBrick/HTTPAuth/Htgroup/flush-i.yaml 0000644 00000000302 15217654530 0015565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Htgroup#flush is_singleton: false name: flush params: (output=nil) visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htgroup/add-i.yaml 0000644 00000000302 15217654530 0015174 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Htgroup#add is_singleton: false name: add params: (group, members) visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htgroup/members-i.yaml 0000644 00000000301 15217654530 0016075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Htgroup#members is_singleton: false name: members params: (group) visibility: public ri/1.8/system/WEBrick/HTTPAuth/UserDB/make_passwd-i.yaml 0000644 00000000324 15217654530 0016442 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::UserDB#make_passwd is_singleton: false name: make_passwd params: (realm, user, pass) visibility: public ri/1.8/system/WEBrick/HTTPAuth/UserDB/cdesc-UserDB.yaml 0000644 00000000645 15217654530 0016127 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: auth_type rw: RW class_methods: [] comment: constants: [] full_name: WEBrick::HTTPAuth::UserDB includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: get_passwd - !ruby/object:RI::MethodSummary name: make_passwd - !ruby/object:RI::MethodSummary name: set_passwd name: UserDB superclass: ri/1.8/system/WEBrick/HTTPAuth/UserDB/set_passwd-i.yaml 0000644 00000000322 15217654530 0016316 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::UserDB#set_passwd is_singleton: false name: set_passwd params: (realm, user, pass) visibility: public ri/1.8/system/WEBrick/HTTPAuth/UserDB/get_passwd-i.yaml 0000644 00000000335 15217654530 0016306 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::UserDB#get_passwd is_singleton: false name: get_passwd params: (realm, user, reload_db=false) visibility: public ri/1.8/system/WEBrick/HTTPAuth/ProxyBasicAuth/cdesc-ProxyBasicAuth.yaml 0000644 00000000432 15217654530 0021463 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WEBrick::HTTPAuth::ProxyBasicAuth includes: - !ruby/object:RI::IncludedModule name: ProxyAuthenticator instance_methods: [] name: ProxyBasicAuth superclass: BasicAuth ri/1.8/system/WEBrick/HTTPAuth/DigestAuth/new-c.yaml 0000644 00000000331 15217654530 0015642 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::DigestAuth::new is_singleton: true name: new params: (config, default=Config::DigestAuth) visibility: public ri/1.8/system/WEBrick/HTTPAuth/DigestAuth/make_passwd-c.yaml 0000644 00000000330 15217654530 0017346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::DigestAuth::make_passwd is_singleton: true name: make_passwd params: (realm, user, pass) visibility: public ri/1.8/system/WEBrick/HTTPAuth/DigestAuth/generate_next_nonce-i.yaml 0000644 00000000333 15217654530 0021073 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::DigestAuth#generate_next_nonce is_singleton: false name: generate_next_nonce params: (req) visibility: private ri/1.8/system/WEBrick/HTTPAuth/DigestAuth/generate_opaque-i.yaml 0000644 00000000323 15217654530 0020224 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::DigestAuth#generate_opaque is_singleton: false name: generate_opaque params: (req) visibility: private ri/1.8/system/WEBrick/HTTPAuth/DigestAuth/split_param_value-i.yaml 0000644 00000000332 15217654530 0020567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::DigestAuth#split_param_value is_singleton: false name: split_param_value params: (string) visibility: private ri/1.8/system/WEBrick/HTTPAuth/DigestAuth/_authenticate-i.yaml 0000644 00000000324 15217654530 0017676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::DigestAuth#_authenticate is_singleton: false name: _authenticate params: (req, res) visibility: private ri/1.8/system/WEBrick/HTTPAuth/DigestAuth/check_uri-i.yaml 0000644 00000000321 15217654530 0017012 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::DigestAuth#check_uri is_singleton: false name: check_uri params: (req, auth_req) visibility: private ri/1.8/system/WEBrick/HTTPAuth/DigestAuth/cdesc-DigestAuth.yaml 0000644 00000002626 15217654530 0017762 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: algorithm rw: R - !ruby/object:RI::Attribute comment: name: qop rw: R class_methods: - !ruby/object:RI::MethodSummary name: make_passwd - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: AuthScheme value: "\"Digest\"" - !ruby/object:RI::Constant comment: name: OpaqueInfo value: Struct.new(:time, :nonce, :nc) - !ruby/object:RI::Constant comment: name: MustParams value: "['username','realm','nonce','uri','response']" - !ruby/object:RI::Constant comment: name: MustParamsAuth value: "['cnonce','nc']" full_name: WEBrick::HTTPAuth::DigestAuth includes: - !ruby/object:RI::IncludedModule name: Authenticator instance_methods: - !ruby/object:RI::MethodSummary name: _authenticate - !ruby/object:RI::MethodSummary name: authenticate - !ruby/object:RI::MethodSummary name: challenge - !ruby/object:RI::MethodSummary name: check_nonce - !ruby/object:RI::MethodSummary name: check_opaque - !ruby/object:RI::MethodSummary name: check_uri - !ruby/object:RI::MethodSummary name: generate_next_nonce - !ruby/object:RI::MethodSummary name: generate_opaque - !ruby/object:RI::MethodSummary name: hexdigest - !ruby/object:RI::MethodSummary name: split_param_value name: DigestAuth superclass: Object ri/1.8/system/WEBrick/HTTPAuth/DigestAuth/hexdigest-i.yaml 0000644 00000000311 15217654530 0017041 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::DigestAuth#hexdigest is_singleton: false name: hexdigest params: (*args) visibility: private ri/1.8/system/WEBrick/HTTPAuth/DigestAuth/check_opaque-i.yaml 0000644 00000000346 15217654530 0017514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::DigestAuth#check_opaque is_singleton: false name: check_opaque params: (opaque_struct, req, auth_req) visibility: private ri/1.8/system/WEBrick/HTTPAuth/DigestAuth/check_nonce-i.yaml 0000644 00000000325 15217654530 0017321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::DigestAuth#check_nonce is_singleton: false name: check_nonce params: (req, auth_req) visibility: private ri/1.8/system/WEBrick/HTTPAuth/DigestAuth/authenticate-i.yaml 0000644 00000000321 15217654530 0017534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::DigestAuth#authenticate is_singleton: false name: authenticate params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPAuth/DigestAuth/challenge-i.yaml 0000644 00000000330 15217654530 0017000 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::DigestAuth#challenge is_singleton: false name: challenge params: (req, res, stale=false) visibility: public ri/1.8/system/WEBrick/HTTPAuth/basic_auth-i.yaml 0000644 00000000320 15217654530 0015116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth#basic_auth is_singleton: false name: basic_auth params: (req, res, realm, &block) visibility: public ri/1.8/system/WEBrick/HTTPAuth/BasicAuth/new-c.yaml 0000644 00000000327 15217654530 0015451 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::BasicAuth::new is_singleton: true name: new params: (config, default=Config::BasicAuth) visibility: public ri/1.8/system/WEBrick/HTTPAuth/BasicAuth/make_passwd-c.yaml 0000644 00000000327 15217654530 0017156 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::BasicAuth::make_passwd is_singleton: true name: make_passwd params: (realm, user, pass) visibility: public ri/1.8/system/WEBrick/HTTPAuth/BasicAuth/cdesc-BasicAuth.yaml 0000644 00000001336 15217654530 0017363 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: logger rw: R - !ruby/object:RI::Attribute comment: name: realm rw: R - !ruby/object:RI::Attribute comment: name: userdb rw: R class_methods: - !ruby/object:RI::MethodSummary name: make_passwd - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: AuthScheme value: "\"Basic\"" full_name: WEBrick::HTTPAuth::BasicAuth includes: - !ruby/object:RI::IncludedModule name: Authenticator instance_methods: - !ruby/object:RI::MethodSummary name: authenticate - !ruby/object:RI::MethodSummary name: challenge name: BasicAuth superclass: Object ri/1.8/system/WEBrick/HTTPAuth/BasicAuth/authenticate-i.yaml 0000644 00000000320 15217654530 0017335 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::BasicAuth#authenticate is_singleton: false name: authenticate params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPAuth/BasicAuth/challenge-i.yaml 0000644 00000000312 15217654530 0016602 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::BasicAuth#challenge is_singleton: false name: challenge params: (req, res) visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htdigest/new-c.yaml 0000644 00000000271 15217654530 0015357 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Htdigest::new is_singleton: true name: new params: (path) visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htdigest/delete_passwd-i.yaml 0000644 00000000324 15217654530 0017416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Htdigest#delete_passwd is_singleton: false name: delete_passwd params: (realm, user) visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htdigest/cdesc-Htdigest.yaml 0000644 00000001131 15217654530 0017174 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WEBrick::HTTPAuth::Htdigest includes: - !ruby/object:RI::IncludedModule name: UserDB instance_methods: - !ruby/object:RI::MethodSummary name: delete_passwd - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: flush - !ruby/object:RI::MethodSummary name: get_passwd - !ruby/object:RI::MethodSummary name: reload - !ruby/object:RI::MethodSummary name: set_passwd name: Htdigest superclass: Object ri/1.8/system/WEBrick/HTTPAuth/Htdigest/reload-i.yaml 0000644 00000000273 15217654530 0016044 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Htdigest#reload is_singleton: false name: reload params: () visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htdigest/each-i.yaml 0000644 00000000364 15217654530 0015477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: ([user, realm, hash[user]]) comment: full_name: WEBrick::HTTPAuth::Htdigest#each is_singleton: false name: each params: () {|[user, realm, hash[user]]| ...} visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htdigest/flush-i.yaml 0000644 00000000303 15217654530 0015711 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Htdigest#flush is_singleton: false name: flush params: (output=nil) visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htdigest/set_passwd-i.yaml 0000644 00000000324 15217654530 0016747 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Htdigest#set_passwd is_singleton: false name: set_passwd params: (realm, user, pass) visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htdigest/get_passwd-i.yaml 0000644 00000000331 15217654530 0016731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Htdigest#get_passwd is_singleton: false name: get_passwd params: (realm, user, reload_db) visibility: public ri/1.8/system/WEBrick/HTTPAuth/cdesc-HTTPAuth.yaml 0000644 00000000543 15217654530 0015255 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WEBrick::HTTPAuth includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _basic_auth - !ruby/object:RI::MethodSummary name: basic_auth - !ruby/object:RI::MethodSummary name: proxy_basic_auth name: HTTPAuth superclass: ri/1.8/system/WEBrick/HTTPAuth/ProxyDigestAuth/cdesc-ProxyDigestAuth.yaml 0000644 00000000516 15217654530 0022062 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WEBrick::HTTPAuth::ProxyDigestAuth includes: - !ruby/object:RI::IncludedModule name: ProxyAuthenticator instance_methods: - !ruby/object:RI::MethodSummary name: check_uri name: ProxyDigestAuth superclass: DigestAuth ri/1.8/system/WEBrick/HTTPAuth/ProxyDigestAuth/check_uri-i.yaml 0000644 00000000325 15217654530 0020060 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::ProxyDigestAuth#check_uri is_singleton: false name: check_uri params: (req, auth_req) visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htpasswd/new-c.yaml 0000644 00000000271 15217654530 0015401 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Htpasswd::new is_singleton: true name: new params: (path) visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htpasswd/delete_passwd-i.yaml 0000644 00000000324 15217654530 0017440 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Htpasswd#delete_passwd is_singleton: false name: delete_passwd params: (realm, user) visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htpasswd/cdesc-Htpasswd.yaml 0000644 00000001131 15217654530 0017240 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WEBrick::HTTPAuth::Htpasswd includes: - !ruby/object:RI::IncludedModule name: UserDB instance_methods: - !ruby/object:RI::MethodSummary name: delete_passwd - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: flush - !ruby/object:RI::MethodSummary name: get_passwd - !ruby/object:RI::MethodSummary name: reload - !ruby/object:RI::MethodSummary name: set_passwd name: Htpasswd superclass: Object ri/1.8/system/WEBrick/HTTPAuth/Htpasswd/reload-i.yaml 0000644 00000000273 15217654530 0016066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Htpasswd#reload is_singleton: false name: reload params: () visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htpasswd/each-i.yaml 0000644 00000000354 15217654530 0015520 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: ([user, @passwd[user]]) comment: full_name: WEBrick::HTTPAuth::Htpasswd#each is_singleton: false name: each params: () {|[user, @passwd[user]]| ...} visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htpasswd/flush-i.yaml 0000644 00000000303 15217654530 0015733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Htpasswd#flush is_singleton: false name: flush params: (output=nil) visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htpasswd/set_passwd-i.yaml 0000644 00000000324 15217654530 0016771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Htpasswd#set_passwd is_singleton: false name: set_passwd params: (realm, user, pass) visibility: public ri/1.8/system/WEBrick/HTTPAuth/Htpasswd/get_passwd-i.yaml 0000644 00000000331 15217654530 0016753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WEBrick::HTTPAuth::Htpasswd#get_passwd is_singleton: false name: get_passwd params: (realm, user, reload_db) visibility: public ri/1.8/system/WEBrick/HTTPAuth/ProxyAuthenticator/cdesc-ProxyAuthenticator.yaml 0000644 00000001161 15217654530 0023401 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: RequestField value: "\"Proxy-Authorization\"" - !ruby/object:RI::Constant comment: name: ResponseField value: "\"Proxy-Authenticate\"" - !ruby/object:RI::Constant comment: name: InfoField value: "\"Proxy-Authentication-Info\"" - !ruby/object:RI::Constant comment: name: AuthException value: HTTPStatus::ProxyAuthenticationRequired full_name: WEBrick::HTTPAuth::ProxyAuthenticator includes: [] instance_methods: [] name: ProxyAuthenticator superclass: ri/1.8/system/SocketError/cdesc-SocketError.yaml 0000644 00000003162 15217654530 0015471 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Class Socket provides access to the underlying operating system socket implementations. It can be used to provide more operating system specific functionality than the protocol-specific socket classes but at the expense of greater complexity. In particular, the class handles addresses using +struct sockaddr+ structures packed into Ruby strings, which can be a joy to manipulate. - !ruby/struct:SM::Flow::H level: 3 text: Exception Handling - !ruby/struct:SM::Flow::P body: Ruby's implementation of Socket causes an exception to be raised based on the error generated by the system dependent implementation. This is why the methods are documented in a way that isolate Unix-based system exceptions from Windows based exceptions. If more information on particular exception is needed please refer to the Unix manual pages or the Windows WinSock reference. - !ruby/struct:SM::Flow::H level: 3 text: Documentation by - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Zach Dennis - !ruby/struct:SM::Flow::LI label: "*" body: Sam Roberts - !ruby/struct:SM::Flow::LI label: "*" body: Programming Ruby from The Pragmatic Bookshelf. type: :BULLET - !ruby/struct:SM::Flow::P body: Much material in this documentation is taken with permission from Programming Ruby from The Pragmatic Bookshelf. constants: [] full_name: SocketError includes: [] instance_methods: [] name: SocketError superclass: StandardError ri/1.8/system/UDPSocket/cdesc-UDPSocket.yaml 0000644 00000003460 15217654530 0014370 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Class Socket provides access to the underlying operating system socket implementations. It can be used to provide more operating system specific functionality than the protocol-specific socket classes but at the expense of greater complexity. In particular, the class handles addresses using +struct sockaddr+ structures packed into Ruby strings, which can be a joy to manipulate. - !ruby/struct:SM::Flow::H level: 3 text: Exception Handling - !ruby/struct:SM::Flow::P body: Ruby's implementation of Socket causes an exception to be raised based on the error generated by the system dependent implementation. This is why the methods are documented in a way that isolate Unix-based system exceptions from Windows based exceptions. If more information on particular exception is needed please refer to the Unix manual pages or the Windows WinSock reference. - !ruby/struct:SM::Flow::H level: 3 text: Documentation by - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Zach Dennis - !ruby/struct:SM::Flow::LI label: "*" body: Sam Roberts - !ruby/struct:SM::Flow::LI label: "*" body: Programming Ruby from The Pragmatic Bookshelf. type: :BULLET - !ruby/struct:SM::Flow::P body: Much material in this documentation is taken with permission from Programming Ruby from The Pragmatic Bookshelf. constants: [] full_name: UDPSocket includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: bind - !ruby/object:RI::MethodSummary name: connect - !ruby/object:RI::MethodSummary name: recvfrom_nonblock - !ruby/object:RI::MethodSummary name: send name: UDPSocket superclass: Object ri/1.8/system/UDPSocket/send-i.yaml 0000644 00000000267 15217654530 0012671 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: UDPSocket#send is_singleton: false name: send params: (mesg, flags, *rest) visibility: public ri/1.8/system/UDPSocket/connect-i.yaml 0000644 00000000265 15217654530 0013367 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: UDPSocket#connect is_singleton: false name: connect params: (host, port) visibility: public ri/1.8/system/UDPSocket/recvfrom_nonblock-i.yaml 0000644 00000004305 15217654530 0015445 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Receives up to maxlen bytes from udpsocket using recvfrom(2) after O_NONBLOCK is set for the underlying file descriptor. flags is zero or more of the MSG_ options. The first element of the results, mesg, is the data received. The second element, sender_inet_addr, is an array to represent the sender address. - !ruby/struct:SM::Flow::P body: When recvfrom(2) returns 0, Socket#recvfrom_nonblock returns an empty string as data. It means an empty packet. - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: maxlen - the number of bytes to receive from the socket - !ruby/struct:SM::Flow::LI label: "*" body: flags - zero or more of the MSG_ options type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " require 'socket'\n s1 = UDPSocket.new\n s1.bind("127.0.0.1", 0)\n s2 = UDPSocket.new\n s2.bind("127.0.0.1", 0)\n s2.connect(*s1.addr.values_at(3,1))\n s1.connect(*s2.addr.values_at(3,1))\n s1.send "aaa", 0\n IO.select([s2])\n p s2.recvfrom_nonblock(10) #=> ["aaa", ["AF_INET", 33302, "localhost.localdomain", "127.0.0.1"]]\n" - !ruby/struct:SM::Flow::P body: Refer to Socket#recvfrom for the exceptions that may be thrown if the call to recvfrom_nonblock fails. - !ruby/struct:SM::Flow::P body: UDPSocket#recvfrom_nonblock may raise any error corresponding to recvfrom(2) failure, including Errno::EAGAIN. - !ruby/struct:SM::Flow::H level: 3 text: See - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Socket#recvfrom type: :BULLET full_name: UDPSocket#recvfrom_nonblock is_singleton: false name: recvfrom_nonblock params: | udpsocket.recvfrom_nonblock(maxlen) => [mesg, sender_inet_addr] udpsocket.recvfrom_nonblock(maxlen, flags) => [mesg, sender_inet_addr] visibility: public ri/1.8/system/UDPSocket/bind-i.yaml 0000644 00000000257 15217654530 0012653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: UDPSocket#bind is_singleton: false name: bind params: (host, port) visibility: public ri/1.8/system/Continuation/call-i.yaml 0000644 00000001334 15217654530 0013520 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes the continuation. The program continues from the end of the callcc block. If no arguments are given, the original callcc returns nil. If one argument is given, callcc returns it. Otherwise, an array containing args is returned. - !ruby/struct:SM::Flow::VERB body: " callcc {|cont| cont.call } #=> nil\n callcc {|cont| cont.call 1 } #=> 1\n callcc {|cont| cont.call 1, 2, 3 } #=> [1, 2, 3]\n" full_name: Continuation#call is_singleton: false name: call params: | cont.call(args, ...) cont[args, ...] visibility: public ri/1.8/system/Continuation/%5b%5d-i.yaml 0000644 00000001332 15217654530 0013454 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes the continuation. The program continues from the end of the callcc block. If no arguments are given, the original callcc returns nil. If one argument is given, callcc returns it. Otherwise, an array containing args is returned. - !ruby/struct:SM::Flow::VERB body: " callcc {|cont| cont.call } #=> nil\n callcc {|cont| cont.call 1 } #=> 1\n callcc {|cont| cont.call 1, 2, 3 } #=> [1, 2, 3]\n" full_name: Continuation#[] is_singleton: false name: "[]" params: | cont.call(args, ...) cont[args, ...] visibility: public ri/1.8/system/Continuation/cdesc-Continuation.yaml 0000644 00000003251 15217654530 0016110 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Continuation objects are generated by Kernel#callcc. They hold a return address and execution context, allowing a nonlocal return to the end of the callcc block from anywhere within a program. Continuations are somewhat analogous to a structured version of C's setjmp/longjmp (although they contain more state, so you might consider them closer to threads). - !ruby/struct:SM::Flow::P body: "For instance:" - !ruby/struct:SM::Flow::VERB body: " arr = [ "Freddie", "Herbie", "Ron", "Max", "Ringo" ]\n callcc{|$cc|}\n puts(message = arr.shift)\n $cc.call unless message =~ /Max/\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Freddie\n Herbie\n Ron\n Max\n" - !ruby/struct:SM::Flow::P body: "This (somewhat contrived) example allows the inner loop to abandon processing early:" - !ruby/struct:SM::Flow::VERB body: " callcc {|cont|\n for i in 0..4\n print "\\n#{i}: "\n for j in i*5...(i+1)*5\n cont.call() if j == 17\n printf "%3d", j\n end\n end\n }\n print "\\n"\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " 0: 0 1 2 3 4\n 1: 5 6 7 8 9\n 2: 10 11 12 13 14\n 3: 15 16\n" constants: [] full_name: Continuation includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: call name: Continuation superclass: Object ri/1.8/system/Forwardable/def_instance_delegators-i.yaml 0000644 00000001361 15217654530 0017216 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: def_delegators block_params: comment: - !ruby/struct:SM::Flow::P body: "Shortcut for defining multiple delegator methods, but with no provision for using a different name. The following two code samples have the same effect:" - !ruby/struct:SM::Flow::VERB body: " def_delegators :@records, :size, :<<, :map\n\n def_delegator :@records, :size\n def_delegator :@records, :<<\n def_delegator :@records, :map\n" - !ruby/struct:SM::Flow::P body: See the examples at Forwardable and forwardable.rb. full_name: Forwardable#def_instance_delegators is_singleton: false name: def_instance_delegators params: (accessor, *methods) visibility: public ri/1.8/system/Forwardable/def_instance_delegator-i.yaml 0000644 00000001146 15217654530 0017034 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: def_delegator block_params: comment: - !ruby/struct:SM::Flow::P body: Defines a method method which delegates to obj (i.e. it calls the method of the same name in obj). If new_name is provided, it is used as the name for the delegate method. - !ruby/struct:SM::Flow::P body: See the examples at Forwardable and forwardable.rb. full_name: Forwardable#def_instance_delegator is_singleton: false name: def_instance_delegator params: (accessor, method, ali = method) visibility: public ri/1.8/system/Forwardable/def_delegator-i.yaml 0000644 00000000437 15217654530 0015152 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #def_instance_delegator" full_name: Forwardable#def_delegator is_singleton: false name: def_delegator params: (accessor, method, ali = method) visibility: public ri/1.8/system/Forwardable/cdesc-Forwardable.yaml 0000644 00000003111 15217654530 0015437 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: force Forwardable to show up in stack backtraces of delegated methods name: debug rw: RW class_methods: [] comment: - !ruby/struct:SM::Flow::P body: "The Forwardable module provides delegation of specified methods to a designated object, using the methods #def_delegator and #def_delegators." - !ruby/struct:SM::Flow::P body: "For example, say you have a class RecordCollection which contains an array @records. You could provide the lookup method #record_number(), which simply calls #[] on the @records array, like this:" - !ruby/struct:SM::Flow::VERB body: " class RecordCollection\n extend Forwardable\n def_delegator :@records, :[], :record_number\n end\n" - !ruby/struct:SM::Flow::P body: "Further, if you wish to provide the methods #size, #<<, and #map, all of which delegate to @records, this is how you can do it:" - !ruby/struct:SM::Flow::VERB body: " class RecordCollection\n # extend Forwardable, but we did that above\n def_delegators :@records, :size, :<<, :map\n end\n" - !ruby/struct:SM::Flow::P body: Also see the example at forwardable.rb. constants: [] full_name: Forwardable includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: def_delegator - !ruby/object:RI::MethodSummary name: def_delegators - !ruby/object:RI::MethodSummary name: def_instance_delegator - !ruby/object:RI::MethodSummary name: def_instance_delegators name: Forwardable superclass: ri/1.8/system/Forwardable/def_delegators-i.yaml 0000644 00000000426 15217654530 0015333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #def_instance_delegators" full_name: Forwardable#def_delegators is_singleton: false name: def_delegators params: (accessor, *methods) visibility: public ri/1.8/system/OpenStruct/new-c.yaml 0000644 00000001313 15217654530 0013021 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new OpenStruct object. The optional hash, if given, will generate attributes and values. For example. - !ruby/struct:SM::Flow::VERB body: " require 'ostruct'\n hash = { "country" => "Australia", :population => 20_000_000 }\n data = OpenStruct.new(hash)\n\n p data # -> <OpenStruct country="Australia" population=20000000>\n" - !ruby/struct:SM::Flow::P body: By default, the resulting OpenStruct object will have no attributes. full_name: OpenStruct::new is_singleton: true name: new params: (hash=nil) visibility: public ri/1.8/system/OpenStruct/to_s-i.yaml 0000644 00000000337 15217654530 0013207 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #inspect" full_name: OpenStruct#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/OpenStruct/delete_field-i.yaml 0000644 00000000406 15217654530 0014645 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Remove the named field from the object. full_name: OpenStruct#delete_field is_singleton: false name: delete_field params: (name) visibility: public ri/1.8/system/OpenStruct/marshal_dump-i.yaml 0000644 00000000266 15217654530 0014720 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: OpenStruct#marshal_dump is_singleton: false name: marshal_dump params: () visibility: public ri/1.8/system/OpenStruct/cdesc-OpenStruct.yaml 0000644 00000003011 15217654530 0015172 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "OpenStruct allows you to create data objects and set arbitrary attributes. For example:" - !ruby/struct:SM::Flow::VERB body: " require 'ostruct'\n\n record = OpenStruct.new\n record.name = "John Smith"\n record.age = 70\n record.pension = 300\n\n puts record.name # -> "John Smith"\n puts record.address # -> nil\n" - !ruby/struct:SM::Flow::P body: It is like a hash with a different way to access the data. In fact, it is implemented with a hash, and you can initialize it with one. - !ruby/struct:SM::Flow::VERB body: " hash = { "country" => "Australia", :population => 20_000_000 }\n data = OpenStruct.new(hash)\n\n p data # -> <OpenStruct country="Australia" population=20000000>\n" constants: [] full_name: OpenStruct includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: delete_field - !ruby/object:RI::MethodSummary name: initialize_copy - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: marshal_dump - !ruby/object:RI::MethodSummary name: marshal_load - !ruby/object:RI::MethodSummary name: modifiable - !ruby/object:RI::MethodSummary name: new_ostruct_member - !ruby/object:RI::MethodSummary name: to_s name: OpenStruct superclass: Object ri/1.8/system/OpenStruct/inspect-i.yaml 0000644 00000000477 15217654530 0013715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: to_s block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a string containing a detailed summary of the keys and values. full_name: OpenStruct#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/OpenStruct/new_ostruct_member-i.yaml 0000644 00000000306 15217654530 0016142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: OpenStruct#new_ostruct_member is_singleton: false name: new_ostruct_member params: (name) visibility: public ri/1.8/system/OpenStruct/initialize_copy-i.yaml 0000644 00000000414 15217654530 0015432 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Duplicate an OpenStruct object members. full_name: OpenStruct#initialize_copy is_singleton: false name: initialize_copy params: (orig) visibility: public ri/1.8/system/OpenStruct/%3d%3d-i.yaml 0000644 00000000400 15217654530 0013101 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compare this object and other for equality. full_name: OpenStruct#== is_singleton: false name: == params: (other) visibility: public ri/1.8/system/OpenStruct/modifiable-i.yaml 0000644 00000000265 15217654530 0014336 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: OpenStruct#modifiable is_singleton: false name: modifiable params: () visibility: protected ri/1.8/system/OpenStruct/marshal_load-i.yaml 0000644 00000000267 15217654530 0014673 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: OpenStruct#marshal_load is_singleton: false name: marshal_load params: (x) visibility: public ri/1.8/system/ERB/new-c.yaml 0000644 00000005274 15217654530 0011335 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Constructs a new ERB object with the template specified in str. - !ruby/struct:SM::Flow::P body: An ERB object works by building a chunk of Ruby code that will output the completed template when run. If safe_level is set to a non-nil value, ERB code will be run in a separate thread with $SAFE set to the provided level. - !ruby/struct:SM::Flow::P body: "If trim_mode is passed a String containing one or more of the following modifiers, ERB will adjust its code generation as listed:" - !ruby/struct:SM::Flow::VERB body: " % enables Ruby code processing for lines beginning with %\n <> omit newline for lines starting with <% and ending in %>\n > omit newline for lines ending in %>\n" - !ruby/struct:SM::Flow::P body: eoutvar can be used to set the name of the variable ERB will build up its output in. This is useful when you need to run multiple ERB templates through the same binding and/or when you want to control where output ends up. Pass the name of the variable to be used inside a String. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " require "erb"\n\n # build data class\n class Listings\n PRODUCT = { :name => "Chicken Fried Steak",\n :desc => "A well messages pattie, breaded and fried.",\n :cost => 9.95 }\n\n attr_reader :product, :price\n\n def initialize( product = "", price = "" )\n @product = product\n @price = price\n end\n\n def build\n b = binding\n # create and run templates, filling member data variables\n ERB.new(<<-'END_PRODUCT'.gsub(/^\\s+/, ""), 0, "", "@product").result b\n <%= PRODUCT[:name] %>\n <%= PRODUCT[:desc] %>\n END_PRODUCT\n ERB.new(<<-'END_PRICE'.gsub(/^\\s+/, ""), 0, "", "@price").result b\n <%= PRODUCT[:name] %> -- <%= PRODUCT[:cost] %>\n <%= PRODUCT[:desc] %>\n END_PRICE\n end\n end\n\n # setup template data\n listings = Listings.new\n listings.build\n\n puts listings.product + "\\n" + listings.price\n" - !ruby/struct:SM::Flow::P body: Generates - !ruby/struct:SM::Flow::VERB body: " Chicken Fried Steak\n A well messages pattie, breaded and fried.\n\n Chicken Fried Steak -- 9.95\n A well messages pattie, breaded and fried.\n" full_name: ERB::new is_singleton: true name: new params: (str, safe_level=nil, trim_mode=nil, eoutvar='_erbout') visibility: public ri/1.8/system/ERB/DefMethod/cdesc-DefMethod.yaml 0000644 00000001761 15217654530 0015076 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Utility module to define eRuby script as instance method. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::P body: "example.rhtml:" - !ruby/struct:SM::Flow::VERB body: " <% for item in @items %>\n <%= item %>\n <% end %>\n" - !ruby/struct:SM::Flow::P body: "example.rb:" - !ruby/struct:SM::Flow::VERB body: " require 'erb'\n class MyClass\n extend ERB::DefMethod\n def_erb_method('render()', 'example.rhtml')\n def initialize(items)\n @items = items\n end\n end\n print MyClass.new([10,20,30]).render()\n" - !ruby/struct:SM::Flow::P body: "result:" - !ruby/struct:SM::Flow::VERB body: " 10\n\n 20\n\n 30\n" constants: [] full_name: ERB::DefMethod includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: def_erb_method name: DefMethod superclass: ri/1.8/system/ERB/DefMethod/def_erb_method-i.yaml 0000644 00000000532 15217654530 0015327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: define methodname as instance method of current module, using ERB object or eRuby file full_name: ERB::DefMethod#def_erb_method is_singleton: false name: def_erb_method params: (methodname, erb_or_fname) visibility: public ri/1.8/system/ERB/def_module-i.yaml 0000644 00000001203 15217654530 0012641 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create unnamed module, define methodname as instance method of it, and return it. - !ruby/struct:SM::Flow::P body: "example:" - !ruby/struct:SM::Flow::VERB body: " filename = 'example.rhtml' # 'arg1' and 'arg2' are used in example.rhtml\n erb = ERB.new(File.read(filename))\n erb.filename = filename\n MyModule = erb.def_module('render(arg1, arg2)')\n class MyClass\n include MyModule\n end\n" full_name: ERB#def_module is_singleton: false name: def_module params: (methodname='erb') visibility: public ri/1.8/system/ERB/def_class-i.yaml 0000644 00000001356 15217654530 0012472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Define unnamed class which has methodname as instance method, and return it. - !ruby/struct:SM::Flow::P body: "example:" - !ruby/struct:SM::Flow::VERB body: " class MyClass_\n def initialize(arg1, arg2)\n @arg1 = arg1; @arg2 = arg2\n end\n end\n filename = 'example.rhtml' # @arg1 and @arg2 are used in example.rhtml\n erb = ERB.new(File.read(filename))\n erb.filename = filename\n MyClass = erb.def_class(MyClass_, 'render()')\n print MyClass.new('foo', 123).render()\n" full_name: ERB#def_class is_singleton: false name: def_class params: (superklass=Object, methodname='result') visibility: public ri/1.8/system/ERB/def_method-i.yaml 0000644 00000001166 15217654530 0012644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Define methodname as instance method of mod from compiled ruby source. - !ruby/struct:SM::Flow::P body: "example:" - !ruby/struct:SM::Flow::VERB body: " filename = 'example.rhtml' # 'arg1' and 'arg2' are used in example.rhtml\n erb = ERB.new(File.read(filename))\n erb.def_method(MyClass, 'render(arg1, arg2)', filename)\n print MyClass.new.render('foo', 123)\n" full_name: ERB#def_method is_singleton: false name: def_method params: (mod, methodname, fname='(ERB)') visibility: public ri/1.8/system/ERB/Util/h-i.yaml 0000644 00000000335 15217654530 0011707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #html_escape" full_name: ERB::Util#h is_singleton: false name: h params: (s) visibility: public ri/1.8/system/ERB/Util/url_encode-i.yaml 0000644 00000001221 15217654530 0013572 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: u block_params: comment: - !ruby/struct:SM::Flow::P body: A utility method for encoding the String s as a URL. - !ruby/struct:SM::Flow::VERB body: " require "erb"\n include ERB::Util\n\n puts url_encode("Programming Ruby: The Pragmatic Programmer's Guide")\n" - !ruby/struct:SM::Flow::P body: Generates - !ruby/struct:SM::Flow::VERB body: " Programming%20Ruby%3A%20%20The%20Pragmatic%20Programmer%27s%20Guide\n" full_name: ERB::Util#url_encode is_singleton: false name: url_encode params: (s) visibility: public ri/1.8/system/ERB/Util/cdesc-Util.yaml 0000644 00000000742 15217654530 0013230 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: A utility module for conversion routines, often handy in HTML generation. constants: [] full_name: ERB::Util includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: h - !ruby/object:RI::MethodSummary name: html_escape - !ruby/object:RI::MethodSummary name: u - !ruby/object:RI::MethodSummary name: url_encode name: Util superclass: ri/1.8/system/ERB/Util/html_escape-i.yaml 0000644 00000001145 15217654530 0013744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: h block_params: comment: - !ruby/struct:SM::Flow::P body: A utility method for escaping HTML tag characters in s. - !ruby/struct:SM::Flow::VERB body: " require "erb"\n include ERB::Util\n\n puts html_escape("is a > 0 & a < 10?")\n" - !ruby/struct:SM::Flow::P body: Generates - !ruby/struct:SM::Flow::VERB body: " is a > 0 & a < 10?\n" full_name: ERB::Util#html_escape is_singleton: false name: html_escape params: (s) visibility: public ri/1.8/system/ERB/Util/u-i.yaml 0000644 00000000334 15217654530 0011723 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #url_encode" full_name: ERB::Util#u is_singleton: false name: u params: (s) visibility: public ri/1.8/system/ERB/run-i.yaml 0000644 00000000405 15217654530 0011345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate results and print them. (see ERB#result) full_name: ERB#run is_singleton: false name: run params: (b=TOPLEVEL_BINDING) visibility: public ri/1.8/system/ERB/Compiler/SimpleScanner2/cdesc-SimpleScanner2.yaml 0000644 00000000331 15217654530 0020614 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: ERB::Compiler::SimpleScanner2 includes: [] instance_methods: [] name: SimpleScanner2 superclass: Scanner ri/1.8/system/ERB/Compiler/Scanner/cdesc-Scanner.yaml 0000644 00000000312 15217654530 0016123 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: ERB::Compiler::Scanner includes: [] instance_methods: [] name: Scanner superclass: Object ri/1.8/system/ERB/Compiler/Buffer/cdesc-Buffer.yaml 0000644 00000000310 15217654530 0015561 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: ERB::Compiler::Buffer includes: [] instance_methods: [] name: Buffer superclass: Object ri/1.8/system/ERB/Compiler/SimpleScanner/cdesc-SimpleScanner.yaml 0000644 00000000327 15217654530 0020455 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: ERB::Compiler::SimpleScanner includes: [] instance_methods: [] name: SimpleScanner superclass: Scanner ri/1.8/system/ERB/Compiler/PercentLine/cdesc-PercentLine.yaml 0000644 00000000322 15217654530 0017562 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: ERB::Compiler::PercentLine includes: [] instance_methods: [] name: PercentLine superclass: Object ri/1.8/system/ERB/Compiler/cdesc-Compiler.yaml 0000644 00000000302 15217654530 0014712 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: ERB::Compiler includes: [] instance_methods: [] name: Compiler superclass: Object ri/1.8/system/ERB/Compiler/TrimScanner/cdesc-TrimScanner.yaml 0000644 00000000323 15217654530 0017615 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: ERB::Compiler::TrimScanner includes: [] instance_methods: [] name: TrimScanner superclass: Scanner ri/1.8/system/ERB/Compiler/ExplicitScanner/cdesc-ExplicitScanner.yaml 0000644 00000000333 15217654530 0021332 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: ERB::Compiler::ExplicitScanner includes: [] instance_methods: [] name: ExplicitScanner superclass: Scanner ri/1.8/system/ERB/cdesc-ERB.yaml 0000644 00000021726 15217654530 0012013 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The optional filename argument passed to Kernel#eval when the ERB code is run name: filename rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The Ruby code generated by ERB name: src rw: R class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: version comment: - !ruby/struct:SM::Flow::H level: 1 text: ERB -- Ruby Templating - !ruby/struct:SM::Flow::H level: 2 text: Introduction - !ruby/struct:SM::Flow::P body: ERB provides an easy to use but powerful templating system for Ruby. Using ERB, actual Ruby code can be added to any plain text document for the purposes of generating document information details and/or flow control. - !ruby/struct:SM::Flow::P body: "A very simple example is this:" - !ruby/struct:SM::Flow::VERB body: " require 'erb'\n\n x = 42\n template = ERB.new <<-EOF\n The value of x is: <%= x %>\n EOF\n puts template.result(binding)\n" - !ruby/struct:SM::Flow::P body: "Prints: The value of x is: 42" - !ruby/struct:SM::Flow::P body: More complex examples are given below. - !ruby/struct:SM::Flow::H level: 2 text: Recognized Tags - !ruby/struct:SM::Flow::P body: "ERB recognizes certain tags in the provided template and converts them based on the rules below:" - !ruby/struct:SM::Flow::VERB body: " <% Ruby code -- inline with output %>\n <%= Ruby expression -- replace with result %>\n <%# comment -- ignored -- useful in testing %>\n % a line of Ruby code -- treated as <% line %> (optional -- see ERB.new)\n %% replaced with % if first thing on a line and % processing is used\n <%% or %%> -- replace with <% or %> respectively\n" - !ruby/struct:SM::Flow::P body: All other text is passed through ERB filtering unchanged. - !ruby/struct:SM::Flow::H level: 2 text: Options - !ruby/struct:SM::Flow::P body: "There are several settings you can change when you use ERB:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: the nature of the tags that are recognized; - !ruby/struct:SM::Flow::LI label: "*" body: the value of $SAFE under which the template is run; - !ruby/struct:SM::Flow::LI label: "*" body: the binding used to resolve local variables in the template. type: :BULLET - !ruby/struct:SM::Flow::P body: See the ERB.new and ERB#result methods for more detail. - !ruby/struct:SM::Flow::H level: 2 text: Examples - !ruby/struct:SM::Flow::H level: 3 text: Plain Text - !ruby/struct:SM::Flow::P body: ERB is useful for any generic templating situation. Note that in this example, we use the convenient "% at start of line" tag, and we quote the template literally with %q{...} to avoid trouble with the backslash. - !ruby/struct:SM::Flow::VERB body: " require "erb"\n\n # Create template.\n template = %q{\n From: James Edward Gray II <james@grayproductions.net>\n To: <%= to %>\n Subject: Addressing Needs\n\n <%= to[/\\w+/] %>:\n\n Just wanted to send a quick note assuring that your needs are being\n addressed.\n\n I want you to know that my team will keep working on the issues,\n especially:\n\n <%# ignore numerous minor requests -- focus on priorities %>\n % priorities.each do |priority|\n * <%= priority %>\n % end\n\n Thanks for your patience.\n\n James Edward Gray II\n }.gsub(/^ /, '')\n\n message = ERB.new(template, 0, "%<>")\n\n # Set up template data.\n to = "Community Spokesman <spokesman@ruby_community.org>"\n priorities = [ "Run Ruby Quiz",\n "Document Modules",\n "Answer Questions on Ruby Talk" ]\n\n # Produce result.\n email = message.result\n puts email\n" - !ruby/struct:SM::Flow::P body: Generates: - !ruby/struct:SM::Flow::VERB body: " From: James Edward Gray II <james@grayproductions.net>\n To: Community Spokesman <spokesman@ruby_community.org>\n Subject: Addressing Needs\n\n Community:\n\n Just wanted to send a quick note assuring that your needs are being addressed.\n\n I want you to know that my team will keep working on the issues, especially:\n\n * Run Ruby Quiz\n * Document Modules\n * Answer Questions on Ruby Talk\n\n Thanks for your patience.\n\n James Edward Gray II\n" - !ruby/struct:SM::Flow::H level: 3 text: Ruby in HTML - !ruby/struct:SM::Flow::P body: ERB is often used in .rhtml files (HTML with embedded Ruby). Notice the need in this example to provide a special binding when the template is run, so that the instance variables in the Product object can be resolved. - !ruby/struct:SM::Flow::VERB body: " require "erb"\n\n # Build template data class.\n class Product\n def initialize( code, name, desc, cost )\n @code = code\n @name = name\n @desc = desc\n @cost = cost\n\n @features = [ ]\n end\n\n def add_feature( feature )\n @features << feature\n end\n\n # Support templating of member data.\n def get_binding\n binding\n end\n\n # ...\n end\n\n # Create template.\n template = %{\n <html>\n <head><title>Ruby Toys -- <%= @name %></title></head>\n <body>\n\n <h1><%= @name %> (<%= @code %>)</h1>\n <p><%= @desc %></p>\n\n <ul>\n <% @features.each do |f| %>\n <li><%= f %></li>\n <% end %>\n </ul>\n\n <p>\n <% if @cost < 10 %>\n Only <%= @cost %>!!!\n <% else %>\n Call for a price, today!\n <% end %>\n </p>\n\n </body>\n </html>\n }.gsub(/^ /, '')\n\n rhtml = ERB.new(template)\n\n # Set up template data.\n toy = Product.new( "TZ-1002",\n "Rubysapien",\n "Geek's Best Friend! Responds to Ruby commands...",\n 999.95 )\n toy.add_feature("Listens for verbal commands in the Ruby language!")\n toy.add_feature("Ignores Perl, Java, and all C variants.")\n toy.add_feature("Karate-Chop Action!!!")\n toy.add_feature("Matz signature on left leg.")\n toy.add_feature("Gem studded eyes... Rubies, of course!")\n\n # Produce result.\n rhtml.run(toy.get_binding)\n" - !ruby/struct:SM::Flow::P body: Generates (some blank lines removed): - !ruby/struct:SM::Flow::VERB body: " <html>\n <head><title>Ruby Toys -- Rubysapien</title></head>\n <body>\n\n <h1>Rubysapien (TZ-1002)</h1>\n <p>Geek's Best Friend! Responds to Ruby commands...</p>\n\n <ul>\n <li>Listens for verbal commands in the Ruby language!</li>\n <li>Ignores Perl, Java, and all C variants.</li>\n <li>Karate-Chop Action!!!</li>\n <li>Matz signature on left leg.</li>\n <li>Gem studded eyes... Rubies, of course!</li>\n </ul>\n\n <p>\n Call for a price, today!\n </p>\n\n </body>\n </html>\n" - !ruby/struct:SM::Flow::H level: 2 text: Notes - !ruby/struct:SM::Flow::P body: "There are a variety of templating solutions available in various Ruby projects:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: ERB's big brother, eRuby, works the same but is written in C for speed; - !ruby/struct:SM::Flow::LI label: "*" body: Amrita (smart at producing HTML/XML); - !ruby/struct:SM::Flow::LI label: "*" body: cs/Template (written in C for speed); - !ruby/struct:SM::Flow::LI label: "*" body: RDoc, distributed with Ruby, uses its own template engine, which can be reused elsewhere; - !ruby/struct:SM::Flow::LI label: "*" body: and others; search the RAA. type: :BULLET - !ruby/struct:SM::Flow::P body: Rails, the web application framework, uses ERB to create views. constants: - !ruby/object:RI::Constant comment: name: Revision value: "'$Date: 2009-02-24 02:44:50 +0900 (Tue, 24 Feb 2009) $'" full_name: ERB includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: def_class - !ruby/object:RI::MethodSummary name: def_method - !ruby/object:RI::MethodSummary name: def_module - !ruby/object:RI::MethodSummary name: result - !ruby/object:RI::MethodSummary name: run - !ruby/object:RI::MethodSummary name: set_eoutvar name: ERB superclass: Object ri/1.8/system/ERB/version-c.yaml 0000644 00000000375 15217654530 0012226 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns revision information for the erb.rb module. full_name: ERB::version is_singleton: true name: version params: () visibility: public ri/1.8/system/ERB/result-i.yaml 0000644 00000001031 15217654530 0012053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Executes the generated ERB code to produce a completed template, returning the results of that code. (See ERB#new for details on how this process can be affected by safe_level.) - !ruby/struct:SM::Flow::P body: b accepts a Binding or Proc object which is used to set the context of code evaluation. full_name: ERB#result is_singleton: false name: result params: (b=TOPLEVEL_BINDING) visibility: public ri/1.8/system/ERB/set_eoutvar-i.yaml 0000644 00000000665 15217654530 0013111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Can be used to set eoutvar as described in ERB#new. It's probably easier to just use the constructor though, since calling this method requires the setup of an ERB compiler object. full_name: ERB#set_eoutvar is_singleton: false name: set_eoutvar params: (compiler, eoutvar = '_erbout') visibility: public ri/1.8/system/ZeroDivisionError/cdesc-ZeroDivisionError.yaml 0000644 00000000460 15217654530 0020057 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Turn off floating point exceptions for overflow, etc. constants: [] full_name: ZeroDivisionError includes: [] instance_methods: [] name: ZeroDivisionError superclass: StandardError ri/1.8/system/IOError/cdesc-IOError.yaml 0000644 00000007727 15217654530 0013642 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Class IO is the basis for all input and output in Ruby. An I/O stream may be duplexed (that is, bidirectional), and so may use more than one native operating system stream. - !ruby/struct:SM::Flow::P body: Many of the examples in this section use class File, the only standard subclass of IO. The two classes are closely associated. - !ruby/struct:SM::Flow::P body: As used in this section, portname may take any of the following forms. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: A plain string represents a filename suitable for the underlying operating system. - !ruby/struct:SM::Flow::LI label: "*" body: A string starting with ``|'' indicates a subprocess. The remainder of the string following the ``|'' is invoked as a process with appropriate input/output channels connected to it. - !ruby/struct:SM::Flow::LI label: "*" body: A string equal to ``|-'' will create another Ruby instance as a subprocess. type: :BULLET - !ruby/struct:SM::Flow::P body: "Ruby will convert pathnames between different operating system conventions if possible. For instance, on a Windows system the filename ``/gumby/ruby/test.rb'' will be opened as ``\\gumby\\ruby\\test.rb''. When specifying a Windows-style filename in a Ruby string, remember to escape the backslashes:" - !ruby/struct:SM::Flow::VERB body: " "c:\\gumby\\ruby\\test.rb"\n" - !ruby/struct:SM::Flow::P body: Our examples here will use the Unix-style forward slashes; File::SEPARATOR can be used to get the platform-specific separator character. - !ruby/struct:SM::Flow::P body: I/O ports may be opened in any one of several different modes, which are shown in this section as mode. The mode may either be a Fixnum or a String. If numeric, it should be one of the operating system specific constants (O_RDONLY, O_WRONLY, O_RDWR, O_APPEND and so on). See man open(2) for more information. - !ruby/struct:SM::Flow::P body: If the mode is given as a String, it must be one of the values listed in the following table. - !ruby/struct:SM::Flow::VERB body: " Mode | Meaning\n -----+--------------------------------------------------------\n "r" | Read-only, starts at beginning of file (default mode).\n -----+--------------------------------------------------------\n "r+" | Read-write, starts at beginning of file.\n -----+--------------------------------------------------------\n "w" | Write-only, truncates existing file\n | to zero length or creates a new file for writing.\n -----+--------------------------------------------------------\n "w+" | Read-write, truncates existing file to zero length\n | or creates a new file for reading and writing.\n -----+--------------------------------------------------------\n "a" | Write-only, starts at end of file if file exists,\n | otherwise creates a new file for writing.\n -----+--------------------------------------------------------\n "a+" | Read-write, starts at end of file if file exists,\n | otherwise creates a new file for reading and\n | writing.\n -----+--------------------------------------------------------\n "b" | (DOS/Windows only) Binary file mode (may appear with\n | any of the key letters listed above).\n" - !ruby/struct:SM::Flow::P body: The global constant ARGF (also accessible as $<) provides an IO-like stream which allows access to all files mentioned on the command line (or STDIN if no files are mentioned). ARGF provides the methods #path and #filename to access the name of the file currently being read. constants: [] full_name: IOError includes: [] instance_methods: [] name: IOError superclass: StandardError ri/1.8/system/Data/cdesc-Data.yaml 0000644 00000000344 15217654530 0012506 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: in class.c constants: [] full_name: Data includes: [] instance_methods: [] name: Data superclass: Object ri/1.8/system/TemplatePage/new-c.yaml 0000644 00000001340 15217654530 0013263 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: templates is an array of strings containing the templates. We start at the first, and substitute in subsequent ones where the string !INCLUDE! occurs. For example, we could have the overall page template containing - !ruby/struct:SM::Flow::VERB body: " <html><body>\n <h1>Master</h1>\n !INCLUDE!\n </bost></html>\n" - !ruby/struct:SM::Flow::P body: and substitute subpages in to it by passing [master, sub_page]. This gives us a cheap way of framing pages full_name: TemplatePage::new is_singleton: true name: new params: (*templates) visibility: public ri/1.8/system/TemplatePage/expand_line-i.yaml 0000644 00000000515 15217654530 0014771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Given an individual line, we look for %xxx% constructs and HREF:ref:name: constructs, substituting for each." full_name: TemplatePage#expand_line is_singleton: false name: expand_line params: (line) visibility: public ri/1.8/system/TemplatePage/cdesc-TemplatePage.yaml 0000644 00000003524 15217654530 0015707 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "Cheap-n-cheerful HTML page template system. You create a template containing:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: variable names between percent signs (%fred%) - !ruby/struct:SM::Flow::LI label: "*" body: "blocks of repeating stuff:" - !ruby/struct:SM::Flow::VERB body: " START:key\n ... stuff\n END:key\n" type: :BULLET - !ruby/struct:SM::Flow::P body: You feed the code a hash. For simple variables, the values are resolved directly from the hash. For blocks, the hash entry corresponding to key will be an array of hashes. The block will be generated once for each entry. Blocks can be nested arbitrarily deeply. - !ruby/struct:SM::Flow::P body: The template may also contain - !ruby/struct:SM::Flow::VERB body: " IF:key\n ... stuff\n ENDIF:key\n" - !ruby/struct:SM::Flow::P body: stuff will only be included in the output if the corresponding key is set in the value hash. - !ruby/struct:SM::Flow::P body: "Usage: Given a set of templates T1, T2, etc" - !ruby/struct:SM::Flow::VERB body: " values = { "name" => "Dave", state => "TX" }\n\n t = TemplatePage.new(T1, T2, T3)\n File.open(name, "w") {|f| t.write_html_on(f, values)}\n or\n res = ''\n t.write_html_on(res, values)\n" constants: [] full_name: TemplatePage includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: expand_line - !ruby/object:RI::MethodSummary name: substitute_into - !ruby/object:RI::MethodSummary name: write_html_on name: TemplatePage superclass: Object ri/1.8/system/TemplatePage/write_html_on-i.yaml 0000644 00000000667 15217654530 0015365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Render the templates into HTML, storing the result on op using the method <<. The value_hash contains key/value pairs used to drive the substitution (as described above) full_name: TemplatePage#write_html_on is_singleton: false name: write_html_on params: (op, value_hash) visibility: public ri/1.8/system/TemplatePage/Context/pop-i.yaml 0000644 00000000257 15217654530 0014730 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: TemplatePage::Context#pop is_singleton: false name: pop params: () visibility: public ri/1.8/system/TemplatePage/Context/new-c.yaml 0000644 00000000257 15217654530 0014715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: TemplatePage::Context::new is_singleton: true name: new params: () visibility: public ri/1.8/system/TemplatePage/Context/find_scalar-i.yaml 0000644 00000000532 15217654530 0016373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Find a scalar value, throwing an exception if not found. This method is used when substituting the %xxx% constructs full_name: TemplatePage::Context#find_scalar is_singleton: false name: find_scalar params: (key) visibility: public ri/1.8/system/TemplatePage/Context/push-i.yaml 0000644 00000000265 15217654530 0015110 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: TemplatePage::Context#push is_singleton: false name: push params: (hash) visibility: public ri/1.8/system/TemplatePage/Context/lookup-i.yaml 0000644 00000000402 15217654530 0015433 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Lookup any key in the stack of hashes full_name: TemplatePage::Context#lookup is_singleton: false name: lookup params: (key) visibility: public ri/1.8/system/TemplatePage/Context/cdesc-Context.yaml 0000644 00000001257 15217654530 0016410 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A context holds a stack of key/value pairs (like a symbol table). When asked to resolve a key, it first searches the top of the stack, then the next level, and so on until it finds a match (or runs out of entries) constants: [] full_name: TemplatePage::Context includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: find_scalar - !ruby/object:RI::MethodSummary name: lookup - !ruby/object:RI::MethodSummary name: pop - !ruby/object:RI::MethodSummary name: push name: Context superclass: Object ri/1.8/system/TemplatePage/LineReader/new-c.yaml 0000644 00000000404 15217654530 0015275 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: we're initialized with an array of lines full_name: TemplatePage::LineReader::new is_singleton: true name: new params: (lines) visibility: public ri/1.8/system/TemplatePage/LineReader/read-i.yaml 0000644 00000000353 15217654530 0015430 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: read the next line full_name: TemplatePage::LineReader#read is_singleton: false name: read params: () visibility: public ri/1.8/system/TemplatePage/LineReader/dup-i.yaml 0000644 00000000433 15217654530 0015304 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a copy of ourselves that can be modified without affecting us full_name: TemplatePage::LineReader#dup is_singleton: false name: dup params: () visibility: public ri/1.8/system/TemplatePage/LineReader/cdesc-LineReader.yaml 0000644 00000000730 15217654530 0017357 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Simple class to read lines out of a string constants: [] full_name: TemplatePage::LineReader includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: dup - !ruby/object:RI::MethodSummary name: read - !ruby/object:RI::MethodSummary name: read_up_to name: LineReader superclass: Object ri/1.8/system/TemplatePage/LineReader/read_up_to-i.yaml 0000644 00000000506 15217654530 0016636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a list of lines up to the line that matches a pattern. That last line is discarded. full_name: TemplatePage::LineReader#read_up_to is_singleton: false name: read_up_to params: (pattern) visibility: public ri/1.8/system/TemplatePage/substitute_into-i.yaml 0000644 00000001412 15217654530 0015744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Substitute a set of key/value pairs into the given template. Keys with scalar values have them substituted directly into the page. Those with array values invoke substitute_array (below), which examples a block of the template once for each row in the array. - !ruby/struct:SM::Flow::P body: "This routine also copes with the IF:key directive, removing chunks of the template if the corresponding key does not appear in the hash, and the START: directive, which loops its contents for each value in an array" full_name: TemplatePage#substitute_into is_singleton: false name: substitute_into params: (lines, values) visibility: public ri/1.8/system/DefaultDisplay/new-c.yaml 0000644 00000000257 15217654530 0013633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DefaultDisplay::new is_singleton: true name: new params: (options) visibility: public ri/1.8/system/DefaultDisplay/warn_no_database-i.yaml 0000644 00000000306 15217654530 0016332 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: DefaultDisplay#warn_no_database is_singleton: false name: warn_no_database params: () visibility: private ri/1.8/system/DefaultDisplay/setup_pager-i.yaml 0000644 00000000274 15217654530 0015365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: DefaultDisplay#setup_pager is_singleton: false name: setup_pager params: () visibility: private ri/1.8/system/DefaultDisplay/display_params-i.yaml 0000644 00000000310 15217654530 0016046 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: DefaultDisplay#display_params is_singleton: false name: display_params params: (method) visibility: private ri/1.8/system/DefaultDisplay/cdesc-DefaultDisplay.yaml 0000644 00000002120 15217654530 0016602 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A paging display module. Uses the ri_formatter class to do the actual presentation constants: [] full_name: DefaultDisplay includes: - !ruby/object:RI::IncludedModule name: RiDisplay instance_methods: - !ruby/object:RI::MethodSummary name: display_class_info - !ruby/object:RI::MethodSummary name: display_class_list - !ruby/object:RI::MethodSummary name: display_flow - !ruby/object:RI::MethodSummary name: display_method_info - !ruby/object:RI::MethodSummary name: display_method_list - !ruby/object:RI::MethodSummary name: display_params - !ruby/object:RI::MethodSummary name: display_usage - !ruby/object:RI::MethodSummary name: list_known_classes - !ruby/object:RI::MethodSummary name: list_known_names - !ruby/object:RI::MethodSummary name: page - !ruby/object:RI::MethodSummary name: setup_pager - !ruby/object:RI::MethodSummary name: warn_no_database name: DefaultDisplay superclass: Object ri/1.8/system/DefaultDisplay/display_class_info-i.yaml 0000644 00000000331 15217654530 0016706 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: DefaultDisplay#display_class_info is_singleton: false name: display_class_info params: (klass, ri_reader) visibility: public ri/1.8/system/DefaultDisplay/display_usage-i.yaml 0000644 00000000277 15217654530 0015703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: DefaultDisplay#display_usage is_singleton: false name: display_usage params: () visibility: public ri/1.8/system/DefaultDisplay/display_class_list-i.yaml 0000644 00000000323 15217654530 0016727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: DefaultDisplay#display_class_list is_singleton: false name: display_class_list params: (namespaces) visibility: public ri/1.8/system/DefaultDisplay/display_method_list-i.yaml 0000644 00000000422 15217654530 0017102 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Display a list of method names full_name: DefaultDisplay#display_method_list is_singleton: false name: display_method_list params: (methods) visibility: public ri/1.8/system/DefaultDisplay/display_flow-i.yaml 0000644 00000000302 15217654530 0015533 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: DefaultDisplay#display_flow is_singleton: false name: display_flow params: (flow) visibility: private ri/1.8/system/DefaultDisplay/list_known_classes-i.yaml 0000644 00000000320 15217654530 0016743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: DefaultDisplay#list_known_classes is_singleton: false name: list_known_classes params: (classes) visibility: public ri/1.8/system/DefaultDisplay/page-i.yaml 0000644 00000000353 15217654530 0013761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: unless pager = setup_pager comment: [] full_name: DefaultDisplay#page is_singleton: false name: page params: () {|unless pager = setup_pager| ...} visibility: private ri/1.8/system/DefaultDisplay/list_known_names-i.yaml 0000644 00000000312 15217654530 0016412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: DefaultDisplay#list_known_names is_singleton: false name: list_known_names params: (names) visibility: public ri/1.8/system/DefaultDisplay/display_method_info-i.yaml 0000644 00000000321 15217654530 0017060 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: DefaultDisplay#display_method_info is_singleton: false name: display_method_info params: (method) visibility: public ri/1.8/system/Fill/cdesc-Fill.yaml 0000644 00000000303 15217654530 0012533 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Fill includes: [] instance_methods: [] name: Fill superclass: Test::Unit::TestCase ri/1.8/system/SOAP/new-c.yaml 0000644 00000000266 15217654530 0011463 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::new is_singleton: true name: new params: (proxy = nil, agent = nil) visibility: public ri/1.8/system/SOAP/no_proxy%3f-i.yaml 0000644 00000000256 15217654530 0013052 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP#no_proxy? is_singleton: false name: no_proxy? params: (uri) visibility: private ri/1.8/system/SOAP/SOAPString/cdesc-SOAPString.yaml 0000644 00000000404 15217654530 0015405 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPString includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPString superclass: XSD::XSDString ri/1.8/system/SOAP/Marshallable/cdesc-Marshallable.yaml 0000644 00000000305 15217654530 0016501 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::Marshallable includes: [] instance_methods: [] name: Marshallable superclass: ri/1.8/system/SOAP/SOAPShort/cdesc-SOAPShort.yaml 0000644 00000000401 15217654530 0015064 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPShort includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPShort superclass: XSD::XSDShort ri/1.8/system/SOAP/SOAPGenerator/new-c.yaml 0000644 00000000265 15217654530 0014073 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator::new is_singleton: true name: new params: (opt = {}) visibility: public ri/1.8/system/SOAP/SOAPGenerator/generate-i.yaml 0000644 00000000304 15217654530 0015074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator#generate is_singleton: false name: generate params: (obj, io = nil) visibility: public ri/1.8/system/SOAP/SOAPGenerator/add_reftarget-i.yaml 0000644 00000000313 15217654530 0016075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator#add_reftarget is_singleton: false name: add_reftarget params: (name, node) visibility: public ri/1.8/system/SOAP/SOAPGenerator/encode_element-i.yaml 0000644 00000000322 15217654530 0016250 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator#encode_element is_singleton: false name: encode_element params: (ns, obj, parent) visibility: public ri/1.8/system/SOAP/SOAPGenerator/epilogue-i.yaml 0000644 00000000270 15217654530 0015115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator#epilogue is_singleton: false name: epilogue params: () visibility: private ri/1.8/system/SOAP/SOAPGenerator/FormatEncodeError/cdesc-FormatEncodeError.yaml 0000644 00000000343 15217654530 0023076 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPGenerator::FormatEncodeError includes: [] instance_methods: [] name: FormatEncodeError superclass: Error ri/1.8/system/SOAP/SOAPGenerator/encode_data-i.yaml 0000644 00000000314 15217654530 0015531 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator#encode_data is_singleton: false name: encode_data params: (ns, obj, parent) visibility: public ri/1.8/system/SOAP/SOAPGenerator/encode_name-i.yaml 0000644 00000000314 15217654530 0015540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator#encode_name is_singleton: false name: encode_name params: (ns, data, attrs) visibility: public ri/1.8/system/SOAP/SOAPGenerator/find_handler-i.yaml 0000644 00000000315 15217654530 0015721 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator#find_handler is_singleton: false name: find_handler params: (encodingstyle) visibility: private ri/1.8/system/SOAP/SOAPGenerator/encode_child-i.yaml 0000644 00000000320 15217654530 0015700 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator#encode_child is_singleton: false name: encode_child params: (ns, child, parent) visibility: public ri/1.8/system/SOAP/SOAPGenerator/cdesc-SOAPGenerator.yaml 0000644 00000003651 15217654530 0016554 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: charset rw: RW - !ruby/object:RI::Attribute comment: name: default_encodingstyle rw: RW - !ruby/object:RI::Attribute comment: name: generate_explicit_type rw: RW - !ruby/object:RI::Attribute comment: name: use_numeric_character_reference rw: RW class_methods: - !ruby/object:RI::MethodSummary name: assign_ns - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "CAUTION: MT-unsafe" constants: - !ruby/object:RI::Constant comment: name: EncodeMap value: "{ '&' => '&', '<' => '<', '>' => '>', '\"' => '"', '\\'' => ''', \"\\r\" => ' '" - !ruby/object:RI::Constant comment: name: EncodeCharRegexp value: Regexp.new("[#{EncodeMap.keys.join}]") full_name: SOAP::SOAPGenerator includes: - !ruby/object:RI::IncludedModule name: SOAP instance_methods: - !ruby/object:RI::MethodSummary name: add_reftarget - !ruby/object:RI::MethodSummary name: element_local? - !ruby/object:RI::MethodSummary name: element_qualified? - !ruby/object:RI::MethodSummary name: encode_child - !ruby/object:RI::MethodSummary name: encode_data - !ruby/object:RI::MethodSummary name: encode_element - !ruby/object:RI::MethodSummary name: encode_name - !ruby/object:RI::MethodSummary name: encode_name_end - !ruby/object:RI::MethodSummary name: encode_rawstring - !ruby/object:RI::MethodSummary name: encode_string - !ruby/object:RI::MethodSummary name: encode_tag - !ruby/object:RI::MethodSummary name: encode_tag_end - !ruby/object:RI::MethodSummary name: epilogue - !ruby/object:RI::MethodSummary name: find_handler - !ruby/object:RI::MethodSummary name: generate - !ruby/object:RI::MethodSummary name: prologue - !ruby/object:RI::MethodSummary name: xmldecl name: SOAPGenerator superclass: Object ri/1.8/system/SOAP/SOAPGenerator/encode_string-i.yaml 0000644 00000000304 15217654530 0016125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator#encode_string is_singleton: false name: encode_string params: (str) visibility: public ri/1.8/system/SOAP/SOAPGenerator/element_local%3f-i.yaml 0000644 00000000312 15217654530 0016402 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator#element_local? is_singleton: false name: element_local? params: (element) visibility: public ri/1.8/system/SOAP/SOAPGenerator/encode_rawstring-i.yaml 0000644 00000000312 15217654530 0016636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator#encode_rawstring is_singleton: false name: encode_rawstring params: (str) visibility: public ri/1.8/system/SOAP/SOAPGenerator/encode_tag_end-i.yaml 0000644 00000000324 15217654530 0016222 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator#encode_tag_end is_singleton: false name: encode_tag_end params: (elename, cr = nil) visibility: public ri/1.8/system/SOAP/SOAPGenerator/element_qualified%3f-i.yaml 0000644 00000000322 15217654530 0017254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator#element_qualified? is_singleton: false name: element_qualified? params: (element) visibility: public ri/1.8/system/SOAP/SOAPGenerator/xmldecl-i.yaml 0000644 00000000266 15217654530 0014741 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator#xmldecl is_singleton: false name: xmldecl params: () visibility: private ri/1.8/system/SOAP/SOAPGenerator/encode_name_end-i.yaml 0000644 00000000315 15217654530 0016367 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator#encode_name_end is_singleton: false name: encode_name_end params: (ns, data) visibility: public ri/1.8/system/SOAP/SOAPGenerator/assign_ns-c.yaml 0000644 00000000330 15217654530 0015257 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator::assign_ns is_singleton: true name: assign_ns params: (attrs, ns, namespace, tag = nil) visibility: public ri/1.8/system/SOAP/SOAPGenerator/encode_tag-i.yaml 0000644 00000000317 15217654530 0015376 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator#encode_tag is_singleton: false name: encode_tag params: (elename, attrs = nil) visibility: public ri/1.8/system/SOAP/SOAPGenerator/prologue-i.yaml 0000644 00000000270 15217654530 0015140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPGenerator#prologue is_singleton: false name: prologue params: () visibility: private ri/1.8/system/SOAP/SOAPDate/cdesc-SOAPDate.yaml 0000644 00000000376 15217654530 0014433 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPDate includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPDate superclass: XSD::XSDDate ri/1.8/system/SOAP/SOAPGMonthDay/cdesc-SOAPGMonthDay.yaml 0000644 00000000415 15217654530 0016357 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPGMonthDay includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPGMonthDay superclass: XSD::XSDGMonthDay ri/1.8/system/SOAP/Attachment/new-c.yaml 0000644 00000000302 15217654530 0013542 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Attachment::new is_singleton: true name: new params: (string_or_readable = nil) visibility: public ri/1.8/system/SOAP/Attachment/cdesc-Attachment.yaml 0000644 00000001477 15217654530 0015716 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: contenttype rw: RW - !ruby/object:RI::Attribute comment: name: io rw: R class_methods: - !ruby/object:RI::MethodSummary name: contentid - !ruby/object:RI::MethodSummary name: mime_contentid - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::Attachment includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: content - !ruby/object:RI::MethodSummary name: contentid - !ruby/object:RI::MethodSummary name: contentid= - !ruby/object:RI::MethodSummary name: mime_contentid - !ruby/object:RI::MethodSummary name: save - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: write name: Attachment superclass: Object ri/1.8/system/SOAP/Attachment/to_s-i.yaml 0000644 00000000254 15217654530 0013731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Attachment#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/SOAP/Attachment/contentid-c.yaml 0000644 00000000271 15217654530 0014745 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Attachment::contentid is_singleton: true name: contentid params: (obj) visibility: public ri/1.8/system/SOAP/Attachment/mime_contentid-c.yaml 0000644 00000000303 15217654530 0015750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Attachment::mime_contentid is_singleton: true name: mime_contentid params: (obj) visibility: public ri/1.8/system/SOAP/Attachment/save-i.yaml 0000644 00000000264 15217654530 0013724 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Attachment#save is_singleton: false name: save params: (filename) visibility: public ri/1.8/system/SOAP/Attachment/write-i.yaml 0000644 00000000261 15217654530 0014115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Attachment#write is_singleton: false name: write params: (out) visibility: public ri/1.8/system/SOAP/Attachment/contentid-i.yaml 0000644 00000000266 15217654530 0014757 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Attachment#contentid is_singleton: false name: contentid params: () visibility: public ri/1.8/system/SOAP/Attachment/contentid%3d-i.yaml 0000644 00000000301 15217654530 0015241 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Attachment#contentid= is_singleton: false name: contentid= params: (contentid) visibility: public ri/1.8/system/SOAP/Attachment/content-i.yaml 0000644 00000000262 15217654530 0014436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Attachment#content is_singleton: false name: content params: () visibility: public ri/1.8/system/SOAP/Attachment/mime_contentid-i.yaml 0000644 00000000300 15217654530 0015753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Attachment#mime_contentid is_singleton: false name: mime_contentid params: () visibility: public ri/1.8/system/SOAP/SOAPGYear/cdesc-SOAPGYear.yaml 0000644 00000000401 15217654530 0014704 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPGYear includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPGYear superclass: XSD::XSDGYear ri/1.8/system/SOAP/SOAPDouble/cdesc-SOAPDouble.yaml 0000644 00000000404 15217654530 0015315 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPDouble includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPDouble superclass: XSD::XSDDouble ri/1.8/system/SOAP/UnhandledMustUnderstandHeaderError/cdesc-UnhandledMustUnderstandHeaderError.yaml 0000644 00000000366 15217654530 0027406 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::UnhandledMustUnderstandHeaderError includes: [] instance_methods: [] name: UnhandledMustUnderstandHeaderError superclass: Error ri/1.8/system/SOAP/SOAPNegativeInteger/cdesc-SOAPNegativeInteger.yaml 0000644 00000000437 15217654530 0021037 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPNegativeInteger includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPNegativeInteger superclass: XSD::XSDNegativeInteger ri/1.8/system/SOAP/SOAPTime/cdesc-SOAPTime.yaml 0000644 00000000376 15217654530 0014475 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPTime includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPTime superclass: XSD::XSDTime ri/1.8/system/SOAP/RPC/Driver/new-c.yaml 0000644 00000000332 15217654530 0013334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver::new is_singleton: true name: new params: (endpoint_url, namespace = nil, soapaction = nil) visibility: public ri/1.8/system/SOAP/RPC/Driver/add_method_interface-i.yaml 0000644 00000000337 15217654530 0016666 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#add_method_interface is_singleton: false name: add_method_interface params: (name, param_count) visibility: private ri/1.8/system/SOAP/RPC/Driver/add_rpc_method_with_soapaction_as-i.yaml 0000644 00000000512 15217654530 0021443 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_method_with_soapaction_as block_params: comment: full_name: SOAP::RPC::Driver#add_rpc_method_with_soapaction_as is_singleton: false name: add_rpc_method_with_soapaction_as params: (name, name_as, soapaction, *params) visibility: public ri/1.8/system/SOAP/RPC/Driver/loadproperty-i.yaml 0000644 00000000311 15217654530 0015272 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#loadproperty is_singleton: false name: loadproperty params: (propertyname) visibility: public ri/1.8/system/SOAP/RPC/Driver/setup_options-i.yaml 0000644 00000000300 15217654530 0015457 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#setup_options is_singleton: false name: setup_options params: () visibility: private ri/1.8/system/SOAP/RPC/Driver/wiredump_dev-i.yaml 0000644 00000000275 15217654530 0015251 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#wiredump_dev is_singleton: false name: wiredump_dev params: () visibility: public ri/1.8/system/SOAP/RPC/Driver/add_method_with_soapaction-i.yaml 0000644 00000000502 15217654530 0020113 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_rpc_method_with_soapaction" full_name: SOAP::RPC::Driver#add_method_with_soapaction is_singleton: false name: add_method_with_soapaction params: (name, soapaction, *params) visibility: public ri/1.8/system/SOAP/RPC/Driver/add_method_as-i.yaml 0000644 00000000430 15217654530 0015323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_rpc_method_as" full_name: SOAP::RPC::Driver#add_method_as is_singleton: false name: add_method_as params: (name, name_as, *params) visibility: public ri/1.8/system/SOAP/RPC/Driver/add_rpc_method-i.yaml 0000644 00000000374 15217654530 0015513 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_method block_params: comment: full_name: SOAP::RPC::Driver#add_rpc_method is_singleton: false name: add_rpc_method params: (name, *params) visibility: public ri/1.8/system/SOAP/RPC/Driver/call-i.yaml 0000644 00000000272 15217654530 0013467 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#call is_singleton: false name: call params: (name, *params) visibility: public ri/1.8/system/SOAP/RPC/Driver/invoke-i.yaml 0000644 00000000276 15217654530 0014053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#invoke is_singleton: false name: invoke params: (headers, body) visibility: public ri/1.8/system/SOAP/RPC/Driver/set_wiredump_file_base-i.yaml 0000644 00000000326 15217654530 0017254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#set_wiredump_file_base is_singleton: false name: set_wiredump_file_base params: (name) visibility: private ri/1.8/system/SOAP/RPC/Driver/add_rpc_method_with_soapaction-i.yaml 0000644 00000000470 15217654530 0020763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_method_with_soapaction block_params: comment: full_name: SOAP::RPC::Driver#add_rpc_method_with_soapaction is_singleton: false name: add_rpc_method_with_soapaction params: (name, soapaction, *params) visibility: public ri/1.8/system/SOAP/RPC/Driver/__attr_proxy-c.yaml 0000644 00000000327 15217654530 0015260 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver::__attr_proxy is_singleton: true name: __attr_proxy params: (symbol, assignable = false) visibility: public ri/1.8/system/SOAP/RPC/Driver/wiredump_file_base-i.yaml 0000644 00000000311 15217654530 0016373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#wiredump_file_base is_singleton: false name: wiredump_file_base params: () visibility: public ri/1.8/system/SOAP/RPC/Driver/add_rpc_method_as-i.yaml 0000644 00000000416 15217654530 0016173 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_method_as block_params: comment: full_name: SOAP::RPC::Driver#add_rpc_method_as is_singleton: false name: add_rpc_method_as params: (name, name_as, *params) visibility: public ri/1.8/system/SOAP/RPC/Driver/add_document_operation-i.yaml 0000644 00000000366 15217654530 0017266 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#add_document_operation is_singleton: false name: add_document_operation params: (soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/Driver/add_method-i.yaml 0000644 00000000406 15217654530 0014643 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_rpc_method" full_name: SOAP::RPC::Driver#add_method is_singleton: false name: add_method params: (name, *params) visibility: public ri/1.8/system/SOAP/RPC/Driver/inspect-i.yaml 0000644 00000000263 15217654530 0014221 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/SOAP/RPC/Driver/httpproxy%3d-i.yaml 0000644 00000000302 15217654530 0015123 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#httpproxy= is_singleton: false name: httpproxy= params: (httpproxy) visibility: public ri/1.8/system/SOAP/RPC/Driver/mandatorycharset-i.yaml 0000644 00000000305 15217654530 0016121 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#mandatorycharset is_singleton: false name: mandatorycharset params: () visibility: public ri/1.8/system/SOAP/RPC/Driver/add_document_method_interface-i.yaml 0000644 00000000357 15217654530 0020566 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#add_document_method_interface is_singleton: false name: add_document_method_interface params: (name, param_def) visibility: private ri/1.8/system/SOAP/RPC/Driver/add_document_method-i.yaml 0000644 00000000361 15217654530 0016541 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#add_document_method is_singleton: false name: add_document_method params: (name, soapaction, req_qname, res_qname) visibility: public ri/1.8/system/SOAP/RPC/Driver/cdesc-Driver.yaml 0000644 00000004453 15217654530 0014645 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: options rw: R - !ruby/object:RI::Attribute comment: name: proxy rw: R - !ruby/object:RI::Attribute comment: name: soapaction rw: RW class_methods: - !ruby/object:RI::MethodSummary name: __attr_proxy - !ruby/object:RI::MethodSummary name: __attr_proxy - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::RPC::Driver includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_document_method - !ruby/object:RI::MethodSummary name: add_document_method_interface - !ruby/object:RI::MethodSummary name: add_document_operation - !ruby/object:RI::MethodSummary name: add_method - !ruby/object:RI::MethodSummary name: add_method_as - !ruby/object:RI::MethodSummary name: add_method_interface - !ruby/object:RI::MethodSummary name: add_method_interface - !ruby/object:RI::MethodSummary name: add_method_with_soapaction - !ruby/object:RI::MethodSummary name: add_method_with_soapaction_as - !ruby/object:RI::MethodSummary name: add_rpc_method - !ruby/object:RI::MethodSummary name: add_rpc_method_as - !ruby/object:RI::MethodSummary name: add_rpc_method_interface - !ruby/object:RI::MethodSummary name: add_rpc_method_with_soapaction - !ruby/object:RI::MethodSummary name: add_rpc_method_with_soapaction_as - !ruby/object:RI::MethodSummary name: add_rpc_operation - !ruby/object:RI::MethodSummary name: call - !ruby/object:RI::MethodSummary name: create_header - !ruby/object:RI::MethodSummary name: httpproxy - !ruby/object:RI::MethodSummary name: httpproxy= - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: invoke - !ruby/object:RI::MethodSummary name: loadproperty - !ruby/object:RI::MethodSummary name: mandatorycharset - !ruby/object:RI::MethodSummary name: mandatorycharset= - !ruby/object:RI::MethodSummary name: set_wiredump_file_base - !ruby/object:RI::MethodSummary name: setup_options - !ruby/object:RI::MethodSummary name: wiredump_dev - !ruby/object:RI::MethodSummary name: wiredump_dev= - !ruby/object:RI::MethodSummary name: wiredump_file_base - !ruby/object:RI::MethodSummary name: wiredump_file_base= name: Driver superclass: Object ri/1.8/system/SOAP/RPC/Driver/wiredump_file_base%3d-i.yaml 0000644 00000000335 15217654530 0016675 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#wiredump_file_base= is_singleton: false name: wiredump_file_base= params: (wiredump_file_base) visibility: public ri/1.8/system/SOAP/RPC/Driver/add_method_with_soapaction_as-i.yaml 0000644 00000000524 15217654530 0020602 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_rpc_method_with_soapaction_as" full_name: SOAP::RPC::Driver#add_method_with_soapaction_as is_singleton: false name: add_method_with_soapaction_as params: (name, name_as, soapaction, *params) visibility: public ri/1.8/system/SOAP/RPC/Driver/wiredump_dev%3d-i.yaml 0000644 00000000313 15217654530 0015536 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#wiredump_dev= is_singleton: false name: wiredump_dev= params: (wiredump_dev) visibility: public ri/1.8/system/SOAP/RPC/Driver/mandatorycharset%3d-i.yaml 0000644 00000000327 15217654531 0016422 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#mandatorycharset= is_singleton: false name: mandatorycharset= params: (mandatorycharset) visibility: public ri/1.8/system/SOAP/RPC/Driver/add_rpc_method_interface-i.yaml 0000644 00000000345 15217654531 0017532 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#add_rpc_method_interface is_singleton: false name: add_rpc_method_interface params: (name, param_def) visibility: private ri/1.8/system/SOAP/RPC/Driver/add_rpc_operation-i.yaml 0000644 00000000363 15217654531 0016232 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#add_rpc_operation is_singleton: false name: add_rpc_operation params: (qname, soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/Driver/httpproxy-i.yaml 0000644 00000000267 15217654531 0014642 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#httpproxy is_singleton: false name: httpproxy params: () visibility: public ri/1.8/system/SOAP/RPC/Driver/create_header-i.yaml 0000644 00000000307 15217654531 0015327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Driver#create_header is_singleton: false name: create_header params: (headers) visibility: private ri/1.8/system/SOAP/RPC/SOAPMethodResponse/new-c.yaml 0000644 00000000315 15217654531 0015525 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethodResponse::new is_singleton: true name: new params: (qname, param_def = nil) visibility: public ri/1.8/system/SOAP/RPC/SOAPMethodResponse/cdesc-SOAPMethodResponse.yaml 0000644 00000000551 15217654531 0021217 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::RPC::SOAPMethodResponse includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: retval= name: SOAPMethodResponse superclass: SOAPMethod ri/1.8/system/SOAP/RPC/SOAPMethodResponse/each-i.yaml 0000644 00000000356 15217654531 0015647 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (@retval_name, @retval) comment: full_name: SOAP::RPC::SOAPMethodResponse#each is_singleton: false name: each params: () {|@retval_name, @retval| ...} visibility: public ri/1.8/system/SOAP/RPC/SOAPMethodResponse/retval%3d-i.yaml 0000644 00000000305 15217654531 0016532 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethodResponse#retval= is_singleton: false name: retval= params: (retval) visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/new-c.yaml 0000644 00000000265 15217654531 0014055 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::HTTPServer::new is_singleton: true name: new params: (config) visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/add_rpc_request_servant-i.yaml 0000644 00000000472 15217654531 0020200 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: servant entry interface full_name: SOAP::RPC::HTTPServer#add_rpc_request_servant is_singleton: false name: add_rpc_request_servant params: (factory, namespace = @default_namespace) visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/mapping_registry-i.yaml 0000644 00000000311 15217654531 0016645 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::HTTPServer#mapping_registry is_singleton: false name: mapping_registry params: () visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/on_init-i.yaml 0000644 00000000267 15217654531 0014733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::HTTPServer#on_init is_singleton: false name: on_init params: () visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/shutdown-i.yaml 0000644 00000000271 15217654531 0015142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::HTTPServer#shutdown is_singleton: false name: shutdown params: () visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/cdesc-HTTPServer.yaml 0000644 00000003260 15217654531 0016067 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: default_namespace rw: RW - !ruby/object:RI::Attribute comment: name: server rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::RPC::HTTPServer includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_document_method - !ruby/object:RI::MethodSummary name: add_document_operation - !ruby/object:RI::MethodSummary name: add_document_request_operation - !ruby/object:RI::MethodSummary name: add_headerhandler - !ruby/object:RI::MethodSummary name: add_method - !ruby/object:RI::MethodSummary name: add_method_as - !ruby/object:RI::MethodSummary name: add_request_headerhandler - !ruby/object:RI::MethodSummary name: add_rpc_headerhandler - !ruby/object:RI::MethodSummary name: add_rpc_method - !ruby/object:RI::MethodSummary name: add_rpc_method_as - !ruby/object:RI::MethodSummary name: add_rpc_operation - !ruby/object:RI::MethodSummary name: add_rpc_request_operation - !ruby/object:RI::MethodSummary name: add_rpc_request_servant - !ruby/object:RI::MethodSummary name: add_rpc_servant - !ruby/object:RI::MethodSummary name: generate_explicit_type - !ruby/object:RI::MethodSummary name: generate_explicit_type= - !ruby/object:RI::MethodSummary name: mapping_registry - !ruby/object:RI::MethodSummary name: mapping_registry= - !ruby/object:RI::MethodSummary name: on_init - !ruby/object:RI::MethodSummary name: run - !ruby/object:RI::MethodSummary name: shutdown - !ruby/object:RI::MethodSummary name: status name: HTTPServer superclass: Logger::Application ri/1.8/system/SOAP/RPC/HTTPServer/add_headerhandler-i.yaml 0000644 00000000407 15217654531 0016666 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_rpc_headerhandler block_params: comment: full_name: SOAP::RPC::HTTPServer#add_headerhandler is_singleton: false name: add_headerhandler params: (obj) visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/generate_explicit_type%3d-i.yaml 0000644 00000000355 15217654531 0020322 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::HTTPServer#generate_explicit_type= is_singleton: false name: generate_explicit_type= params: (generate_explicit_type) visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/add_method_as-i.yaml 0000644 00000000440 15217654531 0016040 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_rpc_method_as" full_name: SOAP::RPC::HTTPServer#add_method_as is_singleton: false name: add_method_as params: (obj, name, name_as, *param) visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/add_rpc_method-i.yaml 0000644 00000000477 15217654531 0016233 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_method block_params: comment: - !ruby/struct:SM::Flow::P body: method entry interface full_name: SOAP::RPC::HTTPServer#add_rpc_method is_singleton: false name: add_rpc_method params: (obj, name, *param) visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/add_document_request_operation-i.yaml 0000644 00000000423 15217654531 0021544 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::HTTPServer#add_document_request_operation is_singleton: false name: add_document_request_operation params: (factory, soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/status-i.yaml 0000644 00000000265 15217654531 0014615 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::HTTPServer#status is_singleton: false name: status params: () visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/add_rpc_headerhandler-i.yaml 0000644 00000000431 15217654531 0017527 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_headerhandler" full_name: SOAP::RPC::HTTPServer#add_rpc_headerhandler is_singleton: false name: add_rpc_headerhandler params: (obj) visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/run-i.yaml 0000644 00000000260 15217654531 0014071 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::HTTPServer#run is_singleton: false name: run params: () visibility: private ri/1.8/system/SOAP/RPC/HTTPServer/add_rpc_method_as-i.yaml 0000644 00000000426 15217654531 0016710 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_method_as block_params: comment: full_name: SOAP::RPC::HTTPServer#add_rpc_method_as is_singleton: false name: add_rpc_method_as params: (obj, name, name_as, *param) visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/mapping_registry%3d-i.yaml 0000644 00000000333 15217654531 0017145 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::HTTPServer#mapping_registry= is_singleton: false name: mapping_registry= params: (mapping_registry) visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/add_document_operation-i.yaml 0000644 00000000404 15217654531 0017773 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::HTTPServer#add_document_operation is_singleton: false name: add_document_operation params: (receiver, soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/add_method-i.yaml 0000644 00000000416 15217654531 0015360 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_rpc_method" full_name: SOAP::RPC::HTTPServer#add_method is_singleton: false name: add_method params: (obj, name, *param) visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/add_rpc_servant-i.yaml 0000644 00000000352 15217654531 0016425 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::HTTPServer#add_rpc_servant is_singleton: false name: add_rpc_servant params: (obj, namespace = @default_namespace) visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/generate_explicit_type-i.yaml 0000644 00000000325 15217654531 0020023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::HTTPServer#generate_explicit_type is_singleton: false name: generate_explicit_type params: () visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/add_rpc_request_operation-i.yaml 0000644 00000000420 15217654531 0020507 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::HTTPServer#add_rpc_request_operation is_singleton: false name: add_rpc_request_operation params: (factory, qname, soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/add_document_method-i.yaml 0000644 00000000374 15217654531 0017261 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::HTTPServer#add_document_method is_singleton: false name: add_document_method params: (obj, soapaction, name, req_qnames, res_qnames) visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/add_request_headerhandler-i.yaml 0000644 00000000342 15217654531 0020434 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::HTTPServer#add_request_headerhandler is_singleton: false name: add_request_headerhandler params: (factory) visibility: public ri/1.8/system/SOAP/RPC/HTTPServer/add_rpc_operation-i.yaml 0000644 00000000401 15217654531 0016736 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::HTTPServer#add_rpc_operation is_singleton: false name: add_rpc_operation params: (receiver, qname, soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/MethodDefinitionError/cdesc-MethodDefinitionError.yaml 0000644 00000000344 15217654531 0022661 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::RPC::MethodDefinitionError includes: [] instance_methods: [] name: MethodDefinitionError superclass: RPCError ri/1.8/system/SOAP/RPC/RPCError/cdesc-RPCError.yaml 0000644 00000000307 15217654531 0015246 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::RPC::RPCError includes: [] instance_methods: [] name: RPCError superclass: Error ri/1.8/system/SOAP/RPC/SOAPVoid/new-c.yaml 0000644 00000000255 15217654531 0013472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPVoid::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SOAP/RPC/SOAPVoid/cdesc-SOAPVoid.yaml 0000644 00000001133 15217654531 0015120 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: To return(?) void explicitly. - !ruby/struct:SM::Flow::VERB body: " def foo(input_var)\n ...\n return SOAP::RPC::SOAPVoid.new\n end\n" constants: - !ruby/object:RI::Constant comment: name: Name value: XSD::QName.new(Mapping::RubyCustomTypeNamespace, nil) full_name: SOAP::RPC::SOAPVoid includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPVoid superclass: XSD::XSDAnySimpleType ri/1.8/system/SOAP/RPC/SOAPMethodRequest/new-c.yaml 0000644 00000000336 15217654531 0015362 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethodRequest::new is_singleton: true name: new params: (qname, param_def = nil, soapaction = nil) visibility: public ri/1.8/system/SOAP/RPC/SOAPMethodRequest/cdesc-SOAPMethodRequest.yaml 0000644 00000001130 15217654531 0020675 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: soapaction rw: RW class_methods: - !ruby/object:RI::MethodSummary name: create_request - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::RPC::SOAPMethodRequest includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: check_elename - !ruby/object:RI::MethodSummary name: create_method_response - !ruby/object:RI::MethodSummary name: dup - !ruby/object:RI::MethodSummary name: each name: SOAPMethodRequest superclass: SOAPMethod ri/1.8/system/SOAP/RPC/SOAPMethodRequest/dup-i.yaml 0000644 00000000266 15217654531 0015371 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethodRequest#dup is_singleton: false name: dup params: () visibility: public ri/1.8/system/SOAP/RPC/SOAPMethodRequest/each-i.yaml 0000644 00000000353 15217654531 0015476 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (name, @inparam[name]) comment: full_name: SOAP::RPC::SOAPMethodRequest#each is_singleton: false name: each params: () {|name, @inparam[name]| ...} visibility: public ri/1.8/system/SOAP/RPC/SOAPMethodRequest/check_elename-i.yaml 0000644 00000000320 15217654531 0017333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethodRequest#check_elename is_singleton: false name: check_elename params: (qname) visibility: private ri/1.8/system/SOAP/RPC/SOAPMethodRequest/create_method_response-i.yaml 0000644 00000000357 15217654531 0021323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethodRequest#create_method_response is_singleton: false name: create_method_response params: (response_name = nil) visibility: public ri/1.8/system/SOAP/RPC/SOAPMethodRequest/create_request-c.yaml 0000644 00000000332 15217654531 0017600 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethodRequest::create_request is_singleton: true name: create_request params: (qname, *params) visibility: public ri/1.8/system/SOAP/RPC/Router/new-c.yaml 0000644 00000000260 15217654531 0013362 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::new is_singleton: true name: new params: (actor) visibility: public ri/1.8/system/SOAP/RPC/Router/add_rpc_request_servant-i.yaml 0000644 00000000446 15217654531 0017513 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: servant definition interface full_name: SOAP::RPC::Router#add_rpc_request_servant is_singleton: false name: add_rpc_request_servant params: (factory, namespace) visibility: public ri/1.8/system/SOAP/RPC/Router/assign_operation-i.yaml 0000644 00000000333 15217654531 0016144 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router#assign_operation is_singleton: false name: assign_operation params: (soapaction, qname, op) visibility: private ri/1.8/system/SOAP/RPC/Router/add_servant-i.yaml 0000644 00000000412 15217654531 0015070 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_rpc_servant" full_name: SOAP::RPC::Router#add_servant is_singleton: false name: add_servant params: (obj, namespace) visibility: public ri/1.8/system/SOAP/RPC/Router/RequestScopeOperation/new-c.yaml 0000644 00000000364 15217654531 0017672 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::RequestScopeOperation::new is_singleton: true name: new params: (soapaction, receiver_factory, name, param_def, opt) visibility: public ri/1.8/system/SOAP/RPC/Router/RequestScopeOperation/cdesc-RequestScopeOperation.yaml 0000644 00000000510 15217654531 0024234 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::RPC::Router::RequestScopeOperation includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: receiver name: RequestScopeOperation superclass: Operation ri/1.8/system/SOAP/RPC/Router/RequestScopeOperation/receiver-i.yaml 0000644 00000000315 15217654531 0020707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::RequestScopeOperation#receiver is_singleton: false name: receiver params: () visibility: private ri/1.8/system/SOAP/RPC/Router/add_headerhandler-i.yaml 0000644 00000000316 15217654531 0016177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router#add_headerhandler is_singleton: false name: add_headerhandler params: (handler) visibility: public ri/1.8/system/SOAP/RPC/Router/create_fault_response-i.yaml 0000644 00000000422 15217654531 0017153 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create fault response string. full_name: SOAP::RPC::Router#create_fault_response is_singleton: false name: create_fault_response params: (e) visibility: public ri/1.8/system/SOAP/RPC/Router/fault-i.yaml 0000644 00000000354 15217654531 0013716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create fault response. full_name: SOAP::RPC::Router#fault is_singleton: false name: fault params: (e) visibility: private ri/1.8/system/SOAP/RPC/Router/ApplicationScopeOperation/new-c.yaml 0000644 00000000360 15217654531 0020501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::ApplicationScopeOperation::new is_singleton: true name: new params: (soapaction, receiver, name, param_def, opt) visibility: public ri/1.8/system/SOAP/RPC/Router/ApplicationScopeOperation/cdesc-ApplicationScopeOperation.yaml 0000644 00000000520 15217654531 0025663 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::RPC::Router::ApplicationScopeOperation includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: receiver name: ApplicationScopeOperation superclass: Operation ri/1.8/system/SOAP/RPC/Router/ApplicationScopeOperation/receiver-i.yaml 0000644 00000000321 15217654531 0021517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::ApplicationScopeOperation#receiver is_singleton: false name: receiver params: () visibility: private ri/1.8/system/SOAP/RPC/Router/lookup_operation-i.yaml 0000644 00000000326 15217654531 0016173 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router#lookup_operation is_singleton: false name: lookup_operation params: (soapaction, body) visibility: private ri/1.8/system/SOAP/RPC/Router/add_rpc_method-i.yaml 0000644 00000000472 15217654531 0015540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_rpc_operation" full_name: SOAP::RPC::Router#add_rpc_method is_singleton: false name: add_rpc_method params: (receiver, qname, soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/Router/mimeize-i.yaml 0000644 00000000302 15217654531 0014233 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router#mimeize is_singleton: false name: mimeize params: (conn_data, ext) visibility: private ri/1.8/system/SOAP/RPC/Router/add_document_request_operation-i.yaml 0000644 00000000417 15217654531 0021061 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router#add_document_request_operation is_singleton: false name: add_document_request_operation params: (factory, soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/Router/first_input_part_qname-i.yaml 0000644 00000000333 15217654531 0017355 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router#first_input_part_qname is_singleton: false name: first_input_part_qname params: (param_def) visibility: private ri/1.8/system/SOAP/RPC/Router/create_mapping_opt-i.yaml 0000644 00000000312 15217654531 0016435 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router#create_mapping_opt is_singleton: false name: create_mapping_opt params: () visibility: private ri/1.8/system/SOAP/RPC/Router/marshal-i.yaml 0000644 00000000337 15217654531 0014233 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router#marshal is_singleton: false name: marshal params: (conn_data, env, default_encodingstyle = nil) visibility: private ri/1.8/system/SOAP/RPC/Router/add_document_operation-i.yaml 0000644 00000000467 15217654531 0017316 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_document_method block_params: comment: full_name: SOAP::RPC::Router#add_document_operation is_singleton: false name: add_document_operation params: (receiver, soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/Router/create_styleuse_option-i.yaml 0000644 00000000334 15217654531 0017371 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router#create_styleuse_option is_singleton: false name: create_styleuse_option params: (style, use) visibility: private ri/1.8/system/SOAP/RPC/Router/add_method-i.yaml 0000644 00000000462 15217654531 0014673 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_rpc_operation" full_name: SOAP::RPC::Router#add_method is_singleton: false name: add_method params: (receiver, qname, soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/Router/add_rpc_servant-i.yaml 0000644 00000000400 15217654531 0015731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_servant block_params: comment: full_name: SOAP::RPC::Router#add_rpc_servant is_singleton: false name: add_rpc_servant params: (obj, namespace) visibility: public ri/1.8/system/SOAP/RPC/Router/Operation/check_style-i.yaml 0000644 00000000314 15217654531 0017034 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation#check_style is_singleton: false name: check_style params: (style) visibility: private ri/1.8/system/SOAP/RPC/Router/Operation/new-c.yaml 0000644 00000000326 15217654531 0015325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation::new is_singleton: true name: new params: (soapaction, name, param_def, opt) visibility: public ri/1.8/system/SOAP/RPC/Router/Operation/response_doc-i.yaml 0000644 00000000400 15217654531 0017216 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation#response_doc is_singleton: false name: response_doc params: (result, mapping_registry, literal_mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Router/Operation/response_doc_enc-i.yaml 0000644 00000000356 15217654531 0020055 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation#response_doc_enc is_singleton: false name: response_doc_enc params: (result, mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Router/Operation/call-i.yaml 0000644 00000000355 15217654531 0015457 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation#call is_singleton: false name: call params: (body, mapping_registry, literal_mapping_registry, opt) visibility: public ri/1.8/system/SOAP/RPC/Router/Operation/response_default_encodingstyle-i.yaml 0000644 00000000354 15217654531 0023034 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation#response_default_encodingstyle is_singleton: false name: response_default_encodingstyle params: () visibility: public ri/1.8/system/SOAP/RPC/Router/Operation/request_rpc-i.yaml 0000644 00000000374 15217654531 0017101 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation#request_rpc is_singleton: false name: request_rpc params: (body, mapping_registry, literal_mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Router/Operation/response_rpc_enc-i.yaml 0000644 00000000356 15217654531 0020074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation#response_rpc_enc is_singleton: false name: response_rpc_enc params: (result, mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Router/Operation/request_document-i.yaml 0000644 00000000406 15217654531 0020127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation#request_document is_singleton: false name: request_document params: (body, mapping_registry, literal_mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Router/Operation/request_rpc_enc-i.yaml 0000644 00000000355 15217654531 0017725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation#request_rpc_enc is_singleton: false name: request_rpc_enc params: (request, mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Router/Operation/cdesc-Operation.yaml 0000644 00000003251 15217654531 0017333 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: request_style rw: R - !ruby/object:RI::Attribute comment: name: request_use rw: R - !ruby/object:RI::Attribute comment: name: response_style rw: R - !ruby/object:RI::Attribute comment: name: response_use rw: R - !ruby/object:RI::Attribute comment: name: soapaction rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::RPC::Router::Operation includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: call - !ruby/object:RI::MethodSummary name: check_style - !ruby/object:RI::MethodSummary name: check_use - !ruby/object:RI::MethodSummary name: receiver - !ruby/object:RI::MethodSummary name: request_default_encodingstyle - !ruby/object:RI::MethodSummary name: request_doc_enc - !ruby/object:RI::MethodSummary name: request_doc_lit - !ruby/object:RI::MethodSummary name: request_document - !ruby/object:RI::MethodSummary name: request_rpc - !ruby/object:RI::MethodSummary name: request_rpc_enc - !ruby/object:RI::MethodSummary name: request_rpc_lit - !ruby/object:RI::MethodSummary name: response_default_encodingstyle - !ruby/object:RI::MethodSummary name: response_doc - !ruby/object:RI::MethodSummary name: response_doc_enc - !ruby/object:RI::MethodSummary name: response_doc_lit - !ruby/object:RI::MethodSummary name: response_rpc - !ruby/object:RI::MethodSummary name: response_rpc_enc - !ruby/object:RI::MethodSummary name: response_rpc_lit name: Operation superclass: Object ri/1.8/system/SOAP/RPC/Router/Operation/request_doc_lit-i.yaml 0000644 00000000352 15217654531 0017726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation#request_doc_lit is_singleton: false name: request_doc_lit params: (body, mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Router/Operation/request_doc_enc-i.yaml 0000644 00000000352 15217654531 0017703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation#request_doc_enc is_singleton: false name: request_doc_enc params: (body, mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Router/Operation/request_rpc_lit-i.yaml 0000644 00000000355 15217654531 0017750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation#request_rpc_lit is_singleton: false name: request_rpc_lit params: (request, mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Router/Operation/receiver-i.yaml 0000644 00000000301 15217654531 0016337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation#receiver is_singleton: false name: receiver params: () visibility: private ri/1.8/system/SOAP/RPC/Router/Operation/response_rpc-i.yaml 0000644 00000000400 15217654531 0017235 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation#response_rpc is_singleton: false name: response_rpc params: (result, mapping_registry, literal_mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Router/Operation/response_doc_lit-i.yaml 0000644 00000000356 15217654531 0020100 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation#response_doc_lit is_singleton: false name: response_doc_lit params: (result, mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Router/Operation/response_rpc_lit-i.yaml 0000644 00000000356 15217654531 0020117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation#response_rpc_lit is_singleton: false name: response_rpc_lit params: (result, mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Router/Operation/request_default_encodingstyle-i.yaml 0000644 00000000352 15217654531 0022664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation#request_default_encodingstyle is_singleton: false name: request_default_encodingstyle params: () visibility: public ri/1.8/system/SOAP/RPC/Router/Operation/check_use-i.yaml 0000644 00000000306 15217654531 0016471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router::Operation#check_use is_singleton: false name: check_use params: (use) visibility: private ri/1.8/system/SOAP/RPC/Router/ensure_styleuse_option-i.yaml 0000644 00000000341 15217654531 0017425 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router#ensure_styleuse_option is_singleton: false name: ensure_styleuse_option params: (opt, style, use) visibility: private ri/1.8/system/SOAP/RPC/Router/add_rpc_request_operation-i.yaml 0000644 00000000414 15217654531 0020024 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router#add_rpc_request_operation is_singleton: false name: add_rpc_request_operation params: (factory, qname, soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/Router/unmarshal-i.yaml 0000644 00000000301 15217654531 0014565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router#unmarshal is_singleton: false name: unmarshal params: (conn_data) visibility: private ri/1.8/system/SOAP/RPC/Router/route-i.yaml 0000644 00000000270 15217654531 0013736 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router#route is_singleton: false name: route params: (conn_data) visibility: public ri/1.8/system/SOAP/RPC/Router/add_document_method-i.yaml 0000644 00000000502 15217654531 0016564 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_document_operation" full_name: SOAP::RPC::Router#add_document_method is_singleton: false name: add_document_method params: (receiver, soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/Router/receive_headers-i.yaml 0000644 00000000332 15217654531 0015714 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router#receive_headers is_singleton: false name: receive_headers params: (headerhandler, headers) visibility: private ri/1.8/system/SOAP/RPC/Router/add_request_headerhandler-i.yaml 0000644 00000000433 15217654531 0017747 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: header handler interface full_name: SOAP::RPC::Router#add_request_headerhandler is_singleton: false name: add_request_headerhandler params: (factory) visibility: public ri/1.8/system/SOAP/RPC/Router/cdesc-Router.yaml 0000644 00000004227 15217654531 0014717 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: actor rw: R - !ruby/object:RI::Attribute comment: name: external_ces rw: RW - !ruby/object:RI::Attribute comment: name: generate_explicit_type rw: RW - !ruby/object:RI::Attribute comment: name: literal_mapping_registry rw: RW - !ruby/object:RI::Attribute comment: name: mapping_registry rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::RPC::Router includes: - !ruby/object:RI::IncludedModule name: SOAP instance_methods: - !ruby/object:RI::MethodSummary name: add_document_method - !ruby/object:RI::MethodSummary name: add_document_operation - !ruby/object:RI::MethodSummary name: add_document_request_operation - !ruby/object:RI::MethodSummary name: add_headerhandler - !ruby/object:RI::MethodSummary name: add_method - !ruby/object:RI::MethodSummary name: add_request_headerhandler - !ruby/object:RI::MethodSummary name: add_rpc_method - !ruby/object:RI::MethodSummary name: add_rpc_operation - !ruby/object:RI::MethodSummary name: add_rpc_request_operation - !ruby/object:RI::MethodSummary name: add_rpc_request_servant - !ruby/object:RI::MethodSummary name: add_rpc_servant - !ruby/object:RI::MethodSummary name: add_servant - !ruby/object:RI::MethodSummary name: assign_operation - !ruby/object:RI::MethodSummary name: call_headers - !ruby/object:RI::MethodSummary name: create_fault_response - !ruby/object:RI::MethodSummary name: create_mapping_opt - !ruby/object:RI::MethodSummary name: create_styleuse_option - !ruby/object:RI::MethodSummary name: ensure_styleuse_option - !ruby/object:RI::MethodSummary name: fault - !ruby/object:RI::MethodSummary name: first_input_part_qname - !ruby/object:RI::MethodSummary name: lookup_operation - !ruby/object:RI::MethodSummary name: marshal - !ruby/object:RI::MethodSummary name: mimeize - !ruby/object:RI::MethodSummary name: receive_headers - !ruby/object:RI::MethodSummary name: route - !ruby/object:RI::MethodSummary name: unmarshal name: Router superclass: Object ri/1.8/system/SOAP/RPC/Router/add_rpc_operation-i.yaml 0000644 00000000643 15217654531 0016260 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_method - !ruby/object:RI::AliasName name: add_rpc_method block_params: comment: - !ruby/struct:SM::Flow::P body: operation definition interface full_name: SOAP::RPC::Router#add_rpc_operation is_singleton: false name: add_rpc_operation params: (receiver, qname, soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/Router/call_headers-i.yaml 0000644 00000000313 15217654531 0015204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Router#call_headers is_singleton: false name: call_headers params: (headerhandler) visibility: private ri/1.8/system/SOAP/RPC/SOAPlet/new-c.yaml 0000644 00000000270 15217654531 0013352 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPlet::new is_singleton: true name: new params: (router = nil) visibility: public ri/1.8/system/SOAP/RPC/SOAPlet/allow_content_encoding_gzip%3d-i.yaml 0000644 00000000343 15217654531 0020633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPlet#allow_content_encoding_gzip= is_singleton: false name: allow_content_encoding_gzip= params: (allow) visibility: public ri/1.8/system/SOAP/RPC/SOAPlet/add_servant-i.yaml 0000644 00000000411 15217654531 0015056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: for backward compatibility full_name: SOAP::RPC::SOAPlet#add_servant is_singleton: false name: add_servant params: (obj, namespace) visibility: public ri/1.8/system/SOAP/RPC/SOAPlet/encode_gzip-i.yaml 0000644 00000000313 15217654531 0015053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPlet#encode_gzip is_singleton: false name: encode_gzip params: (req, outstring) visibility: private ri/1.8/system/SOAP/RPC/SOAPlet/get_instance-i.yaml 0000644 00000000422 15217654531 0015231 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Servlet interfaces for WEBrick. full_name: SOAP::RPC::SOAPlet#get_instance is_singleton: false name: get_instance params: (config, *options) visibility: public ri/1.8/system/SOAP/RPC/SOAPlet/logger-i.yaml 0000644 00000000263 15217654531 0014050 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPlet#logger is_singleton: false name: logger params: () visibility: private ri/1.8/system/SOAP/RPC/SOAPlet/do_GET-i.yaml 0000644 00000000272 15217654531 0013672 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPlet#do_GET is_singleton: false name: do_GET params: (req, res) visibility: public ri/1.8/system/SOAP/RPC/SOAPlet/encode_gzip%3f-i.yaml 0000644 00000000302 15217654531 0015347 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPlet#encode_gzip? is_singleton: false name: encode_gzip? params: (req) visibility: private ri/1.8/system/SOAP/RPC/SOAPlet/cdesc-SOAPlet.yaml 0000644 00000002034 15217654531 0014667 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: options rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::RPC::SOAPlet includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_servant - !ruby/object:RI::MethodSummary name: allow_content_encoding_gzip= - !ruby/object:RI::MethodSummary name: app_scope_router - !ruby/object:RI::MethodSummary name: do_GET - !ruby/object:RI::MethodSummary name: do_POST - !ruby/object:RI::MethodSummary name: encode_gzip - !ruby/object:RI::MethodSummary name: encode_gzip? - !ruby/object:RI::MethodSummary name: get_instance - !ruby/object:RI::MethodSummary name: logger - !ruby/object:RI::MethodSummary name: parse_soapaction - !ruby/object:RI::MethodSummary name: require_path_info? - !ruby/object:RI::MethodSummary name: setup_req - !ruby/object:RI::MethodSummary name: setup_res name: SOAPlet superclass: WEBrick::HTTPServlet::AbstractServlet ri/1.8/system/SOAP/RPC/SOAPlet/require_path_info%3f-i.yaml 0000644 00000000312 15217654531 0016565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPlet#require_path_info? is_singleton: false name: require_path_info? params: () visibility: public ri/1.8/system/SOAP/RPC/SOAPlet/setup_res-i.yaml 0000644 00000000314 15217654531 0014577 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPlet#setup_res is_singleton: false name: setup_res params: (conn_data, req, res) visibility: private ri/1.8/system/SOAP/RPC/SOAPlet/do_POST-i.yaml 0000644 00000000274 15217654531 0014042 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPlet#do_POST is_singleton: false name: do_POST params: (req, res) visibility: public ri/1.8/system/SOAP/RPC/SOAPlet/parse_soapaction-i.yaml 0000644 00000000321 15217654531 0016116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPlet#parse_soapaction is_singleton: false name: parse_soapaction params: (soapaction) visibility: private ri/1.8/system/SOAP/RPC/SOAPlet/app_scope_router-i.yaml 0000644 00000000405 15217654531 0016140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: for backward compatibility full_name: SOAP::RPC::SOAPlet#app_scope_router is_singleton: false name: app_scope_router params: () visibility: public ri/1.8/system/SOAP/RPC/SOAPlet/setup_req-i.yaml 0000644 00000000307 15217654531 0014577 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPlet#setup_req is_singleton: false name: setup_req params: (conn_data, req) visibility: private ri/1.8/system/SOAP/RPC/Proxy/new-c.yaml 0000644 00000000313 15217654531 0013222 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::new is_singleton: true name: new params: (endpoint_url, soapaction, options) visibility: public ri/1.8/system/SOAP/RPC/Proxy/reset_stream-i.yaml 0000644 00000000274 15217654531 0015142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy#reset_stream is_singleton: false name: reset_stream params: () visibility: public ri/1.8/system/SOAP/RPC/Proxy/check_fault-i.yaml 0000644 00000000276 15217654531 0014717 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy#check_fault is_singleton: false name: check_fault params: (body) visibility: public ri/1.8/system/SOAP/RPC/Proxy/set_envelopenamespace-i.yaml 0000644 00000000335 15217654531 0017010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy#set_envelopenamespace is_singleton: false name: set_envelopenamespace params: (env, namespace) visibility: private ri/1.8/system/SOAP/RPC/Proxy/add_rpc_method-i.yaml 0000644 00000000457 15217654531 0015404 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_rpc_operation" full_name: SOAP::RPC::Proxy#add_rpc_method is_singleton: false name: add_rpc_method params: (qname, soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/Proxy/call-i.yaml 0000644 00000000271 15217654531 0013355 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy#call is_singleton: false name: call params: (name, *params) visibility: public ri/1.8/system/SOAP/RPC/Proxy/invoke-i.yaml 0000644 00000000317 15217654531 0013736 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy#invoke is_singleton: false name: invoke params: (req_header, req_body, opt = nil) visibility: public ri/1.8/system/SOAP/RPC/Proxy/set_wiredump_file_base-i.yaml 0000644 00000000342 15217654531 0017141 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy#set_wiredump_file_base is_singleton: false name: set_wiredump_file_base params: (wiredump_file_base) visibility: public ri/1.8/system/SOAP/RPC/Proxy/create_mapping_opt-i.yaml 0000644 00000000323 15217654531 0016300 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy#create_mapping_opt is_singleton: false name: create_mapping_opt params: (hash = nil) visibility: private ri/1.8/system/SOAP/RPC/Proxy/endpoint_url%3d-i.yaml 0000644 00000000312 15217654531 0015434 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy#endpoint_url= is_singleton: false name: endpoint_url= params: (endpoint_url) visibility: public ri/1.8/system/SOAP/RPC/Proxy/marshal-i.yaml 0000644 00000000273 15217654531 0014073 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy#marshal is_singleton: false name: marshal params: (env, opt) visibility: private ri/1.8/system/SOAP/RPC/Proxy/add_document_operation-i.yaml 0000644 00000000454 15217654531 0017153 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_document_method block_params: comment: full_name: SOAP::RPC::Proxy#add_document_operation is_singleton: false name: add_document_operation params: (soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/Proxy/add_method-i.yaml 0000644 00000000447 15217654531 0014537 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_rpc_operation" full_name: SOAP::RPC::Proxy#add_method is_singleton: false name: add_method params: (qname, soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/Proxy/inspect-i.yaml 0000644 00000000262 15217654531 0014107 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/SOAP/RPC/Proxy/Operation/check_style-i.yaml 0000644 00000000313 15217654531 0016674 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#check_style is_singleton: false name: check_style params: (style) visibility: private ri/1.8/system/SOAP/RPC/Proxy/Operation/new-c.yaml 0000644 00000000317 15217654531 0015166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation::new is_singleton: true name: new params: (soapaction, param_def, opt) visibility: public ri/1.8/system/SOAP/RPC/Proxy/Operation/response_doc-i.yaml 0000644 00000000375 15217654531 0017072 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#response_doc is_singleton: false name: response_doc params: (body, mapping_registry, literal_mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Proxy/Operation/response_doc_enc-i.yaml 0000644 00000000353 15217654531 0017713 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#response_doc_enc is_singleton: false name: response_doc_enc params: (body, mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Proxy/Operation/request_body-i.yaml 0000644 00000000376 15217654531 0017115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#request_body is_singleton: false name: request_body params: (values, mapping_registry, literal_mapping_registry, opt) visibility: public ri/1.8/system/SOAP/RPC/Proxy/Operation/response_default_encodingstyle-i.yaml 0000644 00000000353 15217654531 0022674 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#response_default_encodingstyle is_singleton: false name: response_default_encodingstyle params: () visibility: public ri/1.8/system/SOAP/RPC/Proxy/Operation/request_rpc-i.yaml 0000644 00000000375 15217654531 0016743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#request_rpc is_singleton: false name: request_rpc params: (values, mapping_registry, literal_mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Proxy/Operation/response_rpc_enc-i.yaml 0000644 00000000353 15217654531 0017732 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#response_rpc_enc is_singleton: false name: response_rpc_enc params: (body, mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Proxy/Operation/create_request_obj-i.yaml 0000644 00000000341 15217654531 0020245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#create_request_obj is_singleton: false name: create_request_obj params: (names, params) visibility: private ri/1.8/system/SOAP/RPC/Proxy/Operation/request_rpc_enc-i.yaml 0000644 00000000353 15217654531 0017564 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#request_rpc_enc is_singleton: false name: request_rpc_enc params: (values, mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Proxy/Operation/cdesc-Operation.yaml 0000644 00000003577 15217654531 0017207 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: attributeformdefault rw: R - !ruby/object:RI::Attribute comment: name: elementformdefault rw: R - !ruby/object:RI::Attribute comment: name: request_style rw: R - !ruby/object:RI::Attribute comment: name: request_use rw: R - !ruby/object:RI::Attribute comment: name: response_style rw: R - !ruby/object:RI::Attribute comment: name: response_use rw: R - !ruby/object:RI::Attribute comment: name: soapaction rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::RPC::Proxy::Operation includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: check_style - !ruby/object:RI::MethodSummary name: check_use - !ruby/object:RI::MethodSummary name: create_request_obj - !ruby/object:RI::MethodSummary name: raise_fault - !ruby/object:RI::MethodSummary name: request_body - !ruby/object:RI::MethodSummary name: request_default_encodingstyle - !ruby/object:RI::MethodSummary name: request_doc - !ruby/object:RI::MethodSummary name: request_doc_enc - !ruby/object:RI::MethodSummary name: request_doc_lit - !ruby/object:RI::MethodSummary name: request_rpc - !ruby/object:RI::MethodSummary name: request_rpc_enc - !ruby/object:RI::MethodSummary name: request_rpc_lit - !ruby/object:RI::MethodSummary name: response_default_encodingstyle - !ruby/object:RI::MethodSummary name: response_doc - !ruby/object:RI::MethodSummary name: response_doc_enc - !ruby/object:RI::MethodSummary name: response_doc_lit - !ruby/object:RI::MethodSummary name: response_obj - !ruby/object:RI::MethodSummary name: response_rpc - !ruby/object:RI::MethodSummary name: response_rpc_enc - !ruby/object:RI::MethodSummary name: response_rpc_lit name: Operation superclass: Object ri/1.8/system/SOAP/RPC/Proxy/Operation/request_doc_lit-i.yaml 0000644 00000000353 15217654531 0017570 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#request_doc_lit is_singleton: false name: request_doc_lit params: (values, mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Proxy/Operation/request_doc_enc-i.yaml 0000644 00000000353 15217654531 0017545 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#request_doc_enc is_singleton: false name: request_doc_enc params: (values, mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Proxy/Operation/request_rpc_lit-i.yaml 0000644 00000000353 15217654531 0017607 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#request_rpc_lit is_singleton: false name: request_rpc_lit params: (values, mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Proxy/Operation/raise_fault-i.yaml 0000644 00000000362 15217654531 0016701 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#raise_fault is_singleton: false name: raise_fault params: (e, mapping_registry, literal_mapping_registry) visibility: public ri/1.8/system/SOAP/RPC/Proxy/Operation/response_rpc-i.yaml 0000644 00000000375 15217654531 0017111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#response_rpc is_singleton: false name: response_rpc params: (body, mapping_registry, literal_mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Proxy/Operation/response_doc_lit-i.yaml 0000644 00000000353 15217654531 0017736 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#response_doc_lit is_singleton: false name: response_doc_lit params: (body, mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Proxy/Operation/response_rpc_lit-i.yaml 0000644 00000000353 15217654531 0017755 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#response_rpc_lit is_singleton: false name: response_rpc_lit params: (body, mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Proxy/Operation/request_default_encodingstyle-i.yaml 0000644 00000000351 15217654531 0022524 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#request_default_encodingstyle is_singleton: false name: request_default_encodingstyle params: () visibility: public ri/1.8/system/SOAP/RPC/Proxy/Operation/request_doc-i.yaml 0000644 00000000375 15217654531 0016724 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#request_doc is_singleton: false name: request_doc params: (values, mapping_registry, literal_mapping_registry, opt) visibility: private ri/1.8/system/SOAP/RPC/Proxy/Operation/response_obj-i.yaml 0000644 00000000374 15217654531 0017076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#response_obj is_singleton: false name: response_obj params: (body, mapping_registry, literal_mapping_registry, opt) visibility: public ri/1.8/system/SOAP/RPC/Proxy/Operation/check_use-i.yaml 0000644 00000000305 15217654531 0016331 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy::Operation#check_use is_singleton: false name: check_use params: (use) visibility: private ri/1.8/system/SOAP/RPC/Proxy/unmarshal-i.yaml 0000644 00000000305 15217654531 0014432 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy#unmarshal is_singleton: false name: unmarshal params: (conn_data, opt) visibility: private ri/1.8/system/SOAP/RPC/Proxy/route-i.yaml 0000644 00000000322 15217654531 0013575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy#route is_singleton: false name: route params: (req_header, req_body, reqopt, resopt) visibility: public ri/1.8/system/SOAP/RPC/Proxy/endpoint_url-i.yaml 0000644 00000000274 15217654531 0015147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy#endpoint_url is_singleton: false name: endpoint_url params: () visibility: public ri/1.8/system/SOAP/RPC/Proxy/create_encoding_opt-i.yaml 0000644 00000000325 15217654531 0016435 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy#create_encoding_opt is_singleton: false name: create_encoding_opt params: (hash = nil) visibility: private ri/1.8/system/SOAP/RPC/Proxy/add_document_method-i.yaml 0000644 00000000467 15217654531 0016437 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_document_operation" full_name: SOAP::RPC::Proxy#add_document_method is_singleton: false name: add_document_method params: (soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/Proxy/create_request_header-i.yaml 0000644 00000000317 15217654531 0016766 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy#create_request_header is_singleton: false name: create_request_header params: () visibility: private ri/1.8/system/SOAP/RPC/Proxy/receive_headers-i.yaml 0000644 00000000312 15217654531 0015553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy#receive_headers is_singleton: false name: receive_headers params: (headers) visibility: private ri/1.8/system/SOAP/RPC/Proxy/test_loopback_response-i.yaml 0000644 00000000320 15217654531 0017204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy#test_loopback_response is_singleton: false name: test_loopback_response params: () visibility: public ri/1.8/system/SOAP/RPC/Proxy/add_rpc_operation-i.yaml 0000644 00000000525 15217654531 0016120 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_method - !ruby/object:RI::AliasName name: add_rpc_method block_params: comment: full_name: SOAP::RPC::Proxy#add_rpc_operation is_singleton: false name: add_rpc_operation params: (qname, soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/Proxy/cdesc-Proxy.yaml 0000644 00000004456 15217654531 0014425 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: allow_unqualified_element rw: RW - !ruby/object:RI::Attribute comment: name: default_encodingstyle rw: RW - !ruby/object:RI::Attribute comment: name: generate_explicit_type rw: RW - !ruby/object:RI::Attribute comment: name: headerhandler rw: R - !ruby/object:RI::Attribute comment: name: literal_mapping_registry rw: RW - !ruby/object:RI::Attribute comment: name: mandatorycharset rw: RW - !ruby/object:RI::Attribute comment: name: mapping_registry rw: RW - !ruby/object:RI::Attribute comment: name: operation rw: R - !ruby/object:RI::Attribute comment: name: soapaction rw: RW - !ruby/object:RI::Attribute comment: name: streamhandler rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::RPC::Proxy includes: - !ruby/object:RI::IncludedModule name: SOAP instance_methods: - !ruby/object:RI::MethodSummary name: add_document_method - !ruby/object:RI::MethodSummary name: add_document_operation - !ruby/object:RI::MethodSummary name: add_method - !ruby/object:RI::MethodSummary name: add_rpc_method - !ruby/object:RI::MethodSummary name: add_rpc_operation - !ruby/object:RI::MethodSummary name: call - !ruby/object:RI::MethodSummary name: check_fault - !ruby/object:RI::MethodSummary name: create_encoding_opt - !ruby/object:RI::MethodSummary name: create_header - !ruby/object:RI::MethodSummary name: create_mapping_opt - !ruby/object:RI::MethodSummary name: create_request_header - !ruby/object:RI::MethodSummary name: endpoint_url - !ruby/object:RI::MethodSummary name: endpoint_url= - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: invoke - !ruby/object:RI::MethodSummary name: marshal - !ruby/object:RI::MethodSummary name: receive_headers - !ruby/object:RI::MethodSummary name: reset_stream - !ruby/object:RI::MethodSummary name: route - !ruby/object:RI::MethodSummary name: set_envelopenamespace - !ruby/object:RI::MethodSummary name: set_wiredump_file_base - !ruby/object:RI::MethodSummary name: test_loopback_response - !ruby/object:RI::MethodSummary name: unmarshal name: Proxy superclass: Object ri/1.8/system/SOAP/RPC/Proxy/create_header-i.yaml 0000644 00000000306 15217654531 0015214 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::Proxy#create_header is_singleton: false name: create_header params: (headers) visibility: private ri/1.8/system/SOAP/RPC/CGIStub/add_rpc_method_with_namespace_as-i.yaml 0000644 00000000513 15217654531 0021246 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_method_with_namespace_as block_params: comment: full_name: SOAP::RPC::CGIStub#add_rpc_method_with_namespace_as is_singleton: false name: add_rpc_method_with_namespace_as params: (namespace, obj, name, name_as, *param) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/new-c.yaml 0000644 00000000306 15217654531 0013343 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::CGIStub::new is_singleton: true name: new params: (appname, default_namespace) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/add_servant-i.yaml 0000644 00000000440 15217654531 0015051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_rpc_servant" full_name: SOAP::RPC::CGIStub#add_servant is_singleton: false name: add_servant params: (obj, namespace = @default_namespace) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/mapping_registry-i.yaml 0000644 00000000306 15217654531 0016143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::CGIStub#mapping_registry is_singleton: false name: mapping_registry params: () visibility: public ri/1.8/system/SOAP/RPC/CGIStub/set_fcgi_request-i.yaml 0000644 00000000315 15217654531 0016113 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::CGIStub#set_fcgi_request is_singleton: false name: set_fcgi_request params: (request) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/on_init-i.yaml 0000644 00000000264 15217654531 0014222 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::CGIStub#on_init is_singleton: false name: on_init params: () visibility: public ri/1.8/system/SOAP/RPC/CGIStub/add_headerhandler-i.yaml 0000644 00000000404 15217654531 0016155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_rpc_headerhandler block_params: comment: full_name: SOAP::RPC::CGIStub#add_headerhandler is_singleton: false name: add_headerhandler params: (obj) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/generate_explicit_type%3d-i.yaml 0000644 00000000352 15217654531 0017611 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::CGIStub#generate_explicit_type= is_singleton: false name: generate_explicit_type= params: (generate_explicit_type) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/add_method_as-i.yaml 0000644 00000000435 15217654531 0015336 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_rpc_method_as" full_name: SOAP::RPC::CGIStub#add_method_as is_singleton: false name: add_method_as params: (obj, name, name_as, *param) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/add_rpc_method-i.yaml 0000644 00000000474 15217654531 0015522 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_method block_params: comment: - !ruby/struct:SM::Flow::P body: method entry interface full_name: SOAP::RPC::CGIStub#add_rpc_method is_singleton: false name: add_rpc_method params: (obj, name, *param) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/add_rpc_method_with_namespace-i.yaml 0000644 00000000471 15217654531 0020566 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_method_with_namespace block_params: comment: full_name: SOAP::RPC::CGIStub#add_rpc_method_with_namespace is_singleton: false name: add_rpc_method_with_namespace params: (namespace, obj, name, *param) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/add_rpc_headerhandler-i.yaml 0000644 00000000426 15217654531 0017025 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_headerhandler" full_name: SOAP::RPC::CGIStub#add_rpc_headerhandler is_singleton: false name: add_rpc_headerhandler params: (obj) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/run-i.yaml 0000644 00000000255 15217654531 0013367 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::CGIStub#run is_singleton: false name: run params: () visibility: private ri/1.8/system/SOAP/RPC/CGIStub/add_rpc_method_as-i.yaml 0000644 00000000423 15217654531 0016177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_method_as block_params: comment: full_name: SOAP::RPC::CGIStub#add_rpc_method_as is_singleton: false name: add_rpc_method_as params: (obj, name, name_as, *param) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/mapping_registry%3d-i.yaml 0000644 00000000315 15217654531 0016437 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::CGIStub#mapping_registry= is_singleton: false name: mapping_registry= params: (value) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/add_document_operation-i.yaml 0000644 00000000401 15217654531 0017262 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::CGIStub#add_document_operation is_singleton: false name: add_document_operation params: (receiver, soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/add_method-i.yaml 0000644 00000000413 15217654531 0014647 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_rpc_method" full_name: SOAP::RPC::CGIStub#add_method is_singleton: false name: add_method params: (obj, name, *param) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/SOAPRequest/%5b%5d-i.yaml 0000644 00000000274 15217654531 0015550 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::CGIStub::SOAPRequest#[] is_singleton: false name: "[]" params: (var) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/SOAPRequest/cdesc-SOAPRequest.yaml 0000644 00000000563 15217654531 0017644 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: body rw: R class_methods: [] comment: constants: [] full_name: SOAP::RPC::CGIStub::SOAPRequest includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: meta_vars name: SOAPRequest superclass: Object ri/1.8/system/SOAP/RPC/CGIStub/SOAPRequest/meta_vars-i.yaml 0000644 00000000305 15217654531 0016653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::CGIStub::SOAPRequest#meta_vars is_singleton: false name: meta_vars params: () visibility: public ri/1.8/system/SOAP/RPC/CGIStub/add_rpc_servant-i.yaml 0000644 00000000522 15217654531 0015716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_servant block_params: comment: - !ruby/struct:SM::Flow::P body: servant entry interface full_name: SOAP::RPC::CGIStub#add_rpc_servant is_singleton: false name: add_rpc_servant params: (obj, namespace = @default_namespace) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/add_method_with_namespace-i.yaml 0000644 00000000503 15217654531 0017716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_rpc_method_with_namespace" full_name: SOAP::RPC::CGIStub#add_method_with_namespace is_singleton: false name: add_method_with_namespace params: (namespace, obj, name, *param) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/generate_explicit_type-i.yaml 0000644 00000000322 15217654531 0017312 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::CGIStub#generate_explicit_type is_singleton: false name: generate_explicit_type params: () visibility: public ri/1.8/system/SOAP/RPC/CGIStub/SOAPStdinRequest/new-c.yaml 0000644 00000000304 15217654531 0016456 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::CGIStub::SOAPStdinRequest::new is_singleton: true name: new params: (stream) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/SOAPStdinRequest/cdesc-SOAPStdinRequest.yaml 0000644 00000000655 15217654531 0021652 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: body rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::RPC::CGIStub::SOAPStdinRequest includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: meta_vars name: SOAPStdinRequest superclass: SOAPRequest ri/1.8/system/SOAP/RPC/CGIStub/SOAPStdinRequest/%5b%5d-i.yaml 0000644 00000000301 15217654531 0016541 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::CGIStub::SOAPStdinRequest#[] is_singleton: false name: "[]" params: (var) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/SOAPStdinRequest/meta_vars-i.yaml 0000644 00000000312 15217654531 0017653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::CGIStub::SOAPStdinRequest#meta_vars is_singleton: false name: meta_vars params: () visibility: public ri/1.8/system/SOAP/RPC/CGIStub/SOAPFCGIRequest/new-c.yaml 0000644 00000000304 15217654531 0016105 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::CGIStub::SOAPFCGIRequest::new is_singleton: true name: new params: (request) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/SOAPFCGIRequest/%5b%5d-i.yaml 0000644 00000000300 15217654531 0016167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::CGIStub::SOAPFCGIRequest#[] is_singleton: false name: "[]" params: (var) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/SOAPFCGIRequest/cdesc-SOAPFCGIRequest.yaml 0000644 00000000653 15217654531 0020726 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: body rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::RPC::CGIStub::SOAPFCGIRequest includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: meta_vars name: SOAPFCGIRequest superclass: SOAPRequest ri/1.8/system/SOAP/RPC/CGIStub/SOAPFCGIRequest/meta_vars-i.yaml 0000644 00000000311 15217654531 0017301 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::CGIStub::SOAPFCGIRequest#meta_vars is_singleton: false name: meta_vars params: () visibility: public ri/1.8/system/SOAP/RPC/CGIStub/cdesc-CGIStub.yaml 0000644 00000003620 15217654531 0014653 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: SYNOPSIS - !ruby/struct:SM::Flow::VERB body: " CGIStub.new\n" - !ruby/struct:SM::Flow::P body: DESCRIPTION - !ruby/struct:SM::Flow::VERB body: " To be written...\n" constants: - !ruby/object:RI::Constant comment: name: HTTPVersion value: WEBrick::HTTPVersion.new('1.0') full_name: SOAP::RPC::CGIStub includes: - !ruby/object:RI::IncludedModule name: SOAP - !ruby/object:RI::IncludedModule name: WEBrick instance_methods: - !ruby/object:RI::MethodSummary name: add_document_operation - !ruby/object:RI::MethodSummary name: add_headerhandler - !ruby/object:RI::MethodSummary name: add_method - !ruby/object:RI::MethodSummary name: add_method_as - !ruby/object:RI::MethodSummary name: add_method_with_namespace - !ruby/object:RI::MethodSummary name: add_method_with_namespace_as - !ruby/object:RI::MethodSummary name: add_rpc_headerhandler - !ruby/object:RI::MethodSummary name: add_rpc_method - !ruby/object:RI::MethodSummary name: add_rpc_method_as - !ruby/object:RI::MethodSummary name: add_rpc_method_with_namespace - !ruby/object:RI::MethodSummary name: add_rpc_method_with_namespace_as - !ruby/object:RI::MethodSummary name: add_rpc_operation - !ruby/object:RI::MethodSummary name: add_rpc_servant - !ruby/object:RI::MethodSummary name: add_servant - !ruby/object:RI::MethodSummary name: generate_explicit_type - !ruby/object:RI::MethodSummary name: generate_explicit_type= - !ruby/object:RI::MethodSummary name: mapping_registry - !ruby/object:RI::MethodSummary name: mapping_registry= - !ruby/object:RI::MethodSummary name: on_init - !ruby/object:RI::MethodSummary name: run - !ruby/object:RI::MethodSummary name: set_fcgi_request name: CGIStub superclass: Logger::Application ri/1.8/system/SOAP/RPC/CGIStub/add_method_with_namespace_as-i.yaml 0000644 00000000525 15217654531 0020405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add_rpc_method_with_namespace_as" full_name: SOAP::RPC::CGIStub#add_method_with_namespace_as is_singleton: false name: add_method_with_namespace_as params: (namespace, obj, name, name_as, *param) visibility: public ri/1.8/system/SOAP/RPC/CGIStub/add_rpc_operation-i.yaml 0000644 00000000376 15217654531 0016243 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::CGIStub#add_rpc_operation is_singleton: false name: add_rpc_operation params: (receiver, qname, soapaction, name, param_def, opt = {}) visibility: public ri/1.8/system/SOAP/RPC/StandaloneServer/new-c.yaml 0000644 00000000356 15217654531 0015367 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::StandaloneServer::new is_singleton: true name: new params: (appname, default_namespace, host = "0.0.0.0", port = 8080) visibility: public ri/1.8/system/SOAP/RPC/StandaloneServer/create_config-i.yaml 0000644 00000000312 15217654531 0017364 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::StandaloneServer#create_config is_singleton: false name: create_config params: () visibility: private ri/1.8/system/SOAP/RPC/StandaloneServer/cdesc-StandaloneServer.yaml 0000644 00000000474 15217654531 0020715 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::RPC::StandaloneServer includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: create_config name: StandaloneServer superclass: HTTPServer ri/1.8/system/SOAP/RPC/cdesc-RPC.yaml 0000644 00000000512 15217654531 0012574 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: defined_methods comment: constants: - !ruby/object:RI::Constant comment: name: ServerException value: Mapping::MappedException full_name: SOAP::RPC includes: [] instance_methods: [] name: RPC superclass: ri/1.8/system/SOAP/RPC/defined_methods-c.yaml 0000644 00000000276 15217654531 0014441 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::defined_methods is_singleton: true name: defined_methods params: (obj) visibility: public ri/1.8/system/SOAP/RPC/ParameterError/cdesc-ParameterError.yaml 0000644 00000000326 15217654531 0020037 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::RPC::ParameterError includes: [] instance_methods: [] name: ParameterError superclass: RPCError ri/1.8/system/SOAP/RPC/SOAPMethod/have_outparam%3f-i.yaml 0000644 00000000305 15217654531 0016353 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethod#have_outparam? is_singleton: false name: have_outparam? params: () visibility: public ri/1.8/system/SOAP/RPC/SOAPMethod/new-c.yaml 0000644 00000000305 15217654531 0014005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethod::new is_singleton: true name: new params: (qname, param_def = nil) visibility: public ri/1.8/system/SOAP/RPC/SOAPMethod/collect_params-i.yaml 0000644 00000000313 15217654531 0016211 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethod#collect_params is_singleton: false name: collect_params params: (*type) visibility: private ri/1.8/system/SOAP/RPC/SOAPMethod/param_count-c.yaml 0000644 00000000317 15217654531 0015527 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethod::param_count is_singleton: true name: param_count params: (param_def, *type) visibility: public ri/1.8/system/SOAP/RPC/SOAPMethod/create_rpc_param_def-c.yaml 0000644 00000000334 15217654531 0017323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethod::create_rpc_param_def is_singleton: true name: create_rpc_param_def params: (param_names) visibility: public ri/1.8/system/SOAP/RPC/SOAPMethod/input_params-i.yaml 0000644 00000000301 15217654531 0015720 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethod#input_params is_singleton: false name: input_params params: () visibility: public ri/1.8/system/SOAP/RPC/SOAPMethod/set_outparam-i.yaml 0000644 00000000307 15217654531 0015727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethod#set_outparam is_singleton: false name: set_outparam params: (params) visibility: public ri/1.8/system/SOAP/RPC/SOAPMethod/cdesc-SOAPMethod.yaml 0000644 00000002741 15217654531 0015764 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: inparam rw: R - !ruby/object:RI::Attribute comment: name: outparam rw: R - !ruby/object:RI::Attribute comment: name: param_def rw: R - !ruby/object:RI::Attribute comment: name: retval_class_name rw: R - !ruby/object:RI::Attribute comment: name: retval_name rw: R class_methods: - !ruby/object:RI::MethodSummary name: create_doc_param_def - !ruby/object:RI::MethodSummary name: create_rpc_param_def - !ruby/object:RI::MethodSummary name: derive_rpc_param_def - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: param_count comment: constants: - !ruby/object:RI::Constant comment: name: RETVAL value: "'retval'" - !ruby/object:RI::Constant comment: name: IN value: "'in'" - !ruby/object:RI::Constant comment: name: OUT value: "'out'" - !ruby/object:RI::Constant comment: name: INOUT value: "'inout'" full_name: SOAP::RPC::SOAPMethod includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: collect_params - !ruby/object:RI::MethodSummary name: have_outparam? - !ruby/object:RI::MethodSummary name: init_param - !ruby/object:RI::MethodSummary name: input_params - !ruby/object:RI::MethodSummary name: output_params - !ruby/object:RI::MethodSummary name: set_outparam - !ruby/object:RI::MethodSummary name: set_param name: SOAPMethod superclass: SOAPStruct ri/1.8/system/SOAP/RPC/SOAPMethod/create_doc_param_def-c.yaml 0000644 00000000347 15217654531 0017310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethod::create_doc_param_def is_singleton: true name: create_doc_param_def params: (req_qnames, res_qnames) visibility: public ri/1.8/system/SOAP/RPC/SOAPMethod/output_params-i.yaml 0000644 00000000303 15217654531 0016123 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethod#output_params is_singleton: false name: output_params params: () visibility: public ri/1.8/system/SOAP/RPC/SOAPMethod/set_param-i.yaml 0000644 00000000301 15217654531 0015171 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethod#set_param is_singleton: false name: set_param params: (params) visibility: public ri/1.8/system/SOAP/RPC/SOAPMethod/derive_rpc_param_def-c.yaml 0000644 00000000342 15217654531 0017335 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethod::derive_rpc_param_def is_singleton: true name: derive_rpc_param_def params: (obj, name, *param) visibility: public ri/1.8/system/SOAP/RPC/SOAPMethod/init_param-i.yaml 0000644 00000000307 15217654531 0015347 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::RPC::SOAPMethod#init_param is_singleton: false name: init_param params: (param_def) visibility: private ri/1.8/system/SOAP/SOAPUnsignedShort/cdesc-SOAPUnsignedShort.yaml 0000644 00000000431 15217654531 0020262 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPUnsignedShort includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPUnsignedShort superclass: XSD::XSDUnsignedShort ri/1.8/system/SOAP/proxy%3d-i.yaml 0000644 00000000251 15217654531 0012350 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP#proxy= is_singleton: false name: proxy= params: (proxy) visibility: public ri/1.8/system/SOAP/Header/Handler/new-c.yaml 0000644 00000000266 15217654531 0014231 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Header::Handler::new is_singleton: true name: new params: (elename) visibility: public ri/1.8/system/SOAP/Header/Handler/cdesc-Handler.yaml 0000644 00000001255 15217654531 0015653 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: elename rw: R - !ruby/object:RI::Attribute comment: name: encodingstyle rw: R - !ruby/object:RI::Attribute comment: name: mustunderstand rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::Header::Handler includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: on_inbound - !ruby/object:RI::MethodSummary name: on_inbound_headeritem - !ruby/object:RI::MethodSummary name: on_outbound - !ruby/object:RI::MethodSummary name: on_outbound_headeritem name: Handler superclass: Object ri/1.8/system/SOAP/Header/Handler/on_outbound-i.yaml 0000644 00000000425 15217654531 0015776 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Should return a SOAP/OM, a SOAPHeaderItem or nil. full_name: SOAP::Header::Handler#on_outbound is_singleton: false name: on_outbound params: () visibility: public ri/1.8/system/SOAP/Header/Handler/on_inbound-i.yaml 0000644 00000000450 15217654531 0015573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Given header is a SOAPHeaderItem or nil. full_name: SOAP::Header::Handler#on_inbound is_singleton: false name: on_inbound params: (header, mustunderstand = false) visibility: public ri/1.8/system/SOAP/Header/Handler/on_outbound_headeritem-i.yaml 0000644 00000000325 15217654531 0020164 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Header::Handler#on_outbound_headeritem is_singleton: false name: on_outbound_headeritem params: () visibility: public ri/1.8/system/SOAP/Header/Handler/on_inbound_headeritem-i.yaml 0000644 00000000331 15217654531 0017760 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Header::Handler#on_inbound_headeritem is_singleton: false name: on_inbound_headeritem params: (header) visibility: public ri/1.8/system/SOAP/Header/cdesc-Header.yaml 0000644 00000000271 15217654531 0014106 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::Header includes: [] instance_methods: [] name: Header superclass: ri/1.8/system/SOAP/Header/HandlerSet/new-c.yaml 0000644 00000000262 15217654531 0014701 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Header::HandlerSet::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SOAP/Header/HandlerSet/delete-i.yaml 0000644 00000000277 15217654531 0015366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Header::HandlerSet#delete is_singleton: false name: delete params: (handler) visibility: public ri/1.8/system/SOAP/Header/HandlerSet/%3c%3c-i.yaml 0000644 00000000356 15217654531 0014767 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add" full_name: SOAP::Header::HandlerSet#<< is_singleton: false name: "<<" params: (handler) visibility: public ri/1.8/system/SOAP/Header/HandlerSet/store%3d-i.yaml 0000644 00000000300 15217654531 0015537 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Header::HandlerSet#store= is_singleton: false name: store= params: (store) visibility: protected ri/1.8/system/SOAP/Header/HandlerSet/dup-i.yaml 0000644 00000000262 15217654531 0014706 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Header::HandlerSet#dup is_singleton: false name: dup params: () visibility: public ri/1.8/system/SOAP/Header/HandlerSet/on_outbound-i.yaml 0000644 00000000411 15217654531 0016445 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "returns: Array of SOAPHeaderItem" full_name: SOAP::Header::HandlerSet#on_outbound is_singleton: false name: on_outbound params: () visibility: public ri/1.8/system/SOAP/Header/HandlerSet/on_inbound-i.yaml 0000644 00000000427 15217654531 0016253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "headers: SOAPHeaderItem enumerable object" full_name: SOAP::Header::HandlerSet#on_inbound is_singleton: false name: on_inbound params: (headers) visibility: public ri/1.8/system/SOAP/Header/HandlerSet/cdesc-HandlerSet.yaml 0000644 00000001202 15217654531 0016773 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::Header::HandlerSet includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: dup - !ruby/object:RI::MethodSummary name: include? - !ruby/object:RI::MethodSummary name: on_inbound - !ruby/object:RI::MethodSummary name: on_outbound - !ruby/object:RI::MethodSummary name: store= name: HandlerSet superclass: Object ri/1.8/system/SOAP/Header/HandlerSet/include%3f-i.yaml 0000644 00000000303 15217654531 0016033 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Header::HandlerSet#include? is_singleton: false name: include? params: (handler) visibility: public ri/1.8/system/SOAP/Header/HandlerSet/add-i.yaml 0000644 00000000341 15217654531 0014644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: "<<" block_params: comment: full_name: SOAP::Header::HandlerSet#add is_singleton: false name: add params: (handler) visibility: public ri/1.8/system/SOAP/Header/SimpleHandler/new-c.yaml 0000644 00000000274 15217654531 0015402 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Header::SimpleHandler::new is_singleton: true name: new params: (elename) visibility: public ri/1.8/system/SOAP/Header/SimpleHandler/on_simple_outbound-i.yaml 0000644 00000000434 15217654531 0020521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Should return a Hash, String or nil. full_name: SOAP::Header::SimpleHandler#on_simple_outbound is_singleton: false name: on_simple_outbound params: () visibility: public ri/1.8/system/SOAP/Header/SimpleHandler/cdesc-SimpleHandler.yaml 0000644 00000000760 15217654531 0020177 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::Header::SimpleHandler includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: on_inbound - !ruby/object:RI::MethodSummary name: on_outbound - !ruby/object:RI::MethodSummary name: on_simple_inbound - !ruby/object:RI::MethodSummary name: on_simple_outbound name: SimpleHandler superclass: SOAP::Header::Handler ri/1.8/system/SOAP/Header/SimpleHandler/on_outbound-i.yaml 0000644 00000000305 15217654531 0017145 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Header::SimpleHandler#on_outbound is_singleton: false name: on_outbound params: () visibility: public ri/1.8/system/SOAP/Header/SimpleHandler/on_inbound-i.yaml 0000644 00000000331 15217654531 0016743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Header::SimpleHandler#on_inbound is_singleton: false name: on_inbound params: (header, mustunderstand) visibility: public ri/1.8/system/SOAP/Header/SimpleHandler/on_simple_inbound-i.yaml 0000644 00000000462 15217654531 0020321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Given header is a Hash, String or nil. full_name: SOAP::Header::SimpleHandler#on_simple_inbound is_singleton: false name: on_simple_inbound params: (header, mustunderstand) visibility: public ri/1.8/system/SOAP/SOAPGDay/cdesc-SOAPGDay.yaml 0000644 00000000376 15217654531 0014352 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPGDay includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPGDay superclass: XSD::XSDGDay ri/1.8/system/SOAP/NetHttpClient/cdesc-NetHttpClient.yaml 0000644 00000000457 15217654531 0017006 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: SSLEnabled value: begin require 'net/https' full_name: SOAP::NetHttpClient includes: [] instance_methods: [] name: NetHttpClient superclass: Object ri/1.8/system/SOAP/Marshal/cdesc-Marshal.yaml 0000644 00000001141 15217654531 0014501 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: dump - !ruby/object:RI::MethodSummary name: load - !ruby/object:RI::MethodSummary name: marshal - !ruby/object:RI::MethodSummary name: unmarshal comment: constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Trying xsd:dateTime data to be recovered as aTime. name: MarshalMappingRegistry value: Mapping::Registry.new( :allow_original_mapping => true) full_name: SOAP::Marshal includes: [] instance_methods: [] name: Marshal superclass: ri/1.8/system/SOAP/Marshal/marshal-c.yaml 0000644 00000000347 15217654531 0013711 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Marshal::marshal is_singleton: true name: marshal params: (obj, mapping_registry = MarshalMappingRegistry, io = nil) visibility: public ri/1.8/system/SOAP/Marshal/load-c.yaml 0000644 00000000257 15217654531 0013201 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Marshal::load is_singleton: true name: load params: (stream) visibility: public ri/1.8/system/SOAP/Marshal/unmarshal-c.yaml 0000644 00000000344 15217654531 0014251 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Marshal::unmarshal is_singleton: true name: unmarshal params: (stream, mapping_registry = MarshalMappingRegistry) visibility: public ri/1.8/system/SOAP/Marshal/dump-c.yaml 0000644 00000000266 15217654531 0013227 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Marshal::dump is_singleton: true name: dump params: (obj, io = nil) visibility: public ri/1.8/system/SOAP/SOAPDateTime/cdesc-SOAPDateTime.yaml 0000644 00000000412 15217654531 0016061 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPDateTime includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPDateTime superclass: XSD::XSDDateTime ri/1.8/system/SOAP/SOAPType/cdesc-SOAPType.yaml 0000644 00000001754 15217654531 0014545 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: definedtype rw: RW - !ruby/object:RI::Attribute comment: name: elename rw: RW - !ruby/object:RI::Attribute comment: name: encodingstyle rw: RW - !ruby/object:RI::Attribute comment: name: extraattr rw: R - !ruby/object:RI::Attribute comment: name: id rw: RW - !ruby/object:RI::Attribute comment: name: parent rw: RW - !ruby/object:RI::Attribute comment: name: position rw: RW - !ruby/object:RI::Attribute comment: name: precedents rw: R - !ruby/object:RI::Attribute comment: name: root rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: for SOAP type(base and compound) constants: [] full_name: SOAP::SOAPType includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: rootnode name: SOAPType superclass: ri/1.8/system/SOAP/SOAPType/new-c.yaml 0000644 00000000254 15217654531 0013065 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPType::new is_singleton: true name: new params: (*arg) visibility: public ri/1.8/system/SOAP/SOAPType/rootnode-i.yaml 0000644 00000000262 15217654531 0014132 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPType#rootnode is_singleton: false name: rootnode params: () visibility: public ri/1.8/system/SOAP/SOAPType/inspect-i.yaml 0000644 00000000260 15217654531 0013744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPType#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/SOAP/HTTPConfigLoader/set_ssl_config-i.yaml 0000644 00000000330 15217654531 0016726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::HTTPConfigLoader#set_ssl_config is_singleton: false name: set_ssl_config params: (client, ssl_config) visibility: public ri/1.8/system/SOAP/HTTPConfigLoader/ssl_config_int-i.yaml 0000644 00000000313 15217654531 0016726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::HTTPConfigLoader#ssl_config_int is_singleton: false name: ssl_config_int params: (value) visibility: public ri/1.8/system/SOAP/HTTPConfigLoader/key_from_file-i.yaml 0000644 00000000314 15217654531 0016541 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::HTTPConfigLoader#key_from_file is_singleton: false name: key_from_file params: (filename) visibility: public ri/1.8/system/SOAP/HTTPConfigLoader/set_options-i.yaml 0000644 00000000317 15217654531 0016300 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::HTTPConfigLoader#set_options is_singleton: false name: set_options params: (client, options) visibility: public ri/1.8/system/SOAP/HTTPConfigLoader/cert_from_file-i.yaml 0000644 00000000316 15217654531 0016710 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::HTTPConfigLoader#cert_from_file is_singleton: false name: cert_from_file params: (filename) visibility: public ri/1.8/system/SOAP/HTTPConfigLoader/cdesc-HTTPConfigLoader.yaml 0000644 00000001034 15217654531 0017614 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::HTTPConfigLoader includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: cert_from_file - !ruby/object:RI::MethodSummary name: key_from_file - !ruby/object:RI::MethodSummary name: set_basic_auth - !ruby/object:RI::MethodSummary name: set_options - !ruby/object:RI::MethodSummary name: set_ssl_config - !ruby/object:RI::MethodSummary name: ssl_config_int name: HTTPConfigLoader superclass: ri/1.8/system/SOAP/HTTPConfigLoader/set_basic_auth-i.yaml 0000644 00000000330 15217654531 0016702 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::HTTPConfigLoader#set_basic_auth is_singleton: false name: set_basic_auth params: (client, basic_auth) visibility: public ri/1.8/system/SOAP/Env/getenv-c.yaml 0000644 00000000255 15217654531 0012711 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Env::getenv is_singleton: true name: getenv params: (name) visibility: public ri/1.8/system/SOAP/Env/cdesc-Env.yaml 0000644 00000000666 15217654531 0013016 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: getenv comment: constants: - !ruby/object:RI::Constant comment: name: HTTP_PROXY value: "use_proxy ? getenv('http_proxy') : nil" - !ruby/object:RI::Constant comment: name: NO_PROXY value: "use_proxy ? getenv('no_proxy') : nil" full_name: SOAP::Env includes: [] instance_methods: [] name: Env superclass: ri/1.8/system/SOAP/MIMEMessage/new-c.yaml 0000644 00000000253 15217654531 0013514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SOAP/MIMEMessage/to_s-i.yaml 0000644 00000000255 15217654531 0013677 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/SOAP/MIMEMessage/Part/new-c.yaml 0000644 00000000261 15217654531 0014421 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage::Part::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SOAP/MIMEMessage/Part/to_s-i.yaml 0000644 00000000263 15217654531 0014604 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage::Part#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/SOAP/MIMEMessage/Part/cdesc-Part.yaml 0000644 00000001063 15217654531 0015376 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: body rw: RW - !ruby/object:RI::Attribute comment: name: headers rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: parse comment: constants: [] full_name: SOAP::MIMEMessage::Part includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: contentid - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: to_s name: Part superclass: Object ri/1.8/system/SOAP/MIMEMessage/Part/parse-c.yaml 0000644 00000000270 15217654531 0014742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage::Part::parse is_singleton: true name: parse params: (str) visibility: public ri/1.8/system/SOAP/MIMEMessage/Part/parse-i.yaml 0000644 00000000270 15217654531 0014750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage::Part#parse is_singleton: false name: parse params: (str) visibility: public ri/1.8/system/SOAP/MIMEMessage/Part/contentid-i.yaml 0000644 00000000275 15217654531 0015632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage::Part#contentid is_singleton: false name: contentid params: () visibility: public ri/1.8/system/SOAP/MIMEMessage/MIMEMessageError/cdesc-MIMEMessageError.yaml 0000644 00000000347 15217654531 0021702 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::MIMEMessage::MIMEMessageError includes: [] instance_methods: [] name: MIMEMessageError superclass: StandardError ri/1.8/system/SOAP/MIMEMessage/boundary-i.yaml 0000644 00000000265 15217654531 0014557 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage#boundary is_singleton: false name: boundary params: () visibility: public ri/1.8/system/SOAP/MIMEMessage/content_str-i.yaml 0000644 00000000273 15217654531 0015275 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage#content_str is_singleton: false name: content_str params: () visibility: public ri/1.8/system/SOAP/MIMEMessage/add_attachment-i.yaml 0000644 00000000307 15217654531 0015671 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage#add_attachment is_singleton: false name: add_attachment params: (attach) visibility: public ri/1.8/system/SOAP/MIMEMessage/Header/new-c.yaml 0000644 00000000263 15217654531 0014705 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage::Header::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SOAP/MIMEMessage/Header/to_s-i.yaml 0000644 00000000265 15217654531 0015070 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage::Header#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/SOAP/MIMEMessage/Header/%5b%5d%3d-i.yaml 0000644 00000000277 15217654531 0015274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage::Header#[]= is_singleton: false name: "[]=" params: (key, value) visibility: public ri/1.8/system/SOAP/MIMEMessage/Header/%5b%5d-i.yaml 0000644 00000000266 15217654531 0014776 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage::Header#[] is_singleton: false name: "[]" params: (key) visibility: public ri/1.8/system/SOAP/MIMEMessage/Header/cdesc-Header.yaml 0000644 00000001075 15217654531 0016145 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: key rw: RW - !ruby/object:RI::Attribute comment: name: root rw: RW - !ruby/object:RI::Attribute comment: name: str rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::MIMEMessage::Header includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: to_s name: Header superclass: Object ri/1.8/system/SOAP/MIMEMessage/add_part-i.yaml 0000644 00000000274 15217654531 0014512 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage#add_part is_singleton: false name: add_part params: (content) visibility: public ri/1.8/system/SOAP/MIMEMessage/close-i.yaml 0000644 00000000257 15217654531 0014042 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage#close is_singleton: false name: close params: () visibility: public ri/1.8/system/SOAP/MIMEMessage/parse-c.yaml 0000644 00000000270 15217654531 0014034 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage::parse is_singleton: true name: parse params: (head, str) visibility: public ri/1.8/system/SOAP/MIMEMessage/root-i.yaml 0000644 00000000255 15217654531 0013716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage#root is_singleton: false name: root params: () visibility: public ri/1.8/system/SOAP/MIMEMessage/headers_str-i.yaml 0000644 00000000273 15217654531 0015236 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage#headers_str is_singleton: false name: headers_str params: () visibility: public ri/1.8/system/SOAP/MIMEMessage/parse-i.yaml 0000644 00000000270 15217654531 0014042 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage#parse is_singleton: false name: parse params: (head, str) visibility: public ri/1.8/system/SOAP/MIMEMessage/Headers/to_s-i.yaml 0000644 00000000266 15217654531 0015254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage::Headers#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/SOAP/MIMEMessage/Headers/parse_rhs-i.yaml 0000644 00000000303 15217654531 0016266 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage::Headers#parse_rhs is_singleton: false name: parse_rhs params: (str) visibility: public ri/1.8/system/SOAP/MIMEMessage/Headers/parse_line-i.yaml 0000644 00000000306 15217654531 0016424 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage::Headers#parse_line is_singleton: false name: parse_line params: (line) visibility: public ri/1.8/system/SOAP/MIMEMessage/Headers/parse-c.yaml 0000644 00000000273 15217654531 0015412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage::Headers::parse is_singleton: true name: parse params: (str) visibility: public ri/1.8/system/SOAP/MIMEMessage/Headers/parse-i.yaml 0000644 00000000273 15217654531 0015420 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage::Headers#parse is_singleton: false name: parse params: (str) visibility: public ri/1.8/system/SOAP/MIMEMessage/Headers/add-i.yaml 0000644 00000000276 15217654531 0015041 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage::Headers#add is_singleton: false name: add params: (key, value) visibility: public ri/1.8/system/SOAP/MIMEMessage/Headers/cdesc-Headers.yaml 0000644 00000000754 15217654531 0016516 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: parse comment: constants: [] full_name: SOAP::MIMEMessage::Headers includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: parse_line - !ruby/object:RI::MethodSummary name: parse_rhs - !ruby/object:RI::MethodSummary name: to_s name: Headers superclass: Hash ri/1.8/system/SOAP/MIMEMessage/cdesc-MIMEMessage.yaml 0000644 00000002266 15217654531 0015624 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: headers rw: R - !ruby/object:RI::Attribute comment: name: parts rw: R class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: parse comment: - !ruby/struct:SM::Flow::P body: Classes for MIME message handling. Should be put somewhere else! Tried using the 'tmail' module but found that I needed something lighter in weight. constants: - !ruby/object:RI::Constant comment: name: MultipartContentType value: "'multipart/\\w+'" full_name: SOAP::MIMEMessage includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_attachment - !ruby/object:RI::MethodSummary name: add_part - !ruby/object:RI::MethodSummary name: boundary - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: content_str - !ruby/object:RI::MethodSummary name: has_parts? - !ruby/object:RI::MethodSummary name: headers_str - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: root - !ruby/object:RI::MethodSummary name: to_s name: MIMEMessage superclass: Object ri/1.8/system/SOAP/MIMEMessage/has_parts%3f-i.yaml 0000644 00000000271 15217654531 0015213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::MIMEMessage#has_parts? is_singleton: false name: has_parts? params: () visibility: public ri/1.8/system/SOAP/StreamError/cdesc-StreamError.yaml 0000644 00000000310 15217654531 0016232 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::StreamError includes: [] instance_methods: [] name: StreamError superclass: Error ri/1.8/system/SOAP/Response/new-c.yaml 0000644 00000000253 15217654531 0013256 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Response::new is_singleton: true name: new params: (res) visibility: public ri/1.8/system/SOAP/Response/cdesc-Response.yaml 0000644 00000000765 15217654531 0015132 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: content rw: R - !ruby/object:RI::Attribute comment: name: contenttype rw: R - !ruby/object:RI::Attribute comment: name: reason rw: R - !ruby/object:RI::Attribute comment: name: status rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::Response includes: [] instance_methods: [] name: Response superclass: Object ri/1.8/system/SOAP/StreamHandler/cdesc-StreamHandler.yaml 0000644 00000000727 15217654531 0017016 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: create_media_type - !ruby/object:RI::MethodSummary name: parse_media_type comment: constants: - !ruby/object:RI::Constant comment: name: RUBY_VERSION_STRING value: "\"ruby #{ RUBY_VERSION } (#{ RUBY_RELEASE_DATE }) [#{ RUBY_PLATFORM }]\"" full_name: SOAP::StreamHandler includes: [] instance_methods: [] name: StreamHandler superclass: Object ri/1.8/system/SOAP/StreamHandler/ConnectionData/new-c.yaml 0000644 00000000316 15217654531 0017102 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::StreamHandler::ConnectionData::new is_singleton: true name: new params: (send_string = nil) visibility: public ri/1.8/system/SOAP/StreamHandler/ConnectionData/cdesc-ConnectionData.yaml 0000644 00000001274 15217654531 0022045 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: is_fault rw: RW - !ruby/object:RI::Attribute comment: name: receive_contenttype rw: RW - !ruby/object:RI::Attribute comment: name: receive_string rw: RW - !ruby/object:RI::Attribute comment: name: send_contenttype rw: RW - !ruby/object:RI::Attribute comment: name: send_string rw: RW - !ruby/object:RI::Attribute comment: name: soapaction rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::StreamHandler::ConnectionData includes: [] instance_methods: [] name: ConnectionData superclass: Object ri/1.8/system/SOAP/StreamHandler/create_media_type-c.yaml 0000644 00000000320 15217654531 0017056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::StreamHandler::create_media_type is_singleton: true name: create_media_type params: (charset) visibility: public ri/1.8/system/SOAP/StreamHandler/parse_media_type-c.yaml 0000644 00000000312 15217654531 0016726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::StreamHandler::parse_media_type is_singleton: true name: parse_media_type params: (str) visibility: public ri/1.8/system/SOAP/EncodingStyle/Handler/new-c.yaml 0000644 00000000275 15217654531 0015610 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::Handler::new is_singleton: true name: new params: (charset) visibility: public ri/1.8/system/SOAP/EncodingStyle/Handler/decode_tag-i.yaml 0000644 00000000523 15217654531 0017077 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::VERB body: " decode interface.\n" - !ruby/struct:SM::Flow::P body: Returns SOAP/OM data. full_name: SOAP::EncodingStyle::Handler#decode_tag is_singleton: false name: decode_tag params: (ns, name, attrs, parent) visibility: public ri/1.8/system/SOAP/EncodingStyle/Handler/decode_prologue-i.yaml 0000644 00000000316 15217654531 0020160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::Handler#decode_prologue is_singleton: false name: decode_prologue params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/Handler/encode_epilogue-i.yaml 0000644 00000000316 15217654531 0020147 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::Handler#encode_epilogue is_singleton: false name: encode_epilogue params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/Handler/each-c.yaml 0000644 00000000315 15217654531 0015712 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (value) comment: full_name: SOAP::EncodingStyle::Handler::each is_singleton: true name: each params: () {|value| ...} visibility: public ri/1.8/system/SOAP/EncodingStyle/Handler/encode_data-i.yaml 0000644 00000000547 15217654531 0017255 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::VERB body: " encode interface.\n" - !ruby/struct:SM::Flow::P body: Returns a XML instance as a string. full_name: SOAP::EncodingStyle::Handler#encode_data is_singleton: false name: encode_data params: (generator, ns, data, parent) visibility: public ri/1.8/system/SOAP/EncodingStyle/Handler/uri-c.yaml 0000644 00000000266 15217654531 0015616 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::Handler::uri is_singleton: true name: uri params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/Handler/add_handler-c.yaml 0000644 00000000307 15217654531 0017240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::Handler::add_handler is_singleton: true name: add_handler params: () visibility: private ri/1.8/system/SOAP/EncodingStyle/Handler/decode_text-i.yaml 0000644 00000000316 15217654531 0017310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::Handler#decode_text is_singleton: false name: decode_text params: (ns, text) visibility: public ri/1.8/system/SOAP/EncodingStyle/Handler/decode_tag_end-i.yaml 0000644 00000000324 15217654531 0017724 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::Handler#decode_tag_end is_singleton: false name: decode_tag_end params: (ns, name) visibility: public ri/1.8/system/SOAP/EncodingStyle/Handler/EncodingStyleError/cdesc-EncodingStyleError.yaml 0000644 00000000356 15217654531 0025220 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::EncodingStyle::Handler::EncodingStyleError includes: [] instance_methods: [] name: EncodingStyleError superclass: Error ri/1.8/system/SOAP/EncodingStyle/Handler/decode_epilogue-i.yaml 0000644 00000000316 15217654531 0020135 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::Handler#decode_epilogue is_singleton: false name: decode_epilogue params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/Handler/cdesc-Handler.yaml 0000644 00000002204 15217654531 0017225 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: charset rw: R - !ruby/object:RI::Attribute comment: name: generate_explicit_type rw: RW class_methods: - !ruby/object:RI::MethodSummary name: add_handler - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: handler - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: uri comment: constants: [] full_name: SOAP::EncodingStyle::Handler includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: decode_epilogue - !ruby/object:RI::MethodSummary name: decode_prologue - !ruby/object:RI::MethodSummary name: decode_tag - !ruby/object:RI::MethodSummary name: decode_tag_end - !ruby/object:RI::MethodSummary name: decode_text - !ruby/object:RI::MethodSummary name: decode_typemap= - !ruby/object:RI::MethodSummary name: encode_data - !ruby/object:RI::MethodSummary name: encode_data_end - !ruby/object:RI::MethodSummary name: encode_epilogue - !ruby/object:RI::MethodSummary name: encode_prologue name: Handler superclass: Object ri/1.8/system/SOAP/EncodingStyle/Handler/encode_data_end-i.yaml 0000644 00000000351 15217654531 0020074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::Handler#encode_data_end is_singleton: false name: encode_data_end params: (generator, ns, data, parent) visibility: public ri/1.8/system/SOAP/EncodingStyle/Handler/encode_prologue-i.yaml 0000644 00000000316 15217654531 0020172 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::Handler#encode_prologue is_singleton: false name: encode_prologue params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/Handler/handler-c.yaml 0000644 00000000301 15217654531 0016422 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::Handler::handler is_singleton: true name: handler params: (uri) visibility: public ri/1.8/system/SOAP/EncodingStyle/Handler/decode_typemap%3d-i.yaml 0000644 00000000332 15217654531 0020275 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::Handler#decode_typemap= is_singleton: false name: decode_typemap= params: (definedtypes) visibility: public ri/1.8/system/SOAP/EncodingStyle/cdesc-EncodingStyle.yaml 0000644 00000000307 15217654531 0017044 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::EncodingStyle includes: [] instance_methods: [] name: EncodingStyle superclass: ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/new-c.yaml 0000644 00000000312 15217654531 0017115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::LiteralHandler::new is_singleton: true name: new params: (charset = nil) visibility: public ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/decode_tag-i.yaml 0000644 00000000345 15217654531 0020416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::LiteralHandler#decode_tag is_singleton: false name: decode_tag params: (ns, elename, attrs, parent) visibility: public ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/decode_prologue-i.yaml 0000644 00000000325 15217654531 0021475 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::LiteralHandler#decode_prologue is_singleton: false name: decode_prologue params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/encode_data-i.yaml 0000644 00000000436 15217654531 0020567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: encode interface. full_name: SOAP::EncodingStyle::LiteralHandler#encode_data is_singleton: false name: encode_data params: (generator, ns, data, parent) visibility: public ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/decode_text-i.yaml 0000644 00000000325 15217654531 0020625 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::LiteralHandler#decode_text is_singleton: false name: decode_text params: (ns, text) visibility: public ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/SOAPTemporalObject/new-c.yaml 0000644 00000000321 15217654531 0022512 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::LiteralHandler::SOAPTemporalObject::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/SOAPTemporalObject/cdesc-SOAPTemporalObject.yaml 0000644 00000000626 15217654531 0026165 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: parent rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: decode interface. constants: [] full_name: SOAP::EncodingStyle::LiteralHandler::SOAPTemporalObject includes: [] instance_methods: [] name: SOAPTemporalObject superclass: Object ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/decode_textbuf-i.yaml 0000644 00000000330 15217654531 0021316 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::LiteralHandler#decode_textbuf is_singleton: false name: decode_textbuf params: (node) visibility: private ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/decode_tag_end-i.yaml 0000644 00000000333 15217654531 0021241 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::LiteralHandler#decode_tag_end is_singleton: false name: decode_tag_end params: (ns, node) visibility: public ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/decode_epilogue-i.yaml 0000644 00000000325 15217654531 0021452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::LiteralHandler#decode_epilogue is_singleton: false name: decode_epilogue params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/encode_data_end-i.yaml 0000644 00000000360 15217654531 0021411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::LiteralHandler#encode_data_end is_singleton: false name: encode_data_end params: (generator, ns, data, parent) visibility: public ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/SOAPUnknown/new-c.yaml 0000644 00000000345 15217654531 0021245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::LiteralHandler::SOAPUnknown::new is_singleton: true name: new params: (handler, elename, extraattr) visibility: public ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/SOAPUnknown/as_string-i.yaml 0000644 00000000326 15217654531 0022452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::LiteralHandler::SOAPUnknown#as_string is_singleton: false name: as_string params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/SOAPUnknown/as_element-i.yaml 0000644 00000000330 15217654531 0022570 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::LiteralHandler::SOAPUnknown#as_element is_singleton: false name: as_element params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/SOAPUnknown/cdesc-SOAPUnknown.yaml 0000644 00000000666 15217654531 0023443 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::EncodingStyle::LiteralHandler::SOAPUnknown includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: as_element - !ruby/object:RI::MethodSummary name: as_nil - !ruby/object:RI::MethodSummary name: as_string name: SOAPUnknown superclass: SOAPTemporalObject ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/SOAPUnknown/as_nil-i.yaml 0000644 00000000320 15217654531 0021720 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::LiteralHandler::SOAPUnknown#as_nil is_singleton: false name: as_nil params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/decode_parent-i.yaml 0000644 00000000335 15217654531 0021133 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::LiteralHandler#decode_parent is_singleton: false name: decode_parent params: (parent, node) visibility: public ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/cdesc-LiteralHandler.yaml 0000644 00000001617 15217654531 0022066 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Namespace value: SOAP::LiteralNamespace full_name: SOAP::EncodingStyle::LiteralHandler includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: decode_attrs - !ruby/object:RI::MethodSummary name: decode_epilogue - !ruby/object:RI::MethodSummary name: decode_parent - !ruby/object:RI::MethodSummary name: decode_prologue - !ruby/object:RI::MethodSummary name: decode_tag - !ruby/object:RI::MethodSummary name: decode_tag_end - !ruby/object:RI::MethodSummary name: decode_text - !ruby/object:RI::MethodSummary name: decode_textbuf - !ruby/object:RI::MethodSummary name: encode_data - !ruby/object:RI::MethodSummary name: encode_data_end name: LiteralHandler superclass: Handler ri/1.8/system/SOAP/EncodingStyle/LiteralHandler/decode_attrs-i.yaml 0000644 00000000330 15217654531 0020772 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::LiteralHandler#decode_attrs is_singleton: false name: decode_attrs params: (ns, attrs) visibility: public ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/create_arytype-i.yaml 0000644 00000000331 15217654531 0020521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#create_arytype is_singleton: false name: create_arytype params: (ns, data) visibility: private ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/new-c.yaml 0000644 00000000307 15217654531 0016267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler::new is_singleton: true name: new params: (charset = nil) visibility: public ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/decode_basetype-i.yaml 0000644 00000000341 15217654531 0020621 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#decode_basetype is_singleton: false name: decode_basetype params: (klass, elename) visibility: private ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/decode_tag-i.yaml 0000644 00000000342 15217654531 0017561 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#decode_tag is_singleton: false name: decode_tag params: (ns, elename, attrs, parent) visibility: public ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/decode_prologue-i.yaml 0000644 00000000322 15217654531 0020640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#decode_prologue is_singleton: false name: decode_prologue params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/content_ranksize-i.yaml 0000644 00000000335 15217654531 0021065 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#content_ranksize is_singleton: false name: content_ranksize params: (typename) visibility: private ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/decode_tag_by_type-i.yaml 0000644 00000000414 15217654531 0021314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#decode_tag_by_type is_singleton: false name: decode_tag_by_type params: (ns, elename, typestr, parent, arytypestr, extraattr) visibility: private ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/decode_resolve_id-i.yaml 0000644 00000000327 15217654531 0021144 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#decode_resolve_id is_singleton: false name: decode_resolve_id params: () visibility: private ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/cdesc-SOAPHandler.yaml 0000644 00000003726 15217654531 0020405 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Namespace value: SOAP::EncodingNamespace - !ruby/object:RI::Constant comment: name: NilLiteralMap value: "{ 'true' => true, '1' => true, 'false' => false, '0' => false" - !ruby/object:RI::Constant comment: name: RootLiteralMap value: "{ '1' => 1, '0' => 0" full_name: SOAP::EncodingStyle::SOAPHandler includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: content_ranksize - !ruby/object:RI::MethodSummary name: content_typename - !ruby/object:RI::MethodSummary name: create_arytype - !ruby/object:RI::MethodSummary name: decode_arypos - !ruby/object:RI::MethodSummary name: decode_attr_value - !ruby/object:RI::MethodSummary name: decode_attrs - !ruby/object:RI::MethodSummary name: decode_basetype - !ruby/object:RI::MethodSummary name: decode_defined_complextype - !ruby/object:RI::MethodSummary name: decode_defined_simpletype - !ruby/object:RI::MethodSummary name: decode_definedtype - !ruby/object:RI::MethodSummary name: decode_epilogue - !ruby/object:RI::MethodSummary name: decode_parent - !ruby/object:RI::MethodSummary name: decode_prologue - !ruby/object:RI::MethodSummary name: decode_resolve_id - !ruby/object:RI::MethodSummary name: decode_tag - !ruby/object:RI::MethodSummary name: decode_tag_by_type - !ruby/object:RI::MethodSummary name: decode_tag_by_wsdl - !ruby/object:RI::MethodSummary name: decode_tag_end - !ruby/object:RI::MethodSummary name: decode_text - !ruby/object:RI::MethodSummary name: decode_textbuf - !ruby/object:RI::MethodSummary name: encode_attr_value - !ruby/object:RI::MethodSummary name: encode_attrs - !ruby/object:RI::MethodSummary name: encode_data - !ruby/object:RI::MethodSummary name: encode_data_end name: SOAPHandler superclass: Handler ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/encode_data-i.yaml 0000644 00000000433 15217654531 0017732 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: encode interface. full_name: SOAP::EncodingStyle::SOAPHandler#encode_data is_singleton: false name: encode_data params: (generator, ns, data, parent) visibility: public ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/decode_text-i.yaml 0000644 00000000322 15217654531 0017770 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#decode_text is_singleton: false name: decode_text params: (ns, text) visibility: public ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/SOAPTemporalObject/new-c.yaml 0000644 00000000316 15217654531 0021664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler::SOAPTemporalObject::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/SOAPTemporalObject/cdesc-SOAPTemporalObject.yaml 0000644 00000001125 15217654531 0025326 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: id rw: RW - !ruby/object:RI::Attribute comment: name: parent rw: RW - !ruby/object:RI::Attribute comment: name: position rw: RW - !ruby/object:RI::Attribute comment: name: root rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: decode interface. constants: [] full_name: SOAP::EncodingStyle::SOAPHandler::SOAPTemporalObject includes: [] instance_methods: [] name: SOAPTemporalObject superclass: Object ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/decode_textbuf-i.yaml 0000644 00000000325 15217654531 0020470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#decode_textbuf is_singleton: false name: decode_textbuf params: (node) visibility: private ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/decode_tag_end-i.yaml 0000644 00000000330 15217654531 0020404 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#decode_tag_end is_singleton: false name: decode_tag_end params: (ns, node) visibility: public ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/decode_epilogue-i.yaml 0000644 00000000322 15217654531 0020615 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#decode_epilogue is_singleton: false name: decode_epilogue params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/decode_attr_value-i.yaml 0000644 00000000347 15217654531 0021161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#decode_attr_value is_singleton: false name: decode_attr_value params: (ns, qname, value) visibility: private ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/decode_defined_simpletype-i.yaml 0000644 00000000415 15217654531 0022660 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#decode_defined_simpletype is_singleton: false name: decode_defined_simpletype params: (elename, typename, typedef, arytypestr) visibility: private ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/encode_data_end-i.yaml 0000644 00000000355 15217654531 0020563 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#encode_data_end is_singleton: false name: encode_data_end params: (generator, ns, data, parent) visibility: public ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/encode_attrs-i.yaml 0000644 00000000350 15217654531 0020154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#encode_attrs is_singleton: false name: encode_attrs params: (generator, ns, data, parent) visibility: private ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/content_typename-i.yaml 0000644 00000000335 15217654531 0021061 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#content_typename is_singleton: false name: content_typename params: (typename) visibility: private ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/SOAPUnknown/new-c.yaml 0000644 00000000350 15217654531 0020407 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler::SOAPUnknown::new is_singleton: true name: new params: (handler, elename, type, extraattr) visibility: public ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/SOAPUnknown/as_string-i.yaml 0000644 00000000323 15217654531 0021615 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler::SOAPUnknown#as_string is_singleton: false name: as_string params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/SOAPUnknown/as_struct-i.yaml 0000644 00000000323 15217654531 0021633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler::SOAPUnknown#as_struct is_singleton: false name: as_struct params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/SOAPUnknown/cdesc-SOAPUnknown.yaml 0000644 00000001171 15217654531 0022601 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: definedtype rw: RW - !ruby/object:RI::Attribute comment: name: extraattr rw: R - !ruby/object:RI::Attribute comment: name: type rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::EncodingStyle::SOAPHandler::SOAPUnknown includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: as_nil - !ruby/object:RI::MethodSummary name: as_string - !ruby/object:RI::MethodSummary name: as_struct name: SOAPUnknown superclass: SOAPTemporalObject ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/SOAPUnknown/as_nil-i.yaml 0000644 00000000315 15217654531 0021072 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler::SOAPUnknown#as_nil is_singleton: false name: as_nil params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/decode_definedtype-i.yaml 0000644 00000000377 15217654531 0021316 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#decode_definedtype is_singleton: false name: decode_definedtype params: (elename, typename, typedef, arytypestr) visibility: private ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/decode_defined_complextype-i.yaml 0000644 00000000417 15217654531 0023040 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#decode_defined_complextype is_singleton: false name: decode_defined_complextype params: (elename, typename, typedef, arytypestr) visibility: private ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/decode_parent-i.yaml 0000644 00000000332 15217654531 0020276 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#decode_parent is_singleton: false name: decode_parent params: (parent, node) visibility: public ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/encode_attr_value-i.yaml 0000644 00000000362 15217654531 0021170 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#encode_attr_value is_singleton: false name: encode_attr_value params: (generator, ns, qname, value) visibility: private ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/decode_arypos-i.yaml 0000644 00000000327 15217654531 0020326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#decode_arypos is_singleton: false name: decode_arypos params: (position) visibility: private ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/decode_tag_by_wsdl-i.yaml 0000644 00000000414 15217654531 0021304 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#decode_tag_by_wsdl is_singleton: false name: decode_tag_by_wsdl params: (ns, elename, typestr, parent, arytypestr, extraattr) visibility: private ri/1.8/system/SOAP/EncodingStyle/SOAPHandler/decode_attrs-i.yaml 0000644 00000000326 15217654531 0020145 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::SOAPHandler#decode_attrs is_singleton: false name: decode_attrs params: (ns, attrs) visibility: private ri/1.8/system/SOAP/EncodingStyle/ASPDotNetHandler/new-c.yaml 0000644 00000000314 15217654531 0017264 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::ASPDotNetHandler::new is_singleton: true name: new params: (charset = nil) visibility: public ri/1.8/system/SOAP/EncodingStyle/ASPDotNetHandler/decode_tag-i.yaml 0000644 00000000347 15217654531 0020565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::ASPDotNetHandler#decode_tag is_singleton: false name: decode_tag params: (ns, elename, attrs, parent) visibility: public ri/1.8/system/SOAP/EncodingStyle/ASPDotNetHandler/decode_prologue-i.yaml 0000644 00000000327 15217654531 0021644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::ASPDotNetHandler#decode_prologue is_singleton: false name: decode_prologue params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/ASPDotNetHandler/encode_data-i.yaml 0000644 00000000440 15217654531 0020727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: encode interface. full_name: SOAP::EncodingStyle::ASPDotNetHandler#encode_data is_singleton: false name: encode_data params: (generator, ns, data, parent) visibility: public ri/1.8/system/SOAP/EncodingStyle/ASPDotNetHandler/decode_text-i.yaml 0000644 00000000327 15217654531 0020774 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::ASPDotNetHandler#decode_text is_singleton: false name: decode_text params: (ns, text) visibility: public ri/1.8/system/SOAP/EncodingStyle/ASPDotNetHandler/SOAPTemporalObject/new-c.yaml 0000644 00000000323 15217654531 0022661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::ASPDotNetHandler::SOAPTemporalObject::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/ASPDotNetHandler/SOAPTemporalObject/cdesc-SOAPTemporalObject.yaml 0000644 00000000630 15217654531 0026325 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: parent rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: decode interface. constants: [] full_name: SOAP::EncodingStyle::ASPDotNetHandler::SOAPTemporalObject includes: [] instance_methods: [] name: SOAPTemporalObject superclass: Object ri/1.8/system/SOAP/EncodingStyle/ASPDotNetHandler/decode_textbuf-i.yaml 0000644 00000000332 15217654531 0021465 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::ASPDotNetHandler#decode_textbuf is_singleton: false name: decode_textbuf params: (node) visibility: private ri/1.8/system/SOAP/EncodingStyle/ASPDotNetHandler/decode_tag_end-i.yaml 0000644 00000000335 15217654531 0021410 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::ASPDotNetHandler#decode_tag_end is_singleton: false name: decode_tag_end params: (ns, node) visibility: public ri/1.8/system/SOAP/EncodingStyle/ASPDotNetHandler/decode_epilogue-i.yaml 0000644 00000000327 15217654531 0021621 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::ASPDotNetHandler#decode_epilogue is_singleton: false name: decode_epilogue params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/ASPDotNetHandler/encode_data_end-i.yaml 0000644 00000000362 15217654531 0021560 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::ASPDotNetHandler#encode_data_end is_singleton: false name: encode_data_end params: (generator, ns, data, parent) visibility: public ri/1.8/system/SOAP/EncodingStyle/ASPDotNetHandler/SOAPUnknown/new-c.yaml 0000644 00000000334 15217654531 0021410 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::ASPDotNetHandler::SOAPUnknown::new is_singleton: true name: new params: (handler, elename) visibility: public ri/1.8/system/SOAP/EncodingStyle/ASPDotNetHandler/SOAPUnknown/as_string-i.yaml 0000644 00000000330 15217654531 0022612 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::ASPDotNetHandler::SOAPUnknown#as_string is_singleton: false name: as_string params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/ASPDotNetHandler/SOAPUnknown/as_struct-i.yaml 0000644 00000000330 15217654531 0022630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::ASPDotNetHandler::SOAPUnknown#as_struct is_singleton: false name: as_struct params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/ASPDotNetHandler/SOAPUnknown/cdesc-SOAPUnknown.yaml 0000644 00000000667 15217654531 0023611 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::EncodingStyle::ASPDotNetHandler::SOAPUnknown includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: as_nil - !ruby/object:RI::MethodSummary name: as_string - !ruby/object:RI::MethodSummary name: as_struct name: SOAPUnknown superclass: SOAPTemporalObject ri/1.8/system/SOAP/EncodingStyle/ASPDotNetHandler/SOAPUnknown/as_nil-i.yaml 0000644 00000000322 15217654531 0022067 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::ASPDotNetHandler::SOAPUnknown#as_nil is_singleton: false name: as_nil params: () visibility: public ri/1.8/system/SOAP/EncodingStyle/ASPDotNetHandler/cdesc-ASPDotNetHandler.yaml 0000644 00000001544 15217654531 0022377 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Namespace value: "'http://tempuri.org/ASP.NET'" full_name: SOAP::EncodingStyle::ASPDotNetHandler includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: decode_epilogue - !ruby/object:RI::MethodSummary name: decode_parent - !ruby/object:RI::MethodSummary name: decode_prologue - !ruby/object:RI::MethodSummary name: decode_tag - !ruby/object:RI::MethodSummary name: decode_tag_end - !ruby/object:RI::MethodSummary name: decode_text - !ruby/object:RI::MethodSummary name: decode_textbuf - !ruby/object:RI::MethodSummary name: encode_data - !ruby/object:RI::MethodSummary name: encode_data_end name: ASPDotNetHandler superclass: Handler ri/1.8/system/SOAP/EncodingStyle/ASPDotNetHandler/decode_parent-i.yaml 0000644 00000000337 15217654531 0021302 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::EncodingStyle::ASPDotNetHandler#decode_parent is_singleton: false name: decode_parent params: (parent, node) visibility: public ri/1.8/system/SOAP/post-i.yaml 0000644 00000000272 15217654531 0011663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP#post is_singleton: false name: post params: (url, req_body, header = {}) visibility: public ri/1.8/system/SOAP/SOAPGYearMonth/cdesc-SOAPGYearMonth.yaml 0000644 00000000420 15217654531 0016722 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPGYearMonth includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPGYearMonth superclass: XSD::XSDGYearMonth ri/1.8/system/SOAP/SOAPStruct/new-c.yaml 0000644 00000000264 15217654531 0013431 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPStruct::new is_singleton: true name: new params: (type = nil) visibility: public ri/1.8/system/SOAP/SOAPStruct/to_s-i.yaml 0000644 00000000254 15217654531 0013611 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPStruct#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/SOAP/SOAPStruct/decode-c.yaml 0000644 00000000275 15217654531 0014065 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPStruct::decode is_singleton: true name: decode params: (elename, type) visibility: public ri/1.8/system/SOAP/SOAPStruct/key%3f-i.yaml 0000644 00000000260 15217654531 0013730 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPStruct#key? is_singleton: false name: key? params: (name) visibility: public ri/1.8/system/SOAP/SOAPStruct/%5b%5d%3d-i.yaml 0000644 00000000265 15217654531 0014014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPStruct#[]= is_singleton: false name: "[]=" params: (idx, data) visibility: public ri/1.8/system/SOAP/SOAPStruct/%5b%5d-i.yaml 0000644 00000000255 15217654531 0013517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPStruct#[] is_singleton: false name: "[]" params: (idx) visibility: public ri/1.8/system/SOAP/SOAPStruct/each-i.yaml 0000644 00000000345 15217654531 0013546 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (@array[idx], @data[idx]) comment: full_name: SOAP::SOAPStruct#each is_singleton: false name: each params: () {|@array[idx], @data[idx]| ...} visibility: public ri/1.8/system/SOAP/SOAPStruct/to_obj-i.yaml 0000644 00000000260 15217654531 0014116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPStruct#to_obj is_singleton: false name: to_obj params: () visibility: public ri/1.8/system/SOAP/SOAPStruct/replace-i.yaml 0000644 00000000325 15217654531 0014257 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (self[member]) comment: full_name: SOAP::SOAPStruct#replace is_singleton: false name: replace params: () {|self[member]| ...} visibility: public ri/1.8/system/SOAP/SOAPStruct/cdesc-SOAPStruct.yaml 0000644 00000001661 15217654531 0015450 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: decode - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Compound datatypes. constants: [] full_name: SOAP::SOAPStruct includes: - !ruby/object:RI::IncludedModule name: SOAPCompoundtype - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: add_member - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: key? - !ruby/object:RI::MethodSummary name: members - !ruby/object:RI::MethodSummary name: replace - !ruby/object:RI::MethodSummary name: to_obj - !ruby/object:RI::MethodSummary name: to_s name: SOAPStruct superclass: XSD::NSDBase ri/1.8/system/SOAP/SOAPStruct/add-i.yaml 0000644 00000000265 15217654531 0013377 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPStruct#add is_singleton: false name: add params: (name, value) visibility: public ri/1.8/system/SOAP/SOAPStruct/add_member-i.yaml 0000644 00000000312 15217654531 0014717 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPStruct#add_member is_singleton: false name: add_member params: (name, value = nil) visibility: private ri/1.8/system/SOAP/SOAPStruct/members-i.yaml 0000644 00000000262 15217654531 0014276 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPStruct#members is_singleton: false name: members params: () visibility: public ri/1.8/system/SOAP/SOAPDuration/cdesc-SOAPDuration.yaml 0000644 00000000412 15217654531 0016243 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPDuration includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPDuration superclass: XSD::XSDDuration ri/1.8/system/SOAP/SOAPNonNegativeInteger/cdesc-SOAPNonNegativeInteger.yaml 0000644 00000000450 15217654531 0022161 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPNonNegativeInteger includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPNonNegativeInteger superclass: XSD::XSDNonNegativeInteger ri/1.8/system/SOAP/WSDLDriver/new-c.yaml 0000644 00000000274 15217654531 0013410 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::new is_singleton: true name: new params: (wsdl, port, logdev) visibility: public ri/1.8/system/SOAP/WSDLDriver/reset_stream-i.yaml 0000644 00000000274 15217654531 0015322 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver#reset_stream is_singleton: false name: reset_stream params: () visibility: public ri/1.8/system/SOAP/WSDLDriver/wiredump_dev-i.yaml 0000644 00000000274 15217654531 0015317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver#wiredump_dev is_singleton: false name: wiredump_dev params: () visibility: public ri/1.8/system/SOAP/WSDLDriver/cdesc-WSDLDriver.yaml 0000644 00000001620 15217654531 0015377 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: __attr_proxy - !ruby/object:RI::MethodSummary name: __attr_proxy - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::WSDLDriver includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: httpproxy - !ruby/object:RI::MethodSummary name: httpproxy= - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: mandatorycharset - !ruby/object:RI::MethodSummary name: mandatorycharset= - !ruby/object:RI::MethodSummary name: reset_stream - !ruby/object:RI::MethodSummary name: wiredump_dev - !ruby/object:RI::MethodSummary name: wiredump_dev= - !ruby/object:RI::MethodSummary name: wiredump_file_base - !ruby/object:RI::MethodSummary name: wiredump_file_base= name: WSDLDriver superclass: Object ri/1.8/system/SOAP/WSDLDriver/Servant__/new-c.yaml 0000644 00000000315 15217654531 0015324 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__::new is_singleton: true name: new params: (host, wsdl, port, logdev) visibility: public ri/1.8/system/SOAP/WSDLDriver/Servant__/add_method_interface-i.yaml 0000644 00000000337 15217654531 0020655 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#add_method_interface is_singleton: false name: add_method_interface params: (op_info) visibility: private ri/1.8/system/SOAP/WSDLDriver/Servant__/reset_stream-i.yaml 0000644 00000000307 15217654531 0017237 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#reset_stream is_singleton: false name: reset_stream params: () visibility: public ri/1.8/system/SOAP/WSDLDriver/Servant__/bodyitem_from_obj-i.yaml 0000644 00000000333 15217654531 0020232 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#bodyitem_from_obj is_singleton: false name: bodyitem_from_obj params: (obj, name) visibility: private ri/1.8/system/SOAP/WSDLDriver/Servant__/setup_options-i.yaml 0000644 00000000312 15217654531 0017451 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#setup_options is_singleton: false name: setup_options params: () visibility: private ri/1.8/system/SOAP/WSDLDriver/Servant__/rpc_call-i.yaml 0000644 00000000314 15217654531 0016317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#rpc_call is_singleton: false name: rpc_call params: (name, *values) visibility: public ri/1.8/system/SOAP/WSDLDriver/Servant__/cdesc-Servant__.yaml 0000644 00000004416 15217654531 0017320 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: allow_unqualified_element rw: RW - !ruby/object:RI::Attribute comment: name: default_encodingstyle rw: RW - !ruby/object:RI::Attribute comment: name: generate_explicit_type rw: RW - !ruby/object:RI::Attribute comment: name: mapping_registry rw: RW - !ruby/object:RI::Attribute comment: name: options rw: R - !ruby/object:RI::Attribute comment: name: port rw: R - !ruby/object:RI::Attribute comment: name: soapaction rw: RW - !ruby/object:RI::Attribute comment: name: wsdl_mapping_registry rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::WSDLDriver::Servant__ includes: - !ruby/object:RI::IncludedModule name: SOAP instance_methods: - !ruby/object:RI::MethodSummary name: add_document_method_interface - !ruby/object:RI::MethodSummary name: add_method_interface - !ruby/object:RI::MethodSummary name: add_rpc_method_interface - !ruby/object:RI::MethodSummary name: body_from_obj - !ruby/object:RI::MethodSummary name: bodyitem_from_obj - !ruby/object:RI::MethodSummary name: create_method_obj - !ruby/object:RI::MethodSummary name: create_method_struct - !ruby/object:RI::MethodSummary name: create_options - !ruby/object:RI::MethodSummary name: create_request_body - !ruby/object:RI::MethodSummary name: create_request_header - !ruby/object:RI::MethodSummary name: document_send - !ruby/object:RI::MethodSummary name: endpoint_url - !ruby/object:RI::MethodSummary name: endpoint_url= - !ruby/object:RI::MethodSummary name: header_from_obj - !ruby/object:RI::MethodSummary name: headerhandler - !ruby/object:RI::MethodSummary name: headeritem_from_obj - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: receive_headers - !ruby/object:RI::MethodSummary name: reset_stream - !ruby/object:RI::MethodSummary name: rpc_call - !ruby/object:RI::MethodSummary name: set_wiredump_file_base - !ruby/object:RI::MethodSummary name: setup_options - !ruby/object:RI::MethodSummary name: streamhandler - !ruby/object:RI::MethodSummary name: test_loopback_response name: Servant__ superclass: Object ri/1.8/system/SOAP/WSDLDriver/Servant__/set_wiredump_file_base-i.yaml 0000644 00000000340 15217654531 0021237 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#set_wiredump_file_base is_singleton: false name: set_wiredump_file_base params: (name) visibility: private ri/1.8/system/SOAP/WSDLDriver/Servant__/headerhandler-i.yaml 0000644 00000000311 15217654531 0017323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#headerhandler is_singleton: false name: headerhandler params: () visibility: public ri/1.8/system/SOAP/WSDLDriver/Servant__/create_method_obj-i.yaml 0000644 00000000337 15217654531 0020202 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#create_method_obj is_singleton: false name: create_method_obj params: (names, params) visibility: private ri/1.8/system/SOAP/WSDLDriver/Servant__/endpoint_url%3d-i.yaml 0000644 00000000325 15217654531 0017540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#endpoint_url= is_singleton: false name: endpoint_url= params: (endpoint_url) visibility: public ri/1.8/system/SOAP/WSDLDriver/Servant__/headeritem_from_obj-i.yaml 0000644 00000000337 15217654531 0020531 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#headeritem_from_obj is_singleton: false name: headeritem_from_obj params: (obj, name) visibility: private ri/1.8/system/SOAP/WSDLDriver/Servant__/header_from_obj-i.yaml 0000644 00000000332 15217654531 0017645 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#header_from_obj is_singleton: false name: header_from_obj params: (obj, op_info) visibility: private ri/1.8/system/SOAP/WSDLDriver/Servant__/body_from_obj-i.yaml 0000644 00000000326 15217654531 0017355 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#body_from_obj is_singleton: false name: body_from_obj params: (obj, op_info) visibility: private ri/1.8/system/SOAP/WSDLDriver/Servant__/create_options-i.yaml 0000644 00000000326 15217654531 0017561 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#create_options is_singleton: false name: create_options params: (hash = nil) visibility: private ri/1.8/system/SOAP/WSDLDriver/Servant__/create_method_struct-i.yaml 0000644 00000000350 15217654531 0020747 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#create_method_struct is_singleton: false name: create_method_struct params: (op_info, *params) visibility: private ri/1.8/system/SOAP/WSDLDriver/Servant__/inspect-i.yaml 0000644 00000000275 15217654531 0016213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/SOAP/WSDLDriver/Servant__/document_send-i.yaml 0000644 00000000573 15217654531 0017376 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "req_header: [[element, mustunderstand, encodingstyle(QName/String)], ...] req_body: SOAPBasetype/SOAPCompoundtype" full_name: SOAP::WSDLDriver::Servant__#document_send is_singleton: false name: document_send params: (name, header_obj, body_obj) visibility: public ri/1.8/system/SOAP/WSDLDriver/Servant__/create_request_body-i.yaml 0000644 00000000346 15217654531 0020575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#create_request_body is_singleton: false name: create_request_body params: (op_info, *values) visibility: private ri/1.8/system/SOAP/WSDLDriver/Servant__/add_document_method_interface-i.yaml 0000644 00000000373 15217654531 0022553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#add_document_method_interface is_singleton: false name: add_document_method_interface params: (name, parts_names) visibility: private ri/1.8/system/SOAP/WSDLDriver/Servant__/endpoint_url-i.yaml 0000644 00000000307 15217654531 0017244 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#endpoint_url is_singleton: false name: endpoint_url params: () visibility: public ri/1.8/system/SOAP/WSDLDriver/Servant__/create_request_header-i.yaml 0000644 00000000332 15217654531 0021063 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#create_request_header is_singleton: false name: create_request_header params: () visibility: private ri/1.8/system/SOAP/WSDLDriver/Servant__/receive_headers-i.yaml 0000644 00000000325 15217654531 0017657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#receive_headers is_singleton: false name: receive_headers params: (headers) visibility: private ri/1.8/system/SOAP/WSDLDriver/Servant__/test_loopback_response-i.yaml 0000644 00000000333 15217654531 0021310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#test_loopback_response is_singleton: false name: test_loopback_response params: () visibility: public ri/1.8/system/SOAP/WSDLDriver/Servant__/streamhandler-i.yaml 0000644 00000000311 15217654531 0017366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#streamhandler is_singleton: false name: streamhandler params: () visibility: public ri/1.8/system/SOAP/WSDLDriver/Servant__/add_rpc_method_interface-i.yaml 0000644 00000000361 15217654531 0021516 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::Servant__#add_rpc_method_interface is_singleton: false name: add_rpc_method_interface params: (name, parts_names) visibility: private ri/1.8/system/SOAP/WSDLDriver/__attr_proxy-c.yaml 0000644 00000000326 15217654531 0015326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver::__attr_proxy is_singleton: true name: __attr_proxy params: (symbol, assignable = false) visibility: public ri/1.8/system/SOAP/WSDLDriver/wiredump_file_base-i.yaml 0000644 00000000310 15217654531 0016441 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver#wiredump_file_base is_singleton: false name: wiredump_file_base params: () visibility: public ri/1.8/system/SOAP/WSDLDriver/inspect-i.yaml 0000644 00000000262 15217654531 0014267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/SOAP/WSDLDriver/httpproxy%3d-i.yaml 0000644 00000000301 15217654531 0015171 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver#httpproxy= is_singleton: false name: httpproxy= params: (httpproxy) visibility: public ri/1.8/system/SOAP/WSDLDriver/mandatorycharset-i.yaml 0000644 00000000304 15217654531 0016167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver#mandatorycharset is_singleton: false name: mandatorycharset params: () visibility: public ri/1.8/system/SOAP/WSDLDriver/wiredump_file_base%3d-i.yaml 0000644 00000000334 15217654531 0016743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver#wiredump_file_base= is_singleton: false name: wiredump_file_base= params: (wiredump_file_base) visibility: public ri/1.8/system/SOAP/WSDLDriver/wiredump_dev%3d-i.yaml 0000644 00000000312 15217654531 0015604 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver#wiredump_dev= is_singleton: false name: wiredump_dev= params: (wiredump_dev) visibility: public ri/1.8/system/SOAP/WSDLDriver/mandatorycharset%3d-i.yaml 0000644 00000000326 15217654531 0016467 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver#mandatorycharset= is_singleton: false name: mandatorycharset= params: (mandatorycharset) visibility: public ri/1.8/system/SOAP/WSDLDriver/httpproxy-i.yaml 0000644 00000000266 15217654531 0014707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriver#httpproxy is_singleton: false name: httpproxy params: () visibility: public ri/1.8/system/SOAP/SOAPInteger/cdesc-SOAPInteger.yaml 0000644 00000000407 15217654531 0015667 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPInteger includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPInteger superclass: XSD::XSDInteger ri/1.8/system/SOAP/SOAPDecimal/cdesc-SOAPDecimal.yaml 0000644 00000000407 15217654531 0015571 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPDecimal includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPDecimal superclass: XSD::XSDDecimal ri/1.8/system/SOAP/SOAPExternalReference/new-c.yaml 0000644 00000000265 15217654531 0015547 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPExternalReference::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SOAP/SOAPExternalReference/refidstr-i.yaml 0000644 00000000277 15217654531 0016611 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPExternalReference#refidstr is_singleton: false name: refidstr params: () visibility: public ri/1.8/system/SOAP/SOAPExternalReference/external_contentid-i.yaml 0000644 00000000324 15217654531 0020651 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPExternalReference#external_contentid is_singleton: false name: external_contentid params: () visibility: private ri/1.8/system/SOAP/SOAPExternalReference/referred-i.yaml 0000644 00000000277 15217654531 0016565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPExternalReference#referred is_singleton: false name: referred params: () visibility: public ri/1.8/system/SOAP/SOAPExternalReference/cdesc-SOAPExternalReference.yaml 0000644 00000000743 15217654531 0021702 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::SOAPExternalReference includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: - !ruby/object:RI::MethodSummary name: external_contentid - !ruby/object:RI::MethodSummary name: referred - !ruby/object:RI::MethodSummary name: refidstr name: SOAPExternalReference superclass: XSD::NSDBase ri/1.8/system/SOAP/SOAPGMonth/cdesc-SOAPGMonth.yaml 0000644 00000000404 15217654531 0015262 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPGMonth includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPGMonth superclass: XSD::XSDGMonth ri/1.8/system/SOAP/ResponseFormatError/cdesc-ResponseFormatError.yaml 0000644 00000000330 15217654531 0021464 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::ResponseFormatError includes: [] instance_methods: [] name: ResponseFormatError superclass: Error ri/1.8/system/SOAP/SOAPPositiveInteger/cdesc-SOAPPositiveInteger.yaml 0000644 00000000437 15217654531 0021140 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPPositiveInteger includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPPositiveInteger superclass: XSD::XSDPositiveInteger ri/1.8/system/SOAP/reset-i.yaml 0000644 00000000245 15217654531 0012020 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP#reset is_singleton: false name: reset params: (url) visibility: public ri/1.8/system/SOAP/Mapping/ary2md-c.yaml 0000644 00000000421 15217654531 0013455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::ary2md is_singleton: true name: ary2md params: (ary, rank, type_ns = XSD::Namespace, typename = XSD::AnyTypeLiteral, registry = nil, opt = EMPTY_OPT) visibility: public ri/1.8/system/SOAP/Mapping/class_schema_variable-c.yaml 0000644 00000000326 15217654531 0016555 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::class_schema_variable is_singleton: true name: class_schema_variable params: (sym, klass) visibility: private ri/1.8/system/SOAP/Mapping/BasetypeFactory_/new-c.yaml 0000644 00000000327 15217654531 0016320 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::BasetypeFactory_::new is_singleton: true name: new params: (allow_original_mapping = false) visibility: public ri/1.8/system/SOAP/Mapping/BasetypeFactory_/cdesc-BasetypeFactory_.yaml 0000644 00000000553 15217654531 0021632 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::Mapping::BasetypeFactory_ includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: obj2soap - !ruby/object:RI::MethodSummary name: soap2obj name: BasetypeFactory_ superclass: Factory ri/1.8/system/SOAP/Mapping/BasetypeFactory_/soap2obj-i.yaml 0000644 00000000335 15217654531 0017253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::BasetypeFactory_#soap2obj is_singleton: false name: soap2obj params: (obj_class, node, info, map) visibility: public ri/1.8/system/SOAP/Mapping/BasetypeFactory_/obj2soap-i.yaml 0000644 00000000335 15217654531 0017253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::BasetypeFactory_#obj2soap is_singleton: false name: obj2soap params: (soap_class, obj, info, map) visibility: public ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/new-c.yaml 0000644 00000000421 15217654531 0016667 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry::new is_singleton: true name: new params: (definedtypes = XSD::NamedElements::Empty, definedelements = XSD::NamedElements::Empty) visibility: public ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/any2soap-i.yaml 0000644 00000000321 15217654531 0017637 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#any2soap is_singleton: false name: any2soap params: (obj, qname) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/anytype2obj-i.yaml 0000644 00000000321 15217654531 0020351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#anytype2obj is_singleton: false name: anytype2obj params: (node) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/define_xmlattr-i.yaml 0000644 00000000326 15217654531 0021115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#define_xmlattr is_singleton: false name: define_xmlattr params: (obj) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/add_attributes2stubobj-i.yaml 0000644 00000000354 15217654531 0022562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#add_attributes2stubobj is_singleton: false name: add_attributes2stubobj params: (node, obj) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/mappingobj2soap-i.yaml 0000644 00000000337 15217654531 0021205 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#mappingobj2soap is_singleton: false name: mappingobj2soap params: (obj, qname) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/schema_attribute_definition-i.yaml 0000644 00000000362 15217654531 0023643 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#schema_attribute_definition is_singleton: false name: schema_attribute_definition params: (klass) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/any2obj-i.yaml 0000644 00000000332 15217654531 0017451 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#any2obj is_singleton: false name: any2obj params: (node, obj_class = nil) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/cdesc-WSDLLiteralRegistry.yaml 0000644 00000004222 15217654531 0022557 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: definedelements rw: R - !ruby/object:RI::Attribute comment: name: definedtypes rw: R - !ruby/object:RI::Attribute comment: name: excn_handler_obj2soap rw: RW - !ruby/object:RI::Attribute comment: name: excn_handler_soap2obj rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: MAPPING_OPT value: "{ :no_reference => true }" full_name: SOAP::Mapping::WSDLLiteralRegistry includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_attributes2plainobj - !ruby/object:RI::MethodSummary name: add_attributes2soap - !ruby/object:RI::MethodSummary name: add_attributes2stubobj - !ruby/object:RI::MethodSummary name: add_elements2plainobj - !ruby/object:RI::MethodSummary name: add_elements2soap - !ruby/object:RI::MethodSummary name: add_elements2stubobj - !ruby/object:RI::MethodSummary name: any2obj - !ruby/object:RI::MethodSummary name: any2soap - !ruby/object:RI::MethodSummary name: anytype2obj - !ruby/object:RI::MethodSummary name: base2soap - !ruby/object:RI::MethodSummary name: complexobj2soap - !ruby/object:RI::MethodSummary name: define_xmlattr - !ruby/object:RI::MethodSummary name: define_xmlattr - !ruby/object:RI::MethodSummary name: define_xmlattr_accessor - !ruby/object:RI::MethodSummary name: define_xmlattr_accessor - !ruby/object:RI::MethodSummary name: mappingobj2soap - !ruby/object:RI::MethodSummary name: obj2elesoap - !ruby/object:RI::MethodSummary name: obj2soap - !ruby/object:RI::MethodSummary name: obj2typesoap - !ruby/object:RI::MethodSummary name: schema_attribute_definition - !ruby/object:RI::MethodSummary name: schema_element_definition - !ruby/object:RI::MethodSummary name: simpleobj2soap - !ruby/object:RI::MethodSummary name: soap2obj - !ruby/object:RI::MethodSummary name: soapele2plainobj - !ruby/object:RI::MethodSummary name: soapele2stubobj - !ruby/object:RI::MethodSummary name: stubobj2soap name: WSDLLiteralRegistry superclass: Registry ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/add_attributes2soap-i.yaml 0000644 00000000345 15217654531 0022054 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#add_attributes2soap is_singleton: false name: add_attributes2soap params: (obj, ele) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/base2soap-i.yaml 0000644 00000000322 15217654531 0017763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#base2soap is_singleton: false name: base2soap params: (obj, type) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/define_xmlattr_accessor-i.yaml 0000644 00000000357 15217654531 0023003 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#define_xmlattr_accessor is_singleton: false name: define_xmlattr_accessor params: (obj, qname) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/soapele2plainobj-i.yaml 0000644 00000000333 15217654531 0021337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#soapele2plainobj is_singleton: false name: soapele2plainobj params: (node) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/obj2typesoap-i.yaml 0000644 00000000343 15217654531 0020530 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#obj2typesoap is_singleton: false name: obj2typesoap params: (obj, type, qualified) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/complexobj2soap-i.yaml 0000644 00000000351 15217654531 0021215 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#complexobj2soap is_singleton: false name: complexobj2soap params: (obj, type, qualified) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/soapele2stubobj-i.yaml 0000644 00000000344 15217654531 0021213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#soapele2stubobj is_singleton: false name: soapele2stubobj params: (node, obj_class) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/obj2elesoap-i.yaml 0000644 00000000325 15217654531 0020314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#obj2elesoap is_singleton: false name: obj2elesoap params: (obj, ele) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/add_elements2stubobj-i.yaml 0000644 00000000350 15217654531 0022204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#add_elements2stubobj is_singleton: false name: add_elements2stubobj params: (node, obj) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/simpleobj2soap-i.yaml 0000644 00000000334 15217654531 0021040 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#simpleobj2soap is_singleton: false name: simpleobj2soap params: (obj, type) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/soap2obj-i.yaml 0000644 00000000434 15217654531 0017627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: node should be a SOAPElement full_name: SOAP::Mapping::WSDLLiteralRegistry#soap2obj is_singleton: false name: soap2obj params: (node, obj_class = nil) visibility: public ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/obj2soap-i.yaml 0000644 00000000320 15217654531 0017621 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#obj2soap is_singleton: false name: obj2soap params: (obj, qname) visibility: public ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/add_elements2soap-i.yaml 0000644 00000000341 15217654531 0021476 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#add_elements2soap is_singleton: false name: add_elements2soap params: (obj, ele) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/stubobj2soap-i.yaml 0000644 00000000331 15217654531 0020521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#stubobj2soap is_singleton: false name: stubobj2soap params: (obj, qname) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/add_elements2plainobj-i.yaml 0000644 00000000352 15217654531 0022334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#add_elements2plainobj is_singleton: false name: add_elements2plainobj params: (node, obj) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/add_attributes2plainobj-i.yaml 0000644 00000000356 15217654531 0022712 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLLiteralRegistry#add_attributes2plainobj is_singleton: false name: add_attributes2plainobj params: (node, obj) visibility: private ri/1.8/system/SOAP/Mapping/WSDLLiteralRegistry/schema_element_definition-i.yaml 0000644 00000000616 15217654531 0023273 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: it caches @@schema_element. this means that @@schema_element must not be changed while a lifetime of a WSDLLiteralRegistry. full_name: SOAP::Mapping::WSDLLiteralRegistry#schema_element_definition is_singleton: false name: schema_element_definition params: (klass) visibility: private ri/1.8/system/SOAP/Mapping/Registry/new-c.yaml 0000644 00000000274 15217654531 0014666 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Registry::new is_singleton: true name: new params: (config = {}) visibility: public ri/1.8/system/SOAP/Mapping/Registry/addiv2obj-i.yaml 0000644 00000000307 15217654531 0015744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Registry#addiv2obj is_singleton: false name: addiv2obj params: (obj, attr) visibility: private ri/1.8/system/SOAP/Mapping/Registry/addextend2soap-i.yaml 0000644 00000000321 15217654531 0017001 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Registry#addextend2soap is_singleton: false name: addextend2soap params: (node, obj) visibility: private ri/1.8/system/SOAP/Mapping/Registry/cdesc-Registry.yaml 0000644 00000020113 15217654531 0016536 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: default_factory rw: RW - !ruby/object:RI::Attribute comment: name: excn_handler_obj2soap rw: RW - !ruby/object:RI::Attribute comment: name: excn_handler_soap2obj rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: StringFactory value: StringFactory_.new - !ruby/object:RI::Constant comment: name: BasetypeFactory value: BasetypeFactory_.new - !ruby/object:RI::Constant comment: name: DateTimeFactory value: DateTimeFactory_.new - !ruby/object:RI::Constant comment: name: ArrayFactory value: ArrayFactory_.new - !ruby/object:RI::Constant comment: name: Base64Factory value: Base64Factory_.new - !ruby/object:RI::Constant comment: name: URIFactory value: URIFactory_.new - !ruby/object:RI::Constant comment: name: TypedArrayFactory value: TypedArrayFactory_.new - !ruby/object:RI::Constant comment: name: TypedStructFactory value: TypedStructFactory_.new - !ruby/object:RI::Constant comment: name: HashFactory value: HashFactory_.new - !ruby/object:RI::Constant comment: name: SOAPBaseMap value: "[ [::NilClass, ::SOAP::SOAPNil, BasetypeFactory], [::TrueClass, ::SOAP::SOAPBoolean, BasetypeFactory], [::FalseClass, ::SOAP::SOAPBoolean, BasetypeFactory], [::String, ::SOAP::SOAPString, StringFactory], [::DateTime, ::SOAP::SOAPDateTime, DateTimeFactory], [::Date, ::SOAP::SOAPDate, DateTimeFactory], [::Time, ::SOAP::SOAPDateTime, DateTimeFactory], [::Time, ::SOAP::SOAPTime, DateTimeFactory], [::Float, ::SOAP::SOAPDouble, BasetypeFactory, {:derived_class => true}], [::Float, ::SOAP::SOAPFloat, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPInt, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPLong, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPInteger, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPShort, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPByte, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPNonPositiveInteger, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPNegativeInteger, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPNonNegativeInteger, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPPositiveInteger, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPUnsignedLong, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPUnsignedInt, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPUnsignedShort, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPUnsignedByte, BasetypeFactory, {:derived_class => true}], [::URI::Generic, ::SOAP::SOAPAnyURI, URIFactory, {:derived_class => true}], [::String, ::SOAP::SOAPBase64, Base64Factory], [::String, ::SOAP::SOAPHexBinary, Base64Factory], [::String, ::SOAP::SOAPDecimal, BasetypeFactory], [::String, ::SOAP::SOAPDuration, BasetypeFactory], [::String, ::SOAP::SOAPGYearMonth, BasetypeFactory], [::String, ::SOAP::SOAPGYear, BasetypeFactory], [::String, ::SOAP::SOAPGMonthDay, BasetypeFactory], [::String, ::SOAP::SOAPGDay, BasetypeFactory], [::String, ::SOAP::SOAPGMonth, BasetypeFactory], [::String, ::SOAP::SOAPQName, BasetypeFactory], [::Hash, ::SOAP::SOAPArray, HashFactory], [::Hash, ::SOAP::SOAPStruct, HashFactory], [::Array, ::SOAP::SOAPArray, ArrayFactory, {:derived_class => true}], [::SOAP::Mapping::SOAPException, ::SOAP::SOAPStruct, TypedStructFactory, {:type => XSD::QName.new(RubyCustomTypeNamespace, \"SOAPException\")}], ]" - !ruby/object:RI::Constant comment: name: RubyOriginalMap value: "[ [::NilClass, ::SOAP::SOAPNil, BasetypeFactory], [::TrueClass, ::SOAP::SOAPBoolean, BasetypeFactory], [::FalseClass, ::SOAP::SOAPBoolean, BasetypeFactory], [::String, ::SOAP::SOAPString, StringFactory], [::DateTime, ::SOAP::SOAPDateTime, DateTimeFactory], [::Date, ::SOAP::SOAPDate, DateTimeFactory], [::Time, ::SOAP::SOAPDateTime, DateTimeFactory], [::Time, ::SOAP::SOAPTime, DateTimeFactory], [::Float, ::SOAP::SOAPDouble, BasetypeFactory, {:derived_class => true}], [::Float, ::SOAP::SOAPFloat, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPInt, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPLong, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPInteger, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPShort, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPByte, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPNonPositiveInteger, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPNegativeInteger, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPNonNegativeInteger, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPPositiveInteger, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPUnsignedLong, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPUnsignedInt, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPUnsignedShort, BasetypeFactory, {:derived_class => true}], [::Integer, ::SOAP::SOAPUnsignedByte, BasetypeFactory, {:derived_class => true}], [::URI::Generic, ::SOAP::SOAPAnyURI, URIFactory, {:derived_class => true}], [::String, ::SOAP::SOAPBase64, Base64Factory], [::String, ::SOAP::SOAPHexBinary, Base64Factory], [::String, ::SOAP::SOAPDecimal, BasetypeFactory], [::String, ::SOAP::SOAPDuration, BasetypeFactory], [::String, ::SOAP::SOAPGYearMonth, BasetypeFactory], [::String, ::SOAP::SOAPGYear, BasetypeFactory], [::String, ::SOAP::SOAPGMonthDay, BasetypeFactory], [::String, ::SOAP::SOAPGDay, BasetypeFactory], [::String, ::SOAP::SOAPGMonth, BasetypeFactory], [::String, ::SOAP::SOAPQName, BasetypeFactory], [::Hash, ::SOAP::SOAPArray, HashFactory], [::Hash, ::SOAP::SOAPStruct, HashFactory], # Does not allow Array's subclass here. [::Array, ::SOAP::SOAPArray, ArrayFactory], [::SOAP::Mapping::SOAPException, ::SOAP::SOAPStruct, TypedStructFactory, {:type => XSD::QName.new(RubyCustomTypeNamespace, \"SOAPException\")}], ]" full_name: SOAP::Mapping::Registry includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _obj2soap - !ruby/object:RI::MethodSummary name: _soap2obj - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: addextend2obj - !ruby/object:RI::MethodSummary name: addextend2obj - !ruby/object:RI::MethodSummary name: addextend2soap - !ruby/object:RI::MethodSummary name: addiv2obj - !ruby/object:RI::MethodSummary name: find_mapped_obj_class - !ruby/object:RI::MethodSummary name: find_mapped_soap_class - !ruby/object:RI::MethodSummary name: obj2soap - !ruby/object:RI::MethodSummary name: set - !ruby/object:RI::MethodSummary name: soap2obj name: Registry superclass: Object ri/1.8/system/SOAP/Mapping/Registry/find_mapped_obj_class-i.yaml 0000644 00000000337 15217654531 0020370 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Registry#find_mapped_obj_class is_singleton: false name: find_mapped_obj_class params: (soap_class) visibility: public ri/1.8/system/SOAP/Mapping/Registry/find_mapped_soap_class-i.yaml 0000644 00000000340 15217654531 0020552 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Registry#find_mapped_soap_class is_singleton: false name: find_mapped_soap_class params: (obj_class) visibility: public ri/1.8/system/SOAP/Mapping/Registry/soap2obj-i.yaml 0000644 00000000314 15217654531 0015615 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Registry#soap2obj is_singleton: false name: soap2obj params: (node, klass = nil) visibility: public ri/1.8/system/SOAP/Mapping/Registry/addextend2obj-i.yaml 0000644 00000000317 15217654531 0016616 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Registry#addextend2obj is_singleton: false name: addextend2obj params: (obj, attr) visibility: private ri/1.8/system/SOAP/Mapping/Registry/obj2soap-i.yaml 0000644 00000000430 15217654531 0015614 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: general Registry ignores type_qname full_name: SOAP::Mapping::Registry#obj2soap is_singleton: false name: obj2soap params: (obj, type_qname = nil) visibility: public ri/1.8/system/SOAP/Mapping/Registry/Map/new-c.yaml 0000644 00000000276 15217654531 0015405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Registry::Map::new is_singleton: true name: new params: (registry) visibility: public ri/1.8/system/SOAP/Mapping/Registry/Map/cdesc-Map.yaml 0000644 00000001150 15217654531 0016160 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::Mapping::Registry::Map includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: clear - !ruby/object:RI::MethodSummary name: find_mapped_obj_class - !ruby/object:RI::MethodSummary name: find_mapped_soap_class - !ruby/object:RI::MethodSummary name: init - !ruby/object:RI::MethodSummary name: obj2soap - !ruby/object:RI::MethodSummary name: soap2obj name: Map superclass: Object ri/1.8/system/SOAP/Mapping/Registry/Map/find_mapped_obj_class-i.yaml 0000644 00000000353 15217654531 0021103 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Registry::Map#find_mapped_obj_class is_singleton: false name: find_mapped_obj_class params: (target_soap_class) visibility: public ri/1.8/system/SOAP/Mapping/Registry/Map/init-i.yaml 0000644 00000000410 15217654531 0015553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Give priority to former entry. full_name: SOAP::Mapping::Registry::Map#init is_singleton: false name: init params: (init_map = []) visibility: public ri/1.8/system/SOAP/Mapping/Registry/Map/find_mapped_soap_class-i.yaml 0000644 00000000354 15217654531 0021274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Registry::Map#find_mapped_soap_class is_singleton: false name: find_mapped_soap_class params: (target_obj_class) visibility: public ri/1.8/system/SOAP/Mapping/Registry/Map/soap2obj-i.yaml 0000644 00000000321 15217654531 0016330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Registry::Map#soap2obj is_singleton: false name: soap2obj params: (node, klass = nil) visibility: public ri/1.8/system/SOAP/Mapping/Registry/Map/obj2soap-i.yaml 0000644 00000000303 15217654531 0016330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Registry::Map#obj2soap is_singleton: false name: obj2soap params: (obj) visibility: public ri/1.8/system/SOAP/Mapping/Registry/Map/clear-i.yaml 0000644 00000000272 15217654531 0015704 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Registry::Map#clear is_singleton: false name: clear params: () visibility: public ri/1.8/system/SOAP/Mapping/Registry/Map/add-i.yaml 0000644 00000000435 15217654531 0015347 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Give priority to latter entry. full_name: SOAP::Mapping::Registry::Map#add is_singleton: false name: add params: (obj_class, soap_class, factory, info) visibility: public ri/1.8/system/SOAP/Mapping/Registry/_obj2soap-i.yaml 0000644 00000000301 15217654531 0015750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Registry#_obj2soap is_singleton: false name: _obj2soap params: (obj) visibility: private ri/1.8/system/SOAP/Mapping/Registry/set-i.yaml 0000644 00000000420 15217654531 0014667 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add" full_name: SOAP::Mapping::Registry#set is_singleton: false name: set params: (obj_class, soap_class, factory, info = nil) visibility: public ri/1.8/system/SOAP/Mapping/Registry/_soap2obj-i.yaml 0000644 00000000431 15217654531 0015754 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Might return nil as a mapping result. full_name: SOAP::Mapping::Registry#_soap2obj is_singleton: false name: _soap2obj params: (node, klass = nil) visibility: private ri/1.8/system/SOAP/Mapping/Registry/add-i.yaml 0000644 00000000402 15217654531 0014624 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: set block_params: comment: full_name: SOAP::Mapping::Registry#add is_singleton: false name: add params: (obj_class, soap_class, factory, info = nil) visibility: public ri/1.8/system/SOAP/Mapping/_obj2soap-c.yaml 0000644 00000000314 15217654531 0014136 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::_obj2soap is_singleton: true name: _obj2soap params: (obj, registry, type = nil) visibility: public ri/1.8/system/SOAP/Mapping/Object/new-c.yaml 0000644 00000000257 15217654531 0014265 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Object::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SOAP/Mapping/Object/__xmlele-i.yaml 0000644 00000000271 15217654531 0015262 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Object#__xmlele is_singleton: false name: __xmlele params: () visibility: public ri/1.8/system/SOAP/Mapping/Object/%5b%5d%3d-i.yaml 0000644 00000000275 15217654531 0014647 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Object#[]= is_singleton: false name: "[]=" params: (qname, value) visibility: public ri/1.8/system/SOAP/Mapping/Object/%5b%5d-i.yaml 0000644 00000000264 15217654531 0014351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Object#[] is_singleton: false name: "[]" params: (qname) visibility: public ri/1.8/system/SOAP/Mapping/Object/__set_xmlele_value-i.yaml 0000644 00000000335 15217654531 0017332 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Object#__set_xmlele_value is_singleton: false name: __set_xmlele_value params: (key, org, value) visibility: private ri/1.8/system/SOAP/Mapping/Object/__add_xmlele_value-i.yaml 0000644 00000000331 15217654531 0017263 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Object#__add_xmlele_value is_singleton: false name: __add_xmlele_value params: (qname, value) visibility: public ri/1.8/system/SOAP/Mapping/Object/cdesc-Object.yaml 0000644 00000001566 15217654531 0015545 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "For anyType object: SOAP::Mapping::Object not ::Object" constants: [] full_name: SOAP::Mapping::Object includes: - !ruby/object:RI::IncludedModule name: Marshallable instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: __add_xmlele_value - !ruby/object:RI::MethodSummary name: __define_attr_accessor - !ruby/object:RI::MethodSummary name: __define_attr_accessor - !ruby/object:RI::MethodSummary name: __set_xmlele_value - !ruby/object:RI::MethodSummary name: __xmlattr - !ruby/object:RI::MethodSummary name: __xmlele - !ruby/object:RI::MethodSummary name: inspect name: Object superclass: Object ri/1.8/system/SOAP/Mapping/Object/__xmlattr-i.yaml 0000644 00000000273 15217654531 0015471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Object#__xmlattr is_singleton: false name: __xmlattr params: () visibility: public ri/1.8/system/SOAP/Mapping/Object/inspect-i.yaml 0000644 00000000267 15217654531 0015150 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Object#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/SOAP/Mapping/Object/__define_attr_accessor-i.yaml 0000644 00000000333 15217654531 0020141 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Object#__define_attr_accessor is_singleton: false name: __define_attr_accessor params: (qname) visibility: private ri/1.8/system/SOAP/Mapping/soap2obj-c.yaml 0000644 00000000343 15217654531 0014001 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::soap2obj is_singleton: true name: soap2obj params: (node, registry = nil, klass = nil, opt = EMPTY_OPT) visibility: public ri/1.8/system/SOAP/Mapping/name2elename-c.yaml 0000644 00000000722 15217654531 0014614 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Allow only (Letter | '_') (Letter | Digit | '-' | '_')* here. Caution: '.' is not allowed here. To follow XML spec., it should be NCName." - !ruby/struct:SM::Flow::VERB body: " (denied chars) => .[0-F][0-F]\n ex. a.b => a.2eb\n" full_name: SOAP::Mapping::name2elename is_singleton: true name: name2elename params: (name) visibility: public ri/1.8/system/SOAP/Mapping/ArrayFactory_/new-c.yaml 0000644 00000000324 15217654531 0015617 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::ArrayFactory_::new is_singleton: true name: new params: (allow_original_mapping = false) visibility: public ri/1.8/system/SOAP/Mapping/ArrayFactory_/cdesc-ArrayFactory_.yaml 0000644 00000000545 15217654531 0020437 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::Mapping::ArrayFactory_ includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: obj2soap - !ruby/object:RI::MethodSummary name: soap2obj name: ArrayFactory_ superclass: Factory ri/1.8/system/SOAP/Mapping/ArrayFactory_/soap2obj-i.yaml 0000644 00000000332 15217654531 0016552 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::ArrayFactory_#soap2obj is_singleton: false name: soap2obj params: (obj_class, node, info, map) visibility: public ri/1.8/system/SOAP/Mapping/ArrayFactory_/obj2soap-i.yaml 0000644 00000000734 15217654531 0016560 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "[1], [2]" body: is converted to Array of Array, not 2-D Array. type: :LABELED - !ruby/struct:SM::Flow::P body: To create M-D Array, you must call Mapping.ary2md. full_name: SOAP::Mapping::ArrayFactory_#obj2soap is_singleton: false name: obj2soap params: (soap_class, obj, info, map) visibility: public ri/1.8/system/SOAP/Mapping/schema_element_definition-c.yaml 0000644 00000000330 15217654531 0017437 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::schema_element_definition is_singleton: true name: schema_element_definition params: (klass) visibility: public ri/1.8/system/SOAP/Mapping/URIFactory_/soap2obj-i.yaml 0000644 00000000330 15217654531 0016131 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::URIFactory_#soap2obj is_singleton: false name: soap2obj params: (obj_class, node, info, map) visibility: public ri/1.8/system/SOAP/Mapping/URIFactory_/obj2soap-i.yaml 0000644 00000000330 15217654531 0016131 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::URIFactory_#obj2soap is_singleton: false name: obj2soap params: (soap_class, obj, info, map) visibility: public ri/1.8/system/SOAP/Mapping/URIFactory_/cdesc-URIFactory_.yaml 0000644 00000000466 15217654531 0017403 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::Mapping::URIFactory_ includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: obj2soap - !ruby/object:RI::MethodSummary name: soap2obj name: URIFactory_ superclass: Factory ri/1.8/system/SOAP/Mapping/WSDLEncodedRegistry/new-c.yaml 0000644 00000000344 15217654531 0016640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLEncodedRegistry::new is_singleton: true name: new params: (definedtypes = XSD::NamedElements::Empty) visibility: public ri/1.8/system/SOAP/Mapping/WSDLEncodedRegistry/struct2soap-i.yaml 0000644 00000000342 15217654531 0020344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLEncodedRegistry#struct2soap is_singleton: false name: struct2soap params: (obj, type_qname, type) visibility: private ri/1.8/system/SOAP/Mapping/WSDLEncodedRegistry/any2soap-i.yaml 0000644 00000000321 15217654531 0017604 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLEncodedRegistry#any2soap is_singleton: false name: any2soap params: (obj, qname) visibility: private ri/1.8/system/SOAP/Mapping/WSDLEncodedRegistry/any2obj-i.yaml 0000644 00000000324 15217654531 0017417 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLEncodedRegistry#any2obj is_singleton: false name: any2obj params: (node, obj_class) visibility: private ri/1.8/system/SOAP/Mapping/WSDLEncodedRegistry/base2soap-i.yaml 0000644 00000000322 15217654531 0017730 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLEncodedRegistry#base2soap is_singleton: false name: base2soap params: (obj, type) visibility: private ri/1.8/system/SOAP/Mapping/WSDLEncodedRegistry/elements2soap-i.yaml 0000644 00000000350 15217654531 0020633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLEncodedRegistry#elements2soap is_singleton: false name: elements2soap params: (obj, soap_obj, elements) visibility: private ri/1.8/system/SOAP/Mapping/WSDLEncodedRegistry/soap2stubobj-i.yaml 0000644 00000000336 15217654531 0020473 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLEncodedRegistry#soap2stubobj is_singleton: false name: soap2stubobj params: (node, obj_class) visibility: private ri/1.8/system/SOAP/Mapping/WSDLEncodedRegistry/obj2typesoap-i.yaml 0000644 00000000330 15217654531 0020471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLEncodedRegistry#obj2typesoap is_singleton: false name: obj2typesoap params: (obj, type) visibility: private ri/1.8/system/SOAP/Mapping/WSDLEncodedRegistry/complexobj2soap-i.yaml 0000644 00000000336 15217654531 0021165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLEncodedRegistry#complexobj2soap is_singleton: false name: complexobj2soap params: (obj, type) visibility: private ri/1.8/system/SOAP/Mapping/WSDLEncodedRegistry/add_elements2stubobj-i.yaml 0000644 00000000350 15217654531 0022151 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLEncodedRegistry#add_elements2stubobj is_singleton: false name: add_elements2stubobj params: (node, obj) visibility: private ri/1.8/system/SOAP/Mapping/WSDLEncodedRegistry/simpleobj2soap-i.yaml 0000644 00000000334 15217654531 0021005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLEncodedRegistry#simpleobj2soap is_singleton: false name: simpleobj2soap params: (obj, type) visibility: private ri/1.8/system/SOAP/Mapping/WSDLEncodedRegistry/soap2obj-i.yaml 0000644 00000000475 15217654531 0017601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "map anything for now: must refer WSDL while mapping. [ToDo]" full_name: SOAP::Mapping::WSDLEncodedRegistry#soap2obj is_singleton: false name: soap2obj params: (node, obj_class = nil) visibility: public ri/1.8/system/SOAP/Mapping/WSDLEncodedRegistry/soap2soap-i.yaml 0000644 00000000330 15217654531 0017757 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLEncodedRegistry#soap2soap is_singleton: false name: soap2soap params: (obj, type_qname) visibility: private ri/1.8/system/SOAP/Mapping/WSDLEncodedRegistry/obj2soap-i.yaml 0000644 00000000326 15217654531 0017574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLEncodedRegistry#obj2soap is_singleton: false name: obj2soap params: (obj, qname = nil) visibility: public ri/1.8/system/SOAP/Mapping/WSDLEncodedRegistry/cdesc-WSDLEncodedRegistry.yaml 0000644 00000003242 15217654531 0022472 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: definedelements rw: R - !ruby/object:RI::Attribute comment: name: definedtypes rw: R - !ruby/object:RI::Attribute comment: name: excn_handler_obj2soap rw: RW - !ruby/object:RI::Attribute comment: name: excn_handler_soap2obj rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: MapKeyName value: XSD::QName.new(nil, "key") - !ruby/object:RI::Constant comment: name: MapValueName value: XSD::QName.new(nil, "value") full_name: SOAP::Mapping::WSDLEncodedRegistry includes: - !ruby/object:RI::IncludedModule name: TraverseSupport instance_methods: - !ruby/object:RI::MethodSummary name: add_elements2stubobj - !ruby/object:RI::MethodSummary name: any2obj - !ruby/object:RI::MethodSummary name: any2soap - !ruby/object:RI::MethodSummary name: array2soap - !ruby/object:RI::MethodSummary name: base2soap - !ruby/object:RI::MethodSummary name: complexobj2soap - !ruby/object:RI::MethodSummary name: elements2soap - !ruby/object:RI::MethodSummary name: map2soap - !ruby/object:RI::MethodSummary name: obj2soap - !ruby/object:RI::MethodSummary name: obj2typesoap - !ruby/object:RI::MethodSummary name: schema_element_definition - !ruby/object:RI::MethodSummary name: simpleobj2soap - !ruby/object:RI::MethodSummary name: soap2obj - !ruby/object:RI::MethodSummary name: soap2soap - !ruby/object:RI::MethodSummary name: soap2stubobj - !ruby/object:RI::MethodSummary name: struct2soap name: WSDLEncodedRegistry superclass: Registry ri/1.8/system/SOAP/Mapping/WSDLEncodedRegistry/array2soap-i.yaml 0000644 00000000340 15217654531 0020134 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLEncodedRegistry#array2soap is_singleton: false name: array2soap params: (obj, type_qname, type) visibility: private ri/1.8/system/SOAP/Mapping/WSDLEncodedRegistry/schema_element_definition-i.yaml 0000644 00000000616 15217654531 0023240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: it caches @@schema_element. this means that @@schema_element must not be changed while a lifetime of a WSDLLiteralRegistry. full_name: SOAP::Mapping::WSDLEncodedRegistry#schema_element_definition is_singleton: false name: schema_element_definition params: (klass) visibility: private ri/1.8/system/SOAP/Mapping/WSDLEncodedRegistry/map2soap-i.yaml 0000644 00000000334 15217654531 0017576 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::WSDLEncodedRegistry#map2soap is_singleton: false name: map2soap params: (obj, type_qname, type) visibility: private ri/1.8/system/SOAP/Mapping/SOAPException/new-c.yaml 0000644 00000000267 15217654531 0015501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::SOAPException::new is_singleton: true name: new params: (e) visibility: public ri/1.8/system/SOAP/Mapping/SOAPException/cdesc-SOAPException.yaml 0000644 00000001056 15217654531 0020165 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: cause rw: R - !ruby/object:RI::Attribute comment: name: excn_type_name rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Inner class to pass an exception. constants: [] full_name: SOAP::Mapping::SOAPException includes: - !ruby/object:RI::IncludedModule name: Marshallable instance_methods: - !ruby/object:RI::MethodSummary name: to_e name: SOAPException superclass: Object ri/1.8/system/SOAP/Mapping/SOAPException/to_e-i.yaml 0000644 00000000270 15217654531 0015636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::SOAPException#to_e is_singleton: false name: to_e params: () visibility: public ri/1.8/system/SOAP/Mapping/Factory/new-c.yaml 0000644 00000000260 15217654531 0014460 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Factory::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SOAP/Mapping/Factory/setiv2ary-i.yaml 0000644 00000000313 15217654531 0015624 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Factory#setiv2ary is_singleton: false name: setiv2ary params: (obj, node, map) visibility: private ri/1.8/system/SOAP/Mapping/Factory/setiv2struct-i.yaml 0000644 00000000321 15217654531 0016354 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Factory#setiv2struct is_singleton: false name: setiv2struct params: (obj, node, map) visibility: private ri/1.8/system/SOAP/Mapping/Factory/cdesc-Factory.yaml 0000644 00000001144 15217654531 0016137 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::Mapping::Factory includes: - !ruby/object:RI::IncludedModule name: TraverseSupport instance_methods: - !ruby/object:RI::MethodSummary name: obj2soap - !ruby/object:RI::MethodSummary name: setiv2ary - !ruby/object:RI::MethodSummary name: setiv2obj - !ruby/object:RI::MethodSummary name: setiv2soap - !ruby/object:RI::MethodSummary name: setiv2struct - !ruby/object:RI::MethodSummary name: soap2obj name: Factory superclass: Object ri/1.8/system/SOAP/Mapping/Factory/soap2obj-i.yaml 0000644 00000000324 15217654531 0015415 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Factory#soap2obj is_singleton: false name: soap2obj params: (obj_class, node, info, map) visibility: public ri/1.8/system/SOAP/Mapping/Factory/obj2soap-i.yaml 0000644 00000000324 15217654531 0015415 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Factory#obj2soap is_singleton: false name: obj2soap params: (soap_class, obj, info, map) visibility: public ri/1.8/system/SOAP/Mapping/Factory/setiv2soap-i.yaml 0000644 00000000314 15217654531 0015774 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Factory#setiv2soap is_singleton: false name: setiv2soap params: (node, obj, map) visibility: public ri/1.8/system/SOAP/Mapping/Factory/setiv2obj-i.yaml 0000644 00000000312 15217654531 0015602 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Factory#setiv2obj is_singleton: false name: setiv2obj params: (obj, node, map) visibility: public ri/1.8/system/SOAP/Mapping/class2element-c.yaml 0000644 00000000300 15217654531 0015014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::class2element is_singleton: true name: class2element params: (klass) visibility: public ri/1.8/system/SOAP/Mapping/define_attr_accessor-c.yaml 0000644 00000000360 15217654531 0016427 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::define_attr_accessor is_singleton: true name: define_attr_accessor params: (obj, name, getterproc, setterproc = nil) visibility: public ri/1.8/system/SOAP/Mapping/define_singleton_method-c.yaml 0000644 00000000340 15217654531 0017133 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::define_singleton_method is_singleton: true name: define_singleton_method params: (obj, name, &block) visibility: public ri/1.8/system/SOAP/Mapping/schema_attribute_definition-c.yaml 0000644 00000000334 15217654531 0020015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::schema_attribute_definition is_singleton: true name: schema_attribute_definition params: (klass) visibility: public ri/1.8/system/SOAP/Mapping/set_attributes-c.yaml 0000644 00000000310 15217654531 0015315 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::set_attributes is_singleton: true name: set_attributes params: (obj, values) visibility: public ri/1.8/system/SOAP/Mapping/MappingError/cdesc-MappingError.yaml 0000644 00000000323 15217654531 0020131 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::Mapping::MappingError includes: [] instance_methods: [] name: MappingError superclass: Error ri/1.8/system/SOAP/Mapping/MappedException/cdesc-MappedException.yaml 0000644 00000000324 15217654531 0021272 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::Mapping::MappedException includes: [] instance_methods: [] name: MappedException superclass: ri/1.8/system/SOAP/Mapping/TraverseSupport/mark_marshalled_obj-i.yaml 0000644 00000000345 15217654531 0021442 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::TraverseSupport#mark_marshalled_obj is_singleton: false name: mark_marshalled_obj params: (obj, soap_obj) visibility: public ri/1.8/system/SOAP/Mapping/TraverseSupport/mark_unmarshalled_obj-i.yaml 0000644 00000000345 15217654531 0022005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::TraverseSupport#mark_unmarshalled_obj is_singleton: false name: mark_unmarshalled_obj params: (node, obj) visibility: public ri/1.8/system/SOAP/Mapping/TraverseSupport/cdesc-TraverseSupport.yaml 0000644 00000000767 15217654531 0021513 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: TraverseSupport breaks following thread variables. - !ruby/struct:SM::Flow::VERB body: " Thread.current[:SOAPMarshalDataKey]\n" constants: [] full_name: SOAP::Mapping::TraverseSupport includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: mark_marshalled_obj - !ruby/object:RI::MethodSummary name: mark_unmarshalled_obj name: TraverseSupport superclass: ri/1.8/system/SOAP/Mapping/obj2element-c.yaml 0000644 00000000272 15217654531 0014471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::obj2element is_singleton: true name: obj2element params: (obj) visibility: public ri/1.8/system/SOAP/Mapping/HashFactory_/new-c.yaml 0000644 00000000323 15217654531 0015423 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::HashFactory_::new is_singleton: true name: new params: (allow_original_mapping = false) visibility: public ri/1.8/system/SOAP/Mapping/HashFactory_/soap2obj-i.yaml 0000644 00000000331 15217654531 0016356 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::HashFactory_#soap2obj is_singleton: false name: soap2obj params: (obj_class, node, info, map) visibility: public ri/1.8/system/SOAP/Mapping/HashFactory_/obj2soap-i.yaml 0000644 00000000331 15217654531 0016356 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::HashFactory_#obj2soap is_singleton: false name: obj2soap params: (soap_class, obj, info, map) visibility: public ri/1.8/system/SOAP/Mapping/HashFactory_/cdesc-HashFactory_.yaml 0000644 00000000543 15217654531 0020047 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::Mapping::HashFactory_ includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: obj2soap - !ruby/object:RI::MethodSummary name: soap2obj name: HashFactory_ superclass: Factory ri/1.8/system/SOAP/Mapping/add_md_ary-c.yaml 0000644 00000000324 15217654531 0014344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::add_md_ary is_singleton: true name: add_md_ary params: (md_ary, ary, indices, registry) visibility: private ri/1.8/system/SOAP/Mapping/schema_ns_definition-c.yaml 0000644 00000000316 15217654531 0016432 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::schema_ns_definition is_singleton: true name: schema_ns_definition params: (klass) visibility: public ri/1.8/system/SOAP/Mapping/DateTimeFactory_/new-c.yaml 0000644 00000000327 15217654531 0016240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::DateTimeFactory_::new is_singleton: true name: new params: (allow_original_mapping = false) visibility: public ri/1.8/system/SOAP/Mapping/DateTimeFactory_/soap2obj-i.yaml 0000644 00000000335 15217654531 0017173 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::DateTimeFactory_#soap2obj is_singleton: false name: soap2obj params: (obj_class, node, info, map) visibility: public ri/1.8/system/SOAP/Mapping/DateTimeFactory_/obj2soap-i.yaml 0000644 00000000335 15217654531 0017173 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::DateTimeFactory_#obj2soap is_singleton: false name: obj2soap params: (soap_class, obj, info, map) visibility: public ri/1.8/system/SOAP/Mapping/DateTimeFactory_/cdesc-DateTimeFactory_.yaml 0000644 00000000553 15217654531 0021472 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::Mapping::DateTimeFactory_ includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: obj2soap - !ruby/object:RI::MethodSummary name: soap2obj name: DateTimeFactory_ superclass: Factory ri/1.8/system/SOAP/Mapping/elename2name-c.yaml 0000644 00000000275 15217654531 0014617 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::elename2name is_singleton: true name: elename2name params: (name) visibility: public ri/1.8/system/SOAP/Mapping/TypedStructFactory_/cdesc-TypedStructFactory_.yaml 0000644 00000000506 15217654531 0023064 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::Mapping::TypedStructFactory_ includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: obj2soap - !ruby/object:RI::MethodSummary name: soap2obj name: TypedStructFactory_ superclass: Factory ri/1.8/system/SOAP/Mapping/TypedStructFactory_/soap2obj-i.yaml 0000644 00000000340 15217654531 0017765 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::TypedStructFactory_#soap2obj is_singleton: false name: soap2obj params: (obj_class, node, info, map) visibility: public ri/1.8/system/SOAP/Mapping/TypedStructFactory_/obj2soap-i.yaml 0000644 00000000340 15217654531 0017765 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::TypedStructFactory_#obj2soap is_singleton: false name: obj2soap params: (soap_class, obj, info, map) visibility: public ri/1.8/system/SOAP/Mapping/ary2soap-c.yaml 0000644 00000000417 15217654531 0014024 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::ary2soap is_singleton: true name: ary2soap params: (ary, type_ns = XSD::Namespace, typename = XSD::AnyTypeLiteral, registry = nil, opt = EMPTY_OPT) visibility: public ri/1.8/system/SOAP/Mapping/_soap2obj-c.yaml 0000644 00000000316 15217654531 0014140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::_soap2obj is_singleton: true name: _soap2obj params: (node, registry, klass = nil) visibility: public ri/1.8/system/SOAP/Mapping/TypedArrayFactory_/new-c.yaml 0000644 00000000331 15217654531 0016623 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::TypedArrayFactory_::new is_singleton: true name: new params: (allow_original_mapping = false) visibility: public ri/1.8/system/SOAP/Mapping/TypedArrayFactory_/cdesc-TypedArrayFactory_.yaml 0000644 00000000557 15217654531 0022456 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::Mapping::TypedArrayFactory_ includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: obj2soap - !ruby/object:RI::MethodSummary name: soap2obj name: TypedArrayFactory_ superclass: Factory ri/1.8/system/SOAP/Mapping/TypedArrayFactory_/soap2obj-i.yaml 0000644 00000000337 15217654531 0017565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::TypedArrayFactory_#soap2obj is_singleton: false name: soap2obj params: (obj_class, node, info, map) visibility: public ri/1.8/system/SOAP/Mapping/TypedArrayFactory_/obj2soap-i.yaml 0000644 00000000337 15217654531 0017565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::TypedArrayFactory_#obj2soap is_singleton: false name: obj2soap params: (soap_class, obj, info, map) visibility: public ri/1.8/system/SOAP/Mapping/get_attribute-c.yaml 0000644 00000000311 15217654531 0015117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::get_attribute is_singleton: true name: get_attribute params: (obj, attr_name) visibility: public ri/1.8/system/SOAP/Mapping/class_from_name-c.yaml 0000644 00000000324 15217654531 0015411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::class_from_name is_singleton: true name: class_from_name params: (name, lenient = false) visibility: public ri/1.8/system/SOAP/Mapping/StringFactory_/new-c.yaml 0000644 00000000325 15217654531 0016010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::StringFactory_::new is_singleton: true name: new params: (allow_original_mapping = false) visibility: public ri/1.8/system/SOAP/Mapping/StringFactory_/cdesc-StringFactory_.yaml 0000644 00000000547 15217654531 0021021 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::Mapping::StringFactory_ includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: obj2soap - !ruby/object:RI::MethodSummary name: soap2obj name: StringFactory_ superclass: Factory ri/1.8/system/SOAP/Mapping/StringFactory_/soap2obj-i.yaml 0000644 00000000333 15217654531 0016743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::StringFactory_#soap2obj is_singleton: false name: soap2obj params: (obj_class, node, info, map) visibility: public ri/1.8/system/SOAP/Mapping/StringFactory_/obj2soap-i.yaml 0000644 00000000333 15217654531 0016743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::StringFactory_#obj2soap is_singleton: false name: obj2soap params: (soap_class, obj, info, map) visibility: public ri/1.8/system/SOAP/Mapping/class2qname-c.yaml 0000644 00000000274 15217654531 0014476 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::class2qname is_singleton: true name: class2qname params: (klass) visibility: public ri/1.8/system/SOAP/Mapping/AttachmentFactory/cdesc-AttachmentFactory.yaml 0000644 00000000521 15217654531 0022157 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::Mapping::AttachmentFactory includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: obj2soap - !ruby/object:RI::MethodSummary name: soap2obj name: AttachmentFactory superclass: SOAP::Mapping::Factory ri/1.8/system/SOAP/Mapping/AttachmentFactory/soap2obj-i.yaml 0000644 00000000336 15217654531 0017431 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::AttachmentFactory#soap2obj is_singleton: false name: soap2obj params: (obj_class, node, info, map) visibility: public ri/1.8/system/SOAP/Mapping/AttachmentFactory/obj2soap-i.yaml 0000644 00000000336 15217654531 0017431 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::AttachmentFactory#obj2soap is_singleton: false name: obj2soap params: (soap_class, obj, info, map) visibility: public ri/1.8/system/SOAP/Mapping/fault2exception-c.yaml 0000644 00000000324 15217654531 0015375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::fault2exception is_singleton: true name: fault2exception params: (fault, registry = nil) visibility: public ri/1.8/system/SOAP/Mapping/create_empty_object-c.yaml 0000644 00000000403 15217654531 0016266 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: ruby/1.7 or later. full_name: SOAP::Mapping::create_empty_object is_singleton: true name: create_empty_object params: (klass) visibility: public ri/1.8/system/SOAP/Mapping/Base64Factory_/cdesc-Base64Factory_.yaml 0000644 00000000474 15217654531 0020354 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::Mapping::Base64Factory_ includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: obj2soap - !ruby/object:RI::MethodSummary name: soap2obj name: Base64Factory_ superclass: Factory ri/1.8/system/SOAP/Mapping/Base64Factory_/soap2obj-i.yaml 0000644 00000000333 15217654531 0016521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Base64Factory_#soap2obj is_singleton: false name: soap2obj params: (obj_class, node, info, map) visibility: public ri/1.8/system/SOAP/Mapping/Base64Factory_/obj2soap-i.yaml 0000644 00000000333 15217654531 0016521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::Base64Factory_#obj2soap is_singleton: false name: obj2soap params: (soap_class, obj, info, map) visibility: public ri/1.8/system/SOAP/Mapping/module_from_name-c.yaml 0000644 00000000326 15217654531 0015573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::module_from_name is_singleton: true name: module_from_name params: (name, lenient = false) visibility: public ri/1.8/system/SOAP/Mapping/cdesc-Mapping.yaml 0000644 00000006301 15217654531 0014514 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: _obj2soap - !ruby/object:RI::MethodSummary name: _soap2obj - !ruby/object:RI::MethodSummary name: add_md_ary - !ruby/object:RI::MethodSummary name: ary2md - !ruby/object:RI::MethodSummary name: ary2soap - !ruby/object:RI::MethodSummary name: class2element - !ruby/object:RI::MethodSummary name: class2qname - !ruby/object:RI::MethodSummary name: class_from_name - !ruby/object:RI::MethodSummary name: class_schema_variable - !ruby/object:RI::MethodSummary name: const_from_name - !ruby/object:RI::MethodSummary name: create_empty_object - !ruby/object:RI::MethodSummary name: create_empty_object - !ruby/object:RI::MethodSummary name: define_attr_accessor - !ruby/object:RI::MethodSummary name: define_singleton_method - !ruby/object:RI::MethodSummary name: elename2name - !ruby/object:RI::MethodSummary name: fault2exception - !ruby/object:RI::MethodSummary name: get_attribute - !ruby/object:RI::MethodSummary name: module_from_name - !ruby/object:RI::MethodSummary name: name2elename - !ruby/object:RI::MethodSummary name: obj2element - !ruby/object:RI::MethodSummary name: obj2soap - !ruby/object:RI::MethodSummary name: protect_threadvars - !ruby/object:RI::MethodSummary name: schema_attribute_definition - !ruby/object:RI::MethodSummary name: schema_element_definition - !ruby/object:RI::MethodSummary name: schema_ns_definition - !ruby/object:RI::MethodSummary name: schema_type_definition - !ruby/object:RI::MethodSummary name: set_attributes - !ruby/object:RI::MethodSummary name: soap2obj comment: constants: - !ruby/object:RI::Constant comment: name: RubyTypeNamespace value: "'http://www.ruby-lang.org/xmlns/ruby/type/1.6'" - !ruby/object:RI::Constant comment: name: RubyTypeInstanceNamespace value: "'http://www.ruby-lang.org/xmlns/ruby/type-instance'" - !ruby/object:RI::Constant comment: name: RubyCustomTypeNamespace value: "'http://www.ruby-lang.org/xmlns/ruby/type/custom'" - !ruby/object:RI::Constant comment: name: ApacheSOAPTypeNamespace value: "'http://xml.apache.org/xml-soap'" - !ruby/object:RI::Constant comment: name: EMPTY_OPT value: "{}" - !ruby/object:RI::Constant comment: name: MARSHAL_TAG value: "{ String => ['\"', 1], Regexp => ['/', 2], Array => ['[', 1], Hash => ['{', 1]" - !ruby/object:RI::Constant comment: name: RubyTypeName value: XSD::QName.new(RubyTypeInstanceNamespace, 'rubyType') - !ruby/object:RI::Constant comment: name: RubyExtendName value: XSD::QName.new(RubyTypeInstanceNamespace, 'extends') - !ruby/object:RI::Constant comment: name: RubyIVarName value: XSD::QName.new(RubyTypeInstanceNamespace, 'ivars') - !ruby/object:RI::Constant comment: name: DefaultRegistry value: Registry.new - !ruby/object:RI::Constant comment: name: RubyOriginalRegistry value: Registry.new(:allow_original_mapping => true) - !ruby/object:RI::Constant comment: name: MapQName value: XSD::QName.new(ApacheSOAPTypeNamespace, 'Map') full_name: SOAP::Mapping includes: [] instance_methods: [] name: Mapping superclass: ri/1.8/system/SOAP/Mapping/obj2soap-c.yaml 0000644 00000000341 15217654531 0013777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::obj2soap is_singleton: true name: obj2soap params: (obj, registry = nil, type = nil, opt = EMPTY_OPT) visibility: public ri/1.8/system/SOAP/Mapping/protect_threadvars-c.yaml 0000644 00000000331 15217654531 0016162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: full_name: SOAP::Mapping::protect_threadvars is_singleton: true name: protect_threadvars params: (*symbols) {|| ...} visibility: private ri/1.8/system/SOAP/Mapping/const_from_name-c.yaml 0000644 00000000324 15217654531 0015432 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::const_from_name is_singleton: true name: const_from_name params: (name, lenient = false) visibility: public ri/1.8/system/SOAP/Mapping/schema_type_definition-c.yaml 0000644 00000000322 15217654531 0016770 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::schema_type_definition is_singleton: true name: schema_type_definition params: (klass) visibility: public ri/1.8/system/SOAP/Mapping/RubytypeFactory/new-c.yaml 0000644 00000000303 15217654531 0016222 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::RubytypeFactory::new is_singleton: true name: new params: (config = {}) visibility: public ri/1.8/system/SOAP/Mapping/RubytypeFactory/anytype2obj-i.yaml 0000644 00000000330 15217654531 0017705 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::RubytypeFactory#anytype2obj is_singleton: false name: anytype2obj params: (node, info, map) visibility: private ri/1.8/system/SOAP/Mapping/RubytypeFactory/string2obj-i.yaml 0000644 00000000500 15217654531 0017521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Only creates empty string. Do String#replace it with real string. full_name: SOAP::Mapping::RubytypeFactory#string2obj is_singleton: false name: string2obj params: (node, map, rubytype) visibility: private ri/1.8/system/SOAP/Mapping/RubytypeFactory/rubytypestruct2obj-i.yaml 0000644 00000000360 15217654531 0021347 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::RubytypeFactory#rubytypestruct2obj is_singleton: false name: rubytypestruct2obj params: (node, info, map, rubytype) visibility: private ri/1.8/system/SOAP/Mapping/RubytypeFactory/unknownstruct2obj-i.yaml 0000644 00000000344 15217654531 0021165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::RubytypeFactory#unknownstruct2obj is_singleton: false name: unknownstruct2obj params: (node, info, map) visibility: private ri/1.8/system/SOAP/Mapping/RubytypeFactory/array2obj-i.yaml 0000644 00000000475 15217654531 0017344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Only creates empty array. Do String#replace it with real string. full_name: SOAP::Mapping::RubytypeFactory#array2obj is_singleton: false name: array2obj params: (node, map, rubytype) visibility: private ri/1.8/system/SOAP/Mapping/RubytypeFactory/cdesc-RubytypeFactory.yaml 0000644 00000004201 15217654531 0021444 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: TYPE_STRING value: XSD::QName.new(RubyTypeNamespace, 'String') - !ruby/object:RI::Constant comment: name: TYPE_TIME value: XSD::QName.new(RubyTypeNamespace, 'Time') - !ruby/object:RI::Constant comment: name: TYPE_ARRAY value: XSD::QName.new(RubyTypeNamespace, 'Array') - !ruby/object:RI::Constant comment: name: TYPE_REGEXP value: XSD::QName.new(RubyTypeNamespace, 'Regexp') - !ruby/object:RI::Constant comment: name: TYPE_RANGE value: XSD::QName.new(RubyTypeNamespace, 'Range') - !ruby/object:RI::Constant comment: name: TYPE_CLASS value: XSD::QName.new(RubyTypeNamespace, 'Class') - !ruby/object:RI::Constant comment: name: TYPE_MODULE value: XSD::QName.new(RubyTypeNamespace, 'Module') - !ruby/object:RI::Constant comment: name: TYPE_SYMBOL value: XSD::QName.new(RubyTypeNamespace, 'Symbol') - !ruby/object:RI::Constant comment: name: TYPE_STRUCT value: XSD::QName.new(RubyTypeNamespace, 'Struct') - !ruby/object:RI::Constant comment: name: TYPE_HASH value: XSD::QName.new(RubyTypeNamespace, 'Map') full_name: SOAP::Mapping::RubytypeFactory includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: addiv2soapattr - !ruby/object:RI::MethodSummary name: anytype2obj - !ruby/object:RI::MethodSummary name: array2obj - !ruby/object:RI::MethodSummary name: exception2obj - !ruby/object:RI::MethodSummary name: obj2soap - !ruby/object:RI::MethodSummary name: rubytype2obj - !ruby/object:RI::MethodSummary name: rubytypestruct2obj - !ruby/object:RI::MethodSummary name: singleton_methods_true - !ruby/object:RI::MethodSummary name: singleton_methods_true - !ruby/object:RI::MethodSummary name: soap2obj - !ruby/object:RI::MethodSummary name: string2obj - !ruby/object:RI::MethodSummary name: unknownobj2soap - !ruby/object:RI::MethodSummary name: unknownstruct2obj - !ruby/object:RI::MethodSummary name: unknowntype2obj name: RubytypeFactory superclass: Factory ri/1.8/system/SOAP/Mapping/RubytypeFactory/addiv2soapattr-i.yaml 0000644 00000000335 15217654531 0020373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::RubytypeFactory#addiv2soapattr is_singleton: false name: addiv2soapattr params: (node, obj, map) visibility: private ri/1.8/system/SOAP/Mapping/RubytypeFactory/soap2obj-i.yaml 0000644 00000000334 15217654531 0017162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::RubytypeFactory#soap2obj is_singleton: false name: soap2obj params: (obj_class, node, info, map) visibility: public ri/1.8/system/SOAP/Mapping/RubytypeFactory/exception2obj-i.yaml 0000644 00000000335 15217654531 0020217 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::RubytypeFactory#exception2obj is_singleton: false name: exception2obj params: (klass, node, map) visibility: private ri/1.8/system/SOAP/Mapping/RubytypeFactory/obj2soap-i.yaml 0000644 00000000334 15217654531 0017162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::RubytypeFactory#obj2soap is_singleton: false name: obj2soap params: (soap_class, obj, info, map) visibility: public ri/1.8/system/SOAP/Mapping/RubytypeFactory/rubytype2obj-i.yaml 0000644 00000000344 15217654531 0020104 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::RubytypeFactory#rubytype2obj is_singleton: false name: rubytype2obj params: (node, info, map, rubytype) visibility: private ri/1.8/system/SOAP/Mapping/RubytypeFactory/singleton_methods_true-i.yaml 0000644 00000000342 15217654531 0022226 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::RubytypeFactory#singleton_methods_true is_singleton: false name: singleton_methods_true params: (obj) visibility: private ri/1.8/system/SOAP/Mapping/RubytypeFactory/unknownobj2soap-i.yaml 0000644 00000000353 15217654531 0020603 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::RubytypeFactory#unknownobj2soap is_singleton: false name: unknownobj2soap params: (soap_class, obj, info, map) visibility: private ri/1.8/system/SOAP/Mapping/RubytypeFactory/unknowntype2obj-i.yaml 0000644 00000000340 15217654531 0020616 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Mapping::RubytypeFactory#unknowntype2obj is_singleton: false name: unknowntype2obj params: (node, info, map) visibility: private ri/1.8/system/SOAP/Property/referent-i.yaml 0000644 00000000266 15217654531 0014337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#referent is_singleton: false name: referent params: (ary) visibility: private ri/1.8/system/SOAP/Property/new-c.yaml 0000644 00000000250 15217654531 0013301 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SOAP/Property/local_hook-i.yaml 0000644 00000000304 15217654531 0014630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#local_hook is_singleton: false name: local_hook params: (key, direct) visibility: protected ri/1.8/system/SOAP/Property/loadproperty-c.yaml 0000644 00000000302 15217654531 0015232 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property::loadproperty is_singleton: true name: loadproperty params: (propname) visibility: public ri/1.8/system/SOAP/Property/assign-i.yaml 0000644 00000000271 15217654531 0014005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#assign is_singleton: false name: assign params: (ary, value) visibility: private ri/1.8/system/SOAP/Property/%3c%3c-i.yaml 0000644 00000000401 15217654531 0013361 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "value: an Object key is generated by property" full_name: SOAP::Property#<< is_singleton: false name: "<<" params: (value) visibility: public ri/1.8/system/SOAP/Property/loadproperty-i.yaml 0000644 00000000375 15217654531 0015252 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: find property from $:. full_name: SOAP::Property#loadproperty is_singleton: false name: loadproperty params: (propname) visibility: public ri/1.8/system/SOAP/Property/assign_hook-i.yaml 0000644 00000000314 15217654531 0015023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#assign_hook is_singleton: false name: assign_hook params: (ary, cascade, &hook) visibility: private ri/1.8/system/SOAP/Property/add_hook-i.yaml 0000644 00000000651 15217654531 0014273 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "name: a Symbol, String or an Array; nil means hook to the root cascade: true/false; for cascading hook of sub key hook: block which will be called with 2 args, name and value" full_name: SOAP::Property#add_hook is_singleton: false name: add_hook params: (name = nil, cascade = false, &hook) visibility: public ri/1.8/system/SOAP/Property/key_max-i.yaml 0000644 00000000261 15217654531 0014155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#key_max is_singleton: false name: key_max params: () visibility: private ri/1.8/system/SOAP/Property/deref_key-i.yaml 0000644 00000000272 15217654531 0014457 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#deref_key is_singleton: false name: deref_key params: (key) visibility: protected ri/1.8/system/SOAP/Property/load-c.yaml 0000644 00000000260 15217654531 0013430 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property::load is_singleton: true name: load params: (stream) visibility: public ri/1.8/system/SOAP/Property/to_key-i.yaml 0000644 00000000263 15217654531 0014014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#to_key is_singleton: false name: to_key params: (name) visibility: private ri/1.8/system/SOAP/Property/load-i.yaml 0000644 00000000260 15217654531 0013436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#load is_singleton: false name: load params: (stream) visibility: public ri/1.8/system/SOAP/Property/%5b%5d%3d-i.yaml 0000644 00000000417 15217654531 0013670 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "name: a Symbol, String or an Array value: an Object" full_name: SOAP::Property#[]= is_singleton: false name: "[]=" params: (name, value) visibility: public ri/1.8/system/SOAP/Property/loadstr-i.yaml 0000644 00000000264 15217654531 0014173 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#loadstr is_singleton: false name: loadstr params: (str) visibility: private ri/1.8/system/SOAP/Property/local_assign-i.yaml 0000644 00000000307 15217654531 0015157 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#local_assign is_singleton: false name: local_assign params: (key, value) visibility: protected ri/1.8/system/SOAP/Property/Util/const_from_name-i.yaml 0000644 00000000314 15217654531 0016605 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property::Util#const_from_name is_singleton: false name: const_from_name params: (fqname) visibility: public ri/1.8/system/SOAP/Property/Util/cdesc-Util.yaml 0000644 00000000462 15217654531 0015206 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::Property::Util includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: const_from_name - !ruby/object:RI::MethodSummary name: require_from_name name: Util superclass: ri/1.8/system/SOAP/Property/Util/require_from_name-i.yaml 0000644 00000000320 15217654531 0017130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property::Util#require_from_name is_singleton: false name: require_from_name params: (fqname) visibility: public ri/1.8/system/SOAP/Property/%5b%5d-i.yaml 0000644 00000000365 15217654531 0013376 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "name: a Symbol, String or an Array" full_name: SOAP::Property#[] is_singleton: false name: "[]" params: (name) visibility: public ri/1.8/system/SOAP/Property/name_to_a-i.yaml 0000644 00000000271 15217654531 0014443 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#name_to_a is_singleton: false name: name_to_a params: (name) visibility: private ri/1.8/system/SOAP/Property/values-i.yaml 0000644 00000000256 15217654531 0014023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#values is_singleton: false name: values params: () visibility: public ri/1.8/system/SOAP/Property/lock-i.yaml 0000644 00000000271 15217654531 0013451 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#lock is_singleton: false name: lock params: (cascade = false) visibility: public ri/1.8/system/SOAP/Property/locked%3f-i.yaml 0000644 00000000260 15217654531 0014256 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#locked? is_singleton: false name: locked? params: () visibility: public ri/1.8/system/SOAP/Property/unlock-i.yaml 0000644 00000000275 15217654531 0014020 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#unlock is_singleton: false name: unlock params: (cascade = false) visibility: public ri/1.8/system/SOAP/Property/each-i.yaml 0000644 00000000311 15217654531 0013414 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (key, value) comment: full_name: SOAP::Property#each is_singleton: false name: each params: () {|key, value| ...} visibility: public ri/1.8/system/SOAP/Property/local_referent-i.yaml 0000644 00000000304 15217654531 0015502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#local_referent is_singleton: false name: local_referent params: (key) visibility: protected ri/1.8/system/SOAP/Property/assign_self_hook-i.yaml 0000644 00000000321 15217654531 0016032 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#assign_self_hook is_singleton: false name: assign_self_hook params: (cascade, &hook) visibility: private ri/1.8/system/SOAP/Property/keys-i.yaml 0000644 00000000252 15217654531 0013473 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#keys is_singleton: false name: keys params: () visibility: public ri/1.8/system/SOAP/Property/loadpropertyfile-i.yaml 0000644 00000000307 15217654531 0016105 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#loadpropertyfile is_singleton: false name: loadpropertyfile params: (file) visibility: private ri/1.8/system/SOAP/Property/empty%3f-i.yaml 0000644 00000000256 15217654531 0014160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#empty? is_singleton: false name: empty? params: () visibility: public ri/1.8/system/SOAP/Property/cdesc-Property.yaml 0000644 00000006442 15217654531 0015204 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: load - !ruby/object:RI::MethodSummary name: loadproperty - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "Property stream format:" - !ruby/struct:SM::Flow::VERB body: " line separator is \\r?\\n. 1 line per a property.\n line which begins with '#' is a comment line. empty line is ignored, too.\n key/value separator is ':' or '='.\n '\\' as escape character. but line separator cannot be escaped.\n \\s at the head/tail of key/value are trimmed.\n\n '[' + key + ']' indicates property section. for example,\n\n [aaa.bbb]\n ccc = ddd\n eee.fff = ggg\n []\n aaa.hhh = iii\n\n is the same as;\n\n aaa.bbb.ccc = ddd\n aaa.bbb.eee.fff = ggg\n aaa.hhh = iii\n" constants: - !ruby/object:RI::Constant comment: name: FrozenError value: "(RUBY_VERSION >= \"1.9.0\") ? RuntimeError : TypeError" - !ruby/object:RI::Constant comment: name: KEY_REGSRC value: "'([^=:\\\\\\\\]*(?:\\\\\\\\.[^=:\\\\\\\\]*)*)'" - !ruby/object:RI::Constant comment: name: DEF_REGSRC value: "'\\\\s*' + KEY_REGSRC + '\\\\s*[=:]\\\\s*(.*)'" - !ruby/object:RI::Constant comment: name: COMMENT_REGEXP value: Regexp.new('^(?:#.*|)$') - !ruby/object:RI::Constant comment: name: CATDEF_REGEXP value: Regexp.new("^\\[\\s*#{KEY_REGSRC}\\s*\\]$") - !ruby/object:RI::Constant comment: name: LINE_REGEXP value: Regexp.new("^#{DEF_REGSRC}$") - !ruby/object:RI::Constant comment: name: NO_HOOK value: "[].freeze" full_name: SOAP::Property includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: add_hook - !ruby/object:RI::MethodSummary name: assign - !ruby/object:RI::MethodSummary name: assign_hook - !ruby/object:RI::MethodSummary name: assign_self_hook - !ruby/object:RI::MethodSummary name: check_lock - !ruby/object:RI::MethodSummary name: deref_key - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: each_key - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: generate_new_key - !ruby/object:RI::MethodSummary name: key_max - !ruby/object:RI::MethodSummary name: keys - !ruby/object:RI::MethodSummary name: load - !ruby/object:RI::MethodSummary name: loadproperty - !ruby/object:RI::MethodSummary name: loadpropertyfile - !ruby/object:RI::MethodSummary name: loadstr - !ruby/object:RI::MethodSummary name: local_assign - !ruby/object:RI::MethodSummary name: local_assign_hook - !ruby/object:RI::MethodSummary name: local_hook - !ruby/object:RI::MethodSummary name: local_referent - !ruby/object:RI::MethodSummary name: lock - !ruby/object:RI::MethodSummary name: locked? - !ruby/object:RI::MethodSummary name: name_to_a - !ruby/object:RI::MethodSummary name: propkey? - !ruby/object:RI::MethodSummary name: referent - !ruby/object:RI::MethodSummary name: to_key - !ruby/object:RI::MethodSummary name: unlock - !ruby/object:RI::MethodSummary name: values name: Property superclass: Object ri/1.8/system/SOAP/Property/each_key-i.yaml 0000644 00000000310 15217654531 0014263 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (value) comment: full_name: SOAP::Property#each_key is_singleton: false name: each_key params: () {|value| ...} visibility: private ri/1.8/system/SOAP/Property/check_lock-i.yaml 0000644 00000000272 15217654531 0014607 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#check_lock is_singleton: false name: check_lock params: (key) visibility: private ri/1.8/system/SOAP/Property/propkey%3f-i.yaml 0000644 00000000270 15217654531 0014507 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#propkey? is_singleton: false name: propkey? params: (value) visibility: private ri/1.8/system/SOAP/Property/local_assign_hook-i.yaml 0000644 00000000332 15217654531 0016175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#local_assign_hook is_singleton: false name: local_assign_hook params: (key, cascade, &hook) visibility: protected ri/1.8/system/SOAP/Property/generate_new_key-i.yaml 0000644 00000000303 15217654531 0016030 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Property#generate_new_key is_singleton: false name: generate_new_key params: () visibility: private ri/1.8/system/SOAP/SOAPBody/new-c.yaml 0000644 00000000304 15217654531 0013035 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPBody::new is_singleton: true name: new params: (data = nil, is_fault = false) visibility: public ri/1.8/system/SOAP/SOAPBody/fault%3d-i.yaml 0000644 00000000263 15217654531 0013665 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPBody#fault= is_singleton: false name: fault= params: (fault) visibility: public ri/1.8/system/SOAP/SOAPBody/fault-i.yaml 0000644 00000000254 15217654531 0013371 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPBody#fault is_singleton: false name: fault params: () visibility: public ri/1.8/system/SOAP/SOAPBody/cdesc-SOAPBody.yaml 0000644 00000001360 15217654531 0014466 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Add method definitions for RPC to common definition in element.rb constants: [] full_name: SOAP::SOAPBody includes: - !ruby/object:RI::IncludedModule name: SOAPEnvelopeElement instance_methods: - !ruby/object:RI::MethodSummary name: encode - !ruby/object:RI::MethodSummary name: fault - !ruby/object:RI::MethodSummary name: fault= - !ruby/object:RI::MethodSummary name: outparams - !ruby/object:RI::MethodSummary name: request - !ruby/object:RI::MethodSummary name: response - !ruby/object:RI::MethodSummary name: root_node name: SOAPBody superclass: SOAPStruct ri/1.8/system/SOAP/SOAPBody/root_node-i.yaml 0000644 00000000264 15217654531 0014247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPBody#root_node is_singleton: false name: root_node params: () visibility: public ri/1.8/system/SOAP/SOAPBody/response-i.yaml 0000644 00000000262 15217654531 0014113 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPBody#response is_singleton: false name: response params: () visibility: public ri/1.8/system/SOAP/SOAPBody/request-i.yaml 0000644 00000000260 15217654531 0013743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPBody#request is_singleton: false name: request params: () visibility: public ri/1.8/system/SOAP/SOAPBody/encode-i.yaml 0000644 00000000334 15217654531 0013512 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (@data) comment: full_name: SOAP::SOAPBody#encode is_singleton: false name: encode params: (generator, ns, attrs = {}) {|@data| ...} visibility: public ri/1.8/system/SOAP/SOAPBody/outparams-i.yaml 0000644 00000000264 15217654531 0014272 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPBody#outparams is_singleton: false name: outparams params: () visibility: public ri/1.8/system/SOAP/Error/cdesc-Error.yaml 0000644 00000000304 15217654531 0013705 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::Error includes: [] instance_methods: [] name: Error superclass: StandardError ri/1.8/system/SOAP/SOAPRawString/cdesc-SOAPRawString.yaml 0000644 00000000774 15217654531 0016544 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: SOAPRawString is for sending raw string. In contrast to SOAPString, SOAP4R does not do XML encoding and does not convert its CES. The string it holds is embedded to XML instance directly as a 'xsd:string'. constants: [] full_name: SOAP::SOAPRawString includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPRawString superclass: XSD::XSDString ri/1.8/system/SOAP/WSDLDriverFactory/new-c.yaml 0000644 00000000265 15217654531 0014740 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriverFactory::new is_singleton: true name: new params: (wsdl) visibility: public ri/1.8/system/SOAP/WSDLDriverFactory/filter_parts-i.yaml 0000644 00000000331 15217654531 0016645 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriverFactory#filter_parts is_singleton: false name: filter_parts params: (partsdef, partssource) visibility: private ri/1.8/system/SOAP/WSDLDriverFactory/add_operation-i.yaml 0000644 00000000317 15217654531 0016763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriverFactory#add_operation is_singleton: false name: add_operation params: (drv, port) visibility: private ri/1.8/system/SOAP/WSDLDriverFactory/create_driver-i.yaml 0000644 00000000523 15217654531 0016770 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: createDriver block_params: comment: - !ruby/struct:SM::Flow::P body: depricated old interface full_name: SOAP::WSDLDriverFactory#create_driver is_singleton: false name: create_driver params: (servicename = nil, portname = nil) visibility: public ri/1.8/system/SOAP/WSDLDriverFactory/init_driver-i.yaml 0000644 00000000313 15217654531 0016465 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriverFactory#init_driver is_singleton: false name: init_driver params: (drv, port) visibility: private ri/1.8/system/SOAP/WSDLDriverFactory/cdesc-WSDLDriverFactory.yaml 0000644 00000001703 15217654531 0020261 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: wsdl rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::WSDLDriverFactory includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_operation - !ruby/object:RI::MethodSummary name: createDriver - !ruby/object:RI::MethodSummary name: create_driver - !ruby/object:RI::MethodSummary name: create_param_def - !ruby/object:RI::MethodSummary name: create_rpc_driver - !ruby/object:RI::MethodSummary name: filter_parts - !ruby/object:RI::MethodSummary name: find_port - !ruby/object:RI::MethodSummary name: import - !ruby/object:RI::MethodSummary name: init_driver - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: param_def - !ruby/object:RI::MethodSummary name: partqname name: WSDLDriverFactory superclass: Object ri/1.8/system/SOAP/WSDLDriverFactory/partqname-i.yaml 0000644 00000000302 15217654531 0016135 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriverFactory#partqname is_singleton: false name: partqname params: (part) visibility: private ri/1.8/system/SOAP/WSDLDriverFactory/inspect-i.yaml 0000644 00000000271 15217654531 0015617 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriverFactory#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/SOAP/WSDLDriverFactory/createDriver-i.yaml 0000644 00000000443 15217654531 0016572 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #create_driver" full_name: SOAP::WSDLDriverFactory#createDriver is_singleton: false name: createDriver params: (servicename = nil, portname = nil) visibility: public ri/1.8/system/SOAP/WSDLDriverFactory/import-i.yaml 0000644 00000000300 15217654531 0015455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriverFactory#import is_singleton: false name: import params: (location) visibility: private ri/1.8/system/SOAP/WSDLDriverFactory/create_rpc_driver-i.yaml 0000644 00000000356 15217654531 0017640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriverFactory#create_rpc_driver is_singleton: false name: create_rpc_driver params: (servicename = nil, portname = nil) visibility: public ri/1.8/system/SOAP/WSDLDriverFactory/param_def-i.yaml 0000644 00000000332 15217654531 0016066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriverFactory#param_def is_singleton: false name: param_def params: (type, name, klass, partqname) visibility: private ri/1.8/system/SOAP/WSDLDriverFactory/FactoryError/cdesc-FactoryError.yaml 0000644 00000000345 15217654531 0022047 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::WSDLDriverFactory::FactoryError includes: [] instance_methods: [] name: FactoryError superclass: StandardError ri/1.8/system/SOAP/WSDLDriverFactory/create_param_def-i.yaml 0000644 00000000323 15217654531 0017411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriverFactory#create_param_def is_singleton: false name: create_param_def params: (op_bind) visibility: private ri/1.8/system/SOAP/WSDLDriverFactory/find_port-i.yaml 0000644 00000000337 15217654531 0016141 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::WSDLDriverFactory#find_port is_singleton: false name: find_port params: (servicename = nil, portname = nil) visibility: private ri/1.8/system/SOAP/Processor/cdesc-Processor.yaml 0000644 00000001026 15217654531 0015463 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: create_generator - !ruby/object:RI::MethodSummary name: create_parser - !ruby/object:RI::MethodSummary name: default_parser_option - !ruby/object:RI::MethodSummary name: default_parser_option= - !ruby/object:RI::MethodSummary name: marshal - !ruby/object:RI::MethodSummary name: unmarshal comment: constants: [] full_name: SOAP::Processor includes: [] instance_methods: [] name: Processor superclass: ri/1.8/system/SOAP/Processor/marshal-c.yaml 0000644 00000000310 15217654531 0014267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Processor::marshal is_singleton: true name: marshal params: (env, opt = {}, io = nil) visibility: public ri/1.8/system/SOAP/Processor/unmarshal-c.yaml 0000644 00000000305 15217654531 0014636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Processor::unmarshal is_singleton: true name: unmarshal params: (stream, opt = {}) visibility: public ri/1.8/system/SOAP/Processor/default_parser_option%3d-c.yaml 0000644 00000000322 15217654531 0017527 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Processor::default_parser_option= is_singleton: true name: default_parser_option= params: (rhs) visibility: public ri/1.8/system/SOAP/Processor/create_generator-c.yaml 0000644 00000000307 15217654531 0016157 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Processor::create_generator is_singleton: true name: create_generator params: (opt) visibility: private ri/1.8/system/SOAP/Processor/default_parser_option-c.yaml 0000644 00000000315 15217654531 0017235 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Processor::default_parser_option is_singleton: true name: default_parser_option params: () visibility: public ri/1.8/system/SOAP/Processor/create_parser-c.yaml 0000644 00000000301 15217654531 0015457 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Processor::create_parser is_singleton: true name: create_parser params: (opt) visibility: private ri/1.8/system/SOAP/SOAPHeader/new-c.yaml 0000644 00000000252 15217654531 0013332 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPHeader::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SOAP/SOAPHeader/cdesc-SOAPHeader.yaml 0000644 00000000756 15217654531 0015264 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::SOAPHeader includes: - !ruby/object:RI::IncludedModule name: SOAPEnvelopeElement instance_methods: - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: encode - !ruby/object:RI::MethodSummary name: length - !ruby/object:RI::MethodSummary name: size name: SOAPHeader superclass: SOAPStruct ri/1.8/system/SOAP/SOAPHeader/size-i.yaml 0000644 00000000344 15217654531 0013523 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #length" full_name: SOAP::SOAPHeader#size is_singleton: false name: size params: () visibility: public ri/1.8/system/SOAP/SOAPHeader/encode-i.yaml 0000644 00000000334 15217654531 0014005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (data) comment: full_name: SOAP::SOAPHeader#encode is_singleton: false name: encode params: (generator, ns, attrs = {}) {|data| ...} visibility: public ri/1.8/system/SOAP/SOAPHeader/length-i.yaml 0000644 00000000330 15217654531 0014025 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: size block_params: comment: full_name: SOAP::SOAPHeader#length is_singleton: false name: length params: () visibility: public ri/1.8/system/SOAP/SOAPHeader/add-i.yaml 0000644 00000000265 15217654531 0013303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPHeader#add is_singleton: false name: add params: (name, value) visibility: public ri/1.8/system/SOAP/SOAPFault/faultactor%3d-i.yaml 0000644 00000000274 15217654531 0015076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPFault#faultactor= is_singleton: false name: faultactor= params: (rhs) visibility: public ri/1.8/system/SOAP/SOAPFault/new-c.yaml 0000644 00000000353 15217654531 0013217 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPFault::new is_singleton: true name: new params: (faultcode = nil, faultstring = nil, faultactor = nil, detail = nil) visibility: public ri/1.8/system/SOAP/SOAPFault/cdesc-SOAPFault.yaml 0000644 00000001476 15217654531 0015032 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::SOAPFault includes: - !ruby/object:RI::IncludedModule name: SOAPEnvelopeElement - !ruby/object:RI::IncludedModule name: SOAPCompoundtype instance_methods: - !ruby/object:RI::MethodSummary name: detail - !ruby/object:RI::MethodSummary name: detail= - !ruby/object:RI::MethodSummary name: encode - !ruby/object:RI::MethodSummary name: faultactor - !ruby/object:RI::MethodSummary name: faultactor= - !ruby/object:RI::MethodSummary name: faultcode - !ruby/object:RI::MethodSummary name: faultcode= - !ruby/object:RI::MethodSummary name: faultstring - !ruby/object:RI::MethodSummary name: faultstring= name: SOAPFault superclass: SOAPStruct ri/1.8/system/SOAP/SOAPFault/faultstring-i.yaml 0000644 00000000271 15217654531 0014775 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPFault#faultstring is_singleton: false name: faultstring params: () visibility: public ri/1.8/system/SOAP/SOAPFault/faultcode%3d-i.yaml 0000644 00000000272 15217654531 0014676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPFault#faultcode= is_singleton: false name: faultcode= params: (rhs) visibility: public ri/1.8/system/SOAP/SOAPFault/encode-i.yaml 0000644 00000000357 15217654531 0013675 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (self.faultcode) comment: full_name: SOAP::SOAPFault#encode is_singleton: false name: encode params: (generator, ns, attrs = {}) {|self.faultcode| ...} visibility: public ri/1.8/system/SOAP/SOAPFault/faultcode-i.yaml 0000644 00000000265 15217654531 0014404 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPFault#faultcode is_singleton: false name: faultcode params: () visibility: public ri/1.8/system/SOAP/SOAPFault/detail%3d-i.yaml 0000644 00000000264 15217654531 0014173 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPFault#detail= is_singleton: false name: detail= params: (rhs) visibility: public ri/1.8/system/SOAP/SOAPFault/faultactor-i.yaml 0000644 00000000267 15217654531 0014604 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPFault#faultactor is_singleton: false name: faultactor params: () visibility: public ri/1.8/system/SOAP/SOAPFault/faultstring%3d-i.yaml 0000644 00000000276 15217654531 0015276 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPFault#faultstring= is_singleton: false name: faultstring= params: (rhs) visibility: public ri/1.8/system/SOAP/SOAPFault/detail-i.yaml 0000644 00000000257 15217654531 0013701 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPFault#detail is_singleton: false name: detail params: () visibility: public ri/1.8/system/SOAP/SOAPFloat/cdesc-SOAPFloat.yaml 0000644 00000000401 15217654531 0015001 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPFloat includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPFloat superclass: XSD::XSDFloat ri/1.8/system/SOAP/SOAPUnsignedInt/cdesc-SOAPUnsignedInt.yaml 0000644 00000000423 15217654531 0017351 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPUnsignedInt includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPUnsignedInt superclass: XSD::XSDUnsignedInt ri/1.8/system/SOAP/SOAPAnySimpleType/cdesc-SOAPAnySimpleType.yaml 0000644 00000000516 15217654531 0020204 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Basic datatypes. constants: [] full_name: SOAP::SOAPAnySimpleType includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPAnySimpleType superclass: XSD::XSDAnySimpleType ri/1.8/system/SOAP/start-i.yaml 0000644 00000000275 15217654531 0012036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (worker) comment: full_name: SOAP#start is_singleton: false name: start params: (url) {|worker| ...} visibility: private ri/1.8/system/SOAP/set_cookie_store-i.yaml 0000644 00000000300 15217654531 0014226 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP#set_cookie_store is_singleton: false name: set_cookie_store params: (filename) visibility: public ri/1.8/system/SOAP/SOAPBasetype/new-c.yaml 0000644 00000000260 15217654531 0013715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPBasetype::new is_singleton: true name: new params: (*arg) visibility: public ri/1.8/system/SOAP/SOAPBasetype/cdesc-SOAPBasetype.yaml 0000644 00000000610 15217654531 0016221 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: for SOAP base type constants: [] full_name: SOAP::SOAPBasetype includes: - !ruby/object:RI::IncludedModule name: SOAPType - !ruby/object:RI::IncludedModule name: SOAP instance_methods: [] name: SOAPBasetype superclass: ri/1.8/system/SOAP/HTTPStreamHandler/new-c.yaml 0000644 00000000270 15217654531 0014710 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::HTTPStreamHandler::new is_singleton: true name: new params: (options) visibility: public ri/1.8/system/SOAP/HTTPStreamHandler/send_post-i.yaml 0000644 00000000336 15217654531 0016126 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::HTTPStreamHandler#send_post is_singleton: false name: send_post params: (endpoint_url, conn_data, charset) visibility: private ri/1.8/system/SOAP/HTTPStreamHandler/send-i.yaml 0000644 00000000360 15217654531 0015056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::HTTPStreamHandler#send is_singleton: false name: send params: (endpoint_url, conn_data, soapaction = nil, charset = @charset) visibility: public ri/1.8/system/SOAP/HTTPStreamHandler/set_cookie_store_file-i.yaml 0000644 00000000333 15217654531 0020464 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::HTTPStreamHandler#set_cookie_store_file is_singleton: false name: set_cookie_store_file params: (value) visibility: private ri/1.8/system/SOAP/HTTPStreamHandler/decode_gzip-i.yaml 0000644 00000000312 15217654531 0016376 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::HTTPStreamHandler#decode_gzip is_singleton: false name: decode_gzip params: (instring) visibility: private ri/1.8/system/SOAP/HTTPStreamHandler/reset-i.yaml 0000644 00000000307 15217654531 0015250 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::HTTPStreamHandler#reset is_singleton: false name: reset params: (endpoint_url = nil) visibility: public ri/1.8/system/SOAP/HTTPStreamHandler/set_options-i.yaml 0000644 00000000302 15217654531 0016467 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::HTTPStreamHandler#set_options is_singleton: false name: set_options params: () visibility: private ri/1.8/system/SOAP/HTTPStreamHandler/cdesc-HTTPStreamHandler.yaml 0000644 00000002601 15217654531 0020207 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: client rw: R - !ruby/object:RI::Attribute comment: name: wiredump_file_base rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Client value: HTTPAccess2::Client - !ruby/object:RI::Constant comment: name: RETRYABLE value: "true" - !ruby/object:RI::Constant comment: name: Client value: SOAP::NetHttpClient - !ruby/object:RI::Constant comment: name: RETRYABLE value: "false" - !ruby/object:RI::Constant comment: name: MAX_RETRY_COUNT value: "10" full_name: SOAP::HTTPStreamHandler includes: - !ruby/object:RI::IncludedModule name: SOAP instance_methods: - !ruby/object:RI::MethodSummary name: accept_encoding_gzip= - !ruby/object:RI::MethodSummary name: decode_gzip - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: reset - !ruby/object:RI::MethodSummary name: send - !ruby/object:RI::MethodSummary name: send_accept_encoding_gzip? - !ruby/object:RI::MethodSummary name: send_post - !ruby/object:RI::MethodSummary name: set_cookie_store_file - !ruby/object:RI::MethodSummary name: set_options - !ruby/object:RI::MethodSummary name: test_loopback_response name: HTTPStreamHandler superclass: StreamHandler ri/1.8/system/SOAP/HTTPStreamHandler/send_accept_encoding_gzip%3f-i.yaml 0000644 00000000340 15217654531 0021570 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::HTTPStreamHandler#send_accept_encoding_gzip? is_singleton: false name: send_accept_encoding_gzip? params: () visibility: private ri/1.8/system/SOAP/HTTPStreamHandler/inspect-i.yaml 0000644 00000000271 15217654531 0015573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::HTTPStreamHandler#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/SOAP/HTTPStreamHandler/accept_encoding_gzip%3d-i.yaml 0000644 00000000332 15217654531 0020556 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::HTTPStreamHandler#accept_encoding_gzip= is_singleton: false name: accept_encoding_gzip= params: (allow) visibility: public ri/1.8/system/SOAP/HTTPStreamHandler/test_loopback_response-i.yaml 0000644 00000000327 15217654531 0020677 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::HTTPStreamHandler#test_loopback_response is_singleton: false name: test_loopback_response params: () visibility: public ri/1.8/system/SOAP/EmptyResponseError/cdesc-EmptyResponseError.yaml 0000644 00000000326 15217654531 0021205 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::EmptyResponseError includes: [] instance_methods: [] name: EmptyResponseError superclass: Error ri/1.8/system/SOAP/SOAPQName/cdesc-SOAPQName.yaml 0000644 00000000401 15217654531 0014671 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPQName includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPQName superclass: XSD::XSDQName ri/1.8/system/SOAP/SOAPNil/cdesc-SOAPNil.yaml 0000644 00000000373 15217654531 0014143 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPNil includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPNil superclass: XSD::XSDNil ri/1.8/system/SOAP/SOAPUnsignedByte/cdesc-SOAPUnsignedByte.yaml 0000644 00000000426 15217654531 0017676 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPUnsignedByte includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPUnsignedByte superclass: XSD::XSDUnsignedByte ri/1.8/system/SOAP/SOAPAnyURI/cdesc-SOAPAnyURI.yaml 0000644 00000000404 15217654531 0015110 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPAnyURI includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPAnyURI superclass: XSD::XSDAnyURI ri/1.8/system/SOAP/SOAPHexBinary/cdesc-SOAPHexBinary.yaml 0000644 00000000415 15217654531 0016456 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPHexBinary includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPHexBinary superclass: XSD::XSDHexBinary ri/1.8/system/SOAP/PostUnavailableError/cdesc-PostUnavailableError.yaml 0000644 00000000344 15217654531 0021735 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::PostUnavailableError includes: [] instance_methods: [] name: PostUnavailableError superclass: HTTPStreamError ri/1.8/system/SOAP/cdesc-SOAP.yaml 0000644 00000016545 15217654531 0012303 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: connect_timeout rw: RW - !ruby/object:RI::Attribute comment: name: debug_dev rw: RW - !ruby/object:RI::Attribute comment: name: no_proxy rw: RW - !ruby/object:RI::Attribute comment: name: protocol_version rw: RW - !ruby/object:RI::Attribute comment: name: proxy rw: R - !ruby/object:RI::Attribute comment: name: receive_timeout rw: RW - !ruby/object:RI::Attribute comment: name: send_timeout rw: RW - !ruby/object:RI::Attribute comment: name: ssl_config rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: This program is copyrighted free software by NAKAMURA, Hiroshi. You can redistribute it and/or modify it under the same terms of Ruby's license; either the dual license version in 2003, or any later version. constants: - !ruby/object:RI::Constant comment: name: TypeMap value: "{ XSD::XSDAnySimpleType::Type => SOAPAnySimpleType, XSD::XSDString::Type => SOAPString, XSD::XSDBoolean::Type => SOAPBoolean, XSD::XSDDecimal::Type => SOAPDecimal, XSD::XSDFloat::Type => SOAPFloat, XSD::XSDDouble::Type => SOAPDouble, XSD::XSDDuration::Type => SOAPDuration, XSD::XSDDateTime::Type => SOAPDateTime, XSD::XSDTime::Type => SOAPTime, XSD::XSDDate::Type => SOAPDate, XSD::XSDGYearMonth::Type => SOAPGYearMonth, XSD::XSDGYear::Type => SOAPGYear, XSD::XSDGMonthDay::Type => SOAPGMonthDay, XSD::XSDGDay::Type => SOAPGDay, XSD::XSDGMonth::Type => SOAPGMonth, XSD::XSDHexBinary::Type => SOAPHexBinary, XSD::XSDBase64Binary::Type => SOAPBase64, XSD::XSDAnyURI::Type => SOAPAnyURI, XSD::XSDQName::Type => SOAPQName, XSD::XSDInteger::Type => SOAPInteger, XSD::XSDNonPositiveInteger::Type => SOAPNonPositiveInteger, XSD::XSDNegativeInteger::Type => SOAPNegativeInteger, XSD::XSDLong::Type => SOAPLong, XSD::XSDInt::Type => SOAPInt, XSD::XSDShort::Type => SOAPShort, XSD::XSDByte::Type => SOAPByte, XSD::XSDNonNegativeInteger::Type => SOAPNonNegativeInteger, XSD::XSDUnsignedLong::Type => SOAPUnsignedLong, XSD::XSDUnsignedInt::Type => SOAPUnsignedInt, XSD::XSDUnsignedShort::Type => SOAPUnsignedShort, XSD::XSDUnsignedByte::Type => SOAPUnsignedByte, XSD::XSDPositiveInteger::Type => SOAPPositiveInteger, SOAP::SOAPBase64::Type => SOAPBase64, }" - !ruby/object:RI::Constant comment: name: VERSION value: Version = '1.5.5' - !ruby/object:RI::Constant comment: name: PropertyName value: "'soap/property'" - !ruby/object:RI::Constant comment: name: EnvelopeNamespace value: "'http://schemas.xmlsoap.org/soap/envelope/'" - !ruby/object:RI::Constant comment: name: EncodingNamespace value: "'http://schemas.xmlsoap.org/soap/encoding/'" - !ruby/object:RI::Constant comment: name: LiteralNamespace value: "'http://xml.apache.org/xml-soap/literalxml'" - !ruby/object:RI::Constant comment: name: NextActor value: "'http://schemas.xmlsoap.org/soap/actor/next'" - !ruby/object:RI::Constant comment: name: EleEnvelope value: "'Envelope'" - !ruby/object:RI::Constant comment: name: EleHeader value: "'Header'" - !ruby/object:RI::Constant comment: name: EleBody value: "'Body'" - !ruby/object:RI::Constant comment: name: EleFault value: "'Fault'" - !ruby/object:RI::Constant comment: name: EleFaultString value: "'faultstring'" - !ruby/object:RI::Constant comment: name: EleFaultActor value: "'faultactor'" - !ruby/object:RI::Constant comment: name: EleFaultCode value: "'faultcode'" - !ruby/object:RI::Constant comment: name: EleFaultDetail value: "'detail'" - !ruby/object:RI::Constant comment: name: AttrMustUnderstand value: "'mustUnderstand'" - !ruby/object:RI::Constant comment: name: AttrEncodingStyle value: "'encodingStyle'" - !ruby/object:RI::Constant comment: name: AttrActor value: "'actor'" - !ruby/object:RI::Constant comment: name: AttrRoot value: "'root'" - !ruby/object:RI::Constant comment: name: AttrArrayType value: "'arrayType'" - !ruby/object:RI::Constant comment: name: AttrOffset value: "'offset'" - !ruby/object:RI::Constant comment: name: AttrPosition value: "'position'" - !ruby/object:RI::Constant comment: name: ValueArray value: "'Array'" - !ruby/object:RI::Constant comment: name: EleEnvelopeName value: XSD::QName.new(EnvelopeNamespace, EleEnvelope).freeze - !ruby/object:RI::Constant comment: name: EleHeaderName value: XSD::QName.new(EnvelopeNamespace, EleHeader).freeze - !ruby/object:RI::Constant comment: name: EleBodyName value: XSD::QName.new(EnvelopeNamespace, EleBody).freeze - !ruby/object:RI::Constant comment: name: EleFaultName value: XSD::QName.new(EnvelopeNamespace, EleFault).freeze - !ruby/object:RI::Constant comment: name: EleFaultStringName value: XSD::QName.new(nil, EleFaultString).freeze - !ruby/object:RI::Constant comment: name: EleFaultActorName value: XSD::QName.new(nil, EleFaultActor).freeze - !ruby/object:RI::Constant comment: name: EleFaultCodeName value: XSD::QName.new(nil, EleFaultCode).freeze - !ruby/object:RI::Constant comment: name: EleFaultDetailName value: XSD::QName.new(nil, EleFaultDetail).freeze - !ruby/object:RI::Constant comment: name: AttrMustUnderstandName value: XSD::QName.new(EnvelopeNamespace, AttrMustUnderstand).freeze - !ruby/object:RI::Constant comment: name: AttrEncodingStyleName value: XSD::QName.new(EnvelopeNamespace, AttrEncodingStyle).freeze - !ruby/object:RI::Constant comment: name: AttrRootName value: XSD::QName.new(EncodingNamespace, AttrRoot).freeze - !ruby/object:RI::Constant comment: name: AttrArrayTypeName value: XSD::QName.new(EncodingNamespace, AttrArrayType).freeze - !ruby/object:RI::Constant comment: name: AttrOffsetName value: XSD::QName.new(EncodingNamespace, AttrOffset).freeze - !ruby/object:RI::Constant comment: name: AttrPositionName value: XSD::QName.new(EncodingNamespace, AttrPosition).freeze - !ruby/object:RI::Constant comment: name: ValueArrayName value: XSD::QName.new(EncodingNamespace, ValueArray).freeze - !ruby/object:RI::Constant comment: name: Base64Literal value: "'base64'" - !ruby/object:RI::Constant comment: name: SOAPNamespaceTag value: "'env'" - !ruby/object:RI::Constant comment: name: XSDNamespaceTag value: "'xsd'" - !ruby/object:RI::Constant comment: name: XSINamespaceTag value: "'xsi'" - !ruby/object:RI::Constant comment: name: MediaType value: "'text/xml'" - !ruby/object:RI::Constant comment: name: NO_PROXY_HOSTS value: "['localhost']" full_name: SOAP includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: create_connection - !ruby/object:RI::MethodSummary name: get_content - !ruby/object:RI::MethodSummary name: no_proxy? - !ruby/object:RI::MethodSummary name: post - !ruby/object:RI::MethodSummary name: proxy= - !ruby/object:RI::MethodSummary name: reset - !ruby/object:RI::MethodSummary name: reset_all - !ruby/object:RI::MethodSummary name: save_cookie_store - !ruby/object:RI::MethodSummary name: set_basic_auth - !ruby/object:RI::MethodSummary name: set_cookie_store - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: test_loopback_response name: SOAP superclass: ri/1.8/system/SOAP/SOAPNonPositiveInteger/cdesc-SOAPNonPositiveInteger.yaml 0000644 00000000450 15217654531 0022261 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPNonPositiveInteger includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPNonPositiveInteger superclass: XSD::XSDNonPositiveInteger ri/1.8/system/SOAP/SOAPBase64/new-c.yaml 0000644 00000000402 15217654531 0013163 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Override the definition in SOAPBasetype. full_name: SOAP::SOAPBase64::new is_singleton: true name: new params: (value = nil) visibility: public ri/1.8/system/SOAP/SOAPBase64/as_xsd-i.yaml 0000644 00000000260 15217654531 0013663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPBase64#as_xsd is_singleton: false name: as_xsd params: () visibility: public ri/1.8/system/SOAP/SOAPBase64/cdesc-SOAPBase64.yaml 0000644 00000000713 15217654531 0014745 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Type value: QName.new(EncodingNamespace, Base64Literal) full_name: SOAP::SOAPBase64 includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: - !ruby/object:RI::MethodSummary name: as_xsd name: SOAPBase64 superclass: XSD::XSDBase64Binary ri/1.8/system/SOAP/SessionManager/cdesc-SessionManager.yaml 0000644 00000000652 15217654531 0017365 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: connect_timeout rw: RW - !ruby/object:RI::Attribute comment: name: receive_timeout rw: RW - !ruby/object:RI::Attribute comment: name: send_timeout rw: RW class_methods: [] comment: constants: [] full_name: SOAP::SessionManager includes: [] instance_methods: [] name: SessionManager superclass: Object ri/1.8/system/SOAP/Parser/start_element-i.yaml 0000644 00000000305 15217654531 0014775 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Parser#start_element is_singleton: false name: start_element params: (name, attrs) visibility: public ri/1.8/system/SOAP/Parser/new-c.yaml 0000644 00000000256 15217654531 0012717 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Parser::new is_singleton: true name: new params: (opt = {}) visibility: public ri/1.8/system/SOAP/Parser/decode_tag-i.yaml 0000644 00000000333 15217654531 0014206 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Parser#decode_tag is_singleton: false name: decode_tag params: (ns, name, attrs, parent, encodingstyle) visibility: private ri/1.8/system/SOAP/Parser/find_handler-i.yaml 0000644 00000000306 15217654531 0014545 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Parser#find_handler is_singleton: false name: find_handler params: (encodingstyle) visibility: private ri/1.8/system/SOAP/Parser/decode_text-i.yaml 0000644 00000000316 15217654531 0014420 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Parser#decode_text is_singleton: false name: decode_text params: (ns, text, encodingstyle) visibility: private ri/1.8/system/SOAP/Parser/cdesc-Parser.yaml 0000644 00000002252 15217654531 0014217 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: allow_unqualified_element rw: RW - !ruby/object:RI::Attribute comment: name: decode_typemap rw: RW - !ruby/object:RI::Attribute comment: name: default_encodingstyle rw: RW - !ruby/object:RI::Attribute comment: name: envelopenamespace rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::Parser includes: - !ruby/object:RI::IncludedModule name: SOAP instance_methods: - !ruby/object:RI::MethodSummary name: characters - !ruby/object:RI::MethodSummary name: charset - !ruby/object:RI::MethodSummary name: decode_soap_envelope - !ruby/object:RI::MethodSummary name: decode_tag - !ruby/object:RI::MethodSummary name: decode_tag_end - !ruby/object:RI::MethodSummary name: decode_text - !ruby/object:RI::MethodSummary name: end_element - !ruby/object:RI::MethodSummary name: find_encodingstyle - !ruby/object:RI::MethodSummary name: find_handler - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: start_element name: Parser superclass: Object ri/1.8/system/SOAP/Parser/decode_tag_end-i.yaml 0000644 00000000324 15217654531 0015034 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Parser#decode_tag_end is_singleton: false name: decode_tag_end params: (ns, node, encodingstyle) visibility: private ri/1.8/system/SOAP/Parser/end_element-i.yaml 0000644 00000000272 15217654531 0014411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Parser#end_element is_singleton: false name: end_element params: (name) visibility: public ri/1.8/system/SOAP/Parser/ParseFrame/new-c.yaml 0000644 00000000317 15217654531 0014742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Parser::ParseFrame::new is_singleton: true name: new params: (ns, name, node, encodingstyle) visibility: public ri/1.8/system/SOAP/Parser/ParseFrame/node%3d-i.yaml 0000644 00000000272 15217654531 0015400 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Parser::ParseFrame#node= is_singleton: false name: node= params: (node) visibility: public ri/1.8/system/SOAP/Parser/ParseFrame/NodeContainer/new-c.yaml 0000644 00000000305 15217654531 0017467 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Parser::ParseFrame::NodeContainer::new is_singleton: true name: new params: (node) visibility: public ri/1.8/system/SOAP/Parser/ParseFrame/NodeContainer/replace_node-i.yaml 0000644 00000000327 15217654531 0021330 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Parser::ParseFrame::NodeContainer#replace_node is_singleton: false name: replace_node params: (node) visibility: public ri/1.8/system/SOAP/Parser/ParseFrame/NodeContainer/node-i.yaml 0000644 00000000303 15217654531 0017627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Parser::ParseFrame::NodeContainer#node is_singleton: false name: node params: () visibility: public ri/1.8/system/SOAP/Parser/ParseFrame/NodeContainer/cdesc-NodeContainer.yaml 0000644 00000000557 15217654531 0022276 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::Parser::ParseFrame::NodeContainer includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: node - !ruby/object:RI::MethodSummary name: replace_node name: NodeContainer superclass: Object ri/1.8/system/SOAP/Parser/ParseFrame/cdesc-ParseFrame.yaml 0000644 00000001047 15217654531 0017036 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: encodingstyle rw: R - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: node rw: R - !ruby/object:RI::Attribute comment: name: ns rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::Parser::ParseFrame includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: node= name: ParseFrame superclass: Object ri/1.8/system/SOAP/Parser/charset-i.yaml 0000644 00000000256 15217654531 0013565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Parser#charset is_singleton: false name: charset params: () visibility: public ri/1.8/system/SOAP/Parser/characters-i.yaml 0000644 00000000270 15217654531 0014247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Parser#characters is_singleton: false name: characters params: (text) visibility: public ri/1.8/system/SOAP/Parser/ParseError/cdesc-ParseError.yaml 0000644 00000000316 15217654531 0017132 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::Parser::ParseError includes: [] instance_methods: [] name: ParseError superclass: Error ri/1.8/system/SOAP/Parser/parse-i.yaml 0000644 00000000274 15217654531 0013246 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Parser#parse is_singleton: false name: parse params: (string_or_readable) visibility: public ri/1.8/system/SOAP/Parser/UnexpectedElementError/cdesc-UnexpectedElementError.yaml 0000644 00000000353 15217654531 0024043 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::Parser::UnexpectedElementError includes: [] instance_methods: [] name: UnexpectedElementError superclass: ParseError ri/1.8/system/SOAP/Parser/decode_soap_envelope-i.yaml 0000644 00000000337 15217654531 0016276 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Parser#decode_soap_envelope is_singleton: false name: decode_soap_envelope params: (ns, ele, attrs, parent) visibility: private ri/1.8/system/SOAP/Parser/FormatDecodeError/cdesc-FormatDecodeError.yaml 0000644 00000000341 15217654531 0021674 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::Parser::FormatDecodeError includes: [] instance_methods: [] name: FormatDecodeError superclass: ParseError ri/1.8/system/SOAP/Parser/find_encodingstyle-i.yaml 0000644 00000000316 15217654531 0016000 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::Parser#find_encodingstyle is_singleton: false name: find_encodingstyle params: (ns, attrs) visibility: private ri/1.8/system/SOAP/FaultError/new-c.yaml 0000644 00000000257 15217654531 0013551 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::FaultError::new is_singleton: true name: new params: (fault) visibility: public ri/1.8/system/SOAP/FaultError/to_s-i.yaml 0000644 00000000254 15217654531 0013727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::FaultError#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/SOAP/FaultError/cdesc-FaultError.yaml 0000644 00000001053 15217654531 0015677 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: detail rw: RW - !ruby/object:RI::Attribute comment: name: faultactor rw: R - !ruby/object:RI::Attribute comment: name: faultcode rw: R - !ruby/object:RI::Attribute comment: name: faultstring rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::FaultError includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_s name: FaultError superclass: Error ri/1.8/system/SOAP/reset_all-i.yaml 0000644 00000000252 15217654531 0012646 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP#reset_all is_singleton: false name: reset_all params: () visibility: public ri/1.8/system/SOAP/SOAPReference/new-c.yaml 0000644 00000000403 15217654531 0014036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Override the definition in SOAPBasetype. full_name: SOAP::SOAPReference::new is_singleton: true name: new params: (obj = nil) visibility: public ri/1.8/system/SOAP/SOAPReference/decode-c.yaml 0000644 00000000304 15217654531 0014470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPReference::decode is_singleton: true name: decode params: (elename, refidstr) visibility: public ri/1.8/system/SOAP/SOAPReference/refidstr-i.yaml 0000644 00000000267 15217654531 0015105 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPReference#refidstr is_singleton: false name: refidstr params: () visibility: public ri/1.8/system/SOAP/SOAPReference/create_refid-c.yaml 0000644 00000000302 15217654531 0015657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPReference::create_refid is_singleton: true name: create_refid params: (obj) visibility: public ri/1.8/system/SOAP/SOAPReference/method_missing-i.yaml 0000644 00000001050 15217654531 0016263 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Why don't I use delegate.rb? -> delegate requires target object type at initialize time. Why don't I use forwardable.rb? -> forwardable requires a list of forwarding methods. - !ruby/struct:SM::Flow::P body: "ToDo: Maybe I should use forwardable.rb and give it a methods list like delegate.rb..." full_name: SOAP::SOAPReference#method_missing is_singleton: false name: method_missing params: (msg_id, *params) visibility: public ri/1.8/system/SOAP/SOAPReference/__getobj__-i.yaml 0000644 00000000273 15217654531 0015326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPReference#__getobj__ is_singleton: false name: __getobj__ params: () visibility: public ri/1.8/system/SOAP/SOAPReference/cdesc-SOAPReference.yaml 0000644 00000001347 15217654531 0016475 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: refid rw: RW class_methods: - !ruby/object:RI::MethodSummary name: create_refid - !ruby/object:RI::MethodSummary name: decode - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Convenience datatypes. constants: [] full_name: SOAP::SOAPReference includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: - !ruby/object:RI::MethodSummary name: __getobj__ - !ruby/object:RI::MethodSummary name: __setobj__ - !ruby/object:RI::MethodSummary name: method_missing - !ruby/object:RI::MethodSummary name: refidstr name: SOAPReference superclass: XSD::NSDBase ri/1.8/system/SOAP/SOAPReference/__setobj__-i.yaml 0000644 00000000276 15217654531 0015345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPReference#__setobj__ is_singleton: false name: __setobj__ params: (obj) visibility: public ri/1.8/system/SOAP/SOAPElement/from_obj-c.yaml 0000644 00000000311 15217654531 0014533 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPElement::from_obj is_singleton: true name: from_obj params: (obj, namespace = nil) visibility: public ri/1.8/system/SOAP/SOAPElement/new-c.yaml 0000644 00000000276 15217654531 0013541 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPElement::new is_singleton: true name: new params: (elename, text = nil) visibility: public ri/1.8/system/SOAP/SOAPElement/decode-c.yaml 0000644 00000000270 15217654531 0014165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPElement::decode is_singleton: true name: decode params: (elename) visibility: public ri/1.8/system/SOAP/SOAPElement/key%3f-i.yaml 0000644 00000000261 15217654531 0014036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPElement#key? is_singleton: false name: key? params: (name) visibility: public ri/1.8/system/SOAP/SOAPElement/to_elename-c.yaml 0000644 00000000315 15217654531 0015052 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPElement::to_elename is_singleton: true name: to_elename params: (obj, namespace = nil) visibility: public ri/1.8/system/SOAP/SOAPElement/%5b%5d%3d-i.yaml 0000644 00000000266 15217654531 0014122 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPElement#[]= is_singleton: false name: "[]=" params: (idx, data) visibility: public ri/1.8/system/SOAP/SOAPElement/%5b%5d-i.yaml 0000644 00000000256 15217654531 0013625 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPElement#[] is_singleton: false name: "[]" params: (idx) visibility: public ri/1.8/system/SOAP/SOAPElement/add_accessor-i.yaml 0000644 00000000302 15217654531 0015356 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPElement#add_accessor is_singleton: false name: add_accessor params: (name) visibility: private ri/1.8/system/SOAP/SOAPElement/safe_accessor_name-i.yaml 0000644 00000000316 15217654531 0016551 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPElement#safe_accessor_name is_singleton: false name: safe_accessor_name params: (name) visibility: private ri/1.8/system/SOAP/SOAPElement/cdesc-SOAPElement.yaml 0000644 00000003521 15217654531 0015657 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: elename rw: RW - !ruby/object:RI::Attribute comment: name: encodingstyle rw: RW - !ruby/object:RI::Attribute comment: name: extraattr rw: RW - !ruby/object:RI::Attribute comment: name: id rw: RW - !ruby/object:RI::Attribute comment: name: parent rw: RW - !ruby/object:RI::Attribute comment: name: position rw: RW - !ruby/object:RI::Attribute comment: name: precedents rw: R - !ruby/object:RI::Attribute comment: name: qualified rw: RW - !ruby/object:RI::Attribute comment: name: root rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Text interface. name: text rw: RW class_methods: - !ruby/object:RI::MethodSummary name: decode - !ruby/object:RI::MethodSummary name: from_obj - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: to_elename comment: - !ruby/struct:SM::Flow::P body: SOAPElement is not typed so it is not derived from NSDBase. constants: [] full_name: SOAP::SOAPElement includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: add_accessor - !ruby/object:RI::MethodSummary name: add_accessor - !ruby/object:RI::MethodSummary name: add_member - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: key? - !ruby/object:RI::MethodSummary name: members - !ruby/object:RI::MethodSummary name: safe_accessor_name - !ruby/object:RI::MethodSummary name: to_obj name: SOAPElement superclass: Object ri/1.8/system/SOAP/SOAPElement/each-i.yaml 0000644 00000000346 15217654531 0013654 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (@array[idx], @data[idx]) comment: full_name: SOAP::SOAPElement#each is_singleton: false name: each params: () {|@array[idx], @data[idx]| ...} visibility: public ri/1.8/system/SOAP/SOAPElement/inspect-i.yaml 0000644 00000000263 15217654531 0014417 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPElement#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/SOAP/SOAPElement/to_obj-i.yaml 0000644 00000000261 15217654531 0014224 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPElement#to_obj is_singleton: false name: to_obj params: () visibility: public ri/1.8/system/SOAP/SOAPElement/add-i.yaml 0000644 00000000350 15217654531 0013477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Element interfaces. full_name: SOAP::SOAPElement#add is_singleton: false name: add params: (value) visibility: public ri/1.8/system/SOAP/SOAPElement/add_member-i.yaml 0000644 00000000305 15217654531 0015026 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPElement#add_member is_singleton: false name: add_member params: (name, value) visibility: private ri/1.8/system/SOAP/SOAPElement/members-i.yaml 0000644 00000000263 15217654531 0014404 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPElement#members is_singleton: false name: members params: () visibility: public ri/1.8/system/SOAP/get_content-i.yaml 0000644 00000000276 15217654531 0013213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP#get_content is_singleton: false name: get_content params: (url, header = {}) visibility: public ri/1.8/system/SOAP/SOAPInt/cdesc-SOAPInt.yaml 0000644 00000000373 15217654531 0014163 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPInt includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPInt superclass: XSD::XSDInt ri/1.8/system/SOAP/SOAPLong/cdesc-SOAPLong.yaml 0000644 00000000376 15217654531 0014500 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPLong includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPLong superclass: XSD::XSDLong ri/1.8/system/SOAP/SOAPUnsignedLong/cdesc-SOAPUnsignedLong.yaml 0000644 00000000426 15217654531 0017666 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPUnsignedLong includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPUnsignedLong superclass: XSD::XSDUnsignedLong ri/1.8/system/SOAP/create_connection-i.yaml 0000644 00000000276 15217654531 0014364 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP#create_connection is_singleton: false name: create_connection params: (url) visibility: private ri/1.8/system/SOAP/SOAPModuleUtils/cdesc-SOAPModuleUtils.yaml 0000644 00000000564 15217654531 0017415 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Mix-in module for SOAP base type classes. constants: [] full_name: SOAP::SOAPModuleUtils includes: - !ruby/object:RI::IncludedModule name: SOAP instance_methods: - !ruby/object:RI::MethodSummary name: decode name: SOAPModuleUtils superclass: ri/1.8/system/SOAP/SOAPModuleUtils/decode-i.yaml 0000644 00000000274 15217654531 0015054 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPModuleUtils#decode is_singleton: false name: decode params: (elename) visibility: public ri/1.8/system/SOAP/SOAPAttachment/new-c.yaml 0000644 00000000263 15217654531 0014234 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPAttachment::new is_singleton: true name: new params: (value) visibility: public ri/1.8/system/SOAP/SOAPAttachment/cdesc-SOAPAttachment.yaml 0000644 00000000577 15217654531 0017065 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: data rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::SOAPAttachment includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: external_contentid name: SOAPAttachment superclass: SOAPExternalReference ri/1.8/system/SOAP/SOAPAttachment/external_contentid-i.yaml 0000644 00000000315 15217654531 0017340 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPAttachment#external_contentid is_singleton: false name: external_contentid params: () visibility: private ri/1.8/system/SOAP/SOAPEnvelopeElement/cdesc-SOAPEnvelopeElement.yaml 0000644 00000000405 15217654531 0021051 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: SOAP elements constants: [] full_name: SOAP::SOAPEnvelopeElement includes: [] instance_methods: [] name: SOAPEnvelopeElement superclass: ri/1.8/system/SOAP/test_loopback_response-i.yaml 0000644 00000000304 15217654531 0015441 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP#test_loopback_response is_singleton: false name: test_loopback_response params: () visibility: public ri/1.8/system/SOAP/RPCRoutingError/cdesc-RPCRoutingError.yaml 0000644 00000000320 15217654531 0017535 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::RPCRoutingError includes: [] instance_methods: [] name: RPCRoutingError superclass: Error ri/1.8/system/SOAP/save_cookie_store-i.yaml 0000644 00000000302 15217654531 0014373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP#save_cookie_store is_singleton: false name: save_cookie_store params: (filename) visibility: public ri/1.8/system/SOAP/SOAPEnvelope/new-c.yaml 0000644 00000000304 15217654531 0013715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPEnvelope::new is_singleton: true name: new params: (header = nil, body = nil) visibility: public ri/1.8/system/SOAP/SOAPEnvelope/cdesc-SOAPEnvelope.yaml 0000644 00000001375 15217654531 0016234 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: body rw: R - !ruby/object:RI::Attribute comment: name: external_content rw: R - !ruby/object:RI::Attribute comment: name: header rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::SOAPEnvelope includes: - !ruby/object:RI::IncludedModule name: SOAPEnvelopeElement - !ruby/object:RI::IncludedModule name: SOAPCompoundtype instance_methods: - !ruby/object:RI::MethodSummary name: body= - !ruby/object:RI::MethodSummary name: encode - !ruby/object:RI::MethodSummary name: header= - !ruby/object:RI::MethodSummary name: to_ary name: SOAPEnvelope superclass: XSD::NSDBase ri/1.8/system/SOAP/SOAPEnvelope/encode-i.yaml 0000644 00000000344 15217654531 0014373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (@header) comment: full_name: SOAP::SOAPEnvelope#encode is_singleton: false name: encode params: (generator, ns, attrs = {}) {|@header| ...} visibility: public ri/1.8/system/SOAP/SOAPEnvelope/header%3d-i.yaml 0000644 00000000272 15217654531 0014662 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPEnvelope#header= is_singleton: false name: header= params: (header) visibility: public ri/1.8/system/SOAP/SOAPEnvelope/to_ary-i.yaml 0000644 00000000262 15217654531 0014432 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPEnvelope#to_ary is_singleton: false name: to_ary params: () visibility: public ri/1.8/system/SOAP/SOAPEnvelope/body%3d-i.yaml 0000644 00000000264 15217654531 0014370 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPEnvelope#body= is_singleton: false name: body= params: (body) visibility: public ri/1.8/system/SOAP/SOAPCompoundtype/new-c.yaml 0000644 00000000264 15217654531 0014633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPCompoundtype::new is_singleton: true name: new params: (*arg) visibility: public ri/1.8/system/SOAP/SOAPCompoundtype/cdesc-SOAPCompoundtype.yaml 0000644 00000000624 15217654531 0020052 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: for SOAP compound type constants: [] full_name: SOAP::SOAPCompoundtype includes: - !ruby/object:RI::IncludedModule name: SOAPType - !ruby/object:RI::IncludedModule name: SOAP instance_methods: [] name: SOAPCompoundtype superclass: ri/1.8/system/SOAP/SOAPBoolean/cdesc-SOAPBoolean.yaml 0000644 00000000407 15217654531 0015633 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPBoolean includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPBoolean superclass: XSD::XSDBoolean ri/1.8/system/SOAP/ArrayStoreError/cdesc-ArrayStoreError.yaml 0000644 00000000320 15217654531 0017733 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::ArrayStoreError includes: [] instance_methods: [] name: ArrayStoreError superclass: Error ri/1.8/system/SOAP/SOAPByte/cdesc-SOAPByte.yaml 0000644 00000000376 15217654531 0014510 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::SOAPByte includes: - !ruby/object:RI::IncludedModule name: SOAPBasetype instance_methods: [] name: SOAPByte superclass: XSD::XSDByte ri/1.8/system/SOAP/SOAPArray/new-c.yaml 0000644 00000000314 15217654531 0013217 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPArray::new is_singleton: true name: new params: (type = nil, rank = 1, arytype = nil) visibility: public ri/1.8/system/SOAP/SOAPArray/retrieve-i.yaml 0000644 00000000272 15217654531 0014264 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPArray#retrieve is_singleton: false name: retrieve params: (idxary) visibility: private ri/1.8/system/SOAP/SOAPArray/decode-c.yaml 0000644 00000000371 15217654531 0013654 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Module function full_name: SOAP::SOAPArray::decode is_singleton: true name: decode params: (elename, type, arytype) visibility: public ri/1.8/system/SOAP/SOAPArray/parse_type-c.yaml 0000644 00000000276 15217654531 0014610 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPArray::parse_type is_singleton: true name: parse_type params: (string) visibility: private ri/1.8/system/SOAP/SOAPArray/create_arytype-c.yaml 0000644 00000000316 15217654531 0015450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPArray::create_arytype is_singleton: true name: create_arytype params: (typename, rank) visibility: private ri/1.8/system/SOAP/SOAPArray/cdesc-SOAPArray.yaml 0000644 00000003563 15217654531 0015037 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: arytype rw: R - !ruby/object:RI::Attribute comment: name: offset rw: R - !ruby/object:RI::Attribute comment: name: rank rw: R - !ruby/object:RI::Attribute comment: name: size rw: RW - !ruby/object:RI::Attribute comment: name: size_fixed rw: RW - !ruby/object:RI::Attribute comment: name: sparse rw: RW class_methods: - !ruby/object:RI::MethodSummary name: create_arytype - !ruby/object:RI::MethodSummary name: decode - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: parse_type comment: constants: - !ruby/object:RI::Constant comment: name: ITEM_NAME value: XSD::QName.new(nil, 'item') - !ruby/object:RI::Constant comment: name: TypeParseRegexp value: Regexp.new('^(.+)\[([\d,]*)\]$') full_name: SOAP::SOAPArray includes: - !ruby/object:RI::IncludedModule name: SOAPCompoundtype - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: deep_map - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: include? - !ruby/object:RI::MethodSummary name: offset= - !ruby/object:RI::MethodSummary name: offsetnext - !ruby/object:RI::MethodSummary name: position - !ruby/object:RI::MethodSummary name: ranksize - !ruby/object:RI::MethodSummary name: replace - !ruby/object:RI::MethodSummary name: retrieve - !ruby/object:RI::MethodSummary name: soap2array - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: traverse - !ruby/object:RI::MethodSummary name: traverse_data name: SOAPArray superclass: XSD::NSDBase ri/1.8/system/SOAP/SOAPArray/%5b%5d%3d-i.yaml 0000644 00000000262 15217654531 0013603 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPArray#[]= is_singleton: false name: "[]=" params: (*idxary) visibility: public ri/1.8/system/SOAP/SOAPArray/%5b%5d-i.yaml 0000644 00000000260 15217654531 0013305 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPArray#[] is_singleton: false name: "[]" params: (*idxary) visibility: public ri/1.8/system/SOAP/SOAPArray/deep_map-i.yaml 0000644 00000000276 15217654531 0014215 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPArray#deep_map is_singleton: false name: deep_map params: (ary, &block) visibility: public ri/1.8/system/SOAP/SOAPArray/position-i.yaml 0000644 00000000263 15217654531 0014303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPArray#position is_singleton: false name: position params: () visibility: public ri/1.8/system/SOAP/SOAPArray/offset%3d-i.yaml 0000644 00000000264 15217654531 0014222 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPArray#offset= is_singleton: false name: offset= params: (var) visibility: public ri/1.8/system/SOAP/SOAPArray/offsetnext-i.yaml 0000644 00000000270 15217654531 0014622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPArray#offsetnext is_singleton: false name: offsetnext params: () visibility: private ri/1.8/system/SOAP/SOAPArray/traverse_data-i.yaml 0000644 00000000333 15217654531 0015261 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (*v) comment: full_name: SOAP::SOAPArray#traverse_data is_singleton: false name: traverse_data params: (data, rank = 1) {|*v| ...} visibility: private ri/1.8/system/SOAP/SOAPArray/each-i.yaml 0000644 00000000276 15217654531 0013343 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (data) comment: full_name: SOAP::SOAPArray#each is_singleton: false name: each params: () {|data| ...} visibility: public ri/1.8/system/SOAP/SOAPArray/to_a-i.yaml 0000644 00000000253 15217654531 0013360 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPArray#to_a is_singleton: false name: to_a params: () visibility: public ri/1.8/system/SOAP/SOAPArray/soap2array-i.yaml 0000644 00000000307 15217654531 0014521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (v) comment: full_name: SOAP::SOAPArray#soap2array is_singleton: false name: soap2array params: (ary) {|v| ...} visibility: public ri/1.8/system/SOAP/SOAPArray/traverse-i.yaml 0000644 00000000300 15217654531 0014262 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (v) comment: full_name: SOAP::SOAPArray#traverse is_singleton: false name: traverse params: () {|v| ...} visibility: public ri/1.8/system/SOAP/SOAPArray/replace-i.yaml 0000644 00000000302 15217654531 0014044 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (ele) comment: full_name: SOAP::SOAPArray#replace is_singleton: false name: replace params: () {|ele| ...} visibility: public ri/1.8/system/SOAP/SOAPArray/include%3f-i.yaml 0000644 00000000266 15217654531 0014363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPArray#include? is_singleton: false name: include? params: (var) visibility: public ri/1.8/system/SOAP/SOAPArray/add-i.yaml 0000644 00000000256 15217654531 0013171 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPArray#add is_singleton: false name: add params: (value) visibility: public ri/1.8/system/SOAP/SOAPArray/ranksize-i.yaml 0000644 00000000270 15217654531 0014263 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPArray#ranksize is_singleton: false name: ranksize params: (rank) visibility: private ri/1.8/system/SOAP/SOAPHeaderItem/new-c.yaml 0000644 00000000341 15217654531 0014150 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP::SOAPHeaderItem::new is_singleton: true name: new params: (element, mustunderstand = true, encodingstyle = nil) visibility: public ri/1.8/system/SOAP/SOAPHeaderItem/encode-i.yaml 0000644 00000000350 15217654531 0014622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (@element) comment: full_name: SOAP::SOAPHeaderItem#encode is_singleton: false name: encode params: (generator, ns, attrs = {}) {|@element| ...} visibility: public ri/1.8/system/SOAP/SOAPHeaderItem/cdesc-SOAPHeaderItem.yaml 0000644 00000001171 15217654531 0016712 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: element rw: RW - !ruby/object:RI::Attribute comment: name: encodingstyle rw: RW - !ruby/object:RI::Attribute comment: name: mustunderstand rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SOAP::SOAPHeaderItem includes: - !ruby/object:RI::IncludedModule name: SOAPEnvelopeElement - !ruby/object:RI::IncludedModule name: SOAPCompoundtype instance_methods: - !ruby/object:RI::MethodSummary name: encode name: SOAPHeaderItem superclass: XSD::NSDBase ri/1.8/system/SOAP/HTTPStreamError/cdesc-HTTPStreamError.yaml 0000644 00000000326 15217654531 0017441 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::HTTPStreamError includes: [] instance_methods: [] name: HTTPStreamError superclass: StreamError ri/1.8/system/SOAP/MPostUnavailableError/cdesc-MPostUnavailableError.yaml 0000644 00000000346 15217654531 0022171 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::MPostUnavailableError includes: [] instance_methods: [] name: MPostUnavailableError superclass: HTTPStreamError ri/1.8/system/SOAP/set_basic_auth-i.yaml 0000644 00000000310 15217654531 0013644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOAP#set_basic_auth is_singleton: false name: set_basic_auth params: (uri, user_id, passwd) visibility: public ri/1.8/system/SOAP/ArrayIndexOutOfBoundsError/cdesc-ArrayIndexOutOfBoundsError.yaml 0000644 00000000346 15217654531 0024151 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SOAP::ArrayIndexOutOfBoundsError includes: [] instance_methods: [] name: ArrayIndexOutOfBoundsError superclass: Error ri/1.8/system/Base64/encode64-i.yaml 0000644 00000001112 15217654531 0012561 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the Base64-encoded version of str. - !ruby/struct:SM::Flow::VERB body: " require 'base64'\n Base64.b64encode("Now is the time for all good coders\\nto learn Ruby")\n" - !ruby/struct:SM::Flow::P body: Generates: - !ruby/struct:SM::Flow::VERB body: " Tm93IGlzIHRoZSB0aW1lIGZvciBhbGwgZ29vZCBjb2RlcnMKdG8gbGVhcm4g\n UnVieQ==\n" full_name: Base64#encode64 is_singleton: false name: encode64 params: (bin) visibility: public ri/1.8/system/Base64/decode_b-i.yaml 0000644 00000001160 15217654531 0012701 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Decodes text formatted using a subset of RFC2047 (the one used for mime-encoding mail headers). - !ruby/struct:SM::Flow::P body: Only supports an encoding type of 'b' (base 64), and only supports the character sets ISO-2022-JP and SHIFT_JIS (so the only two encoded word sequences recognized are =?ISO-2022-JP?B?...= and =?SHIFT_JIS?B?...=). Recognition of these sequences is case insensitive. full_name: Base64#decode_b is_singleton: false name: decode_b params: (str) visibility: public ri/1.8/system/Base64/b64encode-i.yaml 0000644 00000001263 15217654531 0012732 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Prints the Base64 encoded version of bin (a String) in lines of len (default 60) characters. - !ruby/struct:SM::Flow::VERB body: " require 'base64'\n data = "Now is the time for all good coders\\nto learn Ruby"\n Base64.b64encode(data)\n" - !ruby/struct:SM::Flow::P body: Generates: - !ruby/struct:SM::Flow::VERB body: " Tm93IGlzIHRoZSB0aW1lIGZvciBhbGwgZ29vZCBjb2RlcnMKdG8gbGVhcm4g\n UnVieQ==\n" full_name: Base64#b64encode is_singleton: false name: b64encode params: (bin, len = 60) visibility: public ri/1.8/system/Base64/cdesc-Base64.yaml 0000644 00000003101 15217654531 0013027 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The Base64 module provides for the encoding (#encode64) and decoding (#decode64) of binary data using a Base64 representation. - !ruby/struct:SM::Flow::P body: "The following particular features are also provided:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: encode into lines of a given length (#b64encode) - !ruby/struct:SM::Flow::LI label: "-" body: decode the special format specified in RFC2047 for the representation of email headers (decode_b) type: :BULLET - !ruby/struct:SM::Flow::H level: 2 text: Example - !ruby/struct:SM::Flow::P body: A simple encoding and decoding. - !ruby/struct:SM::Flow::VERB body: " require "base64"\n\n enc = Base64.encode64('Send reinforcements')\n # -> "U2VuZCByZWluZm9yY2VtZW50cw==\\n"\n plain = Base64.decode64(enc)\n # -> "Send reinforcements"\n" - !ruby/struct:SM::Flow::P body: The purpose of using base64 to encode data is that it translates any binary data into purely printable characters. It is specified in RFC 2045 (http://www.faqs.org/rfcs/rfc2045.html). constants: [] full_name: Base64 includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: b64encode - !ruby/object:RI::MethodSummary name: decode64 - !ruby/object:RI::MethodSummary name: decode_b - !ruby/object:RI::MethodSummary name: encode64 name: Base64 superclass: ri/1.8/system/Base64/Deprecated/cdesc-Deprecated.yaml 0000644 00000000303 15217654531 0016104 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Base64::Deprecated includes: [] instance_methods: [] name: Deprecated superclass: ri/1.8/system/Base64/decode64-i.yaml 0000644 00000001224 15217654531 0012553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the Base64-decoded version of str. - !ruby/struct:SM::Flow::VERB body: " require 'base64'\n str = 'VGhpcyBpcyBsaW5lIG9uZQpUaGlzIG' +\n 'lzIGxpbmUgdHdvClRoaXMgaXMgbGlu' +\n 'ZSB0aHJlZQpBbmQgc28gb24uLi4K'\n puts Base64.decode64(str)\n" - !ruby/struct:SM::Flow::P body: Generates: - !ruby/struct:SM::Flow::VERB body: " This is line one\n This is line two\n This is line three\n And so on...\n" full_name: Base64#decode64 is_singleton: false name: decode64 params: (str) visibility: public ri/1.8/system/Integer/ceil-i.yaml 0000644 00000000657 15217654531 0012454 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: As int is already an Integer, all these methods simply return the receiver. full_name: Integer#ceil is_singleton: false name: ceil params: | int.to_i => int int.to_int => int int.floor => int int.ceil => int int.round => int int.truncate => int visibility: public ri/1.8/system/Integer/truncate-i.yaml 0000644 00000000667 15217654531 0013366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: As int is already an Integer, all these methods simply return the receiver. full_name: Integer#truncate is_singleton: false name: truncate params: | int.to_i => int int.to_int => int int.floor => int int.ceil => int int.round => int int.truncate => int visibility: public ri/1.8/system/Integer/prime_division-i.yaml 0000644 00000000267 15217654531 0014555 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Integer#prime_division is_singleton: false name: prime_division params: () visibility: public ri/1.8/system/Integer/lcm-i.yaml 0000644 00000000711 15217654531 0012302 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the lowest common multiple (LCM) of the two arguments (self and other). - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " 6.lcm 7 # -> 42\n 6.lcm 9 # -> 18\n" full_name: Integer#lcm is_singleton: false name: lcm params: (other) visibility: public ri/1.8/system/Integer/from_prime_division-c.yaml 0000644 00000000303 15217654531 0015561 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Integer::from_prime_division is_singleton: true name: from_prime_division params: (pd) visibility: public ri/1.8/system/Integer/floor-i.yaml 0000644 00000000661 15217654531 0012654 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: As int is already an Integer, all these methods simply return the receiver. full_name: Integer#floor is_singleton: false name: floor params: | int.to_i => int int.to_int => int int.floor => int int.ceil => int int.round => int int.truncate => int visibility: public ri/1.8/system/Integer/times-i.yaml 0000644 00000001022 15217654531 0012644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates block int times, passing in values from zero to int - 1. - !ruby/struct:SM::Flow::VERB body: " 5.times do |i|\n print i, " "\n end\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " 0 1 2 3 4\n" full_name: Integer#times is_singleton: false name: times params: | int.times {|i| block } => int visibility: public ri/1.8/system/Integer/gcd-i.yaml 0000644 00000001056 15217654531 0012267 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the greatest common denominator of the two numbers (self and n). - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " 72.gcd 168 # -> 24\n 19.gcd 36 # -> 1\n" - !ruby/struct:SM::Flow::P body: The result is positive, no matter the sign of the arguments. full_name: Integer#gcd is_singleton: false name: gcd params: (other) visibility: public ri/1.8/system/Integer/to_i-i.yaml 0000644 00000000657 15217654531 0012472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: As int is already an Integer, all these methods simply return the receiver. full_name: Integer#to_i is_singleton: false name: to_i params: | int.to_i => int int.to_int => int int.floor => int int.ceil => int int.round => int int.truncate => int visibility: public ri/1.8/system/Integer/odd%3f-i.yaml 0000644 00000000433 15217654531 0012574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if int is an odd number. full_name: Integer#odd? is_singleton: false name: odd? params: | int.odd? -> true or false visibility: public ri/1.8/system/Integer/gcdlcm-i.yaml 0000644 00000000770 15217654531 0012765 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns the GCD and the LCM (see #gcd and #lcm) of the two arguments (self and other). This is more efficient than calculating them separately." - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " 6.gcdlcm 9 # -> [3, 18]\n" full_name: Integer#gcdlcm is_singleton: false name: gcdlcm params: (other) visibility: public ri/1.8/system/Integer/numerator-i.yaml 0000644 00000000255 15217654531 0013546 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Integer#numerator is_singleton: false name: numerator params: () visibility: public ri/1.8/system/Integer/induced_from-c.yaml 0000644 00000000455 15217654531 0014164 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert obj to an Integer. full_name: Integer::induced_from is_singleton: true name: induced_from params: | Integer.induced_from(obj) => fixnum, bignum visibility: public ri/1.8/system/Integer/to_int-i.yaml 0000644 00000000663 15217654531 0013031 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: As int is already an Integer, all these methods simply return the receiver. full_name: Integer#to_int is_singleton: false name: to_int params: | int.to_i => int int.to_int => int int.floor => int int.ceil => int int.round => int int.truncate => int visibility: public ri/1.8/system/Integer/even%3f-i.yaml 0000644 00000000437 15217654531 0012767 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if int is an even number. full_name: Integer#even? is_singleton: false name: even? params: | int.even? -> true or false visibility: public ri/1.8/system/Integer/ord-i.yaml 0000644 00000000730 15217654531 0012314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the int itself. - !ruby/struct:SM::Flow::VERB body: " ?a.ord #=> 97\n" - !ruby/struct:SM::Flow::P body: This method is intended for compatibility to character constant in Ruby 1.9. For example, ?a.ord returns 97 both in 1.8 and 1.9. full_name: Integer#ord is_singleton: false name: ord params: | int.ord => int visibility: public ri/1.8/system/Integer/downto-i.yaml 0000644 00000001145 15217654531 0013043 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates block, passing decreasing values from int down to and including limit. - !ruby/struct:SM::Flow::VERB body: " 5.downto(1) { |n| print n, ".. " }\n print " Liftoff!\\n"\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " 5.. 4.. 3.. 2.. 1.. Liftoff!\n" full_name: Integer#downto is_singleton: false name: downto params: | int.downto(limit) {|i| block } => int visibility: public ri/1.8/system/Integer/cdesc-Integer.yaml 0000644 00000003655 15217654531 0013767 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: from_prime_division - !ruby/object:RI::MethodSummary name: induced_from comment: - !ruby/struct:SM::Flow::P body: Integer is the basis for the two concrete classes that hold whole numbers, Bignum and Fixnum. constants: [] full_name: Integer includes: - !ruby/object:RI::IncludedModule name: Precision instance_methods: - !ruby/object:RI::MethodSummary name: ceil - !ruby/object:RI::MethodSummary name: chr - !ruby/object:RI::MethodSummary name: denominator - !ruby/object:RI::MethodSummary name: denominator - !ruby/object:RI::MethodSummary name: downto - !ruby/object:RI::MethodSummary name: even? - !ruby/object:RI::MethodSummary name: floor - !ruby/object:RI::MethodSummary name: gcd - !ruby/object:RI::MethodSummary name: gcd - !ruby/object:RI::MethodSummary name: gcd2 - !ruby/object:RI::MethodSummary name: gcdlcm - !ruby/object:RI::MethodSummary name: integer? - !ruby/object:RI::MethodSummary name: lcm - !ruby/object:RI::MethodSummary name: lcm - !ruby/object:RI::MethodSummary name: next - !ruby/object:RI::MethodSummary name: numerator - !ruby/object:RI::MethodSummary name: numerator - !ruby/object:RI::MethodSummary name: odd? - !ruby/object:RI::MethodSummary name: ord - !ruby/object:RI::MethodSummary name: pred - !ruby/object:RI::MethodSummary name: prime_division - !ruby/object:RI::MethodSummary name: round - !ruby/object:RI::MethodSummary name: succ - !ruby/object:RI::MethodSummary name: times - !ruby/object:RI::MethodSummary name: to_i - !ruby/object:RI::MethodSummary name: to_int - !ruby/object:RI::MethodSummary name: to_r - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: truncate - !ruby/object:RI::MethodSummary name: upto name: Integer superclass: Numeric ri/1.8/system/Integer/round-i.yaml 0000644 00000000661 15217654531 0012662 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: As int is already an Integer, all these methods simply return the receiver. full_name: Integer#round is_singleton: false name: round params: | int.to_i => int int.to_int => int int.floor => int int.ceil => int int.round => int int.truncate => int visibility: public ri/1.8/system/Integer/next-i.yaml 0000644 00000000615 15217654531 0012510 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the Integer equal to int + 1. - !ruby/struct:SM::Flow::VERB body: " 1.next #=> 2\n (-1).next #=> 0\n" full_name: Integer#next is_singleton: false name: next params: | int.next => integer int.succ => integer visibility: public ri/1.8/system/Integer/pred-i.yaml 0000644 00000000565 15217654531 0012470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the Integer equal to int - 1. - !ruby/struct:SM::Flow::VERB body: " 1.pred #=> 0\n (-1).pred #=> -2\n" full_name: Integer#pred is_singleton: false name: pred params: | int.pred => integer visibility: public ri/1.8/system/Integer/integer%3f-i.yaml 0000644 00000000404 15217654531 0013461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Always returns true. full_name: Integer#integer? is_singleton: false name: integer? params: | int.integer? -> true visibility: public ri/1.8/system/Integer/upto-i.yaml 0000644 00000001044 15217654531 0012516 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Iterates block, passing in integer values from int up to and including limit. - !ruby/struct:SM::Flow::VERB body: " 5.upto(10) { |i| print i, " " }\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " 5 6 7 8 9 10\n" full_name: Integer#upto is_singleton: false name: upto params: | int.upto(limit) {|i| block } => int visibility: public ri/1.8/system/Integer/gcd2-i.yaml 0000644 00000000246 15217654531 0012351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Integer#gcd2 is_singleton: false name: gcd2 params: (int) visibility: public ri/1.8/system/Integer/denominator-i.yaml 0000644 00000000261 15217654531 0014046 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Integer#denominator is_singleton: false name: denominator params: () visibility: public ri/1.8/system/Integer/to_r-i.yaml 0000644 00000000372 15217654531 0012475 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a Rational representation of this integer. full_name: Integer#to_r is_singleton: false name: to_r params: () visibility: public ri/1.8/system/Integer/to_yaml-i.yaml 0000644 00000000264 15217654531 0013176 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Integer#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/Integer/succ-i.yaml 0000644 00000000615 15217654531 0012467 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the Integer equal to int + 1. - !ruby/struct:SM::Flow::VERB body: " 1.next #=> 2\n (-1).next #=> 0\n" full_name: Integer#succ is_singleton: false name: succ params: | int.next => integer int.succ => integer visibility: public ri/1.8/system/Integer/chr-i.yaml 0000644 00000000710 15217654531 0012302 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a string containing the ASCII character represented by the receiver's value. - !ruby/struct:SM::Flow::VERB body: " 65.chr #=> "A"\n ?a.chr #=> "a"\n 230.chr #=> "\\346"\n" full_name: Integer#chr is_singleton: false name: chr params: | int.chr => string visibility: public ri/1.8/system/SOCKSSocket/new-c.yaml 0000644 00000000257 15217654531 0012755 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SOCKSSocket::new is_singleton: true name: new params: (host, serv) visibility: public ri/1.8/system/SOCKSSocket/cdesc-SOCKSSocket.yaml 0000644 00000003226 15217654531 0015055 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Class Socket provides access to the underlying operating system socket implementations. It can be used to provide more operating system specific functionality than the protocol-specific socket classes but at the expense of greater complexity. In particular, the class handles addresses using +struct sockaddr+ structures packed into Ruby strings, which can be a joy to manipulate. - !ruby/struct:SM::Flow::H level: 3 text: Exception Handling - !ruby/struct:SM::Flow::P body: Ruby's implementation of Socket causes an exception to be raised based on the error generated by the system dependent implementation. This is why the methods are documented in a way that isolate Unix-based system exceptions from Windows based exceptions. If more information on particular exception is needed please refer to the Unix manual pages or the Windows WinSock reference. - !ruby/struct:SM::Flow::H level: 3 text: Documentation by - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Zach Dennis - !ruby/struct:SM::Flow::LI label: "*" body: Sam Roberts - !ruby/struct:SM::Flow::LI label: "*" body: Programming Ruby from The Pragmatic Bookshelf. type: :BULLET - !ruby/struct:SM::Flow::P body: Much material in this documentation is taken with permission from Programming Ruby from The Pragmatic Bookshelf. constants: [] full_name: SOCKSSocket includes: [] instance_methods: [] name: SOCKSSocket superclass: Object ri/1.8/system/TruncatedDataError/cdesc-TruncatedDataError.yaml 0000644 00000000721 15217654531 0020256 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The read portion of an IO#readbytes attempt. name: data rw: R class_methods: [] comment: - !ruby/struct:SM::Flow::P body: TruncatedDataError is raised when IO#readbytes fails to read enough data. constants: [] full_name: TruncatedDataError includes: [] instance_methods: [] name: TruncatedDataError superclass: IOError ri/1.8/system/StopIteration/cdesc-StopIteration.yaml 0000644 00000000624 15217654531 0016376 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: "call-seq:" - !ruby/struct:SM::Flow::VERB body: " e.rewind => e\n" - !ruby/struct:SM::Flow::P body: Rewinds the enumeration sequence by the next method. constants: [] full_name: StopIteration includes: [] instance_methods: [] name: StopIteration superclass: IndexError ri/1.8/system/File/cdesc-File.yaml 0000644 00000012721 15217654531 0012525 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: atime - !ruby/object:RI::MethodSummary name: basename - !ruby/object:RI::MethodSummary name: blockdev? - !ruby/object:RI::MethodSummary name: catname - !ruby/object:RI::MethodSummary name: chardev? - !ruby/object:RI::MethodSummary name: chmod - !ruby/object:RI::MethodSummary name: chmod - !ruby/object:RI::MethodSummary name: chown - !ruby/object:RI::MethodSummary name: compare - !ruby/object:RI::MethodSummary name: copy - !ruby/object:RI::MethodSummary name: ctime - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: directory? - !ruby/object:RI::MethodSummary name: dirname - !ruby/object:RI::MethodSummary name: executable? - !ruby/object:RI::MethodSummary name: executable_real? - !ruby/object:RI::MethodSummary name: exist? - !ruby/object:RI::MethodSummary name: exists? - !ruby/object:RI::MethodSummary name: expand_path - !ruby/object:RI::MethodSummary name: extname - !ruby/object:RI::MethodSummary name: file? - !ruby/object:RI::MethodSummary name: fnmatch - !ruby/object:RI::MethodSummary name: fnmatch? - !ruby/object:RI::MethodSummary name: ftype - !ruby/object:RI::MethodSummary name: grpowned? - !ruby/object:RI::MethodSummary name: identical? - !ruby/object:RI::MethodSummary name: install - !ruby/object:RI::MethodSummary name: join - !ruby/object:RI::MethodSummary name: lchmod - !ruby/object:RI::MethodSummary name: lchown - !ruby/object:RI::MethodSummary name: link - !ruby/object:RI::MethodSummary name: lstat - !ruby/object:RI::MethodSummary name: makedirs - !ruby/object:RI::MethodSummary name: move - !ruby/object:RI::MethodSummary name: mtime - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: owned? - !ruby/object:RI::MethodSummary name: pipe? - !ruby/object:RI::MethodSummary name: readable? - !ruby/object:RI::MethodSummary name: readable_real? - !ruby/object:RI::MethodSummary name: readlink - !ruby/object:RI::MethodSummary name: rename - !ruby/object:RI::MethodSummary name: safe_unlink - !ruby/object:RI::MethodSummary name: setgid? - !ruby/object:RI::MethodSummary name: setuid? - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: size? - !ruby/object:RI::MethodSummary name: socket? - !ruby/object:RI::MethodSummary name: split - !ruby/object:RI::MethodSummary name: stat - !ruby/object:RI::MethodSummary name: sticky? - !ruby/object:RI::MethodSummary name: symlink - !ruby/object:RI::MethodSummary name: symlink? - !ruby/object:RI::MethodSummary name: syscopy - !ruby/object:RI::MethodSummary name: truncate - !ruby/object:RI::MethodSummary name: umask - !ruby/object:RI::MethodSummary name: unlink - !ruby/object:RI::MethodSummary name: utime - !ruby/object:RI::MethodSummary name: writable? - !ruby/object:RI::MethodSummary name: writable_real? - !ruby/object:RI::MethodSummary name: zero? comment: - !ruby/struct:SM::Flow::H level: 1 text: "ftools.rb: Extra tools for the File class" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "Author:" body: WATANABE, Hirofumi - !ruby/struct:SM::Flow::LI label: "Documentation:" body: Zachary Landau type: :NOTE - !ruby/struct:SM::Flow::P body: This library can be distributed under the terms of the Ruby license. You can freely distribute/modify this library. - !ruby/struct:SM::Flow::P body: It is included in the Ruby standard library. - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: ftools adds several (class, not instance) methods to the File class, for copying, moving, deleting, installing, and comparing files, as well as creating a directory path. See the File class for details. - !ruby/struct:SM::Flow::P body: FileUtils contains all or nearly all the same functionality and more, and is a recommended option over ftools - !ruby/struct:SM::Flow::P body: When you - !ruby/struct:SM::Flow::VERB body: " require 'ftools'\n" - !ruby/struct:SM::Flow::P body: then the File class aquires some utility methods for copying, moving, and deleting files, and more. - !ruby/struct:SM::Flow::P body: See the method descriptions below, and consider using FileUtils as it is more comprehensive. constants: - !ruby/object:RI::Constant comment: name: Separator value: separator - !ruby/object:RI::Constant comment: name: SEPARATOR value: separator - !ruby/object:RI::Constant comment: name: ALT_SEPARATOR value: rb_obj_freeze(rb_str_new2("\\")) - !ruby/object:RI::Constant comment: name: ALT_SEPARATOR value: Qnil - !ruby/object:RI::Constant comment: name: PATH_SEPARATOR value: rb_obj_freeze(rb_str_new2(PATH_SEP)) - !ruby/object:RI::Constant comment: name: BUFSIZE value: 8 * 1024 full_name: File includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: atime - !ruby/object:RI::MethodSummary name: chmod - !ruby/object:RI::MethodSummary name: chown - !ruby/object:RI::MethodSummary name: ctime - !ruby/object:RI::MethodSummary name: flock - !ruby/object:RI::MethodSummary name: lstat - !ruby/object:RI::MethodSummary name: mtime - !ruby/object:RI::MethodSummary name: o_chmod - !ruby/object:RI::MethodSummary name: path - !ruby/object:RI::MethodSummary name: truncate name: File superclass: IO ri/1.8/system/File/new-c.yaml 0000644 00000002024 15217654531 0011573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Opens the file named by filename according to mode (default is ``r'') and returns a new File object. See the description of class IO for a description of mode. The file mode may optionally be specified as a Fixnum by or-ing together the flags (O_RDONLY etc, again described under IO). Optional permission bits may be given in perm. These mode and permission bits are platform dependent; on Unix systems, see open(2) for details. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile", "r")\n f = File.new("newfile", "w+")\n f = File.new("newfile", File::CREAT|File::TRUNC|File::RDWR, 0644)\n" full_name: File::new is_singleton: true name: new params: | File.new(filename, mode="r") => file File.new(filename [, mode [, perm]]) => file visibility: public ri/1.8/system/File/catname-c.yaml 0000644 00000000746 15217654531 0012423 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: If to is a valid directory, from will be appended to to, adding and escaping backslashes as necessary. Otherwise, to will be returned. Useful for appending from to to only if the filename was not specified in to. full_name: File::catname is_singleton: true name: catname params: (from, to) visibility: public ri/1.8/system/File/truncate-i.yaml 0000644 00000001177 15217654531 0012645 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Truncates file to at most integer bytes. The file must be opened for writing. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " f = File.new("out", "w")\n f.syswrite("1234567890") #=> 10\n f.truncate(5) #=> 0\n f.close() #=> nil\n File.size("out") #=> 5\n" full_name: File#truncate is_singleton: false name: truncate params: | file.truncate(integer) => 0 visibility: public ri/1.8/system/File/fnmatch%3f-c.yaml 0000644 00000011376 15217654531 0012732 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns true if path matches against pattern The pattern is not a regular expression; instead it follows rules similar to shell filename globbing. It may contain the following metacharacters:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*:" body: Matches any file. Can be restricted by other values in the glob. * will match all files; c* will match all files beginning with c; *c will match all files ending with c; and c will match all files that have c in them (including at the beginning or end). Equivalent to / .* /x in regexp. - !ruby/struct:SM::Flow::LI label: "**:" body: Matches directories recursively or files expansively. - !ruby/struct:SM::Flow::LI label: "?:" body: Matches any one character. Equivalent to /.{1}/ in regexp. - !ruby/struct:SM::Flow::LI label: "[set]:" body: Matches any one character in set. Behaves exactly like character sets in Regexp, including set negation ([^a-z]). - !ruby/struct:SM::Flow::LI label: "\\:" body: Escapes the next metacharacter. type: :NOTE - !ruby/struct:SM::Flow::P body: flags is a bitwise OR of the FNM_xxx parameters. The same glob pattern and flags are used by Dir::glob. - !ruby/struct:SM::Flow::VERB body: " File.fnmatch('cat', 'cat') #=> true : match entire string\n File.fnmatch('cat', 'category') #=> false : only match partial string\n File.fnmatch('c{at,ub}s', 'cats') #=> false : { } isn't supported\n\n File.fnmatch('c?t', 'cat') #=> true : '?' match only 1 character\n File.fnmatch('c??t', 'cat') #=> false : ditto\n File.fnmatch('c*', 'cats') #=> true : '*' match 0 or more characters\n File.fnmatch('c*t', 'c/a/b/t') #=> true : ditto\n File.fnmatch('ca[a-z]', 'cat') #=> true : inclusive bracket expression\n File.fnmatch('ca[^t]', 'cat') #=> false : exclusive bracket expression ('^' or '!')\n\n File.fnmatch('cat', 'CAT') #=> false : case sensitive\n File.fnmatch('cat', 'CAT', File::FNM_CASEFOLD) #=> true : case insensitive\n\n File.fnmatch('?', '/', File::FNM_PATHNAME) #=> false : wildcard doesn't match '/' on FNM_PATHNAME\n File.fnmatch('*', '/', File::FNM_PATHNAME) #=> false : ditto\n File.fnmatch('[/]', '/', File::FNM_PATHNAME) #=> false : ditto\n\n File.fnmatch('\\?', '?') #=> true : escaped wildcard becomes ordinary\n File.fnmatch('\\a', 'a') #=> true : escaped ordinary remains ordinary\n File.fnmatch('\\a', '\\a', File::FNM_NOESCAPE) #=> true : FNM_NOESACPE makes '\\' ordinary\n File.fnmatch('[\\?]', '?') #=> true : can escape inside bracket expression\n\n File.fnmatch('*', '.profile') #=> false : wildcard doesn't match leading\n File.fnmatch('*', '.profile', File::FNM_DOTMATCH) #=> true period by default.\n File.fnmatch('.*', '.profile') #=> true\n\n rbfiles = '**' '/' '*.rb' # you don't have to do like this. just write in single string.\n File.fnmatch(rbfiles, 'main.rb') #=> false\n File.fnmatch(rbfiles, './main.rb') #=> false\n File.fnmatch(rbfiles, 'lib/song.rb') #=> true\n File.fnmatch('**.rb', 'main.rb') #=> true\n File.fnmatch('**.rb', './main.rb') #=> false\n File.fnmatch('**.rb', 'lib/song.rb') #=> true\n File.fnmatch('*', 'dave/.profile') #=> true\n\n pattern = '*' '/' '*'\n File.fnmatch(pattern, 'dave/.profile', File::FNM_PATHNAME) #=> false\n File.fnmatch(pattern, 'dave/.profile', File::FNM_PATHNAME | File::FNM_DOTMATCH) #=> true\n\n pattern = '**' '/' 'foo'\n File.fnmatch(pattern, 'a/b/c/foo', File::FNM_PATHNAME) #=> true\n File.fnmatch(pattern, '/a/b/c/foo', File::FNM_PATHNAME) #=> true\n File.fnmatch(pattern, 'c:/a/b/c/foo', File::FNM_PATHNAME) #=> true\n File.fnmatch(pattern, 'a/.b/c/foo', File::FNM_PATHNAME) #=> false\n File.fnmatch(pattern, 'a/.b/c/foo', File::FNM_PATHNAME | File::FNM_DOTMATCH) #=> true\n" full_name: File::fnmatch? is_singleton: true name: fnmatch? params: | File.fnmatch( pattern, path, [flags] ) => (true or false) File.fnmatch?( pattern, path, [flags] ) => (true or false) visibility: public ri/1.8/system/File/move-c.yaml 0000644 00000000647 15217654531 0011761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Moves a file from to to using #syscopy. If to is a directory, copies from from to to/from. If verbose is true, from -> to is printed." full_name: File::move is_singleton: true name: move params: (from, to, verbose = false) visibility: public ri/1.8/system/File/owned%3f-c.yaml 0000644 00000000556 15217654531 0012424 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file exists and the effective used id of the calling process is the owner of the file. full_name: File::owned? is_singleton: true name: owned? params: | File.owned?(file_name) => true or false visibility: public ri/1.8/system/File/umask-c.yaml 0000644 00000001220 15217654531 0012117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the current umask value for this process. If the optional argument is given, set the umask to that value and return the previous value. Umask values are subtracted from the default permissions, so a umask of 0222 would make a file read-only for everyone. - !ruby/struct:SM::Flow::VERB body: " File.umask(0006) #=> 18\n File.umask #=> 6\n" full_name: File::umask is_singleton: true name: umask params: | File.umask() => integer File.umask(integer) => integer visibility: public ri/1.8/system/File/executable_real%3f-c.yaml 0000644 00000000555 15217654531 0014433 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is executable by the real user id of this process. full_name: File::executable_real? is_singleton: true name: executable_real? params: | File.executable_real?(file_name) => true or false visibility: public ri/1.8/system/File/chardev%3f-c.yaml 0000644 00000000472 15217654531 0012721 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is a character device. full_name: File::chardev? is_singleton: true name: chardev? params: | File.chardev?(file_name) => true or false visibility: public ri/1.8/system/File/lchmod-c.yaml 0000644 00000000673 15217654531 0012260 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to File::chmod, but does not follow symbolic links (so it will change the permissions associated with the link, not the file referenced by the link). Often not available. full_name: File::lchmod is_singleton: true name: lchmod params: | File.lchmod(mode_int, file_name, ...) => integer visibility: public ri/1.8/system/File/truncate-c.yaml 0000644 00000001177 15217654531 0012637 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Truncates the file file_name to be at most integer bytes long. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " f = File.new("out", "w")\n f.write("1234567890") #=> 10\n f.close #=> nil\n File.truncate("out", 5) #=> 0\n File.size("out") #=> 5\n" full_name: File::truncate is_singleton: true name: truncate params: | File.truncate(file_name, integer) => 0 visibility: public ri/1.8/system/File/size-c.yaml 0000644 00000000420 15217654531 0011752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the size of file_name. full_name: File::size is_singleton: true name: size params: | File.size(file_name) => integer visibility: public ri/1.8/system/File/blockdev%3f-c.yaml 0000644 00000000471 15217654531 0013075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is a block device. full_name: File::blockdev? is_singleton: true name: blockdev? params: | File.blockdev?(file_name) => true or false visibility: public ri/1.8/system/File/readlink-c.yaml 0000644 00000001024 15217654531 0012572 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the name of the file referenced by the given link. Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " File.symlink("testfile", "link2test") #=> 0\n File.readlink("link2test") #=> "testfile"\n" full_name: File::readlink is_singleton: true name: readlink params: | File.readlink(link_name) -> file_name visibility: public ri/1.8/system/File/atime-i.yaml 0000644 00000000725 15217654531 0012115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the last access time (a Time object) - !ruby/struct:SM::Flow::VERB body: " for file, or epoch if file has not been accessed.\n\n File.new("testfile").atime #=> Wed Dec 31 18:00:00 CST 1969\n" full_name: File#atime is_singleton: false name: atime params: | file.atime => time visibility: public ri/1.8/system/File/writable_real%3f-c.yaml 0000644 00000000545 15217654531 0014122 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is writable by the real user id of this process. full_name: File::writable_real? is_singleton: true name: writable_real? params: | File.writable_real?(file_name) => true or false visibility: public ri/1.8/system/File/o_chmod-i.yaml 0000644 00000000337 15217654531 0012425 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #chmod" full_name: File#o_chmod is_singleton: false name: o_chmod params: (p1) visibility: public ri/1.8/system/File/mtime-i.yaml 0000644 00000000605 15217654531 0012126 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the modification time for file. - !ruby/struct:SM::Flow::VERB body: " File.new("testfile").mtime #=> Wed Apr 09 08:53:14 CDT 2003\n" full_name: File#mtime is_singleton: false name: mtime params: | file.mtime -> time visibility: public ri/1.8/system/File/path-i.yaml 0000644 00000001027 15217654531 0011746 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the pathname used to create file as a string. Does not normalize the name. - !ruby/struct:SM::Flow::VERB body: " File.new("testfile").path #=> "testfile"\n File.new("/tmp/../tmp/xxx", "w").path #=> "/tmp/../tmp/xxx"\n" full_name: File#path is_singleton: false name: path params: | file.path -> filename visibility: public ri/1.8/system/File/extname-c.yaml 0000644 00000001165 15217654531 0012450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the extension (the portion of file name in path after the period). - !ruby/struct:SM::Flow::VERB body: " File.extname("test.rb") #=> ".rb"\n File.extname("a/b/d/test.rb") #=> ".rb"\n File.extname("test") #=> ""\n File.extname(".profile") #=> ""\n" full_name: File::extname is_singleton: true name: extname params: | File.extname(path) -> string visibility: public ri/1.8/system/File/ftype-c.yaml 0000644 00000001366 15217654531 0012141 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Identifies the type of the named file; the return string is one of ``file'', ``directory'', ``characterSpecial'', ``blockSpecial'', ``fifo'', ``link'', ``socket'', or ``unknown''. - !ruby/struct:SM::Flow::VERB body: " File.ftype("testfile") #=> "file"\n File.ftype("/dev/tty") #=> "characterSpecial"\n File.ftype("/tmp/.X11-unix/X0") #=> "socket"\n" full_name: File::ftype is_singleton: true name: ftype params: | File.ftype(file_name) => string visibility: public ri/1.8/system/File/lchown-c.yaml 0000644 00000000754 15217654531 0012304 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to File::chown, but does not follow symbolic links (so it will change the owner associated with the link, not the file referenced by the link). Often not available. Returns number of files in the argument list. full_name: File::lchown is_singleton: true name: lchown params: | file.lchown(owner_int, group_int, file_name,..) => integer visibility: public ri/1.8/system/File/identical%3f-c.yaml 0000644 00000001572 15217654531 0013243 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named files are identical. - !ruby/struct:SM::Flow::VERB body: " open("a", "w") {}\n p File.identical?("a", "a") #=> true\n p File.identical?("a", "./a") #=> true\n File.link("a", "b")\n p File.identical?("a", "b") #=> true\n File.symlink("a", "c")\n p File.identical?("a", "c") #=> true\n open("d", "w") {}\n p File.identical?("a", "d") #=> false\n" full_name: File::identical? is_singleton: true name: identical? params: | File.identical?(file_1, file_2) => true or false visibility: public ri/1.8/system/File/utime-c.yaml 0000644 00000000613 15217654531 0012127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the access and modification times of each named file to the first two arguments. Returns the number of file names in the argument list. full_name: File::utime is_singleton: true name: utime params: | File.utime(atime, mtime, file_name,...) => integer visibility: public ri/1.8/system/File/directory%3f-c.yaml 0000644 00000000640 15217654531 0013306 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is a directory, false otherwise. - !ruby/struct:SM::Flow::VERB body: " File.directory?(".")\n" full_name: File::directory? is_singleton: true name: directory? params: | File.directory?(file_name) => true or false visibility: public ri/1.8/system/File/rename-c.yaml 0000644 00000000711 15217654531 0012252 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Renames the given file to the new name. Raises a SystemCallError if the file cannot be renamed. - !ruby/struct:SM::Flow::VERB body: " File.rename("afile", "afile.bak") #=> 0\n" full_name: File::rename is_singleton: true name: rename params: | File.rename(old_name, new_name) => 0 visibility: public ri/1.8/system/File/dirname-c.yaml 0000644 00000001116 15217654531 0012422 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns all components of the filename given in file_name except the last one. The filename must be formed using forward slashes (``/'') regardless of the separator used on the local file system. - !ruby/struct:SM::Flow::VERB body: " File.dirname("/home/gumby/work/ruby.rb") #=> "/home/gumby/work"\n" full_name: File::dirname is_singleton: true name: dirname params: | File.dirname(file_name ) -> dir_name visibility: public ri/1.8/system/File/grpowned%3f-c.yaml 0000644 00000000633 15217654531 0013131 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file exists and the effective group id of the calling process is the owner of the file. Returns false on Windows. full_name: File::grpowned? is_singleton: true name: grpowned? params: | File.grpowned?(file_name) => true or false visibility: public ri/1.8/system/File/lstat-c.yaml 0000644 00000001210 15217654531 0012125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Same as File::stat, but does not follow the last symbolic link. Instead, reports on the link itself. - !ruby/struct:SM::Flow::VERB body: " File.symlink("testfile", "link2test") #=> 0\n File.stat("testfile").size #=> 66\n File.lstat("link2test").size #=> 8\n File.stat("link2test").size #=> 66\n" full_name: File::lstat is_singleton: true name: lstat params: | File.lstat(file_name) => stat visibility: public ri/1.8/system/File/size%3f-c.yaml 0000644 00000000535 15217654531 0012257 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns nil if file_name doesn't exist or has zero size, the size of the file otherwise. full_name: File::size? is_singleton: true name: size? params: | File.size?(file_name) => Integer or nil visibility: public ri/1.8/system/File/executable%3f-c.yaml 0000644 00000000543 15217654531 0013425 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is executable by the effective user id of this process. full_name: File::executable? is_singleton: true name: executable? params: | File.executable?(file_name) => true or false visibility: public ri/1.8/system/File/stat-c.yaml 0000644 00000000663 15217654531 0011764 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a File::Stat object for the named file (see File::Stat). - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").mtime #=> Tue Apr 08 12:58:04 CDT 2003\n" full_name: File::stat is_singleton: true name: stat params: | File.stat(file_name) => stat visibility: public ri/1.8/system/File/symlink-c.yaml 0000644 00000001035 15217654531 0012471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a symbolic link called new_name for the existing file old_name. Raises a NotImplemented exception on platforms that do not support symbolic links. - !ruby/struct:SM::Flow::VERB body: " File.symlink("testfile", "link2test") #=> 0\n" full_name: File::symlink is_singleton: true name: symlink params: | File.symlink(old_name, new_name) => 0 visibility: public ri/1.8/system/File/install-c.yaml 0000644 00000001040 15217654531 0012445 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: If src is not the same as dest, copies it and changes the permission mode to mode. If dest is a directory, destination is dest/src. If mode is not set, default is used. If verbose is set to true, the name of each file copied will be printed. full_name: File::install is_singleton: true name: install params: (from, to, mode = nil, verbose = false) visibility: public ri/1.8/system/File/sticky%3f-c.yaml 0000644 00000000470 15217654531 0012611 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file has the sticky bit set. full_name: File::sticky? is_singleton: true name: sticky? params: | File.sticky?(file_name) => true or false visibility: public ri/1.8/system/File/Stat/grpowned%3f-i.yaml 0000644 00000001054 15217654531 0014050 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the effective group id of the process is the same as the group id of stat. On Windows NT, returns false. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").grpowned? #=> true\n File.stat("/etc/passwd").grpowned? #=> false\n" full_name: File::Stat#grpowned? is_singleton: false name: grpowned? params: | stat.grpowned? => true or false visibility: public ri/1.8/system/File/Stat/new-c.yaml 0000644 00000000603 15217654531 0012507 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::VERB body: " File::Stat.new(file_name) => stat\n" - !ruby/struct:SM::Flow::P body: Create a File::Stat object for the given file name (raising an exception if the file doesn't exist). full_name: File::Stat::new is_singleton: true name: new params: | visibility: public ri/1.8/system/File/Stat/blockdev%3f-i.yaml 0000644 00000001046 15217654531 0014015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the file is a block device, false if it isn't or if the operating system doesn't support this feature. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").blockdev? #=> false\n File.stat("/dev/hda1").blockdev? #=> true\n" full_name: File::Stat#blockdev? is_singleton: false name: blockdev? params: | stat.blockdev? => true or false visibility: public ri/1.8/system/File/Stat/writable_real%3f-i.yaml 0000644 00000000710 15217654531 0015035 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if stat is writable by the real user id of this process. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").writable_real? #=> true\n" full_name: File::Stat#writable_real? is_singleton: false name: writable_real? params: | stat.writable_real? -> true or false visibility: public ri/1.8/system/File/Stat/chardev%3f-i.yaml 0000644 00000000750 15217654531 0013641 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the file is a character device, false if it isn't or if the operating system doesn't support this feature. - !ruby/struct:SM::Flow::VERB body: " File.stat("/dev/tty").chardev? #=> true\n" full_name: File::Stat#chardev? is_singleton: false name: chardev? params: | stat.chardev? => true or false visibility: public ri/1.8/system/File/Stat/size%3f-i.yaml 0000644 00000000562 15217654531 0013200 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the size of stat in bytes. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").size #=> 66\n" full_name: File::Stat#size? is_singleton: false name: size? params: | state.size => integer visibility: public ri/1.8/system/File/Stat/dev_major-i.yaml 0000644 00000000717 15217654531 0013700 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the major part of File_Stat#dev or nil. - !ruby/struct:SM::Flow::VERB body: " File.stat("/dev/fd1").dev_major #=> 2\n File.stat("/dev/tty").dev_major #=> 5\n" full_name: File::Stat#dev_major is_singleton: false name: dev_major params: | stat.dev_major => fixnum visibility: public ri/1.8/system/File/Stat/dev-i.yaml 0000644 00000000612 15217654531 0012502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an integer representing the device on which stat resides. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").dev #=> 774\n" full_name: File::Stat#dev is_singleton: false name: dev params: | stat.dev => fixnum visibility: public ri/1.8/system/File/Stat/pipe%3f-i.yaml 0000644 00000000541 15217654531 0013160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the operating system supports pipes and stat is a pipe; false otherwise. full_name: File::Stat#pipe? is_singleton: false name: pipe? params: | stat.pipe? => true or false visibility: public ri/1.8/system/File/Stat/writable%3f-i.yaml 0000644 00000000671 15217654531 0014040 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if stat is writable by the effective user id of this process. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").writable? #=> true\n" full_name: File::Stat#writable? is_singleton: false name: writable? params: | stat.writable? -> true or false visibility: public ri/1.8/system/File/Stat/zero%3f-i.yaml 0000644 00000000650 15217654531 0013203 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if stat is a zero-length file; false otherwise. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").zero? #=> false\n" full_name: File::Stat#zero? is_singleton: false name: zero? params: | stat.zero? => true or false visibility: public ri/1.8/system/File/Stat/atime-i.yaml 0000644 00000000655 15217654531 0013032 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the last access time for this file as an object of class Time. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").atime #=> Wed Dec 31 18:00:00 CST 1969\n" full_name: File::Stat#atime is_singleton: false name: atime params: | stat.atime => time visibility: public ri/1.8/system/File/Stat/mtime-i.yaml 0000644 00000000614 15217654531 0013041 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the modification time of stat. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").mtime #=> Wed Apr 09 08:53:14 CDT 2003\n" full_name: File::Stat#mtime is_singleton: false name: mtime params: | stat.mtime -> aTime visibility: public ri/1.8/system/File/Stat/ftype-i.yaml 0000644 00000001135 15217654531 0013054 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Identifies the type of stat. The return string is one of: ``file'', ``directory'', ``characterSpecial'', ``blockSpecial'', ``fifo'', ``link'', ``socket'', or ``unknown''." - !ruby/struct:SM::Flow::VERB body: " File.stat("/dev/tty").ftype #=> "characterSpecial"\n" full_name: File::Stat#ftype is_singleton: false name: ftype params: | stat.ftype => string visibility: public ri/1.8/system/File/Stat/%3c%3d%3e-i.yaml 0000644 00000001006 15217654531 0013065 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compares File::Stat objects by comparing their respective modification times. - !ruby/struct:SM::Flow::VERB body: " f1 = File.new("f1", "w")\n sleep 1\n f2 = File.new("f2", "w")\n f1.stat <=> f2.stat #=> -1\n" full_name: File::Stat#<=> is_singleton: false name: <=> params: | stat <=> other_stat => -1, 0, 1 visibility: public ri/1.8/system/File/Stat/readable%3f-i.yaml 0000644 00000000674 15217654531 0013771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if stat is readable by the effective user id of this process. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").readable? #=> true\n" full_name: File::Stat#readable? is_singleton: false name: readable? params: | stat.readable? => true or false visibility: public ri/1.8/system/File/Stat/file%3f-i.yaml 0000644 00000000661 15217654531 0013145 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if stat is a regular file (not a device file, pipe, socket, etc.). - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").file? #=> true\n" full_name: File::Stat#file? is_singleton: false name: file? params: | stat.file? => true or false visibility: public ri/1.8/system/File/Stat/pretty_print-i.yaml 0000644 00000000267 15217654531 0014475 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: File::Stat#pretty_print is_singleton: false name: pretty_print params: (q) visibility: public ri/1.8/system/File/Stat/rdev-i.yaml 0000644 00000001034 15217654531 0012663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an integer representing the device type on which stat resides. Returns nil if the operating system doesn't support this feature. - !ruby/struct:SM::Flow::VERB body: " File.stat("/dev/fd1").rdev #=> 513\n File.stat("/dev/tty").rdev #=> 1280\n" full_name: File::Stat#rdev is_singleton: false name: rdev params: | stat.rdev => fixnum or nil visibility: public ri/1.8/system/File/Stat/ino-i.yaml 0000644 00000000556 15217654531 0012520 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the inode number for stat. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").ino #=> 1083669\n" full_name: File::Stat#ino is_singleton: false name: ino params: | stat.ino => fixnum visibility: public ri/1.8/system/File/Stat/setgid%3f-i.yaml 0000644 00000001001 15217654531 0013472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if stat has the set-group-id permission bit set, false if it doesn't or if the operating system doesn't support this feature. - !ruby/struct:SM::Flow::VERB body: " File.stat("/usr/sbin/lpc").setgid? #=> true\n" full_name: File::Stat#setgid? is_singleton: false name: setgid? params: | stat.setgid? => true or false visibility: public ri/1.8/system/File/Stat/uid-i.yaml 0000644 00000000572 15217654531 0012512 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the numeric user id of the owner of stat. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").uid #=> 501\n" full_name: File::Stat#uid is_singleton: false name: uid params: | stat.uid => fixnum visibility: public ri/1.8/system/File/Stat/setuid%3f-i.yaml 0000644 00000000773 15217654531 0013527 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if stat has the set-user-id permission bit set, false if it doesn't or if the operating system doesn't support this feature. - !ruby/struct:SM::Flow::VERB body: " File.stat("/bin/su").setuid? #=> true\n" full_name: File::Stat#setuid? is_singleton: false name: setuid? params: | stat.setuid? => true or false visibility: public ri/1.8/system/File/Stat/size-i.yaml 0000644 00000000556 15217654531 0012705 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the size of stat in bytes. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").size #=> 66\n" full_name: File::Stat#size is_singleton: false name: size params: | stat.size => fixnum visibility: public ri/1.8/system/File/Stat/symlink%3f-i.yaml 0000644 00000001415 15217654531 0013712 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if stat is a symbolic link, false if it isn't or if the operating system doesn't support this feature. As File::stat automatically follows symbolic links, symlink? will always be false for an object returned by File::stat. - !ruby/struct:SM::Flow::VERB body: " File.symlink("testfile", "alink") #=> 0\n File.stat("alink").symlink? #=> false\n File.lstat("alink").symlink? #=> true\n" full_name: File::Stat#symlink? is_singleton: false name: symlink? params: | stat.symlink? => true or false visibility: public ri/1.8/system/File/Stat/ctime-i.yaml 0000644 00000000741 15217654531 0013030 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the change time for stat (that is, the time directory information about the file was changed, not the file itself). - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").ctime #=> Wed Apr 09 08:53:14 CDT 2003\n" full_name: File::Stat#ctime is_singleton: false name: ctime params: | stat.ctime -> aTime visibility: public ri/1.8/system/File/Stat/directory%3f-i.yaml 0000644 00000000761 15217654531 0014233 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if stat is a directory, false otherwise. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").directory? #=> false\n File.stat(".").directory? #=> true\n" full_name: File::Stat#directory? is_singleton: false name: directory? params: | stat.directory? => true or false visibility: public ri/1.8/system/File/Stat/inspect-i.yaml 0000644 00000001256 15217654531 0013376 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Produce a nicely formatted description of stat. - !ruby/struct:SM::Flow::VERB body: " File.stat("/etc/passwd").inspect\n #=> "#<File::Stat dev=0xe000005, ino=1078078, mode=0100644,\n nlink=1, uid=0, gid=0, rdev=0x0, size=1374, blksize=4096,\n blocks=8, atime=Wed Dec 10 10:16:12 CST 2003,\n mtime=Fri Sep 12 15:41:41 CDT 2003,\n ctime=Mon Oct 27 11:20:27 CST 2003>"\n" full_name: File::Stat#inspect is_singleton: false name: inspect params: | stat.inspect => string visibility: public ri/1.8/system/File/Stat/cdesc-Stat.yaml 0000644 00000005510 15217654531 0013472 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Objects of class File::Stat encapsulate common status information for File objects. The information is recorded at the moment the File::Stat object is created; changes made to the file after that point will not be reflected. File::Stat objects are returned by IO#stat, File::stat, File#lstat, and File::lstat. Many of these methods return platform-specific values, and not all values are meaningful on all systems. See also Kernel#test. constants: [] full_name: File::Stat includes: - !ruby/object:RI::IncludedModule name: Comparable instance_methods: - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: atime - !ruby/object:RI::MethodSummary name: blksize - !ruby/object:RI::MethodSummary name: blockdev? - !ruby/object:RI::MethodSummary name: blocks - !ruby/object:RI::MethodSummary name: chardev? - !ruby/object:RI::MethodSummary name: ctime - !ruby/object:RI::MethodSummary name: dev - !ruby/object:RI::MethodSummary name: dev_major - !ruby/object:RI::MethodSummary name: dev_minor - !ruby/object:RI::MethodSummary name: directory? - !ruby/object:RI::MethodSummary name: executable? - !ruby/object:RI::MethodSummary name: executable_real? - !ruby/object:RI::MethodSummary name: file? - !ruby/object:RI::MethodSummary name: ftype - !ruby/object:RI::MethodSummary name: gid - !ruby/object:RI::MethodSummary name: grpowned? - !ruby/object:RI::MethodSummary name: ino - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: mode - !ruby/object:RI::MethodSummary name: mtime - !ruby/object:RI::MethodSummary name: nlink - !ruby/object:RI::MethodSummary name: owned? - !ruby/object:RI::MethodSummary name: pipe? - !ruby/object:RI::MethodSummary name: pretty_print - !ruby/object:RI::MethodSummary name: rdev - !ruby/object:RI::MethodSummary name: rdev_major - !ruby/object:RI::MethodSummary name: rdev_minor - !ruby/object:RI::MethodSummary name: readable? - !ruby/object:RI::MethodSummary name: readable_real? - !ruby/object:RI::MethodSummary name: setgid? - !ruby/object:RI::MethodSummary name: setuid? - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: size? - !ruby/object:RI::MethodSummary name: socket? - !ruby/object:RI::MethodSummary name: sticky? - !ruby/object:RI::MethodSummary name: symlink? - !ruby/object:RI::MethodSummary name: uid - !ruby/object:RI::MethodSummary name: writable? - !ruby/object:RI::MethodSummary name: writable_real? - !ruby/object:RI::MethodSummary name: zero? name: Stat superclass: Object ri/1.8/system/File/Stat/rdev_major-i.yaml 0000644 00000000725 15217654531 0014061 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the major part of File_Stat#rdev or nil. - !ruby/struct:SM::Flow::VERB body: " File.stat("/dev/fd1").rdev_major #=> 2\n File.stat("/dev/tty").rdev_major #=> 5\n" full_name: File::Stat#rdev_major is_singleton: false name: rdev_major params: | stat.rdev_major => fixnum visibility: public ri/1.8/system/File/Stat/sticky%3f-i.yaml 0000644 00000000755 15217654531 0013540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if stat has its sticky bit set, false if it doesn't or if the operating system doesn't support this feature. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").sticky? #=> false\n" full_name: File::Stat#sticky? is_singleton: false name: sticky? params: | stat.sticky? => true or false visibility: public ri/1.8/system/File/Stat/executable%3f-i.yaml 0000644 00000001064 15217654531 0014345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if stat is executable or if the operating system doesn't distinguish executable files from nonexecutable files. The tests are made using the effective owner of the process. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").executable? #=> false\n" full_name: File::Stat#executable? is_singleton: false name: executable? params: | stat.executable? => true or false visibility: public ri/1.8/system/File/Stat/dev_minor-i.yaml 0000644 00000000717 15217654531 0013714 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the minor part of File_Stat#dev or nil. - !ruby/struct:SM::Flow::VERB body: " File.stat("/dev/fd1").dev_minor #=> 1\n File.stat("/dev/tty").dev_minor #=> 0\n" full_name: File::Stat#dev_minor is_singleton: false name: dev_minor params: | stat.dev_minor => fixnum visibility: public ri/1.8/system/File/Stat/nlink-i.yaml 0000644 00000001011 15217654531 0013031 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of hard links to stat. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").nlink #=> 1\n File.link("testfile", "testfile.bak") #=> 0\n File.stat("testfile").nlink #=> 2\n" full_name: File::Stat#nlink is_singleton: false name: nlink params: | stat.nlink => fixnum visibility: public ri/1.8/system/File/Stat/socket%3f-i.yaml 0000644 00000000740 15217654531 0013514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if stat is a socket, false if it isn't or if the operating system doesn't support this feature. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").socket? #=> false\n" full_name: File::Stat#socket? is_singleton: false name: socket? params: | stat.socket? => true or false visibility: public ri/1.8/system/File/Stat/readable_real%3f-i.yaml 0000644 00000000710 15217654531 0014763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if stat is readable by the real user id of this process. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").readable_real? #=> true\n" full_name: File::Stat#readable_real? is_singleton: false name: readable_real? params: | stat.readable_real? -> true or false visibility: public ri/1.8/system/File/Stat/mode-i.yaml 0000644 00000001115 15217654531 0012647 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an integer representing the permission bits of stat. The meaning of the bits is platform dependent; on Unix systems, see stat(2). - !ruby/struct:SM::Flow::VERB body: " File.chmod(0644, "testfile") #=> 1\n s = File.stat("testfile")\n sprintf("%o", s.mode) #=> "100644"\n" full_name: File::Stat#mode is_singleton: false name: mode params: | stat.mode => fixnum visibility: public ri/1.8/system/File/Stat/owned%3f-i.yaml 0000644 00000000774 15217654531 0013347 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the effective user id of the process is the same as the owner of stat. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").owned? #=> true\n File.stat("/etc/passwd").owned? #=> false\n" full_name: File::Stat#owned? is_singleton: false name: owned? params: | stat.owned? => true or false visibility: public ri/1.8/system/File/Stat/blocks-i.yaml 0000644 00000000740 15217654531 0013203 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of native file system blocks allocated for this file, or nil if the operating system doesn't support this feature. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").blocks #=> 2\n" full_name: File::Stat#blocks is_singleton: false name: blocks params: | stat.blocks => integer or nil visibility: public ri/1.8/system/File/Stat/gid-i.yaml 0000644 00000000572 15217654531 0012474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the numeric group id of the owner of stat. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").gid #=> 500\n" full_name: File::Stat#gid is_singleton: false name: gid params: | stat.gid => fixnum visibility: public ri/1.8/system/File/Stat/rdev_minor-i.yaml 0000644 00000000725 15217654531 0014075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the minor part of File_Stat#rdev or nil. - !ruby/struct:SM::Flow::VERB body: " File.stat("/dev/fd1").rdev_minor #=> 1\n File.stat("/dev/tty").rdev_minor #=> 0\n" full_name: File::Stat#rdev_minor is_singleton: false name: rdev_minor params: | stat.rdev_minor => fixnum visibility: public ri/1.8/system/File/Stat/blksize-i.yaml 0000644 00000000717 15217654531 0013375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the native file system's block size. Will return nil on platforms that don't support this information. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").blksize #=> 4096\n" full_name: File::Stat#blksize is_singleton: false name: blksize params: | stat.blksize => integer or nil visibility: public ri/1.8/system/File/Stat/executable_real%3f-i.yaml 0000644 00000000533 15217654531 0015350 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Same as executable?, but tests using the real owner of the process. full_name: File::Stat#executable_real? is_singleton: false name: executable_real? params: | stat.executable_real? => true or false visibility: public ri/1.8/system/File/ctime-i.yaml 0000644 00000000731 15217654531 0012114 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the change time for file (that is, the time directory information about the file was changed, not the file itself). - !ruby/struct:SM::Flow::VERB body: " File.new("testfile").ctime #=> Wed Apr 09 08:53:14 CDT 2003\n" full_name: File#ctime is_singleton: false name: ctime params: | file.ctime -> time visibility: public ri/1.8/system/File/basename-c.yaml 0000644 00000001401 15217654531 0012553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the last component of the filename given in file_name, which must be formed using forward slashes (``/'') regardless of the separator used on the local file system. If suffix is given and present at the end of file_name, it is removed. - !ruby/struct:SM::Flow::VERB body: " File.basename("/home/gumby/work/ruby.rb") #=> "ruby.rb"\n File.basename("/home/gumby/work/ruby.rb", ".rb") #=> "ruby"\n" full_name: File::basename is_singleton: true name: basename params: | File.basename(file_name [, suffix] ) -> base_name visibility: public ri/1.8/system/File/expand_path-c.yaml 0000644 00000001670 15217654531 0013303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts a pathname to an absolute pathname. Relative paths are referenced from the current working directory of the process unless dir_string is given, in which case it will be used as the starting point. The given pathname may start with a ``~'', which expands to the process owner's home directory (the environment variable HOME must be set correctly). ``~user'' expands to the named user's home directory. - !ruby/struct:SM::Flow::VERB body: " File.expand_path("~oracle/bin") #=> "/home/oracle/bin"\n File.expand_path("../../bin", "/tmp/x") #=> "/bin"\n" full_name: File::expand_path is_singleton: true name: expand_path params: | File.expand_path(file_name [, dir_string] ) -> abs_file_name visibility: public ri/1.8/system/File/ctime-c.yaml 0000644 00000000742 15217654531 0012110 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the change time for the named file (the time at which directory information about the file was changed, not the file itself). - !ruby/struct:SM::Flow::VERB body: " File.ctime("testfile") #=> Wed Apr 09 08:53:13 CDT 2003\n" full_name: File::ctime is_singleton: true name: ctime params: | File.ctime(file_name) => time visibility: public ri/1.8/system/File/readable_real%3f-c.yaml 0000644 00000000545 15217654531 0014050 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is readable by the real user id of this process. full_name: File::readable_real? is_singleton: true name: readable_real? params: | File.readable_real?(file_name) => true or false visibility: public ri/1.8/system/File/split-c.yaml 0000644 00000001041 15217654531 0012133 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Splits the given string into a directory and a file component and returns them in a two-element array. See also File::dirname and File::basename. - !ruby/struct:SM::Flow::VERB body: " File.split("/home/gumby/.profile") #=> ["/home/gumby", ".profile"]\n" full_name: File::split is_singleton: true name: split params: | File.split(file_name) => array visibility: public ri/1.8/system/File/atime-c.yaml 0000644 00000000640 15217654531 0012103 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the last access time for the named file as a Time object). - !ruby/struct:SM::Flow::VERB body: " File.atime("testfile") #=> Wed Apr 09 08:51:48 CDT 2003\n" full_name: File::atime is_singleton: true name: atime params: | File.atime(file_name) => time visibility: public ri/1.8/system/File/pipe%3f-c.yaml 0000644 00000000445 15217654531 0012242 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is a pipe. full_name: File::pipe? is_singleton: true name: pipe? params: | File.pipe?(file_name) => true or false visibility: public ri/1.8/system/File/flock-i.yaml 0000644 00000002517 15217654531 0012115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Locks or unlocks a file according to locking_constant (a logical or of the values in the table below). Returns false if File::LOCK_NB is specified and the operation would otherwise have blocked. Not available on all platforms. - !ruby/struct:SM::Flow::P body: "Locking constants (in class File):" - !ruby/struct:SM::Flow::VERB body: " LOCK_EX | Exclusive lock. Only one process may hold an\n | exclusive lock for a given file at a time.\n ----------+------------------------------------------------\n LOCK_NB | Don't block when locking. May be combined\n | with other lock options using logical or.\n ----------+------------------------------------------------\n LOCK_SH | Shared lock. Multiple processes may each hold a\n | shared lock for a given file at the same time.\n ----------+------------------------------------------------\n LOCK_UN | Unlock.\n" - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " File.new("testfile").flock(File::LOCK_UN) #=> 0\n" full_name: File#flock is_singleton: false name: flock params: | file.flock (locking_constant ) => 0 or false visibility: public ri/1.8/system/File/safe_unlink-c.yaml 0000644 00000000623 15217654531 0013303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes a list of files. Each parameter should be the name of the file to delete. If the last parameter isn't a String, verbose mode will be enabled. Returns the number of files deleted. full_name: File::safe_unlink is_singleton: true name: safe_unlink params: (*files) visibility: public ri/1.8/system/File/Constants/cdesc-Constants.yaml 0000644 00000000367 15217654531 0015601 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: this is IO's method constants: [] full_name: File::Constants includes: [] instance_methods: [] name: Constants superclass: ri/1.8/system/File/link-c.yaml 0000644 00000001175 15217654531 0011745 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new name for an existing file using a hard link. Will not overwrite new_name if it already exists (raising a subclass of SystemCallError). Not available on all platforms. - !ruby/struct:SM::Flow::VERB body: " File.link("testfile", ".testfile") #=> 0\n IO.readlines(".testfile")[0] #=> "This is line one\\n"\n" full_name: File::link is_singleton: true name: link params: | File.link(old_name, new_name) => 0 visibility: public ri/1.8/system/File/file%3f-c.yaml 0000644 00000000467 15217654531 0012230 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file exists and is a regular file. full_name: File::file? is_singleton: true name: file? params: | File.file?(file_name) => true or false visibility: public ri/1.8/system/File/chmod-i.yaml 0000644 00000001170 15217654531 0012103 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: o_chmod block_params: comment: - !ruby/struct:SM::Flow::P body: Changes permission bits on file to the bit pattern represented by mode_int. Actual effects are platform dependent; on Unix systems, see chmod(2) for details. Follows symbolic links. Also see File#lchmod. - !ruby/struct:SM::Flow::VERB body: " f = File.new("out", "w");\n f.chmod(0644) #=> 0\n" full_name: File#chmod is_singleton: false name: chmod params: | file.chmod(mode_int) => 0 visibility: public ri/1.8/system/File/join-c.yaml 0000644 00000000712 15217654531 0011743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new string formed by joining the strings using File::SEPARATOR. - !ruby/struct:SM::Flow::VERB body: " File.join("usr", "mail", "gumby") #=> "usr/mail/gumby"\n" full_name: File::join is_singleton: true name: join params: | File.join(string, ...) -> path visibility: public ri/1.8/system/File/lstat-i.yaml 0000644 00000001217 15217654531 0012142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Same as IO#stat, but does not follow the last symbolic link. Instead, reports on the link itself. - !ruby/struct:SM::Flow::VERB body: " File.symlink("testfile", "link2test") #=> 0\n File.stat("testfile").size #=> 66\n f = File.new("link2test")\n f.lstat.size #=> 8\n f.stat.size #=> 66\n" full_name: File#lstat is_singleton: false name: lstat params: | file.lstat => stat visibility: public ri/1.8/system/File/syscopy-c.yaml 0000644 00000000507 15217654531 0012517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Copies a file from to to. If to is a directory, copies from to to/from. full_name: File::syscopy is_singleton: true name: syscopy params: (from, to) visibility: public ri/1.8/system/File/setuid%3f-c.yaml 0000644 00000000470 15217654531 0012600 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file has the setuid bit set. full_name: File::setuid? is_singleton: true name: setuid? params: | File.setuid?(file_name) => true or false visibility: public ri/1.8/system/File/readable%3f-c.yaml 0000644 00000000533 15217654531 0013042 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is readable by the effective user id of this process. full_name: File::readable? is_singleton: true name: readable? params: | File.readable?(file_name) => true or false visibility: public ri/1.8/system/File/chown-i.yaml 0000644 00000001273 15217654531 0012133 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Changes the owner and group of file to the given numeric owner and group id's. Only a process with superuser privileges may change the owner of a file. The current owner of a file may change the file's group to any group to which the owner belongs. A nil or -1 owner or group id is ignored. Follows symbolic links. See also File#lchown. - !ruby/struct:SM::Flow::VERB body: " File.new("testfile").chown(502, 1000)\n" full_name: File#chown is_singleton: false name: chown params: | file.chown(owner_int, group_int ) => 0 visibility: public ri/1.8/system/File/compare-c.yaml 0000644 00000000630 15217654531 0012431 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if and only if the contents of files from and to are identical. If verbose is true, from <=> to is printed. full_name: File::compare is_singleton: true name: compare params: (from, to, verbose = false) visibility: public ri/1.8/system/File/delete-c.yaml 0000644 00000000650 15217654531 0012247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes the named files, returning the number of names passed as arguments. Raises an exception on any error. See also Dir::rmdir. full_name: File::delete is_singleton: true name: delete params: | File.delete(file_name, ...) => integer File.unlink(file_name, ...) => integer visibility: public ri/1.8/system/File/makedirs-c.yaml 0000644 00000001300 15217654531 0012575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a directory and all its parent directories. For example, - !ruby/struct:SM::Flow::VERB body: " File.makedirs '/usr/lib/ruby'\n" - !ruby/struct:SM::Flow::P body: causes the following directories to be made, if they do not exist. - !ruby/struct:SM::Flow::VERB body: " * /usr\n * /usr/lib\n * /usr/lib/ruby\n" - !ruby/struct:SM::Flow::P body: You can pass several directories, each as a parameter. If the last parameter isn't a String, verbose mode will be enabled. full_name: File::makedirs is_singleton: true name: makedirs params: (*dirs) visibility: public ri/1.8/system/File/exists%3f-c.yaml 0000644 00000000543 15217654531 0012623 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return true if the named file exists. full_name: File::exists? is_singleton: true name: exists? params: | File.exist?(file_name) => true or false File.exists?(file_name) => true or false (obsolete) visibility: public ri/1.8/system/File/writable%3f-c.yaml 0000644 00000000533 15217654531 0013114 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is writable by the effective user id of this process. full_name: File::writable? is_singleton: true name: writable? params: | File.writable?(file_name) => true or false visibility: public ri/1.8/system/File/socket%3f-c.yaml 0000644 00000000455 15217654531 0012576 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is a socket. full_name: File::socket? is_singleton: true name: socket? params: | File.socket?(file_name) => true or false visibility: public ri/1.8/system/File/fnmatch-c.yaml 0000644 00000011374 15217654531 0012432 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns true if path matches against pattern The pattern is not a regular expression; instead it follows rules similar to shell filename globbing. It may contain the following metacharacters:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*:" body: Matches any file. Can be restricted by other values in the glob. * will match all files; c* will match all files beginning with c; *c will match all files ending with c; and c will match all files that have c in them (including at the beginning or end). Equivalent to / .* /x in regexp. - !ruby/struct:SM::Flow::LI label: "**:" body: Matches directories recursively or files expansively. - !ruby/struct:SM::Flow::LI label: "?:" body: Matches any one character. Equivalent to /.{1}/ in regexp. - !ruby/struct:SM::Flow::LI label: "[set]:" body: Matches any one character in set. Behaves exactly like character sets in Regexp, including set negation ([^a-z]). - !ruby/struct:SM::Flow::LI label: "\\:" body: Escapes the next metacharacter. type: :NOTE - !ruby/struct:SM::Flow::P body: flags is a bitwise OR of the FNM_xxx parameters. The same glob pattern and flags are used by Dir::glob. - !ruby/struct:SM::Flow::VERB body: " File.fnmatch('cat', 'cat') #=> true : match entire string\n File.fnmatch('cat', 'category') #=> false : only match partial string\n File.fnmatch('c{at,ub}s', 'cats') #=> false : { } isn't supported\n\n File.fnmatch('c?t', 'cat') #=> true : '?' match only 1 character\n File.fnmatch('c??t', 'cat') #=> false : ditto\n File.fnmatch('c*', 'cats') #=> true : '*' match 0 or more characters\n File.fnmatch('c*t', 'c/a/b/t') #=> true : ditto\n File.fnmatch('ca[a-z]', 'cat') #=> true : inclusive bracket expression\n File.fnmatch('ca[^t]', 'cat') #=> false : exclusive bracket expression ('^' or '!')\n\n File.fnmatch('cat', 'CAT') #=> false : case sensitive\n File.fnmatch('cat', 'CAT', File::FNM_CASEFOLD) #=> true : case insensitive\n\n File.fnmatch('?', '/', File::FNM_PATHNAME) #=> false : wildcard doesn't match '/' on FNM_PATHNAME\n File.fnmatch('*', '/', File::FNM_PATHNAME) #=> false : ditto\n File.fnmatch('[/]', '/', File::FNM_PATHNAME) #=> false : ditto\n\n File.fnmatch('\\?', '?') #=> true : escaped wildcard becomes ordinary\n File.fnmatch('\\a', 'a') #=> true : escaped ordinary remains ordinary\n File.fnmatch('\\a', '\\a', File::FNM_NOESCAPE) #=> true : FNM_NOESACPE makes '\\' ordinary\n File.fnmatch('[\\?]', '?') #=> true : can escape inside bracket expression\n\n File.fnmatch('*', '.profile') #=> false : wildcard doesn't match leading\n File.fnmatch('*', '.profile', File::FNM_DOTMATCH) #=> true period by default.\n File.fnmatch('.*', '.profile') #=> true\n\n rbfiles = '**' '/' '*.rb' # you don't have to do like this. just write in single string.\n File.fnmatch(rbfiles, 'main.rb') #=> false\n File.fnmatch(rbfiles, './main.rb') #=> false\n File.fnmatch(rbfiles, 'lib/song.rb') #=> true\n File.fnmatch('**.rb', 'main.rb') #=> true\n File.fnmatch('**.rb', './main.rb') #=> false\n File.fnmatch('**.rb', 'lib/song.rb') #=> true\n File.fnmatch('*', 'dave/.profile') #=> true\n\n pattern = '*' '/' '*'\n File.fnmatch(pattern, 'dave/.profile', File::FNM_PATHNAME) #=> false\n File.fnmatch(pattern, 'dave/.profile', File::FNM_PATHNAME | File::FNM_DOTMATCH) #=> true\n\n pattern = '**' '/' 'foo'\n File.fnmatch(pattern, 'a/b/c/foo', File::FNM_PATHNAME) #=> true\n File.fnmatch(pattern, '/a/b/c/foo', File::FNM_PATHNAME) #=> true\n File.fnmatch(pattern, 'c:/a/b/c/foo', File::FNM_PATHNAME) #=> true\n File.fnmatch(pattern, 'a/.b/c/foo', File::FNM_PATHNAME) #=> false\n File.fnmatch(pattern, 'a/.b/c/foo', File::FNM_PATHNAME | File::FNM_DOTMATCH) #=> true\n" full_name: File::fnmatch is_singleton: true name: fnmatch params: | File.fnmatch( pattern, path, [flags] ) => (true or false) File.fnmatch?( pattern, path, [flags] ) => (true or false) visibility: public ri/1.8/system/File/chmod-c.yaml 0000644 00000001172 15217654531 0012077 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Changes permission bits on the named file(s) to the bit pattern represented by mode_int. Actual effects are operating system dependent (see the beginning of this section). On Unix systems, see chmod(2) for details. Returns the number of files processed. - !ruby/struct:SM::Flow::VERB body: " File.chmod(0644, "testfile", "out") #=> 2\n" full_name: File::chmod is_singleton: true name: chmod params: | File.chmod(mode_int, file_name, ... ) -> integer visibility: public ri/1.8/system/File/zero%3f-c.yaml 0000644 00000000465 15217654531 0012266 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file exists and has a zero size. full_name: File::zero? is_singleton: true name: zero? params: | File.zero?(file_name) => true or false visibility: public ri/1.8/system/File/copy-c.yaml 0000644 00000000643 15217654531 0011761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Copies a file from to to using #syscopy. If to is a directory, copies from to to/from. If verbose is true, from -> to is printed." full_name: File::copy is_singleton: true name: copy params: (from, to, verbose = false) visibility: public ri/1.8/system/File/unlink-c.yaml 0000644 00000000650 15217654531 0012305 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Deletes the named files, returning the number of names passed as arguments. Raises an exception on any error. See also Dir::rmdir. full_name: File::unlink is_singleton: true name: unlink params: | File.delete(file_name, ...) => integer File.unlink(file_name, ...) => integer visibility: public ri/1.8/system/File/exist%3f-c.yaml 0000644 00000000541 15217654531 0012436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return true if the named file exists. full_name: File::exist? is_singleton: true name: exist? params: | File.exist?(file_name) => true or false File.exists?(file_name) => true or false (obsolete) visibility: public ri/1.8/system/File/mtime-c.yaml 0000644 00000000640 15217654531 0012117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the modification time for the named file as a Time object. - !ruby/struct:SM::Flow::VERB body: " File.mtime("testfile") #=> Tue Apr 08 12:58:04 CDT 2003\n" full_name: File::mtime is_singleton: true name: mtime params: | File.mtime(file_name) => time visibility: public ri/1.8/system/File/symlink%3f-c.yaml 0000644 00000000467 15217654531 0012777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is a symbolic link. full_name: File::symlink? is_singleton: true name: symlink? params: | File.symlink?(file_name) => true or false visibility: public ri/1.8/system/File/chown-c.yaml 0000644 00000001275 15217654531 0012127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Changes the owner and group of the named file(s) to the given numeric owner and group id's. Only a process with superuser privileges may change the owner of a file. The current owner of a file may change the file's group to any group to which the owner belongs. A nil or -1 owner or group id is ignored. Returns the number of files processed. - !ruby/struct:SM::Flow::VERB body: " File.chown(nil, 100, "testfile")\n" full_name: File::chown is_singleton: true name: chown params: | File.chown(owner_int, group_int, file_name,... ) -> integer visibility: public ri/1.8/system/File/setgid%3f-c.yaml 0000644 00000000470 15217654531 0012562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file has the setgid bit set. full_name: File::setgid? is_singleton: true name: setgid? params: | File.setgid?(file_name) => true or false visibility: public ri/1.8/system/NotImplementedError/cdesc-NotImplementedError.yaml 0000644 00000001216 15217654531 0020660 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: NotImplementedError includes: [] instance_methods: [] name: NotImplementedError superclass: ScriptError ri/1.8/system/Racc/ParseError/cdesc-ParseError.yaml 0000644 00000000316 15217654531 0016004 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Racc::ParseError includes: [] instance_methods: [] name: ParseError superclass: StandardError ri/1.8/system/Racc/Parser/racc_next_state-i.yaml 0000644 00000000316 15217654531 0015405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#racc_next_state is_singleton: false name: racc_next_state params: (curstate, state) visibility: private ri/1.8/system/Racc/Parser/racc_print_stacks-i.yaml 0000644 00000000307 15217654531 0015733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#racc_print_stacks is_singleton: false name: racc_print_stacks params: (t, v) visibility: private ri/1.8/system/Racc/Parser/_racc_do_reduce-i.yaml 0000644 00000000307 15217654531 0015317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#_racc_do_reduce is_singleton: false name: _racc_do_reduce params: (arg, act) visibility: private ri/1.8/system/Racc/Parser/racc_shift-i.yaml 0000644 00000000310 15217654531 0014336 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#racc_shift is_singleton: false name: racc_shift params: (tok, tstack, vstack) visibility: private ri/1.8/system/Racc/Parser/racc_read_token-i.yaml 0000644 00000000403 15217654531 0015337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: for debugging output full_name: Racc::Parser#racc_read_token is_singleton: false name: racc_read_token params: (t, tok, val) visibility: private ri/1.8/system/Racc/Parser/racc_e_pop-i.yaml 0000644 00000000312 15217654531 0014325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#racc_e_pop is_singleton: false name: racc_e_pop params: (state, tstack, vstack) visibility: private ri/1.8/system/Racc/Parser/_racc_do_parse_rb-i.yaml 0000644 00000000320 15217654531 0015640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#_racc_do_parse_rb is_singleton: false name: _racc_do_parse_rb params: (arg, in_debug) visibility: private ri/1.8/system/Racc/Parser/racc_runtime_type-c.yaml 0000644 00000000302 15217654531 0015740 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser::racc_runtime_type is_singleton: true name: racc_runtime_type params: () visibility: public ri/1.8/system/Racc/Parser/yyparse-i.yaml 0000644 00000000344 15217654531 0013734 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: yyparse full_name: Racc::Parser#yyparse is_singleton: false name: yyparse params: (recv, mid) visibility: private ri/1.8/system/Racc/Parser/_racc_setup-i.yaml 0000644 00000000267 15217654531 0014533 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#_racc_setup is_singleton: false name: _racc_setup params: () visibility: private ri/1.8/system/Racc/Parser/cdesc-Parser.yaml 0000644 00000006145 15217654531 0014332 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: racc_runtime_type comment: constants: - !ruby/object:RI::Constant comment: name: Racc_Runtime_Version value: "'1.4.5'" - !ruby/object:RI::Constant comment: name: Racc_Runtime_Revision value: "'$originalRevision: 1.8 $'.split[1]" - !ruby/object:RI::Constant comment: name: Racc_Runtime_Core_Version_R value: "'1.4.5'" - !ruby/object:RI::Constant comment: name: Racc_Runtime_Core_Revision_R value: "'$originalRevision: 1.8 $'.split[1]" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Racc_Runtime_Core_Version_C = (defined in extention) name: Racc_Runtime_Core_Revision_C value: Racc_Runtime_Core_Id_C.split[2] - !ruby/object:RI::Constant comment: name: Racc_Main_Parsing_Routine value: ":_racc_do_parse_c" - !ruby/object:RI::Constant comment: name: Racc_YY_Parse_Method value: ":_racc_yyparse_c" - !ruby/object:RI::Constant comment: name: Racc_Runtime_Core_Version value: Racc_Runtime_Core_Version_C - !ruby/object:RI::Constant comment: name: Racc_Runtime_Core_Revision value: Racc_Runtime_Core_Revision_C - !ruby/object:RI::Constant comment: name: Racc_Runtime_Type value: "'c'" - !ruby/object:RI::Constant comment: name: Racc_Main_Parsing_Routine value: ":_racc_do_parse_rb" - !ruby/object:RI::Constant comment: name: Racc_YY_Parse_Method value: ":_racc_yyparse_rb" - !ruby/object:RI::Constant comment: name: Racc_Runtime_Core_Version value: Racc_Runtime_Core_Version_R - !ruby/object:RI::Constant comment: name: Racc_Runtime_Core_Revision value: Racc_Runtime_Core_Revision_R - !ruby/object:RI::Constant comment: name: Racc_Runtime_Type value: "'ruby'" full_name: Racc::Parser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _racc_do_parse_rb - !ruby/object:RI::MethodSummary name: _racc_do_reduce - !ruby/object:RI::MethodSummary name: _racc_evalact - !ruby/object:RI::MethodSummary name: _racc_init_sysvars - !ruby/object:RI::MethodSummary name: _racc_setup - !ruby/object:RI::MethodSummary name: _racc_yyparse_rb - !ruby/object:RI::MethodSummary name: do_parse - !ruby/object:RI::MethodSummary name: next_token - !ruby/object:RI::MethodSummary name: on_error - !ruby/object:RI::MethodSummary name: racc_accept - !ruby/object:RI::MethodSummary name: racc_e_pop - !ruby/object:RI::MethodSummary name: racc_next_state - !ruby/object:RI::MethodSummary name: racc_print_stacks - !ruby/object:RI::MethodSummary name: racc_print_states - !ruby/object:RI::MethodSummary name: racc_read_token - !ruby/object:RI::MethodSummary name: racc_reduce - !ruby/object:RI::MethodSummary name: racc_shift - !ruby/object:RI::MethodSummary name: racc_token2str - !ruby/object:RI::MethodSummary name: token_to_str - !ruby/object:RI::MethodSummary name: yyaccept - !ruby/object:RI::MethodSummary name: yyerrok - !ruby/object:RI::MethodSummary name: yyerror - !ruby/object:RI::MethodSummary name: yyparse name: Parser superclass: Object ri/1.8/system/Racc/Parser/racc_accept-i.yaml 0000644 00000000267 15217654531 0014473 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#racc_accept is_singleton: false name: racc_accept params: () visibility: private ri/1.8/system/Racc/Parser/racc_reduce-i.yaml 0000644 00000000320 15217654531 0014471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#racc_reduce is_singleton: false name: racc_reduce params: (toks, sim, tstack, vstack) visibility: private ri/1.8/system/Racc/Parser/racc_print_states-i.yaml 0000644 00000000304 15217654531 0015743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#racc_print_states is_singleton: false name: racc_print_states params: (s) visibility: private ri/1.8/system/Racc/Parser/_racc_init_sysvars-i.yaml 0000644 00000000305 15217654531 0016121 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#_racc_init_sysvars is_singleton: false name: _racc_init_sysvars params: () visibility: private ri/1.8/system/Racc/Parser/do_parse-i.yaml 0000644 00000000336 15217654531 0014035 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: do_parse full_name: Racc::Parser#do_parse is_singleton: false name: do_parse params: () visibility: private ri/1.8/system/Racc/Parser/yyaccept-i.yaml 0000644 00000000261 15217654531 0014057 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#yyaccept is_singleton: false name: yyaccept params: () visibility: private ri/1.8/system/Racc/Parser/token_to_str-i.yaml 0000644 00000000272 15217654531 0014752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#token_to_str is_singleton: false name: token_to_str params: (t) visibility: private ri/1.8/system/Racc/Parser/_racc_evalact-i.yaml 0000644 00000000356 15217654531 0015011 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: common full_name: Racc::Parser#_racc_evalact is_singleton: false name: _racc_evalact params: (act, arg) visibility: private ri/1.8/system/Racc/Parser/next_token-i.yaml 0000644 00000000265 15217654532 0014421 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#next_token is_singleton: false name: next_token params: () visibility: private ri/1.8/system/Racc/Parser/_racc_yyparse_rb-i.yaml 0000644 00000000330 15217654532 0015542 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#_racc_yyparse_rb is_singleton: false name: _racc_yyparse_rb params: (recv, mid, arg, c_debug) visibility: private ri/1.8/system/Racc/Parser/on_error-i.yaml 0000644 00000000277 15217654532 0014073 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#on_error is_singleton: false name: on_error params: (t, val, vstack) visibility: private ri/1.8/system/Racc/Parser/yyerror-i.yaml 0000644 00000000257 15217654532 0013757 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#yyerror is_singleton: false name: yyerror params: () visibility: private ri/1.8/system/Racc/Parser/yyerrok-i.yaml 0000644 00000000257 15217654532 0013750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#yyerrok is_singleton: false name: yyerrok params: () visibility: private ri/1.8/system/Racc/Parser/racc_token2str-i.yaml 0000644 00000000300 15217654532 0015154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Racc::Parser#racc_token2str is_singleton: false name: racc_token2str params: (tok) visibility: private ri/1.8/system/Racc/cdesc-Racc.yaml 0000644 00000000401 15217654532 0012500 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: Racc_No_Extentions value: "false" full_name: Racc includes: [] instance_methods: [] name: Racc superclass: ri/1.8/system/TimeExtentionTest/cdesc-TimeExtentionTest.yaml 0000644 00000000335 15217654532 0020056 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: TimeExtentionTest includes: [] instance_methods: [] name: TimeExtentionTest superclass: Test::Unit::TestCase ri/1.8/system/Zlib/GzipReader/new-c.yaml 0000644 00000001142 15217654532 0013651 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a GzipReader object associated with io. The GzipReader object reads gzipped data from io, and parses/decompresses them. At least, io must have a read method that behaves same as the read method in IO class. - !ruby/struct:SM::Flow::P body: If the gzip file header is incorrect, raises an Zlib::GzipFile::Error exception. full_name: Zlib::GzipReader::new is_singleton: true name: new params: " Zlib::GzipReader.new(io)\n" visibility: public ri/1.8/system/Zlib/GzipReader/rewind-i.yaml 0000644 00000000557 15217654532 0014367 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Resets the position of the file pointer to the point created the GzipReader object. The associated IO object needs to respond to the seek method. full_name: Zlib::GzipReader#rewind is_singleton: false name: rewind params: () visibility: public ri/1.8/system/Zlib/GzipReader/open-c.yaml 0000644 00000000716 15217654532 0014027 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Opens a file specified by filename as a gzipped file, and returns a GzipReader object associated with that file. Further details of this method are in Zlib::GzipReader.new and ZLib::GzipReader.wrap. full_name: Zlib::GzipReader::open is_singleton: true name: open params: " Zlib::GzipReader.open(filename) {|gz| ... }\n" visibility: public ri/1.8/system/Zlib/GzipReader/each_line-i.yaml 0000644 00000000423 15217654532 0014776 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Zlib::GzipReader documentation for a description. full_name: Zlib::GzipReader#each_line is_singleton: false name: each_line params: (...) visibility: public ri/1.8/system/Zlib/GzipReader/readlines-i.yaml 0000644 00000000423 15217654532 0015035 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Zlib::GzipReader documentation for a description. full_name: Zlib::GzipReader#readlines is_singleton: false name: readlines params: (...) visibility: public ri/1.8/system/Zlib/GzipReader/lineno-i.yaml 0000644 00000000330 15217654532 0014350 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: ??? full_name: Zlib::GzipReader#lineno is_singleton: false name: lineno params: () visibility: public ri/1.8/system/Zlib/GzipReader/readchar-i.yaml 0000644 00000000416 15217654532 0014642 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Zlib::GzipReader documentation for a description. full_name: Zlib::GzipReader#readchar is_singleton: false name: readchar params: () visibility: public ri/1.8/system/Zlib/GzipReader/each_byte-i.yaml 0000644 00000000420 15217654532 0015007 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Zlib::GzipReader documentation for a description. full_name: Zlib::GzipReader#each_byte is_singleton: false name: each_byte params: () visibility: public ri/1.8/system/Zlib/GzipReader/read-i.yaml 0000644 00000000411 15217654532 0013777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Zlib::GzipReader documentation for a description. full_name: Zlib::GzipReader#read is_singleton: false name: read params: (...) visibility: public ri/1.8/system/Zlib/GzipReader/pos-i.yaml 0000644 00000000322 15217654532 0013666 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: ??? full_name: Zlib::GzipReader#pos is_singleton: false name: pos params: () visibility: public ri/1.8/system/Zlib/GzipReader/getc-i.yaml 0000644 00000000406 15217654532 0014012 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Zlib::GzipReader documentation for a description. full_name: Zlib::GzipReader#getc is_singleton: false name: getc params: () visibility: public ri/1.8/system/Zlib/GzipReader/tell-i.yaml 0000644 00000000324 15217654532 0014027 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: ??? full_name: Zlib::GzipReader#tell is_singleton: false name: tell params: () visibility: public ri/1.8/system/Zlib/GzipReader/readline-i.yaml 0000644 00000000421 15217654532 0014650 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Zlib::GzipReader documentation for a description. full_name: Zlib::GzipReader#readline is_singleton: false name: readline params: (...) visibility: public ri/1.8/system/Zlib/GzipReader/each-i.yaml 0000644 00000000411 15217654532 0013764 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Zlib::GzipReader documentation for a description. full_name: Zlib::GzipReader#each is_singleton: false name: each params: (...) visibility: public ri/1.8/system/Zlib/GzipReader/eof-i.yaml 0000644 00000000322 15217654532 0013636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: ??? full_name: Zlib::GzipReader#eof is_singleton: false name: eof params: () visibility: public ri/1.8/system/Zlib/GzipReader/eof%3f-i.yaml 0000644 00000000324 15217654532 0014136 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: ??? full_name: Zlib::GzipReader#eof? is_singleton: false name: eof? params: () visibility: public ri/1.8/system/Zlib/GzipReader/cdesc-GzipReader.yaml 0000644 00000007474 15217654532 0015771 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: open comment: - !ruby/struct:SM::Flow::P body: Zlib::GzipReader is the class for reading a gzipped file. GzipReader should be used an IO, or -IO-lie, object. - !ruby/struct:SM::Flow::VERB body: " Zlib::GzipReader.open('hoge.gz') {|gz|\n print gz.read\n }\n\n File.open('hoge.gz') do |f|\n gz = Zlib::GzipReader.new(f)\n print gz.read\n gz.close\n end\n\n # TODO: test these. Are they equivalent? Can GzipReader.new take a\n # block?\n" - !ruby/struct:SM::Flow::H level: 2 text: Method Catalogue - !ruby/struct:SM::Flow::P body: The following methods in Zlib::GzipReader are just like their counterparts in IO, but they raise Zlib::Error or Zlib::GzipFile::Error exception if an error was found in the gzip file. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "#each" - !ruby/struct:SM::Flow::LI label: "-" body: "#each_line" - !ruby/struct:SM::Flow::LI label: "-" body: "#each_byte" - !ruby/struct:SM::Flow::LI label: "-" body: "#gets" - !ruby/struct:SM::Flow::LI label: "-" body: "#getc" - !ruby/struct:SM::Flow::LI label: "-" body: "#lineno" - !ruby/struct:SM::Flow::LI label: "-" body: "#lineno=" - !ruby/struct:SM::Flow::LI label: "-" body: "#read" - !ruby/struct:SM::Flow::LI label: "-" body: "#readchar" - !ruby/struct:SM::Flow::LI label: "-" body: "#readline" - !ruby/struct:SM::Flow::LI label: "-" body: "#readlines" - !ruby/struct:SM::Flow::LI label: "-" body: "#ungetc" type: :BULLET - !ruby/struct:SM::Flow::P body: Be careful of the footer of the gzip file. A gzip file has the checksum of pre-compressed data in its footer. GzipReader checks all uncompressed data against that checksum at the following cases, and if it fails, raises Zlib::GzipFile::NoFooter, Zlib::GzipFile::CRCError, or Zlib::GzipFile::LengthError exception. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: When an reading request is received beyond the end of file (the end of compressed data). That is, when Zlib::GzipReader#read, Zlib::GzipReader#gets, or some other methods for reading returns nil. - !ruby/struct:SM::Flow::LI label: "-" body: When Zlib::GzipFile#close method is called after the object reaches the end of file. - !ruby/struct:SM::Flow::LI label: "-" body: When Zlib::GzipReader#unused method is called after the object reaches the end of file. type: :BULLET - !ruby/struct:SM::Flow::P body: The rest of the methods are adequately described in their own documentation. constants: [] full_name: Zlib::GzipReader includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: each_byte - !ruby/object:RI::MethodSummary name: each_line - !ruby/object:RI::MethodSummary name: eof - !ruby/object:RI::MethodSummary name: eof? - !ruby/object:RI::MethodSummary name: getc - !ruby/object:RI::MethodSummary name: gets - !ruby/object:RI::MethodSummary name: lineno - !ruby/object:RI::MethodSummary name: lineno= - !ruby/object:RI::MethodSummary name: pos - !ruby/object:RI::MethodSummary name: read - !ruby/object:RI::MethodSummary name: readchar - !ruby/object:RI::MethodSummary name: readline - !ruby/object:RI::MethodSummary name: readlines - !ruby/object:RI::MethodSummary name: rewind - !ruby/object:RI::MethodSummary name: tell - !ruby/object:RI::MethodSummary name: ungetc - !ruby/object:RI::MethodSummary name: unused name: GzipReader superclass: Zlib::GzipFile ri/1.8/system/Zlib/GzipReader/gets-i.yaml 0000644 00000000411 15217654532 0014026 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Zlib::GzipReader documentation for a description. full_name: Zlib::GzipReader#gets is_singleton: false name: gets params: (...) visibility: public ri/1.8/system/Zlib/GzipReader/ungetc-i.yaml 0000644 00000000414 15217654532 0014354 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Zlib::GzipReader documentation for a description. full_name: Zlib::GzipReader#ungetc is_singleton: false name: ungetc params: (p1) visibility: public ri/1.8/system/Zlib/GzipReader/lineno%3d-i.yaml 0000644 00000000334 15217654532 0014650 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: ??? full_name: Zlib::GzipReader#lineno= is_singleton: false name: lineno= params: (p1) visibility: public ri/1.8/system/Zlib/GzipReader/unused-i.yaml 0000644 00000000523 15217654532 0014373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the rest of the data which had read for parsing gzip format, or nil if the whole gzip file is not parsed yet. full_name: Zlib::GzipReader#unused is_singleton: false name: unused params: () visibility: public ri/1.8/system/Zlib/ZStream/data_type-i.yaml 0000644 00000000602 15217654532 0014371 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Guesses the type of the data which have been inputed into the stream. The returned value is either Zlib::BINARY, Zlib::ASCII, or Zlib::UNKNOWN. full_name: Zlib::ZStream#data_type is_singleton: false name: data_type params: () visibility: public ri/1.8/system/Zlib/ZStream/stream_end%3f-i.yaml 0000644 00000000403 15217654532 0015035 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the stream is finished. full_name: Zlib::ZStream#stream_end? is_singleton: false name: stream_end? params: () visibility: public ri/1.8/system/Zlib/ZStream/avail_in-i.yaml 0000644 00000000425 15217654532 0014204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns bytes of data in the input buffer. Normally, returns 0. full_name: Zlib::ZStream#avail_in is_singleton: false name: avail_in params: () visibility: public ri/1.8/system/Zlib/ZStream/ended%3f-i.yaml 0000644 00000000367 15217654532 0014004 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the stream is closed. full_name: Zlib::ZStream#ended? is_singleton: false name: ended? params: () visibility: public ri/1.8/system/Zlib/ZStream/avail_out-i.yaml 0000644 00000000543 15217654532 0014406 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns number of bytes of free spaces in output buffer. Because the free space is allocated automatically, this method returns 0 normally. full_name: Zlib::ZStream#avail_out is_singleton: false name: avail_out params: () visibility: public ri/1.8/system/Zlib/ZStream/closed%3f-i.yaml 0000644 00000000371 15217654532 0014171 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the stream is closed. full_name: Zlib::ZStream#closed? is_singleton: false name: closed? params: () visibility: public ri/1.8/system/Zlib/ZStream/end-i.yaml 0000644 00000000433 15217654532 0013167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Closes the stream. All operations on the closed stream will raise an exception. full_name: Zlib::ZStream#end is_singleton: false name: end params: () visibility: public ri/1.8/system/Zlib/ZStream/close-i.yaml 0000644 00000000437 15217654532 0013532 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Closes the stream. All operations on the closed stream will raise an exception. full_name: Zlib::ZStream#close is_singleton: false name: close params: () visibility: public ri/1.8/system/Zlib/ZStream/finish-i.yaml 0000644 00000000520 15217654532 0013676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Finishes the stream and flushes output buffer. See Zlib::Deflate#finish and Zlib::Inflate#finish for details of this behavior. full_name: Zlib::ZStream#finish is_singleton: false name: finish params: () visibility: public ri/1.8/system/Zlib/ZStream/reset-i.yaml 0000644 00000000452 15217654532 0013544 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Resets and initializes the stream. All data in both input and output buffer are discarded. full_name: Zlib::ZStream#reset is_singleton: false name: reset params: () visibility: public ri/1.8/system/Zlib/ZStream/cdesc-ZStream.yaml 0000644 00000010475 15217654532 0014646 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: "Zlib::ZStream is the abstract class for the stream which handles the compressed data. The operations are defined in the subclasses: Zlib::Deflate for compression, and Zlib::Inflate for decompression." - !ruby/struct:SM::Flow::P body: An instance of Zlib::ZStream has one stream (struct zstream in the source) and two variable-length buffers which associated to the input (next_in) of the stream and the output (next_out) of the stream. In this document, "input buffer" means the buffer for input, and "output buffer" means the buffer for output. - !ruby/struct:SM::Flow::P body: Data input into an instance of Zlib::ZStream are temporally stored into the end of input buffer, and then data in input buffer are processed from the beginning of the buffer until no more output from the stream is produced (i.e. until avail_out > 0 after processing). During processing, output buffer is allocated and expanded automatically to hold all output data. - !ruby/struct:SM::Flow::P body: Some particular instance methods consume the data in output buffer and return them as a String. - !ruby/struct:SM::Flow::P body: "Here is an ascii art for describing above:" - !ruby/struct:SM::Flow::VERB body: " +================ an instance of Zlib::ZStream ================+\n || ||\n || +--------+ +-------+ +--------+ ||\n || +--| output |<---------|zstream|<---------| input |<--+ ||\n || | | buffer | next_out+-------+next_in | buffer | | ||\n || | +--------+ +--------+ | ||\n || | | ||\n +===|======================================================|===+\n | |\n v |\n "output data" "input data"\n" - !ruby/struct:SM::Flow::P body: If an error occurs during processing input buffer, an exception which is a subclass of Zlib::Error is raised. At that time, both input and output buffer keep their conditions at the time when the error occurs. - !ruby/struct:SM::Flow::H level: 2 text: Method Catalogue - !ruby/struct:SM::Flow::P body: Many of the methods in this class are fairly low-level and unlikely to be of interest to users. In fact, users are unlikely to use this class directly; rather they will be interested in Zlib::Inflate and Zlib::Deflate. - !ruby/struct:SM::Flow::P body: The higher level methods are listed below. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "#total_in" - !ruby/struct:SM::Flow::LI label: "-" body: "#total_out" - !ruby/struct:SM::Flow::LI label: "-" body: "#data_type" - !ruby/struct:SM::Flow::LI label: "-" body: "#adler" - !ruby/struct:SM::Flow::LI label: "-" body: "#reset" - !ruby/struct:SM::Flow::LI label: "-" body: "#finish" - !ruby/struct:SM::Flow::LI label: "-" body: "#finished?" - !ruby/struct:SM::Flow::LI label: "-" body: "#close" - !ruby/struct:SM::Flow::LI label: "-" body: "#closed?" type: :BULLET constants: [] full_name: Zlib::ZStream includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: adler - !ruby/object:RI::MethodSummary name: avail_in - !ruby/object:RI::MethodSummary name: avail_out - !ruby/object:RI::MethodSummary name: avail_out= - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: closed? - !ruby/object:RI::MethodSummary name: data_type - !ruby/object:RI::MethodSummary name: end - !ruby/object:RI::MethodSummary name: ended? - !ruby/object:RI::MethodSummary name: finish - !ruby/object:RI::MethodSummary name: finished? - !ruby/object:RI::MethodSummary name: flush_next_in - !ruby/object:RI::MethodSummary name: flush_next_out - !ruby/object:RI::MethodSummary name: reset - !ruby/object:RI::MethodSummary name: stream_end? - !ruby/object:RI::MethodSummary name: total_in - !ruby/object:RI::MethodSummary name: total_out name: ZStream superclass: Object ri/1.8/system/Zlib/ZStream/total_out-i.yaml 0000644 00000000431 15217654532 0014431 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the total bytes of the output data from the stream. FIXME full_name: Zlib::ZStream#total_out is_singleton: false name: total_out params: () visibility: public ri/1.8/system/Zlib/ZStream/adler-i.yaml 0000644 00000000356 15217654532 0013514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the adler-32 checksum. full_name: Zlib::ZStream#adler is_singleton: false name: adler params: () visibility: public ri/1.8/system/Zlib/ZStream/flush_next_in-i.yaml 0000644 00000000431 15217654532 0015264 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Flushes input buffer and returns all data in that buffer. full_name: Zlib::ZStream#flush_next_in is_singleton: false name: flush_next_in params: () visibility: public ri/1.8/system/Zlib/ZStream/avail_out%3d-i.yaml 0000644 00000000722 15217654532 0014701 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Allocates size bytes of free space in the output buffer. If there are more than size bytes already in the buffer, the buffer is truncated. Because free space is allocated automatically, you usually don't need to use this method. full_name: Zlib::ZStream#avail_out= is_singleton: false name: avail_out= params: (p1) visibility: public ri/1.8/system/Zlib/ZStream/flush_next_out-i.yaml 0000644 00000000434 15217654532 0015470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Flushes output buffer and returns all data in that buffer. full_name: Zlib::ZStream#flush_next_out is_singleton: false name: flush_next_out params: () visibility: public ri/1.8/system/Zlib/ZStream/total_in-i.yaml 0000644 00000000424 15217654532 0014232 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the total bytes of the input data to the stream. FIXME full_name: Zlib::ZStream#total_in is_singleton: false name: total_in params: () visibility: public ri/1.8/system/Zlib/ZStream/finished%3f-i.yaml 0000644 00000000377 15217654532 0014517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the stream is finished. full_name: Zlib::ZStream#finished? is_singleton: false name: finished? params: () visibility: public ri/1.8/system/Zlib/crc_table-c.yaml 0000644 00000000412 15217654532 0012741 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the table for calculating CRC checksum as an array. full_name: Zlib::crc_table is_singleton: true name: crc_table params: () visibility: public ri/1.8/system/Zlib/crc32-c.yaml 0000644 00000001014 15217654532 0011736 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calculates CRC checksum for string, and returns updated value of crc. If string is omitted, it returns the CRC initial value. If crc is omitted, it assumes that the initial value is given to crc. - !ruby/struct:SM::Flow::P body: "FIXME: expression." full_name: Zlib::crc32 is_singleton: true name: crc32 params: " Zlib.crc32(string, adler)\n" visibility: public ri/1.8/system/Zlib/adler32-c.yaml 0000644 00000001042 15217654532 0012257 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calculates Adler-32 checksum for string, and returns updated value of adler. If string is omitted, it returns the Adler-32 initial value. If adler is omitted, it assumes that the initial value is given to adler. - !ruby/struct:SM::Flow::P body: "FIXME: expression." full_name: Zlib::adler32 is_singleton: true name: adler32 params: " Zlib.adler32(string, adler)\n" visibility: public ri/1.8/system/Zlib/StreamError/cdesc-StreamError.yaml 0000644 00000004713 15217654532 0016404 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The Zlib module contains several classes for compressing and decompressing streams, and for working with "gzip" files. - !ruby/struct:SM::Flow::H level: 2 text: Classes - !ruby/struct:SM::Flow::P body: "Following are the classes that are most likely to be of interest to the user: Zlib::Inflate Zlib::Deflate Zlib::GzipReader Zlib::GzipWriter" - !ruby/struct:SM::Flow::P body: "There are two important base classes for the classes above: Zlib::ZStream and Zlib::GzipFile. Everything else is an error class." - !ruby/struct:SM::Flow::H level: 2 text: Constants - !ruby/struct:SM::Flow::P body: Here's a list. - !ruby/struct:SM::Flow::VERB body: " Zlib::VERSION\n The Ruby/zlib version string.\n\n Zlib::ZLIB_VERSION\n The string which represents the version of zlib.h.\n\n Zlib::BINARY\n Zlib::ASCII\n Zlib::UNKNOWN\n The integers representing data types which Zlib::ZStream#data_type\n method returns.\n\n Zlib::NO_COMPRESSION\n Zlib::BEST_SPEED\n Zlib::BEST_COMPRESSION\n Zlib::DEFAULT_COMPRESSION\n The integers representing compression levels which are an argument\n for Zlib::Deflate.new, Zlib::Deflate#deflate, and so on.\n\n Zlib::FILTERED\n Zlib::HUFFMAN_ONLY\n Zlib::DEFAULT_STRATEGY\n The integers representing compression methods which are an argument\n for Zlib::Deflate.new and Zlib::Deflate#params.\n\n Zlib::DEF_MEM_LEVEL\n Zlib::MAX_MEM_LEVEL\n The integers representing memory levels which are an argument for\n Zlib::Deflate.new, Zlib::Deflate#params, and so on.\n\n Zlib::MAX_WBITS\n The default value of windowBits which is an argument for\n Zlib::Deflate.new and Zlib::Inflate.new.\n\n Zlib::NO_FLUSH\n Zlib::SYNC_FLUSH\n Zlib::FULL_FLUSH\n Zlib::FINISH\n The integers to control the output of the deflate stream, which are\n an argument for Zlib::Deflate#deflate and so on.\n\n Zlib::OS_CODE\n Zlib::OS_MSDOS\n Zlib::OS_AMIGA\n Zlib::OS_VMS\n Zlib::OS_UNIX\n Zlib::OS_VMCMS\n Zlib::OS_ATARI\n Zlib::OS_OS2\n Zlib::OS_MACOS\n Zlib::OS_ZSYSTEM\n Zlib::OS_CPM\n Zlib::OS_TOPS20\n Zlib::OS_WIN32\n Zlib::OS_QDOS\n Zlib::OS_RISCOS\n Zlib::OS_UNKNOWN\n The return values of Zlib::GzipFile#os_code method.\n" constants: [] full_name: Zlib::StreamError includes: [] instance_methods: [] name: StreamError superclass: Zlib::Error ri/1.8/system/Zlib/StreamEnd/cdesc-StreamEnd.yaml 0000644 00000004707 15217654532 0015441 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The Zlib module contains several classes for compressing and decompressing streams, and for working with "gzip" files. - !ruby/struct:SM::Flow::H level: 2 text: Classes - !ruby/struct:SM::Flow::P body: "Following are the classes that are most likely to be of interest to the user: Zlib::Inflate Zlib::Deflate Zlib::GzipReader Zlib::GzipWriter" - !ruby/struct:SM::Flow::P body: "There are two important base classes for the classes above: Zlib::ZStream and Zlib::GzipFile. Everything else is an error class." - !ruby/struct:SM::Flow::H level: 2 text: Constants - !ruby/struct:SM::Flow::P body: Here's a list. - !ruby/struct:SM::Flow::VERB body: " Zlib::VERSION\n The Ruby/zlib version string.\n\n Zlib::ZLIB_VERSION\n The string which represents the version of zlib.h.\n\n Zlib::BINARY\n Zlib::ASCII\n Zlib::UNKNOWN\n The integers representing data types which Zlib::ZStream#data_type\n method returns.\n\n Zlib::NO_COMPRESSION\n Zlib::BEST_SPEED\n Zlib::BEST_COMPRESSION\n Zlib::DEFAULT_COMPRESSION\n The integers representing compression levels which are an argument\n for Zlib::Deflate.new, Zlib::Deflate#deflate, and so on.\n\n Zlib::FILTERED\n Zlib::HUFFMAN_ONLY\n Zlib::DEFAULT_STRATEGY\n The integers representing compression methods which are an argument\n for Zlib::Deflate.new and Zlib::Deflate#params.\n\n Zlib::DEF_MEM_LEVEL\n Zlib::MAX_MEM_LEVEL\n The integers representing memory levels which are an argument for\n Zlib::Deflate.new, Zlib::Deflate#params, and so on.\n\n Zlib::MAX_WBITS\n The default value of windowBits which is an argument for\n Zlib::Deflate.new and Zlib::Inflate.new.\n\n Zlib::NO_FLUSH\n Zlib::SYNC_FLUSH\n Zlib::FULL_FLUSH\n Zlib::FINISH\n The integers to control the output of the deflate stream, which are\n an argument for Zlib::Deflate#deflate and so on.\n\n Zlib::OS_CODE\n Zlib::OS_MSDOS\n Zlib::OS_AMIGA\n Zlib::OS_VMS\n Zlib::OS_UNIX\n Zlib::OS_VMCMS\n Zlib::OS_ATARI\n Zlib::OS_OS2\n Zlib::OS_MACOS\n Zlib::OS_ZSYSTEM\n Zlib::OS_CPM\n Zlib::OS_TOPS20\n Zlib::OS_WIN32\n Zlib::OS_QDOS\n Zlib::OS_RISCOS\n Zlib::OS_UNKNOWN\n The return values of Zlib::GzipFile#os_code method.\n" constants: [] full_name: Zlib::StreamEnd includes: [] instance_methods: [] name: StreamEnd superclass: Zlib::Error ri/1.8/system/Zlib/MemError/cdesc-MemError.yaml 0000644 00000004705 15217654532 0015153 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The Zlib module contains several classes for compressing and decompressing streams, and for working with "gzip" files. - !ruby/struct:SM::Flow::H level: 2 text: Classes - !ruby/struct:SM::Flow::P body: "Following are the classes that are most likely to be of interest to the user: Zlib::Inflate Zlib::Deflate Zlib::GzipReader Zlib::GzipWriter" - !ruby/struct:SM::Flow::P body: "There are two important base classes for the classes above: Zlib::ZStream and Zlib::GzipFile. Everything else is an error class." - !ruby/struct:SM::Flow::H level: 2 text: Constants - !ruby/struct:SM::Flow::P body: Here's a list. - !ruby/struct:SM::Flow::VERB body: " Zlib::VERSION\n The Ruby/zlib version string.\n\n Zlib::ZLIB_VERSION\n The string which represents the version of zlib.h.\n\n Zlib::BINARY\n Zlib::ASCII\n Zlib::UNKNOWN\n The integers representing data types which Zlib::ZStream#data_type\n method returns.\n\n Zlib::NO_COMPRESSION\n Zlib::BEST_SPEED\n Zlib::BEST_COMPRESSION\n Zlib::DEFAULT_COMPRESSION\n The integers representing compression levels which are an argument\n for Zlib::Deflate.new, Zlib::Deflate#deflate, and so on.\n\n Zlib::FILTERED\n Zlib::HUFFMAN_ONLY\n Zlib::DEFAULT_STRATEGY\n The integers representing compression methods which are an argument\n for Zlib::Deflate.new and Zlib::Deflate#params.\n\n Zlib::DEF_MEM_LEVEL\n Zlib::MAX_MEM_LEVEL\n The integers representing memory levels which are an argument for\n Zlib::Deflate.new, Zlib::Deflate#params, and so on.\n\n Zlib::MAX_WBITS\n The default value of windowBits which is an argument for\n Zlib::Deflate.new and Zlib::Inflate.new.\n\n Zlib::NO_FLUSH\n Zlib::SYNC_FLUSH\n Zlib::FULL_FLUSH\n Zlib::FINISH\n The integers to control the output of the deflate stream, which are\n an argument for Zlib::Deflate#deflate and so on.\n\n Zlib::OS_CODE\n Zlib::OS_MSDOS\n Zlib::OS_AMIGA\n Zlib::OS_VMS\n Zlib::OS_UNIX\n Zlib::OS_VMCMS\n Zlib::OS_ATARI\n Zlib::OS_OS2\n Zlib::OS_MACOS\n Zlib::OS_ZSYSTEM\n Zlib::OS_CPM\n Zlib::OS_TOPS20\n Zlib::OS_WIN32\n Zlib::OS_QDOS\n Zlib::OS_RISCOS\n Zlib::OS_UNKNOWN\n The return values of Zlib::GzipFile#os_code method.\n" constants: [] full_name: Zlib::MemError includes: [] instance_methods: [] name: MemError superclass: Zlib::Error ri/1.8/system/Zlib/Deflate/new-c.yaml 0000644 00000000755 15217654532 0013172 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new deflate stream for compression. See zlib.h for details of each argument. If an argument is nil, the default value of that argument is used. - !ruby/struct:SM::Flow::P body: "TODO: document better!" full_name: Zlib::Deflate::new is_singleton: true name: new params: " Zlib::Deflate.new(level=nil, windowBits=nil, memlevel=nil, strategy=nil)\n" visibility: public ri/1.8/system/Zlib/Deflate/%3c%3c-i.yaml 0000644 00000000331 15217654532 0013242 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Same as IO. full_name: Zlib::Deflate#<< is_singleton: false name: "<<" params: (p1) visibility: public ri/1.8/system/Zlib/Deflate/deflate-i.yaml 0000644 00000001411 15217654532 0014001 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Inputs string into the deflate stream and returns the output from the stream. On calling this method, both the input and the output buffers of the stream are flushed. If string is nil, this method finishes the stream, just like Zlib::ZStream#finish. - !ruby/struct:SM::Flow::P body: The value of flush should be either Zlib::NO_FLUSH, Zlib::SYNC_FLUSH, Zlib::FULL_FLUSH, or Zlib::FINISH. See zlib.h for details. - !ruby/struct:SM::Flow::P body: "TODO: document better!" full_name: Zlib::Deflate#deflate is_singleton: false name: deflate params: " deflate(string[, flush])\n" visibility: public ri/1.8/system/Zlib/Deflate/params-i.yaml 0000644 00000000677 15217654532 0013675 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Changes the parameters of the deflate stream. See zlib.h for details. The output from the stream by changing the params is preserved in output buffer. - !ruby/struct:SM::Flow::P body: "TODO: document better!" full_name: Zlib::Deflate#params is_singleton: false name: params params: " params(level, strategy)\n" visibility: public ri/1.8/system/Zlib/Deflate/deflate-c.yaml 0000644 00000001473 15217654532 0014003 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compresses the given string. Valid values of level are Zlib::NO_COMPRESSION, Zlib::BEST_SPEED, Zlib::BEST_COMPRESSION, Zlib::DEFAULT_COMPRESSION, and an integer from 0 to 9. - !ruby/struct:SM::Flow::P body: "This method is almost equivalent to the following code:" - !ruby/struct:SM::Flow::VERB body: " def deflate(string, level)\n z = Zlib::Deflate.new(level)\n dst = z.deflate(string, Zlib::FINISH)\n z.close\n dst\n end\n" - !ruby/struct:SM::Flow::P body: "TODO: what's default value of level?" full_name: Zlib::Deflate::deflate is_singleton: true name: deflate params: " Zlib::Deflate.deflate(string[, level])\n" visibility: public ri/1.8/system/Zlib/Deflate/cdesc-Deflate.yaml 0000644 00000001323 15217654532 0014574 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: deflate - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Zlib::Deflate is the class for compressing data. See Zlib::Stream for more information. constants: [] full_name: Zlib::Deflate includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: deflate - !ruby/object:RI::MethodSummary name: flush - !ruby/object:RI::MethodSummary name: initialize_copy - !ruby/object:RI::MethodSummary name: params - !ruby/object:RI::MethodSummary name: set_dictionary name: Deflate superclass: Zlib::ZStream ri/1.8/system/Zlib/Deflate/flush-i.yaml 0000644 00000000744 15217654532 0013526 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This method is equivalent to deflate('', flush). If flush is omitted, Zlib::SYNC_FLUSH is used as flush. This method is just provided to improve the readability of your Ruby program. - !ruby/struct:SM::Flow::P body: "TODO: document better!" full_name: Zlib::Deflate#flush is_singleton: false name: flush params: " flush(flush)\n" visibility: public ri/1.8/system/Zlib/Deflate/initialize_copy-i.yaml 0000644 00000000404 15217654532 0015571 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Duplicates the deflate stream. full_name: Zlib::Deflate#initialize_copy is_singleton: false name: initialize_copy params: (p1) visibility: public ri/1.8/system/Zlib/Deflate/set_dictionary-i.yaml 0000644 00000000754 15217654532 0015426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the preset dictionary and returns string. This method is available just only after Zlib::Deflate.new or Zlib::ZStream#reset method was called. See zlib.h for details. - !ruby/struct:SM::Flow::P body: "TODO: document better!" full_name: Zlib::Deflate#set_dictionary is_singleton: false name: set_dictionary params: " set_dictionary(string)\n" visibility: public ri/1.8/system/Zlib/Error/cdesc-Error.yaml 0000644 00000002021 15217654532 0014042 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The superclass for all exceptions raised by Ruby/zlib. - !ruby/struct:SM::Flow::P body: The following exceptions are defined as subclasses of Zlib::Error. These exceptions are raised when zlib library functions return with an error status. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: Zlib::StreamEnd - !ruby/struct:SM::Flow::LI label: "-" body: Zlib::NeedDict - !ruby/struct:SM::Flow::LI label: "-" body: Zlib::DataError - !ruby/struct:SM::Flow::LI label: "-" body: Zlib::StreamError - !ruby/struct:SM::Flow::LI label: "-" body: Zlib::MemError - !ruby/struct:SM::Flow::LI label: "-" body: Zlib::BufError - !ruby/struct:SM::Flow::LI label: "-" body: Zlib::VersionError type: :BULLET constants: [] full_name: Zlib::Error includes: [] instance_methods: [] name: Error superclass: StandardError ri/1.8/system/Zlib/GzipFile/sync-i.yaml 0000644 00000000332 15217654532 0013517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Same as IO. full_name: Zlib::GzipFile#sync is_singleton: false name: sync params: () visibility: public ri/1.8/system/Zlib/GzipFile/os_code-i.yaml 0000644 00000000415 15217654532 0014160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns OS code number recorded in the gzip file header. full_name: Zlib::GzipFile#os_code is_singleton: false name: os_code params: () visibility: public ri/1.8/system/Zlib/GzipFile/CRCError/cdesc-CRCError.yaml 0000644 00000000601 15217654532 0016435 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Raised when the CRC checksum recorded in gzip file footer is not equivalent to the CRC checksum of the actual uncompressed data. constants: [] full_name: Zlib::GzipFile::CRCError includes: [] instance_methods: [] name: CRCError superclass: Zlib::GzipFile::Error ri/1.8/system/Zlib/GzipFile/level-i.yaml 0000644 00000000353 15217654532 0013655 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns compression level. full_name: Zlib::GzipFile#level is_singleton: false name: level params: () visibility: public ri/1.8/system/Zlib/GzipFile/closed%3f-i.yaml 0000644 00000000340 15217654532 0014311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Same as IO. full_name: Zlib::GzipFile#closed? is_singleton: false name: closed? params: () visibility: public ri/1.8/system/Zlib/GzipFile/mtime-i.yaml 0000644 00000000421 15217654532 0013655 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns last modification time recorded in the gzip file header. full_name: Zlib::GzipFile#mtime is_singleton: false name: mtime params: () visibility: public ri/1.8/system/Zlib/GzipFile/comment-i.yaml 0000644 00000000456 15217654532 0014214 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns comments recorded in the gzip file header, or nil if the comments is not present. full_name: Zlib::GzipFile#comment is_singleton: false name: comment params: () visibility: public ri/1.8/system/Zlib/GzipFile/cdesc-GzipFile.yaml 0000644 00000002201 15217654532 0015102 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: wrap comment: - !ruby/struct:SM::Flow::P body: Zlib::GzipFile is an abstract class for handling a gzip formatted compressed file. The operations are defined in the subclasses, Zlib::GzipReader for reading, and Zlib::GzipWriter for writing. - !ruby/struct:SM::Flow::P body: GzipReader should be used by associating an IO, or IO-like, object. constants: [] full_name: Zlib::GzipFile includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: closed? - !ruby/object:RI::MethodSummary name: comment - !ruby/object:RI::MethodSummary name: crc - !ruby/object:RI::MethodSummary name: finish - !ruby/object:RI::MethodSummary name: level - !ruby/object:RI::MethodSummary name: mtime - !ruby/object:RI::MethodSummary name: orig_name - !ruby/object:RI::MethodSummary name: os_code - !ruby/object:RI::MethodSummary name: sync - !ruby/object:RI::MethodSummary name: sync= - !ruby/object:RI::MethodSummary name: to_io name: GzipFile superclass: Object ri/1.8/system/Zlib/GzipFile/close-i.yaml 0000644 00000000512 15217654532 0013650 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Closes the GzipFile object. This method calls close method of the associated IO object. Returns the associated IO object. full_name: Zlib::GzipFile#close is_singleton: false name: close params: () visibility: public ri/1.8/system/Zlib/GzipFile/finish-i.yaml 0000644 00000000563 15217654532 0014031 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Closes the GzipFile object. Unlike Zlib::GzipFile#close, this method never calls the close method of the associated IO object. Returns the associated IO object. full_name: Zlib::GzipFile#finish is_singleton: false name: finish params: () visibility: public ri/1.8/system/Zlib/GzipFile/to_io-i.yaml 0000644 00000000334 15217654532 0013656 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Same as IO. full_name: Zlib::GzipFile#to_io is_singleton: false name: to_io params: () visibility: public ri/1.8/system/Zlib/GzipFile/Error/cdesc-Error.yaml 0000644 00000000454 15217654532 0015563 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Base class of errors that occur when processing GZIP files. constants: [] full_name: Zlib::GzipFile::Error includes: [] instance_methods: [] name: Error superclass: Zlib::Error ri/1.8/system/Zlib/GzipFile/sync%3d-i.yaml 0000644 00000000634 15217654532 0014020 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Same as IO. If flag is true, the associated IO object must respond to the flush method. While sync mode is true, the compression ratio decreases sharply. full_name: Zlib::GzipFile#sync= is_singleton: false name: sync= params: " sync = flag\n" visibility: public ri/1.8/system/Zlib/GzipFile/crc-i.yaml 0000644 00000000370 15217654532 0013314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns CRC value of the uncompressed data. full_name: Zlib::GzipFile#crc is_singleton: false name: crc params: () visibility: public ri/1.8/system/Zlib/GzipFile/wrap-c.yaml 0000644 00000000406 15217654532 0013510 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Zlib::GzipReader#wrap and Zlib::GzipWriter#wrap. full_name: Zlib::GzipFile::wrap is_singleton: true name: wrap params: (...) visibility: public ri/1.8/system/Zlib/GzipFile/LengthError/cdesc-LengthError.yaml 0000644 00000000604 15217654532 0020064 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Raised when the data length recorded in the gzip file footer is not equivalent to the length of the actual uncompressed data. constants: [] full_name: Zlib::GzipFile::LengthError includes: [] instance_methods: [] name: LengthError superclass: Zlib::GzipFile::Error ri/1.8/system/Zlib/GzipFile/orig_name-i.yaml 0000644 00000000511 15217654532 0014502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns original filename recorded in the gzip file header, or nil if original filename is not present. full_name: Zlib::GzipFile#orig_name is_singleton: false name: orig_name params: () visibility: public ri/1.8/system/Zlib/GzipFile/NoFooter/cdesc-NoFooter.yaml 0000644 00000000453 15217654532 0016666 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Raised when gzip file footer is not found. constants: [] full_name: Zlib::GzipFile::NoFooter includes: [] instance_methods: [] name: NoFooter superclass: Zlib::GzipFile::Error ri/1.8/system/Zlib/BufError/cdesc-BufError.yaml 0000644 00000004705 15217654532 0015147 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The Zlib module contains several classes for compressing and decompressing streams, and for working with "gzip" files. - !ruby/struct:SM::Flow::H level: 2 text: Classes - !ruby/struct:SM::Flow::P body: "Following are the classes that are most likely to be of interest to the user: Zlib::Inflate Zlib::Deflate Zlib::GzipReader Zlib::GzipWriter" - !ruby/struct:SM::Flow::P body: "There are two important base classes for the classes above: Zlib::ZStream and Zlib::GzipFile. Everything else is an error class." - !ruby/struct:SM::Flow::H level: 2 text: Constants - !ruby/struct:SM::Flow::P body: Here's a list. - !ruby/struct:SM::Flow::VERB body: " Zlib::VERSION\n The Ruby/zlib version string.\n\n Zlib::ZLIB_VERSION\n The string which represents the version of zlib.h.\n\n Zlib::BINARY\n Zlib::ASCII\n Zlib::UNKNOWN\n The integers representing data types which Zlib::ZStream#data_type\n method returns.\n\n Zlib::NO_COMPRESSION\n Zlib::BEST_SPEED\n Zlib::BEST_COMPRESSION\n Zlib::DEFAULT_COMPRESSION\n The integers representing compression levels which are an argument\n for Zlib::Deflate.new, Zlib::Deflate#deflate, and so on.\n\n Zlib::FILTERED\n Zlib::HUFFMAN_ONLY\n Zlib::DEFAULT_STRATEGY\n The integers representing compression methods which are an argument\n for Zlib::Deflate.new and Zlib::Deflate#params.\n\n Zlib::DEF_MEM_LEVEL\n Zlib::MAX_MEM_LEVEL\n The integers representing memory levels which are an argument for\n Zlib::Deflate.new, Zlib::Deflate#params, and so on.\n\n Zlib::MAX_WBITS\n The default value of windowBits which is an argument for\n Zlib::Deflate.new and Zlib::Inflate.new.\n\n Zlib::NO_FLUSH\n Zlib::SYNC_FLUSH\n Zlib::FULL_FLUSH\n Zlib::FINISH\n The integers to control the output of the deflate stream, which are\n an argument for Zlib::Deflate#deflate and so on.\n\n Zlib::OS_CODE\n Zlib::OS_MSDOS\n Zlib::OS_AMIGA\n Zlib::OS_VMS\n Zlib::OS_UNIX\n Zlib::OS_VMCMS\n Zlib::OS_ATARI\n Zlib::OS_OS2\n Zlib::OS_MACOS\n Zlib::OS_ZSYSTEM\n Zlib::OS_CPM\n Zlib::OS_TOPS20\n Zlib::OS_WIN32\n Zlib::OS_QDOS\n Zlib::OS_RISCOS\n Zlib::OS_UNKNOWN\n The return values of Zlib::GzipFile#os_code method.\n" constants: [] full_name: Zlib::BufError includes: [] instance_methods: [] name: BufError superclass: Zlib::Error ri/1.8/system/Zlib/zlib_version-c.yaml 0000644 00000000425 15217654532 0013534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the string which represents the version of zlib library. full_name: Zlib::zlib_version is_singleton: true name: zlib_version params: () visibility: public ri/1.8/system/Zlib/DataError/cdesc-DataError.yaml 0000644 00000004707 15217654532 0015443 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The Zlib module contains several classes for compressing and decompressing streams, and for working with "gzip" files. - !ruby/struct:SM::Flow::H level: 2 text: Classes - !ruby/struct:SM::Flow::P body: "Following are the classes that are most likely to be of interest to the user: Zlib::Inflate Zlib::Deflate Zlib::GzipReader Zlib::GzipWriter" - !ruby/struct:SM::Flow::P body: "There are two important base classes for the classes above: Zlib::ZStream and Zlib::GzipFile. Everything else is an error class." - !ruby/struct:SM::Flow::H level: 2 text: Constants - !ruby/struct:SM::Flow::P body: Here's a list. - !ruby/struct:SM::Flow::VERB body: " Zlib::VERSION\n The Ruby/zlib version string.\n\n Zlib::ZLIB_VERSION\n The string which represents the version of zlib.h.\n\n Zlib::BINARY\n Zlib::ASCII\n Zlib::UNKNOWN\n The integers representing data types which Zlib::ZStream#data_type\n method returns.\n\n Zlib::NO_COMPRESSION\n Zlib::BEST_SPEED\n Zlib::BEST_COMPRESSION\n Zlib::DEFAULT_COMPRESSION\n The integers representing compression levels which are an argument\n for Zlib::Deflate.new, Zlib::Deflate#deflate, and so on.\n\n Zlib::FILTERED\n Zlib::HUFFMAN_ONLY\n Zlib::DEFAULT_STRATEGY\n The integers representing compression methods which are an argument\n for Zlib::Deflate.new and Zlib::Deflate#params.\n\n Zlib::DEF_MEM_LEVEL\n Zlib::MAX_MEM_LEVEL\n The integers representing memory levels which are an argument for\n Zlib::Deflate.new, Zlib::Deflate#params, and so on.\n\n Zlib::MAX_WBITS\n The default value of windowBits which is an argument for\n Zlib::Deflate.new and Zlib::Inflate.new.\n\n Zlib::NO_FLUSH\n Zlib::SYNC_FLUSH\n Zlib::FULL_FLUSH\n Zlib::FINISH\n The integers to control the output of the deflate stream, which are\n an argument for Zlib::Deflate#deflate and so on.\n\n Zlib::OS_CODE\n Zlib::OS_MSDOS\n Zlib::OS_AMIGA\n Zlib::OS_VMS\n Zlib::OS_UNIX\n Zlib::OS_VMCMS\n Zlib::OS_ATARI\n Zlib::OS_OS2\n Zlib::OS_MACOS\n Zlib::OS_ZSYSTEM\n Zlib::OS_CPM\n Zlib::OS_TOPS20\n Zlib::OS_WIN32\n Zlib::OS_QDOS\n Zlib::OS_RISCOS\n Zlib::OS_UNKNOWN\n The return values of Zlib::GzipFile#os_code method.\n" constants: [] full_name: Zlib::DataError includes: [] instance_methods: [] name: DataError superclass: Zlib::Error ri/1.8/system/Zlib/VersionError/cdesc-VersionError.yaml 0000644 00000004715 15217654532 0016772 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The Zlib module contains several classes for compressing and decompressing streams, and for working with "gzip" files. - !ruby/struct:SM::Flow::H level: 2 text: Classes - !ruby/struct:SM::Flow::P body: "Following are the classes that are most likely to be of interest to the user: Zlib::Inflate Zlib::Deflate Zlib::GzipReader Zlib::GzipWriter" - !ruby/struct:SM::Flow::P body: "There are two important base classes for the classes above: Zlib::ZStream and Zlib::GzipFile. Everything else is an error class." - !ruby/struct:SM::Flow::H level: 2 text: Constants - !ruby/struct:SM::Flow::P body: Here's a list. - !ruby/struct:SM::Flow::VERB body: " Zlib::VERSION\n The Ruby/zlib version string.\n\n Zlib::ZLIB_VERSION\n The string which represents the version of zlib.h.\n\n Zlib::BINARY\n Zlib::ASCII\n Zlib::UNKNOWN\n The integers representing data types which Zlib::ZStream#data_type\n method returns.\n\n Zlib::NO_COMPRESSION\n Zlib::BEST_SPEED\n Zlib::BEST_COMPRESSION\n Zlib::DEFAULT_COMPRESSION\n The integers representing compression levels which are an argument\n for Zlib::Deflate.new, Zlib::Deflate#deflate, and so on.\n\n Zlib::FILTERED\n Zlib::HUFFMAN_ONLY\n Zlib::DEFAULT_STRATEGY\n The integers representing compression methods which are an argument\n for Zlib::Deflate.new and Zlib::Deflate#params.\n\n Zlib::DEF_MEM_LEVEL\n Zlib::MAX_MEM_LEVEL\n The integers representing memory levels which are an argument for\n Zlib::Deflate.new, Zlib::Deflate#params, and so on.\n\n Zlib::MAX_WBITS\n The default value of windowBits which is an argument for\n Zlib::Deflate.new and Zlib::Inflate.new.\n\n Zlib::NO_FLUSH\n Zlib::SYNC_FLUSH\n Zlib::FULL_FLUSH\n Zlib::FINISH\n The integers to control the output of the deflate stream, which are\n an argument for Zlib::Deflate#deflate and so on.\n\n Zlib::OS_CODE\n Zlib::OS_MSDOS\n Zlib::OS_AMIGA\n Zlib::OS_VMS\n Zlib::OS_UNIX\n Zlib::OS_VMCMS\n Zlib::OS_ATARI\n Zlib::OS_OS2\n Zlib::OS_MACOS\n Zlib::OS_ZSYSTEM\n Zlib::OS_CPM\n Zlib::OS_TOPS20\n Zlib::OS_WIN32\n Zlib::OS_QDOS\n Zlib::OS_RISCOS\n Zlib::OS_UNKNOWN\n The return values of Zlib::GzipFile#os_code method.\n" constants: [] full_name: Zlib::VersionError includes: [] instance_methods: [] name: VersionError superclass: Zlib::Error ri/1.8/system/Zlib/Inflate/sync-i.yaml 0000644 00000001007 15217654532 0013370 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Inputs string into the end of input buffer and skips data until a full flush point can be found. If the point is found in the buffer, this method flushes the buffer and returns false. Otherwise it returns true and the following data of full flush point is preserved in the buffer. full_name: Zlib::Inflate#sync is_singleton: false name: sync params: " sync(string)\n" visibility: public ri/1.8/system/Zlib/Inflate/new-c.yaml 0000644 00000000705 15217654532 0013203 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new inflate stream for decompression. See zlib.h for details of the argument. If window_bits is nil, the default value is used. - !ruby/struct:SM::Flow::P body: "TODO: document better!" full_name: Zlib::Inflate::new is_singleton: true name: new params: " Zlib::Inflate.new(window_bits)\n" visibility: public ri/1.8/system/Zlib/Inflate/cdesc-Inflate.yaml 0000644 00000001340 15217654532 0014627 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: inflate - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Zlib:Inflate is the class for decompressing compressed data. Unlike Zlib::Deflate, an instance of this class is not able to duplicate (clone, dup) itself. constants: [] full_name: Zlib::Inflate includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: inflate - !ruby/object:RI::MethodSummary name: set_dictionary - !ruby/object:RI::MethodSummary name: sync - !ruby/object:RI::MethodSummary name: sync_point? name: Inflate superclass: Zlib::ZStream ri/1.8/system/Zlib/Inflate/%3c%3c-i.yaml 0000644 00000000331 15217654532 0013260 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Same as IO. full_name: Zlib::Inflate#<< is_singleton: false name: "<<" params: (p1) visibility: public ri/1.8/system/Zlib/Inflate/inflate-c.yaml 0000644 00000001201 15217654532 0014024 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Decompresses string. Raises a Zlib::NeedDict exception if a preset dictionary is needed for decompression. - !ruby/struct:SM::Flow::P body: "This method is almost equivalent to the following code:" - !ruby/struct:SM::Flow::VERB body: " def inflate(string)\n zstream = Zlib::Inflate.new\n buf = zstream.inflate(string)\n zstream.finish\n zstream.close\n buf\n end\n" full_name: Zlib::Inflate::inflate is_singleton: true name: inflate params: " Zlib::Inflate.inflate(string)\n" visibility: public ri/1.8/system/Zlib/Inflate/inflate-i.yaml 0000644 00000001430 15217654532 0014036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Inputs string into the inflate stream and returns the output from the stream. Calling this method, both the input and the output buffer of the stream are flushed. If string is nil, this method finishes the stream, just like Zlib::ZStream#finish. - !ruby/struct:SM::Flow::P body: Raises a Zlib::NeedDict exception if a preset dictionary is needed to decompress. Set the dictionary by Zlib::Inflate#set_dictionary and then call this method again with an empty string. (???) - !ruby/struct:SM::Flow::P body: "TODO: document better!" full_name: Zlib::Inflate#inflate is_singleton: false name: inflate params: " inflate(string)\n" visibility: public ri/1.8/system/Zlib/Inflate/set_dictionary-i.yaml 0000644 00000000700 15217654532 0015433 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the preset dictionary and returns string. This method is available just only after a Zlib::NeedDict exception was raised. See zlib.h for details. - !ruby/struct:SM::Flow::P body: "TODO: document better!" full_name: Zlib::Inflate#set_dictionary is_singleton: false name: set_dictionary params: (p1) visibility: public ri/1.8/system/Zlib/Inflate/sync_point%3f-i.yaml 0000644 00000000565 15217654532 0015107 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Quoted verbatim from original documentation:" - !ruby/struct:SM::Flow::VERB body: " What is this?\n" - !ruby/struct:SM::Flow::P body: :) full_name: Zlib::Inflate#sync_point? is_singleton: false name: sync_point? params: () visibility: public ri/1.8/system/Zlib/NeedDict/cdesc-NeedDict.yaml 0000644 00000004705 15217654532 0015031 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The Zlib module contains several classes for compressing and decompressing streams, and for working with "gzip" files. - !ruby/struct:SM::Flow::H level: 2 text: Classes - !ruby/struct:SM::Flow::P body: "Following are the classes that are most likely to be of interest to the user: Zlib::Inflate Zlib::Deflate Zlib::GzipReader Zlib::GzipWriter" - !ruby/struct:SM::Flow::P body: "There are two important base classes for the classes above: Zlib::ZStream and Zlib::GzipFile. Everything else is an error class." - !ruby/struct:SM::Flow::H level: 2 text: Constants - !ruby/struct:SM::Flow::P body: Here's a list. - !ruby/struct:SM::Flow::VERB body: " Zlib::VERSION\n The Ruby/zlib version string.\n\n Zlib::ZLIB_VERSION\n The string which represents the version of zlib.h.\n\n Zlib::BINARY\n Zlib::ASCII\n Zlib::UNKNOWN\n The integers representing data types which Zlib::ZStream#data_type\n method returns.\n\n Zlib::NO_COMPRESSION\n Zlib::BEST_SPEED\n Zlib::BEST_COMPRESSION\n Zlib::DEFAULT_COMPRESSION\n The integers representing compression levels which are an argument\n for Zlib::Deflate.new, Zlib::Deflate#deflate, and so on.\n\n Zlib::FILTERED\n Zlib::HUFFMAN_ONLY\n Zlib::DEFAULT_STRATEGY\n The integers representing compression methods which are an argument\n for Zlib::Deflate.new and Zlib::Deflate#params.\n\n Zlib::DEF_MEM_LEVEL\n Zlib::MAX_MEM_LEVEL\n The integers representing memory levels which are an argument for\n Zlib::Deflate.new, Zlib::Deflate#params, and so on.\n\n Zlib::MAX_WBITS\n The default value of windowBits which is an argument for\n Zlib::Deflate.new and Zlib::Inflate.new.\n\n Zlib::NO_FLUSH\n Zlib::SYNC_FLUSH\n Zlib::FULL_FLUSH\n Zlib::FINISH\n The integers to control the output of the deflate stream, which are\n an argument for Zlib::Deflate#deflate and so on.\n\n Zlib::OS_CODE\n Zlib::OS_MSDOS\n Zlib::OS_AMIGA\n Zlib::OS_VMS\n Zlib::OS_UNIX\n Zlib::OS_VMCMS\n Zlib::OS_ATARI\n Zlib::OS_OS2\n Zlib::OS_MACOS\n Zlib::OS_ZSYSTEM\n Zlib::OS_CPM\n Zlib::OS_TOPS20\n Zlib::OS_WIN32\n Zlib::OS_QDOS\n Zlib::OS_RISCOS\n Zlib::OS_UNKNOWN\n The return values of Zlib::GzipFile#os_code method.\n" constants: [] full_name: Zlib::NeedDict includes: [] instance_methods: [] name: NeedDict superclass: Zlib::Error ri/1.8/system/Zlib/cdesc-Zlib.yaml 0000644 00000006720 15217654532 0012572 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: adler32 - !ruby/object:RI::MethodSummary name: crc32 - !ruby/object:RI::MethodSummary name: crc_table - !ruby/object:RI::MethodSummary name: zlib_version comment: - !ruby/struct:SM::Flow::P body: GZIP_SUPPORT constants: - !ruby/object:RI::Constant comment: name: VERSION value: rb_str_new2(RUBY_ZLIB_VERSION) - !ruby/object:RI::Constant comment: name: ZLIB_VERSION value: rb_str_new2(ZLIB_VERSION) - !ruby/object:RI::Constant comment: name: BINARY value: INT2FIX(Z_BINARY) - !ruby/object:RI::Constant comment: name: ASCII value: INT2FIX(Z_ASCII) - !ruby/object:RI::Constant comment: name: UNKNOWN value: INT2FIX(Z_UNKNOWN) - !ruby/object:RI::Constant comment: name: NO_COMPRESSION value: INT2FIX(Z_NO_COMPRESSION) - !ruby/object:RI::Constant comment: name: BEST_SPEED value: INT2FIX(Z_BEST_SPEED) - !ruby/object:RI::Constant comment: name: BEST_COMPRESSION value: INT2FIX(Z_BEST_COMPRESSION) - !ruby/object:RI::Constant comment: name: DEFAULT_COMPRESSION value: INT2FIX(Z_DEFAULT_COMPRESSION) - !ruby/object:RI::Constant comment: name: FILTERED value: INT2FIX(Z_FILTERED) - !ruby/object:RI::Constant comment: name: HUFFMAN_ONLY value: INT2FIX(Z_HUFFMAN_ONLY) - !ruby/object:RI::Constant comment: name: DEFAULT_STRATEGY value: INT2FIX(Z_DEFAULT_STRATEGY) - !ruby/object:RI::Constant comment: name: MAX_WBITS value: INT2FIX(MAX_WBITS) - !ruby/object:RI::Constant comment: name: DEF_MEM_LEVEL value: INT2FIX(DEF_MEM_LEVEL) - !ruby/object:RI::Constant comment: name: MAX_MEM_LEVEL value: INT2FIX(MAX_MEM_LEVEL) - !ruby/object:RI::Constant comment: name: NO_FLUSH value: INT2FIX(Z_NO_FLUSH) - !ruby/object:RI::Constant comment: name: SYNC_FLUSH value: INT2FIX(Z_SYNC_FLUSH) - !ruby/object:RI::Constant comment: name: FULL_FLUSH value: INT2FIX(Z_FULL_FLUSH) - !ruby/object:RI::Constant comment: name: FINISH value: INT2FIX(Z_FINISH) - !ruby/object:RI::Constant comment: name: OS_CODE value: INT2FIX(OS_CODE) - !ruby/object:RI::Constant comment: name: OS_MSDOS value: INT2FIX(OS_MSDOS) - !ruby/object:RI::Constant comment: name: OS_AMIGA value: INT2FIX(OS_AMIGA) - !ruby/object:RI::Constant comment: name: OS_VMS value: INT2FIX(OS_VMS) - !ruby/object:RI::Constant comment: name: OS_UNIX value: INT2FIX(OS_UNIX) - !ruby/object:RI::Constant comment: name: OS_ATARI value: INT2FIX(OS_ATARI) - !ruby/object:RI::Constant comment: name: OS_OS2 value: INT2FIX(OS_OS2) - !ruby/object:RI::Constant comment: name: OS_MACOS value: INT2FIX(OS_MACOS) - !ruby/object:RI::Constant comment: name: OS_TOPS20 value: INT2FIX(OS_TOPS20) - !ruby/object:RI::Constant comment: name: OS_WIN32 value: INT2FIX(OS_WIN32) - !ruby/object:RI::Constant comment: name: OS_VMCMS value: INT2FIX(OS_VMCMS) - !ruby/object:RI::Constant comment: name: OS_ZSYSTEM value: INT2FIX(OS_ZSYSTEM) - !ruby/object:RI::Constant comment: name: OS_CPM value: INT2FIX(OS_CPM) - !ruby/object:RI::Constant comment: name: OS_QDOS value: INT2FIX(OS_QDOS) - !ruby/object:RI::Constant comment: name: OS_RISCOS value: INT2FIX(OS_RISCOS) - !ruby/object:RI::Constant comment: name: OS_UNKNOWN value: INT2FIX(OS_UNKNOWN) full_name: Zlib includes: [] instance_methods: [] name: Zlib superclass: ri/1.8/system/Zlib/GzipWriter/new-c.yaml 0000644 00000001073 15217654532 0013726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a GzipWriter object associated with io. level and strategy should be the same as the arguments of Zlib::Deflate.new. The GzipWriter object writes gzipped data to io. At least, io must respond to the write method that behaves same as write method in IO class. full_name: Zlib::GzipWriter::new is_singleton: true name: new params: " Zlib::GzipWriter.new(io, level, strategy)\n" visibility: public ri/1.8/system/Zlib/GzipWriter/open-c.yaml 0000644 00000000775 15217654532 0014106 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Opens a file specified by filename for writing gzip compressed data, and returns a GzipWriter object associated with that file. Further details of this method are found in Zlib::GzipWriter.new and Zlib::GzipWriter#wrap. full_name: Zlib::GzipWriter::open is_singleton: true name: open params: " Zlib::GzipWriter.open(filename, level=nil, strategy=nil) { |gz| ... }\n" visibility: public ri/1.8/system/Zlib/GzipWriter/cdesc-GzipWriter.yaml 0000644 00000003275 15217654532 0016110 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: open comment: - !ruby/struct:SM::Flow::P body: Zlib::GzipWriter is a class for writing gzipped files. GzipWriter should be used with an instance of IO, or IO-like, object. - !ruby/struct:SM::Flow::P body: "For example:" - !ruby/struct:SM::Flow::VERB body: " Zlib::GzipWriter.open('hoge.gz') do |gz|\n gz.write 'jugemu jugemu gokou no surikire...'\n end\n\n File.open('hoge.gz', 'w') do |f|\n gz = Zlib::GzipWriter.new(f)\n gz.write 'jugemu jugemu gokou no surikire...'\n gz.close\n end\n\n # TODO: test these. Are they equivalent? Can GzipWriter.new take a\n # block?\n" - !ruby/struct:SM::Flow::P body: "NOTE: Due to the limitation of Ruby's finalizer, you must explicitly close GzipWriter objects by Zlib::GzipWriter#close etc. Otherwise, GzipWriter will be not able to write the gzip footer and will generate a broken gzip file." constants: [] full_name: Zlib::GzipWriter includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: comment= - !ruby/object:RI::MethodSummary name: flush - !ruby/object:RI::MethodSummary name: mtime= - !ruby/object:RI::MethodSummary name: orig_name= - !ruby/object:RI::MethodSummary name: pos - !ruby/object:RI::MethodSummary name: print - !ruby/object:RI::MethodSummary name: printf - !ruby/object:RI::MethodSummary name: putc - !ruby/object:RI::MethodSummary name: puts - !ruby/object:RI::MethodSummary name: tell - !ruby/object:RI::MethodSummary name: write name: GzipWriter superclass: Zlib::GzipFile ri/1.8/system/Zlib/GzipWriter/%3c%3c-i.yaml 0000644 00000000450 15217654532 0014006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Document-method: << Same as IO." - !ruby/struct:SM::Flow::P body: Same as IO. full_name: Zlib::GzipWriter#<< is_singleton: false name: "<<" params: (p1) visibility: public ri/1.8/system/Zlib/GzipWriter/orig_name%3d-i.yaml 0000644 00000000342 15217654532 0015375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: ??? full_name: Zlib::GzipWriter#orig_name= is_singleton: false name: orig_name= params: (p1) visibility: public ri/1.8/system/Zlib/GzipWriter/putc-i.yaml 0000644 00000000336 15217654532 0014117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Same as IO. full_name: Zlib::GzipWriter#putc is_singleton: false name: putc params: (p1) visibility: public ri/1.8/system/Zlib/GzipWriter/pos-i.yaml 0000644 00000000322 15217654532 0013740 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: ??? full_name: Zlib::GzipWriter#pos is_singleton: false name: pos params: () visibility: public ri/1.8/system/Zlib/GzipWriter/tell-i.yaml 0000644 00000000324 15217654532 0014101 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: ??? full_name: Zlib::GzipWriter#tell is_singleton: false name: tell params: () visibility: public ri/1.8/system/Zlib/GzipWriter/write-i.yaml 0000644 00000000340 15217654532 0014271 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Same as IO. full_name: Zlib::GzipWriter#write is_singleton: false name: write params: (p1) visibility: public ri/1.8/system/Zlib/GzipWriter/printf-i.yaml 0000644 00000000455 15217654532 0014450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Document-method: printf Same as IO." - !ruby/struct:SM::Flow::P body: Same as IO. full_name: Zlib::GzipWriter#printf is_singleton: false name: printf params: (...) visibility: public ri/1.8/system/Zlib/GzipWriter/print-i.yaml 0000644 00000000452 15217654532 0014277 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Document-method: print Same as IO." - !ruby/struct:SM::Flow::P body: Same as IO. full_name: Zlib::GzipWriter#print is_singleton: false name: print params: (...) visibility: public ri/1.8/system/Zlib/GzipWriter/puts-i.yaml 0000644 00000000447 15217654532 0014142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Document-method: puts Same as IO." - !ruby/struct:SM::Flow::P body: Same as IO. full_name: Zlib::GzipWriter#puts is_singleton: false name: puts params: (...) visibility: public ri/1.8/system/Zlib/GzipWriter/mtime%3d-i.yaml 0000644 00000000332 15217654532 0014547 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: ??? full_name: Zlib::GzipWriter#mtime= is_singleton: false name: mtime= params: (p1) visibility: public ri/1.8/system/Zlib/GzipWriter/flush-i.yaml 0000644 00000000726 15217654532 0014270 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Flushes all the internal buffers of the GzipWriter object. The meaning of flush is same as in Zlib::Deflate#deflate. Zlib::SYNC_FLUSH is used if flush is omitted. It is no use giving flush Zlib::NO_FLUSH. full_name: Zlib::GzipWriter#flush is_singleton: false name: flush params: " flush(flush=nil)\n" visibility: public ri/1.8/system/Zlib/GzipWriter/comment%3d-i.yaml 0000644 00000000336 15217654532 0015102 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: ??? full_name: Zlib::GzipWriter#comment= is_singleton: false name: comment= params: (p1) visibility: public ri/1.8/system/Numeric/ceil-i.yaml 0000644 00000001066 15217654532 0012455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the smallest Integer greater than or equal to num. Class Numeric achieves this by converting itself to a Float then invoking Float#ceil. - !ruby/struct:SM::Flow::VERB body: " 1.ceil #=> 1\n 1.2.ceil #=> 2\n (-1.2).ceil #=> -1\n (-1.0).ceil #=> -1\n" full_name: Numeric#ceil is_singleton: false name: ceil params: | num.ceil => integer visibility: public ri/1.8/system/Numeric/step-i.yaml 0000644 00000002466 15217654532 0012521 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes block with the sequence of numbers starting at num, incremented by step on each call. The loop finishes when the value to be passed to the block is greater than limit (if step is positive) or less than limit (if step is negative). If all the arguments are integers, the loop operates using an integer counter. If any of the arguments are floating point numbers, all are converted to floats, and the loop is executed floor(n + n*epsilon)+ 1 times, where n = (limit - num)/step. Otherwise, the loop starts at num, uses either the < or > operator to compare the counter against limit, and increments itself using the + operator. - !ruby/struct:SM::Flow::VERB body: " 1.step(10, 2) { |i| print i, " " }\n Math::E.step(Math::PI, 0.2) { |f| print f, " " }\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " 1 3 5 7 9\n 2.71828182845905 2.91828182845905 3.11828182845905\n" full_name: Numeric#step is_singleton: false name: step params: | num.step(limit, step ) {|i| block } => num visibility: public ri/1.8/system/Numeric/fdiv-i.yaml 0000644 00000000513 15217654532 0012465 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to Numeric#/, but overridden in subclasses. full_name: Numeric#fdiv is_singleton: false name: fdiv params: | num.quo(numeric) => result num.fdiv(numeric) => result visibility: public ri/1.8/system/Numeric/real-i.yaml 0000644 00000000376 15217654532 0012467 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The real part of a complex number, i.e. self. full_name: Numeric#real is_singleton: false name: real params: () visibility: public ri/1.8/system/Numeric/truncate-i.yaml 0000644 00000000604 15217654532 0013363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns num truncated to an integer. Numeric implements this by converting its value to a float and invoking Float#truncate. full_name: Numeric#truncate is_singleton: false name: truncate params: | num.truncate => integer visibility: public ri/1.8/system/Numeric/div-i.yaml 0000644 00000000611 15217654532 0012316 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Uses / to perform division, then converts the result to an integer. Numeric does not define the / operator; this is left to subclasses. full_name: Numeric#div is_singleton: false name: div params: | num.div(numeric) => integer visibility: public ri/1.8/system/Numeric/floor-i.yaml 0000644 00000000773 15217654532 0012666 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the largest integer less than or equal to num. Numeric implements this by converting anInteger to a Float and invoking Float#floor. - !ruby/struct:SM::Flow::VERB body: " 1.floor #=> 1\n (-1).floor #=> -1\n" full_name: Numeric#floor is_singleton: false name: floor params: | num.floor => integer visibility: public ri/1.8/system/Numeric/%2b%40-i.yaml 0000644 00000000377 15217654532 0012326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Unary Plus---Returns the receiver's value. full_name: Numeric#+@ is_singleton: false name: +@ params: | +num => num visibility: public ri/1.8/system/Numeric/image-i.yaml 0000644 00000000441 15217654532 0012617 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: imag block_params: comment: - !ruby/struct:SM::Flow::P body: The imaginary part of a complex number, i.e. 0. full_name: Numeric#image is_singleton: false name: image params: () visibility: public ri/1.8/system/Numeric/zero%3f-i.yaml 0000644 00000000441 15217654532 0013012 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if num has a zero value. full_name: Numeric#zero? is_singleton: false name: zero? params: | num.zero? => true or false visibility: public ri/1.8/system/Numeric/%3c%3d%3e-i.yaml 0000644 00000000455 15217654532 0012705 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns zero if num equals other, nil otherwise. full_name: Numeric#<=> is_singleton: false name: <=> params: | num <=> other -> 0 or nil visibility: public ri/1.8/system/Numeric/quo-i.yaml 0000644 00000000511 15217654532 0012337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to Numeric#/, but overridden in subclasses. full_name: Numeric#quo is_singleton: false name: quo params: | num.quo(numeric) => result num.fdiv(numeric) => result visibility: public ri/1.8/system/Numeric/conjugate-i.yaml 0000644 00000000470 15217654532 0013516 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: conj block_params: comment: - !ruby/struct:SM::Flow::P body: "See Complex#conjugate (short answer: returns self)." full_name: Numeric#conjugate is_singleton: false name: conjugate params: () visibility: public ri/1.8/system/Numeric/abs-i.yaml 0000644 00000000626 15217654532 0012307 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the absolute value of num. - !ruby/struct:SM::Flow::VERB body: " 12.abs #=> 12\n (-34.56).abs #=> 34.56\n -34.56.abs #=> 34.56\n" full_name: Numeric#abs is_singleton: false name: abs params: | num.abs => num or numeric visibility: public ri/1.8/system/Numeric/remainder-i.yaml 0000644 00000001124 15217654532 0013502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: If num and numeric have different signs, returns mod-numeric; otherwise, returns mod. In both cases mod is the value num.modulo(numeric). The differences between remainder and modulo (%) are shown in the table under Numeric#divmod. full_name: Numeric#remainder is_singleton: false name: remainder params: | num.remainder(numeric) => result visibility: public ri/1.8/system/Numeric/cdesc-Numeric.yaml 0000644 00000003630 15217654532 0013773 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Numeric is a built-in class on which Fixnum, Bignum, etc., are based. Here some methods are added so that all number types can be treated to some extent as Complex numbers. constants: [] full_name: Numeric includes: - !ruby/object:RI::IncludedModule name: Comparable instance_methods: - !ruby/object:RI::MethodSummary name: +@ - !ruby/object:RI::MethodSummary name: -@ - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: abs - !ruby/object:RI::MethodSummary name: angle - !ruby/object:RI::MethodSummary name: arg - !ruby/object:RI::MethodSummary name: ceil - !ruby/object:RI::MethodSummary name: coerce - !ruby/object:RI::MethodSummary name: conj - !ruby/object:RI::MethodSummary name: conjugate - !ruby/object:RI::MethodSummary name: div - !ruby/object:RI::MethodSummary name: divmod - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: fdiv - !ruby/object:RI::MethodSummary name: floor - !ruby/object:RI::MethodSummary name: im - !ruby/object:RI::MethodSummary name: imag - !ruby/object:RI::MethodSummary name: image - !ruby/object:RI::MethodSummary name: integer? - !ruby/object:RI::MethodSummary name: modulo - !ruby/object:RI::MethodSummary name: nonzero? - !ruby/object:RI::MethodSummary name: polar - !ruby/object:RI::MethodSummary name: quo - !ruby/object:RI::MethodSummary name: real - !ruby/object:RI::MethodSummary name: remainder - !ruby/object:RI::MethodSummary name: round - !ruby/object:RI::MethodSummary name: singleton_method_added - !ruby/object:RI::MethodSummary name: step - !ruby/object:RI::MethodSummary name: to_int - !ruby/object:RI::MethodSummary name: truncate - !ruby/object:RI::MethodSummary name: zero? name: Numeric superclass: Object ri/1.8/system/Numeric/angle-i.yaml 0000644 00000000332 15217654532 0012622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #arg" full_name: Numeric#angle is_singleton: false name: angle params: () visibility: public ri/1.8/system/Numeric/singleton_method_added-i.yaml 0000644 00000000512 15217654532 0016217 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Trap attempts to add methods to Numeric objects. Always raises a TypeError full_name: Numeric#singleton_method_added is_singleton: false name: singleton_method_added params: (p1) visibility: public ri/1.8/system/Numeric/to_int-i.yaml 0000644 00000000474 15217654532 0013037 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes the child class's to_i method to convert num to an integer. full_name: Numeric#to_int is_singleton: false name: to_int params: | num.to_int => integer visibility: public ri/1.8/system/Numeric/nonzero%3f-i.yaml 0000644 00000001302 15217654532 0013522 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns num if num is not zero, nil otherwise. This behavior is useful when chaining comparisons:" - !ruby/struct:SM::Flow::VERB body: " a = %w( z Bb bB bb BB a aA Aa AA A )\n b = a.sort {|a,b| (a.downcase <=> b.downcase).nonzero? || a <=> b }\n b #=> ["A", "a", "AA", "Aa", "aA", "BB", "Bb", "bB", "bb", "z"]\n" full_name: Numeric#nonzero? is_singleton: false name: nonzero? params: | num.nonzero? => num or nil visibility: public ri/1.8/system/Numeric/arg-i.yaml 0000644 00000000377 15217654532 0012316 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: angle block_params: comment: - !ruby/struct:SM::Flow::P body: See Complex#arg. full_name: Numeric#arg is_singleton: false name: arg params: () visibility: public ri/1.8/system/Numeric/%2d%40-i.yaml 0000644 00000000415 15217654532 0012321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Unary Minus---Returns the receiver's value, negated. full_name: Numeric#-@ is_singleton: false name: -@ params: | -num => numeric visibility: public ri/1.8/system/Numeric/im-i.yaml 0000644 00000000370 15217654532 0012143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a Complex number (0,self). full_name: Numeric#im is_singleton: false name: im params: () visibility: public ri/1.8/system/Numeric/round-i.yaml 0000644 00000000574 15217654532 0012673 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Rounds num to the nearest integer. Numeric implements this by converting itself to a Float and invoking Float#round. full_name: Numeric#round is_singleton: false name: round params: | num.round => integer visibility: public ri/1.8/system/Numeric/modulo-i.yaml 0000644 00000000471 15217654532 0013037 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to num.divmod(aNumeric)[1]. full_name: Numeric#modulo is_singleton: false name: modulo params: | num.modulo(numeric) => result visibility: public ri/1.8/system/Numeric/conj-i.yaml 0000644 00000000336 15217654532 0012471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #conjugate" full_name: Numeric#conj is_singleton: false name: conj params: () visibility: public ri/1.8/system/Numeric/integer%3f-i.yaml 0000644 00000000535 15217654532 0013474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if num is an Integer (including Fixnum and Bignum). full_name: Numeric#integer? is_singleton: false name: integer? params: | num.integer? -> true or false visibility: public ri/1.8/system/Numeric/divmod-i.yaml 0000644 00000004044 15217654532 0013022 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array containing the quotient and modulus obtained by dividing num by aNumeric. If q, r = x.divmod(y), then - !ruby/struct:SM::Flow::VERB body: " q = floor(float(x)/float(y))\n x = q*y + r\n" - !ruby/struct:SM::Flow::P body: "The quotient is rounded toward -infinity, as shown in the following table:" - !ruby/struct:SM::Flow::VERB body: " a | b | a.divmod(b) | a/b | a.modulo(b) | a.remainder(b)\n ------+-----+---------------+---------+-------------+---------------\n 13 | 4 | 3, 1 | 3 | 1 | 1\n ------+-----+---------------+---------+-------------+---------------\n 13 | -4 | -4, -3 | -3 | -3 | 1\n ------+-----+---------------+---------+-------------+---------------\n -13 | 4 | -4, 3 | -4 | 3 | -1\n ------+-----+---------------+---------+-------------+---------------\n -13 | -4 | 3, -1 | 3 | -1 | -1\n ------+-----+---------------+---------+-------------+---------------\n 11.5 | 4 | 2, 3.5 | 2.875 | 3.5 | 3.5\n ------+-----+---------------+---------+-------------+---------------\n 11.5 | -4 | -3, -0.5 | -2.875 | -0.5 | 3.5\n ------+-----+---------------+---------+-------------+---------------\n -11.5 | 4 | -3, 0.5 | -2.875 | 0.5 | -3.5\n ------+-----+---------------+---------+-------------+---------------\n -11.5 | -4 | 2 -3.5 | 2.875 | -3.5 | -3.5\n" - !ruby/struct:SM::Flow::P body: Examples - !ruby/struct:SM::Flow::VERB body: " 11.divmod(3) #=> [3, 2]\n 11.divmod(-3) #=> [-4, -1]\n 11.divmod(3.5) #=> [3, 0.5]\n (-11).divmod(3.5) #=> [-4, 3.0]\n (11.5).divmod(3.5) #=> [3, 1.0]\n" full_name: Numeric#divmod is_singleton: false name: divmod params: | num.divmod( aNumeric ) -> anArray visibility: public ri/1.8/system/Numeric/imag-i.yaml 0000644 00000000332 15217654532 0012451 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #image" full_name: Numeric#imag is_singleton: false name: imag params: () visibility: public ri/1.8/system/Numeric/polar-i.yaml 0000644 00000000334 15217654532 0012653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Complex#polar. full_name: Numeric#polar is_singleton: false name: polar params: () visibility: public ri/1.8/system/Numeric/eql%3f-i.yaml 0000644 00000000744 15217654532 0012622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if num and numeric are the same type and have equal values. - !ruby/struct:SM::Flow::VERB body: " 1 == 1.0 #=> true\n 1.eql?(1.0) #=> false\n (1.0).eql?(1.0) #=> true\n" full_name: Numeric#eql? is_singleton: false name: eql? params: | num.eql?(numeric) => true or false visibility: public ri/1.8/system/Numeric/coerce-i.yaml 0000644 00000001430 15217654532 0012774 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "If aNumeric is the same type as num, returns an array containing aNumeric and num. Otherwise, returns an array with both aNumeric and num represented as Float objects. This coercion mechanism is used by Ruby to handle mixed-type numeric operations: it is intended to find a compatible common type between the two operands of the operator." - !ruby/struct:SM::Flow::VERB body: " 1.coerce(2.5) #=> [2.5, 1.0]\n 1.2.coerce(3) #=> [3.0, 1.2]\n 1.coerce(2) #=> [2, 1]\n" full_name: Numeric#coerce is_singleton: false name: coerce params: | num.coerce(numeric) => array visibility: public ri/1.8/system/WadlerExample/Tree/cdesc-Tree.yaml 0000644 00000000304 15217654532 0015312 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WadlerExample::Tree includes: [] instance_methods: [] name: Tree superclass: Object ri/1.8/system/WadlerExample/cdesc-WadlerExample.yaml 0000644 00000000325 15217654532 0016251 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WadlerExample includes: [] instance_methods: [] name: WadlerExample superclass: Test::Unit::TestCase ri/1.8/system/Class/new-c.yaml 0000644 00000000655 15217654532 0011772 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new anonymous (unnamed) class with the given superclass (or Object if no parameter is given). You can give a class a name by assigning the class object to a constant. full_name: Class::new is_singleton: true name: new params: | Class.new(super_class=Object) => a_class visibility: public ri/1.8/system/Class/allocate-i.yaml 0000644 00000001231 15217654532 0012762 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Allocates space for a new object of class's class and does not call initialize on the new instance. The returned object must be an instance of class. - !ruby/struct:SM::Flow::VERB body: " klass = Class.new do\n def initialize(*args)\n @initialized = true\n end\n\n def initialized?\n @initialized || false\n end\n end\n\n klass.allocate.initialized? #=> false\n" full_name: Class#allocate is_singleton: false name: allocate params: | class.allocate() => obj visibility: public ri/1.8/system/Class/inherited-i.yaml 0000644 00000001306 15217654532 0013154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Callback invoked whenever a subclass of the current class is created. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " class Foo\n def self.inherited(subclass)\n puts "New subclass: #{subclass}"\n end\n end\n\n class Bar < Foo\n end\n\n class Baz < Bar\n end\n" - !ruby/struct:SM::Flow::P body: "produces:" - !ruby/struct:SM::Flow::VERB body: " New subclass: Bar\n New subclass: Baz\n" full_name: Class#inherited is_singleton: false name: inherited params: | inherited(subclass) visibility: public ri/1.8/system/Class/cdesc-Class.yaml 0000644 00000004713 15217654532 0013104 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Classes in Ruby are first-class objects---each is an instance of class Class. - !ruby/struct:SM::Flow::P body: "When a new class is created (typically using class Name ... end), an object of type Class is created and assigned to a global constant (Name in this case). When Name.new is called to create a new object, the new method in Class is run by default. This can be demonstrated by overriding new in Class:" - !ruby/struct:SM::Flow::VERB body: " class Class\n alias oldNew new\n def new(*args)\n print "Creating a new ", self.name, "\\n"\n oldNew(*args)\n end\n end\n\n class Name\n end\n\n n = Name.new\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Creating a new Name\n" - !ruby/struct:SM::Flow::P body: Classes, modules, and objects are interrelated. In the diagram that follows, the vertical arrows represent inheritance, and the parentheses meta-classes. All metaclasses are instances of the class `Class'. - !ruby/struct:SM::Flow::VERB body: " +------------------+\n | |\n Object---->(Object) |\n ^ ^ ^ ^ |\n | | | | |\n | | +-----+ +---------+ |\n | | | | |\n | +-----------+ | |\n | | | | |\n +------+ | Module--->(Module) |\n | | ^ ^ |\n OtherClass-->(OtherClass) | | |\n | | |\n Class---->(Class) |\n ^ |\n | |\n +----------------+\n" constants: [] full_name: Class includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: allocate - !ruby/object:RI::MethodSummary name: inherited - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: superclass - !ruby/object:RI::MethodSummary name: to_yaml name: Class superclass: Module ri/1.8/system/Class/new-i.yaml 0000644 00000000735 15217654532 0011777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls allocate to create a new object of class's class, then invokes that object's initialize method, passing it args. This is the method that ends up getting called whenever an object is constructed using .new. full_name: Class#new is_singleton: false name: new params: | class.new(args, ...) => obj visibility: public ri/1.8/system/Class/to_yaml-i.yaml 0000644 00000000262 15217654532 0012645 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Class#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/Class/superclass-i.yaml 0000644 00000000714 15217654532 0013367 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the superclass of class, or nil. - !ruby/struct:SM::Flow::VERB body: " File.superclass #=> IO\n IO.superclass #=> Object\n Object.superclass #=> nil\n" full_name: Class#superclass is_singleton: false name: superclass params: | class.superclass -> a_super_class or nil visibility: public ri/1.8/system/ConditionVariable/new-c.yaml 0000644 00000000357 15217654532 0014320 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new ConditionVariable full_name: ConditionVariable::new is_singleton: true name: new params: () visibility: public ri/1.8/system/ConditionVariable/broadcast-i.yaml 0000644 00000000407 15217654532 0015473 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Wakes up all threads waiting for this lock. full_name: ConditionVariable#broadcast is_singleton: false name: broadcast params: () visibility: public ri/1.8/system/ConditionVariable/cdesc-ConditionVariable.yaml 0000644 00000002070 15217654532 0017754 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: ConditionVariable objects augment class Mutex. Using condition variables, it is possible to suspend while in the middle of a critical section until a resource becomes available. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " require 'thread'\n\n mutex = Mutex.new\n resource = ConditionVariable.new\n\n a = Thread.new {\n mutex.synchronize {\n # Thread 'a' now needs the resource\n resource.wait(mutex)\n # 'a' can now have the resource\n }\n }\n\n b = Thread.new {\n mutex.synchronize {\n # Thread 'b' has finished using the resource\n resource.signal\n }\n }\n" constants: [] full_name: ConditionVariable includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: broadcast - !ruby/object:RI::MethodSummary name: signal - !ruby/object:RI::MethodSummary name: wait name: ConditionVariable superclass: Object ri/1.8/system/ConditionVariable/wait-i.yaml 0000644 00000000451 15217654532 0014474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Releases the lock held in mutex and waits; reacquires the lock on wakeup. full_name: ConditionVariable#wait is_singleton: false name: wait params: (mutex) visibility: public ri/1.8/system/ConditionVariable/signal-i.yaml 0000644 00000000416 15217654532 0015006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Wakes up the first thread in line waiting for this lock. full_name: ConditionVariable#signal is_singleton: false name: signal params: () visibility: public ri/1.8/system/CSV/foreach-c.yaml 0000644 00000000273 15217654532 0012172 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::foreach is_singleton: true name: foreach params: (path, rs = nil, &block) visibility: public ri/1.8/system/CSV/open-c.yaml 0000644 00000004442 15217654532 0011526 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Open a CSV formatted file for reading or writing. - !ruby/struct:SM::Flow::P body: For reading. - !ruby/struct:SM::Flow::P body: EXAMPLE 1 - !ruby/struct:SM::Flow::VERB body: " CSV.open('csvfile.csv', 'r') do |row|\n p row\n end\n" - !ruby/struct:SM::Flow::P body: EXAMPLE 2 - !ruby/struct:SM::Flow::VERB body: " reader = CSV.open('csvfile.csv', 'r')\n row1 = reader.shift\n row2 = reader.shift\n if row2.empty?\n p 'row2 not find.'\n end\n reader.close\n" - !ruby/struct:SM::Flow::P body: ARGS - !ruby/struct:SM::Flow::VERB body: " filename: filename to parse.\n col_sep: Column separator. ?, by default. If you want to separate\n fields with semicolon, give ?; here.\n row_sep: Row separator. nil by default. nil means "\\r\\n or \\n". If you\n want to separate records with \\r, give ?\\r here.\n" - !ruby/struct:SM::Flow::P body: RETURNS - !ruby/struct:SM::Flow::VERB body: " reader instance. To get parse result, see CSV::Reader#each.\n" - !ruby/struct:SM::Flow::P body: For writing. - !ruby/struct:SM::Flow::P body: EXAMPLE 1 - !ruby/struct:SM::Flow::VERB body: " CSV.open('csvfile.csv', 'w') do |writer|\n writer << ['r1c1', 'r1c2']\n writer << ['r2c1', 'r2c2']\n writer << [nil, nil]\n end\n" - !ruby/struct:SM::Flow::P body: EXAMPLE 2 - !ruby/struct:SM::Flow::VERB body: " writer = CSV.open('csvfile.csv', 'w')\n writer << ['r1c1', 'r1c2'] << ['r2c1', 'r2c2'] << [nil, nil]\n writer.close\n" - !ruby/struct:SM::Flow::P body: ARGS - !ruby/struct:SM::Flow::VERB body: " filename: filename to generate.\n col_sep: Column separator. ?, by default. If you want to separate\n fields with semicolon, give ?; here.\n row_sep: Row separator. nil by default. nil means "\\r\\n or \\n". If you\n want to separate records with \\r, give ?\\r here.\n" - !ruby/struct:SM::Flow::P body: RETURNS - !ruby/struct:SM::Flow::VERB body: " writer instance. See CSV::Writer#<< and CSV::Writer#add_row to know how\n to generate CSV string.\n" full_name: CSV::open is_singleton: true name: open params: (path, mode, fs = nil, rs = nil, &block) visibility: public ri/1.8/system/CSV/Cell/new-c.yaml 0000644 00000000275 15217654532 0012235 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::Cell::new is_singleton: true name: new params: (data = "", is_null = false) visibility: public ri/1.8/system/CSV/Cell/data-i.yaml 0000644 00000000245 15217654532 0012360 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::Cell#data is_singleton: false name: data params: () visibility: public ri/1.8/system/CSV/Cell/cdesc-Cell.yaml 0000644 00000000500 15217654532 0013151 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: deprecated constants: [] full_name: CSV::Cell includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: data name: Cell superclass: String ri/1.8/system/CSV/parse_body-c.yaml 0000644 00000000274 15217654532 0012713 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::parse_body is_singleton: true name: parse_body params: (src, idx, fs, rs) visibility: private ri/1.8/system/CSV/Writer/new-c.yaml 0000644 00000000250 15217654532 0012623 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::Writer::new is_singleton: true name: new params: (dev) visibility: public ri/1.8/system/CSV/Writer/%3c%3c-i.yaml 0000644 00000000473 15217654532 0012714 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: add_row block_params: comment: - !ruby/struct:SM::Flow::P body: dump CSV stream to the device. argument must be an Array of String. full_name: CSV::Writer#<< is_singleton: false name: "<<" params: (row) visibility: public ri/1.8/system/CSV/Writer/add_row-i.yaml 0000644 00000000352 15217654532 0013462 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #<<" full_name: CSV::Writer#add_row is_singleton: false name: add_row params: (row) visibility: public ri/1.8/system/CSV/Writer/close-i.yaml 0000644 00000000251 15217654532 0013146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::Writer#close is_singleton: false name: close params: () visibility: public ri/1.8/system/CSV/Writer/terminate-i.yaml 0000644 00000000262 15217654532 0014033 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::Writer#terminate is_singleton: false name: terminate params: () visibility: private ri/1.8/system/CSV/Writer/cdesc-Writer.yaml 0000644 00000001611 15217654532 0014147 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: create - !ruby/object:RI::MethodSummary name: generate - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: CSV formatted string/stream writer. - !ruby/struct:SM::Flow::P body: EXAMPLE - !ruby/struct:SM::Flow::VERB body: " Write rows to 'csvout' file.\n\n outfile = File.open('csvout', 'wb')\n CSV::Writer.generate(outfile) do |csv|\n csv << ['c1', nil, '', '"', "\\r\\n", 'c2']\n ...\n end\n\n outfile.close\n" constants: [] full_name: CSV::Writer includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: add_row - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: terminate name: Writer superclass: Object ri/1.8/system/CSV/Writer/generate-c.yaml 0000644 00000000565 15217654532 0013635 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (writer) comment: - !ruby/struct:SM::Flow::P body: Given block is called with the writer instance. str_or_writable must handle '<<(string)'. full_name: CSV::Writer::generate is_singleton: true name: generate params: (str_or_writable, fs = ',', rs = nil, &block) {|writer| ...} visibility: public ri/1.8/system/CSV/Writer/create-c.yaml 0000644 00000000442 15217654532 0013300 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: str_or_writable must handle '<<(string)'. full_name: CSV::Writer::create is_singleton: true name: create params: (str_or_writable, fs = ',', rs = nil) visibility: public ri/1.8/system/CSV/generate_separator-c.yaml 0000644 00000000321 15217654532 0014427 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::generate_separator is_singleton: true name: generate_separator params: (type, out_dev, fs, rs) visibility: private ri/1.8/system/CSV/StringReader/new-c.yaml 0000644 00000000305 15217654532 0013741 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::StringReader::new is_singleton: true name: new params: (string, fs = ',', rs = nil) visibility: public ri/1.8/system/CSV/StringReader/cdesc-StringReader.yaml 0000644 00000000444 15217654532 0016404 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: CSV::StringReader includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: get_row name: StringReader superclass: Reader ri/1.8/system/CSV/StringReader/get_row-i.yaml 0000644 00000000267 15217654532 0014633 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::StringReader#get_row is_singleton: false name: get_row params: (row) visibility: private ri/1.8/system/CSV/generate_row-c.yaml 0000644 00000002633 15217654532 0013246 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a line from cells data to string. Consider using CSV.generate_line instead. To generate multi-row CSV string, see EXAMPLE below. - !ruby/struct:SM::Flow::P body: EXAMPLE - !ruby/struct:SM::Flow::VERB body: " row1 = ['a', 'b']\n row2 = ['c', 'd']\n row3 = ['e', 'f']\n src = [row1, row2, row3]\n buf = ''\n src.each do |row|\n parsed_cells = CSV.generate_row(row, 2, buf)\n puts "Created #{ parsed_cells } cells."\n end\n p buf\n" - !ruby/struct:SM::Flow::P body: ARGS - !ruby/struct:SM::Flow::VERB body: " src: an Array of String to be converted to CSV string. Must respond to\n 'size' and '[](idx)'. src[idx] must return String.\n cells: num of cells in a line.\n out_dev: buffer for generated CSV string. Must respond to '<<(string)'.\n col_sep: Column separator. ?, by default. If you want to separate\n fields with semicolon, give ?; here.\n row_sep: Row separator. nil by default. nil means "\\r\\n or \\n". If you\n want to separate records with \\r, give ?\\r here.\n" - !ruby/struct:SM::Flow::P body: RETURNS - !ruby/struct:SM::Flow::VERB body: " parsed_cells: num of converted cells.\n" full_name: CSV::generate_row is_singleton: true name: generate_row params: (src, cells, out_dev, fs = nil, rs = nil) visibility: public ri/1.8/system/CSV/open_writer-c.yaml 0000644 00000000337 15217654532 0013121 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (writer) comment: full_name: CSV::open_writer is_singleton: true name: open_writer params: (path, mode, fs, rs, &block) {|writer| ...} visibility: private ri/1.8/system/CSV/IOReader/new-c.yaml 0000644 00000000275 15217654532 0013010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::IOReader::new is_singleton: true name: new params: (io, fs = ',', rs = nil) visibility: public ri/1.8/system/CSV/IOReader/close_on_terminate-i.yaml 0000644 00000000507 15217654532 0016074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Tell this reader to close the IO when terminated (Triggered by invoking CSV::IOReader#close). full_name: CSV::IOReader#close_on_terminate is_singleton: false name: close_on_terminate params: () visibility: public ri/1.8/system/CSV/IOReader/cdesc-IOReader.yaml 0000644 00000000615 15217654532 0014506 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: CSV::IOReader includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: close_on_terminate - !ruby/object:RI::MethodSummary name: get_row - !ruby/object:RI::MethodSummary name: terminate name: IOReader superclass: Reader ri/1.8/system/CSV/IOReader/terminate-i.yaml 0000644 00000000264 15217654532 0014213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::IOReader#terminate is_singleton: false name: terminate params: () visibility: private ri/1.8/system/CSV/IOReader/get_row-i.yaml 0000644 00000000263 15217654532 0013670 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::IOReader#get_row is_singleton: false name: get_row params: (row) visibility: private ri/1.8/system/CSV/IllegalFormatError/cdesc-IllegalFormatError.yaml 0000644 00000000334 15217654532 0020710 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: CSV::IllegalFormatError includes: [] instance_methods: [] name: IllegalFormatError superclass: RuntimeError ri/1.8/system/CSV/read-c.yaml 0000644 00000000277 15217654532 0011502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::read is_singleton: true name: read params: (path, length = nil, offset = nil) visibility: public ri/1.8/system/CSV/parse-c.yaml 0000644 00000000515 15217654532 0011674 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (row) comment: - !ruby/struct:SM::Flow::P body: Parse lines from given string or stream. Return rows as an Array of Arrays. full_name: CSV::parse is_singleton: true name: parse params: (str_or_readable, fs = nil, rs = nil, &block) {|row| ...} visibility: public ri/1.8/system/CSV/IOBuf/new-c.yaml 0000644 00000000245 15217654532 0012317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::IOBuf::new is_singleton: true name: new params: (s) visibility: public ri/1.8/system/CSV/IOBuf/cdesc-IOBuf.yaml 0000644 00000001305 15217654532 0013327 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Buffered IO. - !ruby/struct:SM::Flow::P body: EXAMPLE - !ruby/struct:SM::Flow::VERB body: " # File 'bigdata' could be a giga-byte size one!\n buf = CSV::IOBuf.new(File.open('bigdata', 'rb'))\n CSV::Reader.new(buf).each do |row|\n p row\n break if row[0].data == 'admin'\n end\n" constants: [] full_name: CSV::IOBuf includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: read - !ruby/object:RI::MethodSummary name: terminate name: IOBuf superclass: StreamBuf ri/1.8/system/CSV/IOBuf/close-i.yaml 0000644 00000000250 15217654532 0012635 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::IOBuf#close is_singleton: false name: close params: () visibility: public ri/1.8/system/CSV/IOBuf/read-i.yaml 0000644 00000000253 15217654532 0012446 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::IOBuf#read is_singleton: false name: read params: (size) visibility: private ri/1.8/system/CSV/IOBuf/terminate-i.yaml 0000644 00000000261 15217654532 0013522 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::IOBuf#terminate is_singleton: false name: terminate params: () visibility: private ri/1.8/system/CSV/parse_line-c.yaml 0000644 00000001072 15217654532 0012702 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parse a line from given string. Bear in mind it parses ONE LINE. Rest of the string is ignored for example "a,b\r\nc,d" => ['a', 'b'] and the second line 'c,d' is ignored. - !ruby/struct:SM::Flow::P body: If you don't know whether a target string to parse is exactly 1 line or not, use CSV.parse_row instead of this method. full_name: CSV::parse_line is_singleton: true name: parse_line params: (src, fs = nil, rs = nil) visibility: public ri/1.8/system/CSV/open_reader-c.yaml 0000644 00000000331 15217654532 0013041 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (row) comment: full_name: CSV::open_reader is_singleton: true name: open_reader params: (path, mode, fs, rs, &block) {|row| ...} visibility: private ri/1.8/system/CSV/cdesc-CSV.yaml 0000644 00000002271 15217654532 0012055 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: foreach - !ruby/object:RI::MethodSummary name: generate - !ruby/object:RI::MethodSummary name: generate_body - !ruby/object:RI::MethodSummary name: generate_line - !ruby/object:RI::MethodSummary name: generate_row - !ruby/object:RI::MethodSummary name: generate_separator - !ruby/object:RI::MethodSummary name: open - !ruby/object:RI::MethodSummary name: open_reader - !ruby/object:RI::MethodSummary name: open_writer - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: parse_body - !ruby/object:RI::MethodSummary name: parse_line - !ruby/object:RI::MethodSummary name: parse_row - !ruby/object:RI::MethodSummary name: read - !ruby/object:RI::MethodSummary name: readlines comment: - !ruby/struct:SM::Flow::P body: This program is copyrighted free software by NAKAMURA, Hiroshi. You can redistribute it and/or modify it under the same terms of Ruby's license; either the dual license version in 2003, or any later version. constants: [] full_name: CSV includes: [] instance_methods: [] name: CSV superclass: Object ri/1.8/system/CSV/generate-c.yaml 0000644 00000000307 15217654532 0012353 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::generate is_singleton: true name: generate params: (path, fs = nil, rs = nil, &block) visibility: public ri/1.8/system/CSV/generate_line-c.yaml 0000644 00000000450 15217654532 0013361 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a line from cells. each cell is stringified by to_s. full_name: CSV::generate_line is_singleton: true name: generate_line params: (row, fs = nil, rs = nil) visibility: public ri/1.8/system/CSV/Row/cdesc-Row.yaml 0000644 00000000346 15217654532 0012741 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: deprecated constants: [] full_name: CSV::Row includes: [] instance_methods: [] name: Row superclass: Array ri/1.8/system/CSV/StreamBuf/rel_buf-i.yaml 0000644 00000000261 15217654532 0014074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::StreamBuf#rel_buf is_singleton: false name: rel_buf params: () visibility: private ri/1.8/system/CSV/StreamBuf/new-c.yaml 0000644 00000000516 15217654532 0013244 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "WARN: Do not instantiate this class directly. Define your own class which derives this class and define 'read' instance method." full_name: CSV::StreamBuf::new is_singleton: true name: new params: () visibility: public ri/1.8/system/CSV/StreamBuf/get-i.yaml 0000644 00000000350 15217654532 0013234 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #[]" full_name: CSV::StreamBuf#get is_singleton: false name: get params: (idx, n = nil) visibility: public ri/1.8/system/CSV/StreamBuf/drop-i.yaml 0000644 00000000620 15217654532 0013421 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: drop a string from the stream. returns dropped size. at EOF, dropped size might not equals to arg n. Once you drop the head of the stream, access to the dropped part via [] or get returns nil. full_name: CSV::StreamBuf#drop is_singleton: false name: drop params: (n) visibility: public ri/1.8/system/CSV/StreamBuf/idx_is_eos%3f-i.yaml 0000644 00000000274 15217654532 0015105 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::StreamBuf#idx_is_eos? is_singleton: false name: idx_is_eos? params: (idx) visibility: private ri/1.8/system/CSV/StreamBuf/buf_size-i.yaml 0000644 00000000266 15217654532 0014271 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::StreamBuf#buf_size is_singleton: false name: buf_size params: (idx) visibility: private ri/1.8/system/CSV/StreamBuf/%5b%5d-i.yaml 0000644 00000001121 15217654532 0013323 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: get block_params: comment: - !ruby/struct:SM::Flow::P body: "get a char or a partial string from the stream. idx: index of a string to specify a start point of a string to get. unlike String instance, idx < 0 returns nil. n: size of a string to get. returns char at idx if n == nil. returns a partial string, from idx to (idx + n) if n != nil. at EOF, the string size could not equal to arg n." full_name: CSV::StreamBuf#[] is_singleton: false name: "[]" params: (idx, n = nil) visibility: public ri/1.8/system/CSV/StreamBuf/read-i.yaml 0000644 00000000677 15217654532 0013404 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "protected method 'read' must be defined in derived classes. CAUTION: Returning a string which size is not equal to 'size' means EnfOfStream. When it is not at EOS, you must block the callee, try to read and return the sized string." full_name: CSV::StreamBuf#read is_singleton: false name: read params: (size) visibility: protected ri/1.8/system/CSV/StreamBuf/cdesc-StreamBuf.yaml 0000644 00000005013 15217654532 0015177 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Buffered stream. - !ruby/struct:SM::Flow::P body: EXAMPLE 1 -- an IO. - !ruby/struct:SM::Flow::VERB body: " class MyBuf < StreamBuf\n # Do initialize myself before a super class. Super class might call my\n # method 'read'. (Could be awful for C++ user. :-)\n def initialize(s)\n @s = s\n super()\n end\n\n # define my own 'read' method.\n # CAUTION: Returning nil means EnfOfStream.\n def read(size)\n @s.read(size)\n end\n\n # release buffers. in Ruby which has GC, you do not have to call this...\n def terminate\n @s = nil\n super()\n end\n end\n\n buf = MyBuf.new(STDIN)\n my_str = ''\n p buf[0, 0] # => '' (null string)\n p buf[0] # => 97 (char code of 'a')\n p buf[0, 1] # => 'a'\n my_str = buf[0, 5]\n p my_str # => 'abcde' (5 chars)\n p buf[0, 6] # => "abcde\\n" (6 chars)\n p buf[0, 7] # => "abcde\\n" (6 chars)\n p buf.drop(3) # => 3 (dropped chars)\n p buf.get(0, 2) # => 'de' (2 chars)\n p buf.is_eos? # => false (is not EOS here)\n p buf.drop(5) # => 3 (dropped chars)\n p buf.is_eos? # => true (is EOS here)\n p buf[0] # => nil (is EOS here)\n" - !ruby/struct:SM::Flow::P body: EXAMPLE 2 -- String. - !ruby/struct:SM::Flow::VERB body: " This is a conceptual example. No pros with this.\n\n class StrBuf < StreamBuf\n def initialize(s)\n @str = s\n @idx = 0\n super()\n end\n\n def read(size)\n str = @str[@idx, size]\n @idx += str.size\n str\n end\n end\n" constants: - !ruby/object:RI::Constant comment: name: BufSize value: 1024 * 8 full_name: CSV::StreamBuf includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: add_buf - !ruby/object:RI::MethodSummary name: buf_size - !ruby/object:RI::MethodSummary name: drop - !ruby/object:RI::MethodSummary name: get - !ruby/object:RI::MethodSummary name: idx_is_eos? - !ruby/object:RI::MethodSummary name: is_eos? - !ruby/object:RI::MethodSummary name: read - !ruby/object:RI::MethodSummary name: rel_buf - !ruby/object:RI::MethodSummary name: terminate name: StreamBuf superclass: Object ri/1.8/system/CSV/StreamBuf/terminate-i.yaml 0000644 00000000267 15217654532 0014454 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::StreamBuf#terminate is_singleton: false name: terminate params: () visibility: protected ri/1.8/system/CSV/StreamBuf/is_eos%3f-i.yaml 0000644 00000000260 15217654532 0014234 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::StreamBuf#is_eos? is_singleton: false name: is_eos? params: () visibility: public ri/1.8/system/CSV/StreamBuf/add_buf-i.yaml 0000644 00000000261 15217654532 0014042 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::StreamBuf#add_buf is_singleton: false name: add_buf params: () visibility: private ri/1.8/system/CSV/parse_row-c.yaml 0000644 00000003006 15217654532 0012561 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parse a line from string. Consider using CSV.parse_line instead. To parse lines in CSV string, see EXAMPLE below. - !ruby/struct:SM::Flow::P body: EXAMPLE - !ruby/struct:SM::Flow::VERB body: " src = "a,b\\r\\nc,d\\r\\ne,f"\n idx = 0\n begin\n parsed = []\n parsed_cells, idx = CSV.parse_row(src, idx, parsed)\n puts "Parsed #{ parsed_cells } cells."\n p parsed\n end while parsed_cells > 0\n" - !ruby/struct:SM::Flow::P body: ARGS - !ruby/struct:SM::Flow::VERB body: " src: a CSV data to be parsed. Must respond '[](idx)'.\n src[](idx) must return a char. (Not a string such as 'a', but 97).\n src[](idx_out_of_bounds) must return nil. A String satisfies this\n requirement.\n idx: index of parsing location of 'src'. 0 origin.\n out_dev: buffer for parsed cells. Must respond '<<(aString)'.\n col_sep: Column separator. ?, by default. If you want to separate\n fields with semicolon, give ?; here.\n row_sep: Row separator. nil by default. nil means "\\r\\n or \\n". If you\n want to separate records with \\r, give ?\\r here.\n" - !ruby/struct:SM::Flow::P body: RETURNS - !ruby/struct:SM::Flow::VERB body: " parsed_cells: num of parsed cells.\n idx: index of next parsing location of 'src'.\n" full_name: CSV::parse_row is_singleton: true name: parse_row params: (src, idx, out_dev, fs = nil, rs = nil) visibility: public ri/1.8/system/CSV/readlines-c.yaml 0000644 00000000267 15217654532 0012534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::readlines is_singleton: true name: readlines params: (path, rs = nil) visibility: public ri/1.8/system/CSV/generate_body-c.yaml 0000644 00000000307 15217654532 0013370 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::generate_body is_singleton: true name: generate_body params: (cell, out_dev, fs, rs) visibility: private ri/1.8/system/CSV/BasicWriter/new-c.yaml 0000644 00000000315 15217654532 0013567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::BasicWriter::new is_singleton: true name: new params: (str_or_writable, fs = ',', rs = nil) visibility: public ri/1.8/system/CSV/BasicWriter/close_on_terminate-i.yaml 0000644 00000000515 15217654532 0016657 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Tell this writer to close the IO when terminated (Triggered by invoking CSV::BasicWriter#close). full_name: CSV::BasicWriter#close_on_terminate is_singleton: false name: close_on_terminate params: () visibility: public ri/1.8/system/CSV/BasicWriter/terminate-i.yaml 0000644 00000000267 15217654532 0015002 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::BasicWriter#terminate is_singleton: false name: terminate params: () visibility: private ri/1.8/system/CSV/BasicWriter/cdesc-BasicWriter.yaml 0000644 00000000541 15217654532 0016054 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: CSV::BasicWriter includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: close_on_terminate - !ruby/object:RI::MethodSummary name: terminate name: BasicWriter superclass: Writer ri/1.8/system/CSV/Reader/new-c.yaml 0000644 00000000250 15217654532 0012551 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::Reader::new is_singleton: true name: new params: (dev) visibility: public ri/1.8/system/CSV/Reader/close-i.yaml 0000644 00000000251 15217654532 0013074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::Reader#close is_singleton: false name: close params: () visibility: public ri/1.8/system/CSV/Reader/terminate-i.yaml 0000644 00000000262 15217654532 0013761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::Reader#terminate is_singleton: false name: terminate params: () visibility: private ri/1.8/system/CSV/Reader/parse-c.yaml 0000644 00000000631 15217654532 0013075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (row) comment: - !ruby/struct:SM::Flow::P body: Parse CSV data and get lines. Given block is called for each parsed row. Block value is always nil. Rows are not cached for performance reason. full_name: CSV::Reader::parse is_singleton: true name: parse params: (str_or_readable, fs = ',', rs = nil, &block) {|row| ...} visibility: public ri/1.8/system/CSV/Reader/each-i.yaml 0000644 00000000270 15217654532 0012670 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (row) comment: full_name: CSV::Reader#each is_singleton: false name: each params: () {|row| ...} visibility: public ri/1.8/system/CSV/Reader/cdesc-Reader.yaml 0000644 00000001717 15217654532 0014032 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: create - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: parse comment: - !ruby/struct:SM::Flow::P body: CSV formatted string/stream reader. - !ruby/struct:SM::Flow::P body: EXAMPLE - !ruby/struct:SM::Flow::VERB body: " read CSV lines untill the first column is 'stop'.\n\n CSV::Reader.parse(File.open('bigdata', 'rb')) do |row|\n p row\n break if !row[0].is_null && row[0].data == 'stop'\n end\n" constants: [] full_name: CSV::Reader includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: get_row - !ruby/object:RI::MethodSummary name: shift - !ruby/object:RI::MethodSummary name: terminate name: Reader superclass: Object ri/1.8/system/CSV/Reader/shift-i.yaml 0000644 00000000251 15217654532 0013104 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::Reader#shift is_singleton: false name: shift params: () visibility: public ri/1.8/system/CSV/Reader/create-c.yaml 0000644 00000000413 15217654532 0013224 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns reader instance. full_name: CSV::Reader::create is_singleton: true name: create params: (str_or_readable, fs = ',', rs = nil) visibility: public ri/1.8/system/CSV/Reader/get_row-i.yaml 0000644 00000000261 15217654532 0013436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: CSV::Reader#get_row is_singleton: false name: get_row params: (row) visibility: private ri/1.8/system/DateTime/to_s-i.yaml 0000644 00000000354 15217654532 0012576 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: ":minute, :second, :second_fraction" full_name: DateTime#to_s is_singleton: false name: to_s params: ( visibility: public ri/1.8/system/DateTime/ordinal-c.yaml 0000644 00000002014 15217654532 0013247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new DateTime object corresponding to the specified Ordinal Date and hour h, minute min, second s. - !ruby/struct:SM::Flow::P body: The 24-hour clock is used. Negative values of h, min, and sec are treating as counting backwards from the end of the next larger unit (e.g. a min of -2 is treated as 58). No wraparound is performed. If an invalid time portion is specified, an ArgumentError is raised. - !ruby/struct:SM::Flow::P body: of is the offset from UTC as a fraction of a day (defaults to 0). sg specifies the Day of Calendar Reform. - !ruby/struct:SM::Flow::P body: y defaults to -4712, and d to 1; this is Julian Day Number day 0. The time values default to 0. full_name: DateTime::ordinal is_singleton: true name: ordinal params: (y=-4712, d=1, h=0, min=0, s=0, of=0, sg=ITALY) visibility: public ri/1.8/system/DateTime/civil-c.yaml 0000644 00000002034 15217654532 0012727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new DateTime object corresponding to the specified Civil Date and hour h, minute min, second s. - !ruby/struct:SM::Flow::P body: The 24-hour clock is used. Negative values of h, min, and sec are treating as counting backwards from the end of the next larger unit (e.g. a min of -2 is treated as 58). No wraparound is performed. If an invalid time portion is specified, an ArgumentError is raised. - !ruby/struct:SM::Flow::P body: of is the offset from UTC as a fraction of a day (defaults to 0). sg specifies the Day of Calendar Reform. - !ruby/struct:SM::Flow::P body: y defaults to -4712, m to 1, and d to 1; this is Julian Day Number day 0. The time values default to 0. full_name: DateTime::civil is_singleton: true name: civil params: (y=-4712, m=1, d=1, h=0, min=0, s=0, of=0, sg=ITALY) visibility: public ri/1.8/system/DateTime/commercial-c.yaml 0000644 00000002123 15217654532 0013733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new DateTime object corresponding to the specified Commercial Date and hour h, minute min, second s. - !ruby/struct:SM::Flow::P body: The 24-hour clock is used. Negative values of h, min, and sec are treating as counting backwards from the end of the next larger unit (e.g. a min of -2 is treated as 58). No wraparound is performed. If an invalid time portion is specified, an ArgumentError is raised. - !ruby/struct:SM::Flow::P body: of is the offset from UTC as a fraction of a day (defaults to 0). sg specifies the Day of Calendar Reform. - !ruby/struct:SM::Flow::P body: y defaults to 1582, w to 41, and d to 5; this is the Day of Calendar Reform for Italy and the Catholic countries. The time values default to 0. full_name: DateTime::commercial is_singleton: true name: commercial params: (y=1582, w=41, d=5, h=0, min=0, s=0, of=0, sg=ITALY) visibility: public ri/1.8/system/DateTime/parse-c.yaml 0000644 00000001700 15217654532 0012732 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new DateTime object by parsing from a String, without specifying the format. - !ruby/struct:SM::Flow::P body: "str is a String holding a date-time representation. comp specifies whether to interpret 2-digit years as 19XX (>= 69) or 20XX (< 69); the default is not to. The method will attempt to parse a date-time from the String using various heuristics; see #_parse in date/format.rb for more details. If parsing fails, an ArgumentError will be raised." - !ruby/struct:SM::Flow::P body: The default str is '-4712-01-01T00:00:00+00:00'; this is Julian Day Number day 0. - !ruby/struct:SM::Flow::P body: sg specifies the Day of Calendar Reform. full_name: DateTime::parse is_singleton: true name: parse params: (str='-4712-01-01T00:00:00+00:00', comp=false, sg=ITALY) visibility: public ri/1.8/system/DateTime/cdesc-DateTime.yaml 0000644 00000004767 15217654532 0014173 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: _strptime - !ruby/object:RI::MethodSummary name: civil - !ruby/object:RI::MethodSummary name: commercial - !ruby/object:RI::MethodSummary name: jd - !ruby/object:RI::MethodSummary name: ordinal - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: strptime comment: - !ruby/struct:SM::Flow::P body: Class representing a date and time. - !ruby/struct:SM::Flow::P body: See the documentation to the file date.rb for an overview. - !ruby/struct:SM::Flow::P body: DateTime objects are immutable once created. - !ruby/struct:SM::Flow::H level: 2 text: Other methods. - !ruby/struct:SM::Flow::P body: The following methods are defined in Date, but declared private there. They are made public in DateTime. They are documented here. - !ruby/struct:SM::Flow::H level: 3 text: hour() - !ruby/struct:SM::Flow::P body: Get the hour-of-the-day of the time. This is given using the 24-hour clock, counting from midnight. The first hour after midnight is hour 0; the last hour of the day is hour 23. - !ruby/struct:SM::Flow::H level: 3 text: min() - !ruby/struct:SM::Flow::P body: Get the minute-of-the-hour of the time. - !ruby/struct:SM::Flow::H level: 3 text: sec() - !ruby/struct:SM::Flow::P body: Get the second-of-the-minute of the time. - !ruby/struct:SM::Flow::H level: 3 text: sec_fraction() - !ruby/struct:SM::Flow::P body: Get the fraction of a second of the time. This is returned as a Rational. The unit is in days. I do NOT recommend you to use this method. - !ruby/struct:SM::Flow::H level: 3 text: zone() - !ruby/struct:SM::Flow::P body: Get the time zone as a String. This is representation of the time offset such as "+1000", not the true time-zone name. - !ruby/struct:SM::Flow::H level: 3 text: offset() - !ruby/struct:SM::Flow::P body: Get the time zone offset as a fraction of a day. This is returned as a Rational. - !ruby/struct:SM::Flow::H level: 3 text: new_offset(of=0) - !ruby/struct:SM::Flow::P body: Create a new DateTime object, identical to the current one, except with a new time zone offset of of. of is the new offset from UTC as a fraction of a day. constants: [] full_name: DateTime includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: strftime - !ruby/object:RI::MethodSummary name: to_s name: DateTime superclass: Date ri/1.8/system/DateTime/strftime-i.yaml 0000644 00000000272 15217654532 0013466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DateTime#strftime is_singleton: false name: strftime params: (fmt='%FT%T%:z') visibility: public ri/1.8/system/DateTime/_strptime-c.yaml 0000644 00000000300 15217654532 0013621 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DateTime::_strptime is_singleton: true name: _strptime params: (str, fmt='%FT%T%z') visibility: public ri/1.8/system/DateTime/jd-c.yaml 0000644 00000001673 15217654532 0012226 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new DateTime object corresponding to the specified Julian Day Number jd and hour h, minute min, second s. - !ruby/struct:SM::Flow::P body: The 24-hour clock is used. Negative values of h, min, and sec are treating as counting backwards from the end of the next larger unit (e.g. a min of -2 is treated as 58). No wraparound is performed. If an invalid time portion is specified, an ArgumentError is raised. - !ruby/struct:SM::Flow::P body: of is the offset from UTC as a fraction of a day (defaults to 0). sg specifies the Day of Calendar Reform. - !ruby/struct:SM::Flow::P body: All day/time values default to 0. full_name: DateTime::jd is_singleton: true name: jd params: (jd=0, h=0, min=0, s=0, of=0, sg=ITALY) visibility: public ri/1.8/system/DateTime/strptime-c.yaml 0000644 00000001640 15217654532 0013472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new DateTime object by parsing from a String according to a specified format. - !ruby/struct:SM::Flow::P body: str is a String holding a date-time representation. fmt is the format that the date-time is in. See date/format.rb for details on supported formats. - !ruby/struct:SM::Flow::P body: The default str is '-4712-01-01T00:00:00+00:00', and the default fmt is '%FT%T%z'. This gives midnight on Julian Day Number day 0. - !ruby/struct:SM::Flow::P body: sg specifies the Day of Calendar Reform. - !ruby/struct:SM::Flow::P body: An ArgumentError will be raised if str cannot be parsed. full_name: DateTime::strptime is_singleton: true name: strptime params: (str='-4712-01-01T00:00:00+00:00', fmt='%FT%T%z', sg=ITALY) visibility: public ri/1.8/system/Delegator/cdesc-Delegator.yaml 0000644 00000001511 15217654532 0014577 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Delegator is an abstract class used to build delegator pattern objects from subclasses. Subclasses should redefine __getobj__. For a concrete implementation, see SimpleDelegator. constants: - !ruby/object:RI::Constant comment: name: IgnoreBacktracePat value: "%r\"\\A#{Regexp.quote(__FILE__)}:\\d+:in `\"" full_name: Delegator includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: __getobj__ - !ruby/object:RI::MethodSummary name: marshal_dump - !ruby/object:RI::MethodSummary name: marshal_load - !ruby/object:RI::MethodSummary name: method_missing - !ruby/object:RI::MethodSummary name: respond_to? name: Delegator superclass: Object ri/1.8/system/Delegator/new-c.yaml 0000644 00000000474 15217654532 0012632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Pass in the obj to delegate method calls to. All methods supported by obj will be delegated to. full_name: Delegator::new is_singleton: true name: new params: (obj) visibility: public ri/1.8/system/Delegator/respond_to%3f-i.yaml 0000644 00000000524 15217654532 0014515 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Checks for a method provided by this the delegate object by fowarding the call through __getobj__. full_name: Delegator#respond_to? is_singleton: false name: respond_to? params: (m, include_private = false) visibility: public ri/1.8/system/Delegator/marshal_dump-i.yaml 0000644 00000000426 15217654532 0014520 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Serialization support for the object returned by __getobj__. full_name: Delegator#marshal_dump is_singleton: false name: marshal_dump params: () visibility: public ri/1.8/system/Delegator/method_missing-i.yaml 0000644 00000000441 15217654532 0015052 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Handles the magic of delegation through __getobj__. full_name: Delegator#method_missing is_singleton: false name: method_missing params: (m, *args, &block) visibility: public ri/1.8/system/Delegator/__getobj__-i.yaml 0000644 00000000504 15217654532 0014107 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This method must be overridden by subclasses and should return the object method calls are being delegated to. full_name: Delegator#__getobj__ is_singleton: false name: __getobj__ params: () visibility: public ri/1.8/system/Delegator/marshal_load-i.yaml 0000644 00000000417 15217654532 0014472 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reinitializes delegation from a serialized object. full_name: Delegator#marshal_load is_singleton: false name: marshal_load params: (obj) visibility: public ri/1.8/system/NeedlessArgument/cdesc-NeedlessArgument.yaml 0000644 00000000474 15217654532 0017504 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Raises when there is an argument for a switch which takes no argument. constants: [] full_name: NeedlessArgument includes: [] instance_methods: [] name: NeedlessArgument superclass: ParseError ri/1.8/system/Regexp/new-c.yaml 0000644 00000002552 15217654532 0012155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Constructs a new regular expression from pattern, which can be either a String or a Regexp (in which case that regexp's options are propagated, and new options may not be specified (a change as of Ruby 1.8). If options is a Fixnum, it should be one or more of the constants Regexp::EXTENDED, Regexp::IGNORECASE, and Regexp::MULTILINE, or-ed together. Otherwise, if options is not nil, the regexp will be case insensitive. The lang parameter enables multibyte support for the regexp: `n', `N' = none, `e', `E' = EUC, `s', `S' = SJIS, `u', `U' = UTF-8." - !ruby/struct:SM::Flow::VERB body: " r1 = Regexp.new('^a-z+:\\s+\\w+') #=> /^a-z+:\\s+\\w+/\n r2 = Regexp.new('cat', true) #=> /cat/i\n r3 = Regexp.new('dog', Regexp::EXTENDED) #=> /dog/x\n r4 = Regexp.new(r2) #=> /cat/i\n" full_name: Regexp::new is_singleton: true name: new params: | Regexp.new(string [, options [, lang]]) => regexp Regexp.new(regexp) => regexp Regexp.compile(string [, options [, lang]]) => regexp Regexp.compile(regexp) => regexp visibility: public ri/1.8/system/Regexp/to_s-i.yaml 0000644 00000001776 15217654532 0012345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a string containing the regular expression and its options (using the (?xxx:yyy) notation. This string can be fed back in to Regexp::new to a regular expression with the same semantics as the original. (However, Regexp#== may not return true when comparing the two, as the source of the regular expression itself may differ, as the example shows). Regexp#inspect produces a generally more readable version of rxp. - !ruby/struct:SM::Flow::VERB body: " r1 = /ab+c/ix #=> /ab+c/ix\n s1 = r1.to_s #=> "(?ix-m:ab+c)"\n r2 = Regexp.new(s1) #=> /(?ix-m:ab+c)/\n r1 == r2 #=> false\n r1.source #=> "ab+c"\n r2.source #=> "(?ix-m:ab+c)"\n" full_name: Regexp#to_s is_singleton: false name: to_s params: | rxp.to_s => str visibility: public ri/1.8/system/Regexp/%26-i.yaml 0000644 00000000243 15217654532 0011661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Regexp#& is_singleton: false name: "&" params: (other) visibility: public ri/1.8/system/Regexp/kcode-i.yaml 0000644 00000000414 15217654532 0012452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the character set code for the regexp. full_name: Regexp#kcode is_singleton: false name: kcode params: | rxp.kcode => str visibility: public ri/1.8/system/Regexp/escape-c.yaml 0000644 00000001121 15217654532 0012613 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Escapes any characters that would have special meaning in a regular expression. Returns a new escaped string, or self if no characters are escaped. For any string, Regexp.escape(str)=~str will be true. - !ruby/struct:SM::Flow::VERB body: " Regexp.escape('\\*?{}.') #=> \\\\*\\?\\{\\}\\.\n" full_name: Regexp::escape is_singleton: true name: escape params: | Regexp.escape(str) => a_str Regexp.quote(str) => a_str visibility: public ri/1.8/system/Regexp/hash-i.yaml 0000644 00000000446 15217654532 0012315 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Produce a hash based on the text and options of this regular expression. full_name: Regexp#hash is_singleton: false name: hash params: | rxp.hash => fixnum visibility: public ri/1.8/system/Regexp/yaml_new-c.yaml 0000644 00000000273 15217654532 0013175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Regexp::yaml_new is_singleton: true name: yaml_new params: ( klass, tag, val ) visibility: public ri/1.8/system/Regexp/compile-c.yaml 0000644 00000000357 15217654532 0013015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Synonym for Regexp.new full_name: Regexp::compile is_singleton: true name: compile params: (...) visibility: public ri/1.8/system/Regexp/%7c-i.yaml 0000644 00000000243 15217654532 0011743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Regexp#| is_singleton: false name: "|" params: (other) visibility: public ri/1.8/system/Regexp/quote-c.yaml 0000644 00000001117 15217654532 0012515 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Escapes any characters that would have special meaning in a regular expression. Returns a new escaped string, or self if no characters are escaped. For any string, Regexp.escape(str)=~str will be true. - !ruby/struct:SM::Flow::VERB body: " Regexp.escape('\\*?{}.') #=> \\\\*\\?\\{\\}\\.\n" full_name: Regexp::quote is_singleton: true name: quote params: | Regexp.escape(str) => a_str Regexp.quote(str) => a_str visibility: public ri/1.8/system/Regexp/%3d%3d%3d-i.yaml 0000644 00000001223 15217654532 0012527 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Case Equality---Synonym for Regexp#=~ used in case statements. - !ruby/struct:SM::Flow::VERB body: " a = "HELLO"\n case a\n when /^[a-z]*$/; print "Lower case\\n"\n when /^[A-Z]*$/; print "Upper case\\n"\n else; print "Mixed case\\n"\n end\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Upper case\n" full_name: Regexp#=== is_singleton: false name: === params: | rxp === str => true or false visibility: public ri/1.8/system/Regexp/casefold%3f-i.yaml 0000644 00000000443 15217654532 0013445 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the value of the case-insensitive flag. full_name: Regexp#casefold? is_singleton: false name: casefold? params: | rxp.casefold? => true or false visibility: public ri/1.8/system/Regexp/inspect-i.yaml 0000644 00000000754 15217654532 0013041 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Produce a nicely formatted string-version of rxp. Perhaps surprisingly, #inspect actually produces the more natural version of the string than #to_s. - !ruby/struct:SM::Flow::VERB body: " /ab+c/ix.to_s #=> /ab+c/ix\n" full_name: Regexp#inspect is_singleton: false name: inspect params: | rxp.inspect => string visibility: public ri/1.8/system/Regexp/source-i.yaml 0000644 00000000544 15217654532 0012671 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the original string of the pattern. - !ruby/struct:SM::Flow::VERB body: " /ab+c/ix.source #=> "ab+c"\n" full_name: Regexp#source is_singleton: false name: source params: | rxp.source => str visibility: public ri/1.8/system/Regexp/%7e-i.yaml 0000644 00000000653 15217654532 0011752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Match---Matches rxp against the contents of $_. Equivalent to rxp =~ $_. - !ruby/struct:SM::Flow::VERB body: " $_ = "input data"\n ~ /at/ #=> 7\n" full_name: Regexp#~ is_singleton: false name: "~" params: | ~ rxp => integer or nil visibility: public ri/1.8/system/Regexp/options-i.yaml 0000644 00000001777 15217654532 0013075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns the set of bits corresponding to the options used when creating this Regexp (see Regexp::new for details. Note that additional bits may be set in the returned options: these are used internally by the regular expression code. These extra bits are ignored if the options are passed to Regexp::new." - !ruby/struct:SM::Flow::VERB body: " Regexp::IGNORECASE #=> 1\n Regexp::EXTENDED #=> 2\n Regexp::MULTILINE #=> 4\n\n /cat/.options #=> 128\n /cat/ix.options #=> 131\n Regexp.new('cat', true).options #=> 129\n Regexp.new('cat', 0, 's').options #=> 384\n\n r = /cat/ix\n Regexp.new(r.source, r.options) #=> /cat/ix\n" full_name: Regexp#options is_singleton: false name: options params: | rxp.options => fixnum visibility: public ri/1.8/system/Regexp/union-c.yaml 0000644 00000002052 15217654532 0012507 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a Regexp object that is the union of the given patterns, i.e., will match any of its parts. The patterns can be Regexp objects, in which case their options will be preserved, or Strings. If no patterns are given, returns /(?!)/. - !ruby/struct:SM::Flow::VERB body: " Regexp.union #=> /(?!)/\n Regexp.union("penzance") #=> /penzance/\n Regexp.union("a+b*c") #=> /a+b*c/\n Regexp.union("skiing", "sledding") #=> /skiing|sledding/\n Regexp.union(["skiing", "sledding"]) #=> /skiing|sledding/\n Regexp.union(/dogs/, /cats/i) #=> /(?-mix:dogs)|(?i-mx:cats)/\n" full_name: Regexp::union is_singleton: true name: union params: | Regexp.union(pat1, pat2, ...) => new_regexp Regexp.union(pats_ary) => new_regexp visibility: public ri/1.8/system/Regexp/cdesc-Regexp.yaml 0000644 00000003527 15217654532 0013460 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: compile - !ruby/object:RI::MethodSummary name: escape - !ruby/object:RI::MethodSummary name: last_match - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: quote - !ruby/object:RI::MethodSummary name: union - !ruby/object:RI::MethodSummary name: yaml_new comment: - !ruby/struct:SM::Flow::P body: "Document-class: Regexp" - !ruby/struct:SM::Flow::P body: A Regexp holds a regular expression, used to match a pattern against strings. Regexps are created using the /.../ and %r{...} literals, and by the Regexp::new constructor. constants: - !ruby/object:RI::Constant comment: name: IGNORECASE value: INT2FIX(RE_OPTION_IGNORECASE) - !ruby/object:RI::Constant comment: name: EXTENDED value: INT2FIX(RE_OPTION_EXTENDED) - !ruby/object:RI::Constant comment: name: MULTILINE value: INT2FIX(RE_OPTION_MULTILINE) full_name: Regexp includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "&" - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: === - !ruby/object:RI::MethodSummary name: =~ - !ruby/object:RI::MethodSummary name: casefold? - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: kcode - !ruby/object:RI::MethodSummary name: match - !ruby/object:RI::MethodSummary name: options - !ruby/object:RI::MethodSummary name: source - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: "|" - !ruby/object:RI::MethodSummary name: "~" name: Regexp superclass: Object ri/1.8/system/Regexp/%3d%3d-i.yaml 0000644 00000001105 15217654532 0012232 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equality---Two regexps are equal if their patterns are identical, they have the same character set code, and their casefold? values are the same. - !ruby/struct:SM::Flow::VERB body: " /abc/ == /abc/x #=> false\n /abc/ == /abc/i #=> false\n /abc/u == /abc/n #=> false\n" full_name: Regexp#== is_singleton: false name: == params: | rxp == other_rxp => true or false rxp.eql?(other_rxp) => true or false visibility: public ri/1.8/system/Regexp/to_yaml-i.yaml 0000644 00000000263 15217654532 0013033 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Regexp#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/Regexp/match-i.yaml 0000644 00000001044 15217654532 0012461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a MatchData object describing the match, or nil if there was no match. This is equivalent to retrieving the value of the special variable $~ following a normal match. - !ruby/struct:SM::Flow::VERB body: " /(.)(.)(.)/.match("abc")[2] #=> "b"\n" full_name: Regexp#match is_singleton: false name: match params: | rxp.match(str) => matchdata or nil visibility: public ri/1.8/system/Regexp/last_match-c.yaml 0000644 00000001435 15217654532 0013502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The first form returns the MatchData object generated by the last successful pattern match. Equivalent to reading the global variable $~. The second form returns the nth field in this MatchData object. - !ruby/struct:SM::Flow::VERB body: " /c(.)t/ =~ 'cat' #=> 0\n Regexp.last_match #=> #<MatchData:0x401b3d30>\n Regexp.last_match(0) #=> "cat"\n Regexp.last_match(1) #=> "a"\n Regexp.last_match(2) #=> nil\n" full_name: Regexp::last_match is_singleton: true name: last_match params: | Regexp.last_match => matchdata Regexp.last_match(fixnum) => str visibility: public ri/1.8/system/Regexp/eql%3f-i.yaml 0000644 00000001111 15217654532 0012437 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equality---Two regexps are equal if their patterns are identical, they have the same character set code, and their casefold? values are the same. - !ruby/struct:SM::Flow::VERB body: " /abc/ == /abc/x #=> false\n /abc/ == /abc/i #=> false\n /abc/u == /abc/n #=> false\n" full_name: Regexp#eql? is_singleton: false name: eql? params: | rxp == other_rxp => true or false rxp.eql?(other_rxp) => true or false visibility: public ri/1.8/system/Regexp/%3d%7e-i.yaml 0000644 00000001036 15217654532 0012242 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a MatchData object describing the match, or nil if there was no match. This is equivalent to retrieving the value of the special variable $~ following a normal match. - !ruby/struct:SM::Flow::VERB body: " /(.)(.)(.)/.match("abc")[2] #=> "b"\n" full_name: Regexp#=~ is_singleton: false name: =~ params: | rxp.match(str) => matchdata or nil visibility: public ri/1.8/system/SecurityError/cdesc-SecurityError.yaml 0000644 00000001204 15217654532 0016424 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: SecurityError includes: [] instance_methods: [] name: SecurityError superclass: StandardError ri/1.8/system/OptionParser/OptionalArgument/parse-i.yaml 0000644 00000000442 15217654532 0017163 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parses argument if given, or uses default value. full_name: OptionParser::OptionalArgument#parse is_singleton: false name: parse params: (arg, argv, &error) visibility: public ri/1.8/system/OptionParser/OptionalArgument/cdesc-OptionalArgument.yaml 0000644 00000000511 15217654532 0022167 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Switch that can omit argument. constants: [] full_name: OptionParser::OptionalArgument includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse name: OptionalArgument superclass: self ri/1.8/system/OptionParser/NoArgument/pattern-c.yaml 0000644 00000000272 15217654532 0016310 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: OptionParser::NoArgument::pattern is_singleton: true name: pattern params: () visibility: public ri/1.8/system/OptionParser/NoArgument/cdesc-NoArgument.yaml 0000644 00000000664 15217654532 0017556 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: incompatible_argument_styles - !ruby/object:RI::MethodSummary name: pattern comment: - !ruby/struct:SM::Flow::P body: Switch that takes no arguments. constants: [] full_name: OptionParser::NoArgument includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse name: NoArgument superclass: self ri/1.8/system/OptionParser/NoArgument/parse-i.yaml 0000644 00000000504 15217654532 0015751 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (NeedlessArgument, arg) comment: - !ruby/struct:SM::Flow::P body: Raises an exception if any arguments given. full_name: OptionParser::NoArgument#parse is_singleton: false name: parse params: (arg, argv) {|NeedlessArgument, arg| ...} visibility: public ri/1.8/system/OptionParser/NoArgument/incompatible_argument_styles-c.yaml 0000644 00000000345 15217654532 0022607 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: OptionParser::NoArgument::incompatible_argument_styles is_singleton: true name: incompatible_argument_styles params: (*) visibility: public ri/1.8/system/OptionParser/PlacedArgument/cdesc-PlacedArgument.yaml 0000644 00000000544 15217654532 0021203 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Switch that takes an argument, which does not begin with '-'. constants: [] full_name: OptionParser::PlacedArgument includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse name: PlacedArgument superclass: self ri/1.8/system/OptionParser/PlacedArgument/parse-i.yaml 0000644 00000000452 15217654532 0016567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns nil if argument is not present or begins with '-'. full_name: OptionParser::PlacedArgument#parse is_singleton: false name: parse params: (arg, argv, &error) visibility: public ri/1.8/system/OptionParser/OptionMap/cdesc-OptionMap.yaml 0000644 00000000534 15217654532 0017230 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Map from option/keyword string to object with completion. constants: [] full_name: OptionParser::OptionMap includes: - !ruby/object:RI::IncludedModule name: Completion instance_methods: [] name: OptionMap superclass: Hash ri/1.8/system/OptionParser/switch_name-i.yaml 0000644 00000000363 15217654532 0015064 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Main name of the switch. full_name: OptionParser#switch_name is_singleton: false name: switch_name params: () visibility: public ri/1.8/system/OptionParser/RequiredArgument/cdesc-RequiredArgument.yaml 0000644 00000000511 15217654532 0022155 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Switch that takes an argument. constants: [] full_name: OptionParser::RequiredArgument includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse name: RequiredArgument superclass: self ri/1.8/system/OptionParser/RequiredArgument/parse-i.yaml 0000644 00000000431 15217654532 0017154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Raises an exception if argument is not present. full_name: OptionParser::RequiredArgument#parse is_singleton: false name: parse params: (arg, argv) visibility: public ri/1.8/system/OptionParser/Completion/cdesc-Completion.yaml 0000644 00000000712 15217654532 0017634 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Keyword completion module. This allows partial arguments to be specified and resolved against a list of acceptable values. constants: [] full_name: OptionParser::Completion includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: complete - !ruby/object:RI::MethodSummary name: convert name: Completion superclass: ri/1.8/system/OptionParser/Completion/convert-i.yaml 0000644 00000000321 15217654532 0016346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: OptionParser::Completion#convert is_singleton: false name: convert params: (opt = nil, val = nil, *) visibility: public ri/1.8/system/OptionParser/Completion/complete-i.yaml 0000644 00000000364 15217654532 0016505 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (key, *sw) comment: full_name: OptionParser::Completion#complete is_singleton: false name: complete params: (key, icase = false, pat = nil) {|key, *sw| ...} visibility: public ri/1.8/system/OptionParser/cdesc-OptionParser.yaml 0000644 00000021032 15217654532 0016035 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::H level: 2 text: Developer Documentation (not for RDoc output) - !ruby/struct:SM::Flow::H level: 3 text: Class tree - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "OptionParser:: front end" - !ruby/struct:SM::Flow::LI label: "-" body: "OptionParser::Switch:: each switches" - !ruby/struct:SM::Flow::LI label: "-" body: "OptionParser::List:: options list" - !ruby/struct:SM::Flow::LI label: "-" body: "OptionParser::ParseError:: errors on parsing" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: OptionParser::AmbiguousOption - !ruby/struct:SM::Flow::LI label: "-" body: OptionParser::NeedlessArgument - !ruby/struct:SM::Flow::LI label: "-" body: OptionParser::MissingArgument - !ruby/struct:SM::Flow::LI label: "-" body: OptionParser::InvalidOption - !ruby/struct:SM::Flow::LI label: "-" body: OptionParser::InvalidArgument - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: OptionParser::AmbiguousArgument type: :BULLET type: :BULLET type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Object relationship diagram - !ruby/struct:SM::Flow::VERB body: " +--------------+\n | OptionParser |<>-----+\n +--------------+ | +--------+\n | ,-| Switch |\n on_head -------->+---------------+ / +--------+\n accept/reject -->| List |<|>-\n | |<|>- +----------+\n on ------------->+---------------+ `-| argument |\n : : | class |\n +---------------+ |==========|\n on_tail -------->| | |pattern |\n +---------------+ |----------|\n OptionParser.accept ->| DefaultList | |converter |\n reject |(shared between| +----------+\n | all instances)|\n +---------------+\n" - !ruby/struct:SM::Flow::H level: 2 text: OptionParser - !ruby/struct:SM::Flow::H level: 3 text: Introduction - !ruby/struct:SM::Flow::P body: OptionParser is a class for command-line option analysis. It is much more advanced, yet also easier to use, than GetoptLong, and is a more Ruby-oriented solution. - !ruby/struct:SM::Flow::H level: 3 text: Features - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "1." body: The argument specification and the code to handle it are written in the same place. - !ruby/struct:SM::Flow::LI label: "2." body: It can output an option summary; you don't need to maintain this string separately. - !ruby/struct:SM::Flow::LI label: "3." body: Optional and mandatory arguments are specified very gracefully. - !ruby/struct:SM::Flow::LI label: "4." body: Arguments can be automatically converted to a specified class. - !ruby/struct:SM::Flow::LI label: "5." body: Arguments can be restricted to a certain set. type: :NUMBER - !ruby/struct:SM::Flow::P body: All of these features are demonstrated in the examples below. - !ruby/struct:SM::Flow::H level: 3 text: Minimal example - !ruby/struct:SM::Flow::VERB body: " require 'optparse'\n\n options = {}\n OptionParser.new do |opts|\n opts.banner = "Usage: example.rb [options]"\n\n opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|\n options[:verbose] = v\n end\n end.parse!\n\n p options\n p ARGV\n" - !ruby/struct:SM::Flow::H level: 3 text: Complete example - !ruby/struct:SM::Flow::P body: The following example is a complete Ruby program. You can run it and see the effect of specifying various options. This is probably the best way to learn the features of optparse. - !ruby/struct:SM::Flow::VERB body: " require 'optparse'\n require 'optparse/time'\n require 'ostruct'\n require 'pp'\n\n class OptparseExample\n\n CODES = %w[iso-2022-jp shift_jis euc-jp utf8 binary]\n CODE_ALIASES = { "jis" => "iso-2022-jp", "sjis" => "shift_jis" }\n\n #\n # Return a structure describing the options.\n #\n def self.parse(args)\n # The options specified on the command line will be collected in options.\n # We set default values here.\n options = OpenStruct.new\n options.library = []\n options.inplace = false\n options.encoding = "utf8"\n options.transfer_type = :auto\n options.verbose = false\n\n opts = OptionParser.new do |opts|\n opts.banner = "Usage: example.rb [options]"\n\n opts.separator ""\n opts.separator "Specific options:"\n\n # Mandatory argument.\n opts.on("-r", "--require LIBRARY",\n "Require the LIBRARY before executing your script") do |lib|\n options.library << lib\n end\n\n # Optional argument; multi-line description.\n opts.on("-i", "--inplace [EXTENSION]",\n "Edit ARGV files in place",\n " (make backup if EXTENSION supplied)") do |ext|\n options.inplace = true\n options.extension = ext || ''\n options.extension.sub!(/\\A\\.?(?=.)/, ".") # Ensure extension begins with dot.\n end\n\n # Cast 'delay' argument to a Float.\n opts.on("--delay N", Float, "Delay N seconds before executing") do |n|\n options.delay = n\n end\n\n # Cast 'time' argument to a Time object.\n opts.on("-t", "--time [TIME]", Time, "Begin execution at given time") do |time|\n options.time = time\n end\n\n # Cast to octal integer.\n opts.on("-F", "--irs [OCTAL]", OptionParser::OctalInteger,\n "Specify record separator (default \\0)") do |rs|\n options.record_separator = rs\n end\n\n # List of arguments.\n opts.on("--list x,y,z", Array, "Example 'list' of arguments") do |list|\n options.list = list\n end\n\n # Keyword completion. We are specifying a specific set of arguments (CODES\n # and CODE_ALIASES - notice the latter is a Hash), and the user may provide\n # the shortest unambiguous text.\n code_list = (CODE_ALIASES.keys + CODES).join(',')\n opts.on("--code CODE", CODES, CODE_ALIASES, "Select encoding",\n " (#{code_list})") do |encoding|\n options.encoding = encoding\n end\n\n # Optional argument with keyword completion.\n opts.on("--type [TYPE]", [:text, :binary, :auto],\n "Select transfer type (text, binary, auto)") do |t|\n options.transfer_type = t\n end\n\n # Boolean switch.\n opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|\n options.verbose = v\n end\n\n opts.separator ""\n opts.separator "Common options:"\n\n # No argument, shows at tail. This will print an options summary.\n # Try it and see!\n opts.on_tail("-h", "--help", "Show this message") do\n puts opts\n exit\n end\n\n # Another typical switch to print the version.\n opts.on_tail("--version", "Show version") do\n puts OptionParser::Version.join('.')\n exit\n end\n end\n\n opts.parse!(args)\n options\n end # parse()\n\n end # class OptparseExample\n\n options = OptparseExample.parse(ARGV)\n pp options\n" - !ruby/struct:SM::Flow::H level: 3 text: Further documentation - !ruby/struct:SM::Flow::P body: The above examples should be enough to learn how to use this class. If you have any questions, email me (gsinclair@soyabean.com.au) and I will update this document. constants: [] full_name: OptionParser includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: switch_name name: OptionParser superclass: Object ri/1.8/system/OptionParser/Switch/new-c.yaml 0000644 00000000433 15217654532 0014605 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: OptionParser::Switch::new is_singleton: true name: new params: (pattern = nil, conv = nil, short = nil, long = nil, arg = nil, desc = ([] if short or long), block = Proc.new) visibility: public ri/1.8/system/OptionParser/Switch/parse_arg-i.yaml 0000644 00000000650 15217654532 0015766 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (InvalidArgument, arg) comment: - !ruby/struct:SM::Flow::P body: Parses arg and returns rest of arg and matched portion to the argument pattern. Yields when the pattern doesn't match substring. full_name: OptionParser::Switch#parse_arg is_singleton: false name: parse_arg params: (arg) {|InvalidArgument, arg| ...} visibility: private ri/1.8/system/OptionParser/Switch/pattern-c.yaml 0000644 00000000266 15217654532 0015475 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: OptionParser::Switch::pattern is_singleton: true name: pattern params: () visibility: public ri/1.8/system/OptionParser/Switch/summarize-i.yaml 0000644 00000002156 15217654532 0016042 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (indent + l) comment: - !ruby/struct:SM::Flow::P body: Produces the summary text. Each line of the summary is yielded to the block (without newline). - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+sdone+:" body: Already summarized short style options keyed hash. - !ruby/struct:SM::Flow::LI label: "+ldone+:" body: Already summarized long style options keyed hash. - !ruby/struct:SM::Flow::LI label: "+width+:" body: Width of left side (option part). In other words, the right side (description part) starts after width columns. - !ruby/struct:SM::Flow::LI label: "+max+:" body: Maximum width of left side -> the options are filled within max columns. - !ruby/struct:SM::Flow::LI label: "+indent+:" body: Prefix string indents all summarized lines. type: :NOTE full_name: OptionParser::Switch#summarize is_singleton: false name: summarize params: (sdone = [], ldone = [], width = 1, max = width - 1, indent = "") {|indent + l| ...} visibility: public ri/1.8/system/OptionParser/Switch/cdesc-Switch.yaml 0000644 00000002310 15217654532 0016110 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: arg rw: R - !ruby/object:RI::Attribute comment: name: block rw: R - !ruby/object:RI::Attribute comment: name: conv rw: R - !ruby/object:RI::Attribute comment: name: desc rw: R - !ruby/object:RI::Attribute comment: name: long rw: R - !ruby/object:RI::Attribute comment: name: pattern rw: R - !ruby/object:RI::Attribute comment: name: short rw: R class_methods: - !ruby/object:RI::MethodSummary name: guess - !ruby/object:RI::MethodSummary name: incompatible_argument_styles - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: pattern comment: - !ruby/struct:SM::Flow::P body: Individual switch class. Not important to the user. - !ruby/struct:SM::Flow::P body: "Defined within Switch are several Switch-derived classes: NoArgument, RequiredArgument, etc." constants: [] full_name: OptionParser::Switch includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: conv_arg - !ruby/object:RI::MethodSummary name: parse_arg - !ruby/object:RI::MethodSummary name: summarize name: Switch superclass: Object ri/1.8/system/OptionParser/Switch/conv_arg-i.yaml 0000644 00000000610 15217654532 0015615 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Parses argument, converts and returns arg, block and result of conversion. Yields at semi-error condition instead of raising an exception. full_name: OptionParser::Switch#conv_arg is_singleton: false name: conv_arg params: (arg, val = nil) visibility: private ri/1.8/system/OptionParser/Switch/guess-c.yaml 0000644 00000000516 15217654532 0015144 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Guesses argument style from arg. Returns corresponding OptionParser::Switch class (OptionalArgument, etc.). full_name: OptionParser::Switch::guess is_singleton: true name: guess params: (arg) visibility: public ri/1.8/system/OptionParser/Switch/incompatible_argument_styles-c.yaml 0000644 00000000346 15217654532 0021772 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: OptionParser::Switch::incompatible_argument_styles is_singleton: true name: incompatible_argument_styles params: (arg, t) visibility: public ri/1.8/system/Binding/eval-i.yaml 0000644 00000001223 15217654532 0012433 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Evaluates the Ruby expression(s) in string, in the binding's context. If the optional filename and lineno parameters are present, they will be used when reporting syntax errors. - !ruby/struct:SM::Flow::VERB body: " def getBinding(param)\n return binding\n end\n b = getBinding("hello")\n b.eval("param") #=> "hello"\n" full_name: Binding#eval is_singleton: false name: eval params: | binding.eval(string [, filename [,lineno]]) => obj visibility: public ri/1.8/system/Binding/clone-i.yaml 0000644 00000000342 15217654532 0012605 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "MISSING: documentation" full_name: Binding#clone is_singleton: false name: clone params: () visibility: public ri/1.8/system/Binding/cdesc-Binding.yaml 0000644 00000002571 15217654532 0013716 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Objects of class Binding encapsulate the execution context at some particular place in the code and retain this context for future use. The variables, methods, value of self, and possibly an iterator block that can be accessed in this context are all retained. Binding objects can be created using Kernel#binding, and are made available to the callback of Kernel#set_trace_func. - !ruby/struct:SM::Flow::P body: These binding objects can be passed as the second argument of the Kernel#eval method, establishing an environment for the evaluation. - !ruby/struct:SM::Flow::VERB body: " class Demo\n def initialize(n)\n @secret = n\n end\n def getBinding\n return binding()\n end\n end\n\n k1 = Demo.new(99)\n b1 = k1.getBinding\n k2 = Demo.new(-3)\n b2 = k2.getBinding\n\n eval("@secret", b1) #=> 99\n eval("@secret", b2) #=> -3\n eval("@secret") #=> nil\n" - !ruby/struct:SM::Flow::P body: Binding objects have no class-specific methods. constants: [] full_name: Binding includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: eval name: Binding superclass: Object ri/1.8/system/StringIO/sync-i.yaml 0000644 00000000376 15217654532 0012614 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true always. full_name: StringIO#sync is_singleton: false name: sync params: | strio.sync -> true visibility: public ri/1.8/system/StringIO/new-c.yaml 0000644 00000000465 15217654532 0012422 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates new StringIO instance from with string and mode. full_name: StringIO::new is_singleton: true name: new params: " StringIO.new(string=\"\"[, mode])\n" visibility: public ri/1.8/system/StringIO/string-i.yaml 0000644 00000000436 15217654532 0013143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns underlying String object, the subject of IO. full_name: StringIO#string is_singleton: false name: string params: " strio.string -> string\n" visibility: public ri/1.8/system/StringIO/rewind-i.yaml 0000644 00000000250 15217654532 0013117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: StringIO#rewind is_singleton: false name: rewind params: () visibility: public ri/1.8/system/StringIO/open-c.yaml 0000644 00000000647 15217654532 0012574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to StringIO.new except that when it is called with a block, it yields with the new instance and closes it, and returns the result which returned from the block. full_name: StringIO::open is_singleton: true name: open params: " StringIO.open(string=\"\"[, mode]) {|strio| ...}\n" visibility: public ri/1.8/system/StringIO/cdesc-StringIO.yaml 0000644 00000006615 15217654532 0014171 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: open comment: - !ruby/struct:SM::Flow::P body: Pseudo I/O on String object. constants: [] full_name: StringIO includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: binmode - !ruby/object:RI::MethodSummary name: bytes - !ruby/object:RI::MethodSummary name: chars - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: close_read - !ruby/object:RI::MethodSummary name: close_write - !ruby/object:RI::MethodSummary name: closed? - !ruby/object:RI::MethodSummary name: closed_read? - !ruby/object:RI::MethodSummary name: closed_write? - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: each_byte - !ruby/object:RI::MethodSummary name: each_char - !ruby/object:RI::MethodSummary name: each_line - !ruby/object:RI::MethodSummary name: eof - !ruby/object:RI::MethodSummary name: eof - !ruby/object:RI::MethodSummary name: eof? - !ruby/object:RI::MethodSummary name: eof? - !ruby/object:RI::MethodSummary name: fcntl - !ruby/object:RI::MethodSummary name: fileno - !ruby/object:RI::MethodSummary name: flush - !ruby/object:RI::MethodSummary name: fsync - !ruby/object:RI::MethodSummary name: getbyte - !ruby/object:RI::MethodSummary name: getc - !ruby/object:RI::MethodSummary name: gets - !ruby/object:RI::MethodSummary name: isatty - !ruby/object:RI::MethodSummary name: length - !ruby/object:RI::MethodSummary name: lineno - !ruby/object:RI::MethodSummary name: lineno= - !ruby/object:RI::MethodSummary name: lines - !ruby/object:RI::MethodSummary name: path - !ruby/object:RI::MethodSummary name: pid - !ruby/object:RI::MethodSummary name: pos - !ruby/object:RI::MethodSummary name: pos - !ruby/object:RI::MethodSummary name: pos= - !ruby/object:RI::MethodSummary name: print - !ruby/object:RI::MethodSummary name: printf - !ruby/object:RI::MethodSummary name: putc - !ruby/object:RI::MethodSummary name: puts - !ruby/object:RI::MethodSummary name: read - !ruby/object:RI::MethodSummary name: readbyte - !ruby/object:RI::MethodSummary name: readchar - !ruby/object:RI::MethodSummary name: readline - !ruby/object:RI::MethodSummary name: readline - !ruby/object:RI::MethodSummary name: readlines - !ruby/object:RI::MethodSummary name: reopen - !ruby/object:RI::MethodSummary name: rewind - !ruby/object:RI::MethodSummary name: rewind - !ruby/object:RI::MethodSummary name: seek - !ruby/object:RI::MethodSummary name: seek - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: string - !ruby/object:RI::MethodSummary name: string= - !ruby/object:RI::MethodSummary name: sync - !ruby/object:RI::MethodSummary name: sync= - !ruby/object:RI::MethodSummary name: sysread - !ruby/object:RI::MethodSummary name: syswrite - !ruby/object:RI::MethodSummary name: tell - !ruby/object:RI::MethodSummary name: truncate - !ruby/object:RI::MethodSummary name: tty? - !ruby/object:RI::MethodSummary name: ungetc - !ruby/object:RI::MethodSummary name: write name: StringIO superclass: Object ri/1.8/system/StringIO/truncate-i.yaml 0000644 00000000536 15217654532 0013463 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Truncates the buffer string to at most integer bytes. The strio must be opened for writing. full_name: StringIO#truncate is_singleton: false name: truncate params: | strio.truncate(integer) -> 0 visibility: public ri/1.8/system/StringIO/fsync-i.yaml 0000644 00000000405 15217654532 0012753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns 0. Just for compatibility to IO. full_name: StringIO#fsync is_singleton: false name: fsync params: " strio.fsync -> 0 " visibility: public ri/1.8/system/StringIO/binmode-i.yaml 0000644 00000000440 15217654532 0013245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns strio itself. Just for compatibility to IO. full_name: StringIO#binmode is_singleton: false name: binmode params: " strio.binmode -> true " visibility: public ri/1.8/system/StringIO/%3c%3c-i.yaml 0000644 00000000363 15217654532 0012501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#<<. full_name: StringIO#<< is_singleton: false name: "<<" params: | strio << obj -> strio visibility: public ri/1.8/system/StringIO/each_line-i.yaml 0000644 00000000525 15217654532 0013543 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#each. full_name: StringIO#each_line is_singleton: false name: each_line params: | strio.each(sep_string=$/) {|line| block } -> strio strio.each_line(sep_string=$/) {|line| block } -> strio visibility: public ri/1.8/system/StringIO/readlines-i.yaml 0000644 00000000421 15217654532 0013575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#readlines. full_name: StringIO#readlines is_singleton: false name: readlines params: | strio.readlines(sep_string=$/) -> array visibility: public ri/1.8/system/StringIO/lineno-i.yaml 0000644 00000001065 15217654532 0013120 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the current line number in strio. The stringio must be opened for reading. lineno counts the number of times gets is called, rather than the number of newlines encountered. The two values will differ if gets is called with a separator other than newline. See also the $. variable. full_name: StringIO#lineno is_singleton: false name: lineno params: | strio.lineno -> integer visibility: public ri/1.8/system/StringIO/closed%3f-i.yaml 0000644 00000000510 15217654532 0013375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if strio is completely closed, false otherwise. full_name: StringIO#closed? is_singleton: false name: closed? params: | strio.closed? -> true or false visibility: public ri/1.8/system/StringIO/bytes-i.yaml 0000644 00000000410 15217654532 0012753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#each_byte. full_name: StringIO#bytes is_singleton: false name: bytes params: | strio.each_byte {|byte| block } -> strio visibility: public ri/1.8/system/StringIO/pid-i.yaml 0000644 00000000414 15217654532 0012405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns nil. Just for compatibility to IO. full_name: StringIO#pid is_singleton: false name: pid params: " strio.pid -> nil " visibility: public ri/1.8/system/StringIO/isatty-i.yaml 0000644 00000000454 15217654532 0013152 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns false. Just for compatibility to IO. full_name: StringIO#isatty is_singleton: false name: isatty params: | strio.isatty -> nil strio.tty? -> nil visibility: public ri/1.8/system/StringIO/path-i.yaml 0000644 00000000417 15217654532 0012570 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns nil. Just for compatibility to IO. full_name: StringIO#path is_singleton: false name: path params: " strio.path -> nil " visibility: public ri/1.8/system/StringIO/getbyte-i.yaml 0000644 00000000373 15217654532 0013300 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#getc. full_name: StringIO#getbyte is_singleton: false name: getbyte params: | strio.getc -> fixnum or nil visibility: public ri/1.8/system/StringIO/string%3d-i.yaml 0000644 00000000446 15217654532 0013440 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Changes underlying String object, the subject of IO. full_name: StringIO#string= is_singleton: false name: string= params: | strio.string = string -> string visibility: public ri/1.8/system/StringIO/readchar-i.yaml 0000644 00000000376 15217654532 0013411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#readchar. full_name: StringIO#readchar is_singleton: false name: readchar params: | strio.readchar -> fixnum visibility: public ri/1.8/system/StringIO/putc-i.yaml 0000644 00000000361 15217654532 0012605 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#putc. full_name: StringIO#putc is_singleton: false name: putc params: | strio.putc(obj) -> obj visibility: public ri/1.8/system/StringIO/seek-i.yaml 0000644 00000000542 15217654532 0012562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Seeks to a given offset amount in the stream according to the value of whence (see IO#seek). full_name: StringIO#seek is_singleton: false name: seek params: | strio.seek(amount, whence=SEEK_SET) -> 0 visibility: public ri/1.8/system/StringIO/each_char-i.yaml 0000644 00000000420 15217654532 0013523 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#each_char. full_name: StringIO#each_char is_singleton: false name: each_char params: | strio.each_char {|char| block } -> strio visibility: public ri/1.8/system/StringIO/close-i.yaml 0000644 00000000551 15217654532 0012740 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Closes strio. The strio is unavailable for any further data operations; an IOError is raised if such an attempt is made. full_name: StringIO#close is_singleton: false name: close params: | strio.close -> nil visibility: public ri/1.8/system/StringIO/closed_read%3f-i.yaml 0000644 00000000522 15217654532 0014373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if strio is not readable, false otherwise. full_name: StringIO#closed_read? is_singleton: false name: closed_read? params: | strio.closed_read? -> true or false visibility: public ri/1.8/system/StringIO/each_byte-i.yaml 0000644 00000000420 15217654532 0013551 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#each_byte. full_name: StringIO#each_byte is_singleton: false name: each_byte params: | strio.each_byte {|byte| block } -> strio visibility: public ri/1.8/system/StringIO/readbyte-i.yaml 0000644 00000000376 15217654532 0013437 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#readchar. full_name: StringIO#readbyte is_singleton: false name: readbyte params: | strio.readchar -> fixnum visibility: public ri/1.8/system/StringIO/read-i.yaml 0000644 00000000424 15217654532 0012545 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#read. full_name: StringIO#read is_singleton: false name: read params: | strio.read([length [, buffer]]) -> string, buffer, or nil visibility: public ri/1.8/system/StringIO/tty%3f-i.yaml 0000644 00000000450 15217654532 0012747 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns false. Just for compatibility to IO. full_name: StringIO#tty? is_singleton: false name: tty? params: | strio.isatty -> nil strio.tty? -> nil visibility: public ri/1.8/system/StringIO/pos-i.yaml 0000644 00000000463 15217654532 0012436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the current offset (in bytes) of strio. full_name: StringIO#pos is_singleton: false name: pos params: | strio.pos -> integer strio.tell -> integer visibility: public ri/1.8/system/StringIO/close_read-i.yaml 0000644 00000000530 15217654532 0013730 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Closes the read end of a StringIO. Will raise an IOError if the strio is not readable. full_name: StringIO#close_read is_singleton: false name: close_read params: | strio.close_read -> nil visibility: public ri/1.8/system/StringIO/getc-i.yaml 0000644 00000000365 15217654532 0012560 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#getc. full_name: StringIO#getc is_singleton: false name: getc params: | strio.getc -> fixnum or nil visibility: public ri/1.8/system/StringIO/tell-i.yaml 0000644 00000000465 15217654532 0012577 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the current offset (in bytes) of strio. full_name: StringIO#tell is_singleton: false name: tell params: | strio.pos -> integer strio.tell -> integer visibility: public ri/1.8/system/StringIO/readline-i.yaml 0000644 00000000415 15217654532 0013415 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#readline. full_name: StringIO#readline is_singleton: false name: readline params: | strio.readline(sep_string=$/) -> string visibility: public ri/1.8/system/StringIO/write-i.yaml 0000644 00000001015 15217654532 0012761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Appends the given string to the underlying buffer string of strio. The stream must be opened for writing. If the argument is not a string, it will be converted to a string using to_s. Returns the number of bytes written. See IO#write. full_name: StringIO#write is_singleton: false name: write params: | strio.write(string) -> integer strio.syswrite(string) -> integer visibility: public ri/1.8/system/StringIO/sync%3d-i.yaml 0000644 00000000451 15217654532 0013102 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the argument unchanged. Just for compatibility to IO. full_name: StringIO#sync= is_singleton: false name: sync= params: " strio.sync = boolean -> boolean " visibility: public ri/1.8/system/StringIO/size-i.yaml 0000644 00000000411 15217654532 0012600 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the size of the buffer string. full_name: StringIO#size is_singleton: false name: size params: | strio.size -> integer visibility: public ri/1.8/system/StringIO/sysread-i.yaml 0000644 00000000577 15217654532 0013315 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Similar to #read, but raises EOFError at end of string instead of returning nil, as well as IO#sysread does." full_name: StringIO#sysread is_singleton: false name: sysread params: | strio.sysread(integer[, outbuf]) -> string visibility: public ri/1.8/system/StringIO/printf-i.yaml 0000644 00000000420 15217654532 0013130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#printf. full_name: StringIO#printf is_singleton: false name: printf params: | strio.printf(format_string [, obj, ...] ) -> nil visibility: public ri/1.8/system/StringIO/each-i.yaml 0000644 00000000513 15217654532 0012531 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#each. full_name: StringIO#each is_singleton: false name: each params: | strio.each(sep_string=$/) {|line| block } -> strio strio.each_line(sep_string=$/) {|line| block } -> strio visibility: public ri/1.8/system/StringIO/eof-i.yaml 0000644 00000000607 15217654532 0012406 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if strio is at end of file. The stringio must be opened for reading or an IOError will be raised. full_name: StringIO#eof is_singleton: false name: eof params: | strio.eof -> true or false strio.eof? -> true or false visibility: public ri/1.8/system/StringIO/print-i.yaml 0000644 00000000436 15217654532 0012771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#print. full_name: StringIO#print is_singleton: false name: print params: | strio.print() -> nil strio.print(obj, ...) -> nil visibility: public ri/1.8/system/StringIO/puts-i.yaml 0000644 00000000366 15217654532 0012632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#puts. full_name: StringIO#puts is_singleton: false name: puts params: | strio.puts(obj, ...) -> nil visibility: public ri/1.8/system/StringIO/eof%3f-i.yaml 0000644 00000000331 15217654532 0012676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #eof" full_name: StringIO#eof? is_singleton: false name: eof? params: () visibility: public ri/1.8/system/StringIO/lines-i.yaml 0000644 00000000515 15217654532 0012745 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#each. full_name: StringIO#lines is_singleton: false name: lines params: | strio.each(sep_string=$/) {|line| block } -> strio strio.each_line(sep_string=$/) {|line| block } -> strio visibility: public ri/1.8/system/StringIO/closed_write%3f-i.yaml 0000644 00000000525 15217654532 0014615 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if strio is not writable, false otherwise. full_name: StringIO#closed_write? is_singleton: false name: closed_write? params: | strio.closed_write? -> true or false visibility: public ri/1.8/system/StringIO/gets-i.yaml 0000644 00000000404 15217654532 0012572 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#gets. full_name: StringIO#gets is_singleton: false name: gets params: | strio.gets(sep_string=$/) -> string or nil visibility: public ri/1.8/system/StringIO/flush-i.yaml 0000644 00000000433 15217654532 0012753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns strio itself. Just for compatibility to IO. full_name: StringIO#flush is_singleton: false name: flush params: " strio.flush -> strio " visibility: public ri/1.8/system/StringIO/ungetc-i.yaml 0000644 00000001035 15217654532 0013116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Pushes back one character (passed as a parameter) onto strio such that a subsequent buffered read will return it. Pushing back behind the beginning of the buffer string is not possible. Nothing will be done if such an attempt is made. In other case, there is no limitation for multiple pushbacks. full_name: StringIO#ungetc is_singleton: false name: ungetc params: | strio.ungetc(integer) -> nil visibility: public ri/1.8/system/StringIO/close_write-i.yaml 0000644 00000000535 15217654532 0014154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Closes the write end of a StringIO. Will raise an IOError if the strio is not writeable. full_name: StringIO#close_write is_singleton: false name: close_write params: | strio.close_write -> nil visibility: public ri/1.8/system/StringIO/length-i.yaml 0000644 00000000415 15217654532 0013113 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the size of the buffer string. full_name: StringIO#length is_singleton: false name: length params: | strio.size -> integer visibility: public ri/1.8/system/StringIO/chars-i.yaml 0000644 00000000410 15217654532 0012725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See IO#each_char. full_name: StringIO#chars is_singleton: false name: chars params: | strio.each_char {|char| block } -> strio visibility: public ri/1.8/system/StringIO/lineno%3d-i.yaml 0000644 00000000535 15217654532 0013415 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Manually sets the current line number to the given value. $. is updated only on the next read. full_name: StringIO#lineno= is_singleton: false name: lineno= params: | strio.lineno = integer -> integer visibility: public ri/1.8/system/StringIO/pos%3d-i.yaml 0000644 00000000444 15217654532 0012731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Seeks to the given position (in bytes) in strio. full_name: StringIO#pos= is_singleton: false name: pos= params: | strio.pos = integer -> integer visibility: public ri/1.8/system/StringIO/fileno-i.yaml 0000644 00000000425 15217654532 0013107 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns nil. Just for compatibility to IO. full_name: StringIO#fileno is_singleton: false name: fileno params: " strio.fileno -> nil " visibility: public ri/1.8/system/StringIO/syswrite-i.yaml 0000644 00000001023 15217654532 0013517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Appends the given string to the underlying buffer string of strio. The stream must be opened for writing. If the argument is not a string, it will be converted to a string using to_s. Returns the number of bytes written. See IO#write. full_name: StringIO#syswrite is_singleton: false name: syswrite params: | strio.write(string) -> integer strio.syswrite(string) -> integer visibility: public ri/1.8/system/StringIO/reopen-i.yaml 0000644 00000000626 15217654532 0013126 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reinitializes strio with the given other_StrIO or string and mode (see StringIO#new). full_name: StringIO#reopen is_singleton: false name: reopen params: | strio.reopen(other_StrIO) -> strio strio.reopen(string, mode) -> strio visibility: public ri/1.8/system/StringIO/fcntl-i.yaml 0000644 00000000363 15217654532 0012742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Raises NotImplementedError. full_name: StringIO#fcntl is_singleton: false name: fcntl params: " strio.fcntl " visibility: public ri/1.8/system/UnboundMethod/to_s-i.yaml 0000644 00000000664 15217654532 0013661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Show the name of the underlying method. - !ruby/struct:SM::Flow::VERB body: " "cat".method(:count).inspect #=> "#<Method: String#count>"\n" full_name: UnboundMethod#to_s is_singleton: false name: to_s params: | meth.to_s => string meth.inspect => string visibility: public ri/1.8/system/UnboundMethod/cdesc-UnboundMethod.yaml 0000644 00000004207 15217654532 0016316 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: "Ruby supports two forms of objectified methods. Class Method is used to represent methods that are associated with a particular object: these method objects are bound to that object. Bound method objects for an object can be created using Object#method." - !ruby/struct:SM::Flow::P body: Ruby also supports unbound methods; methods objects that are not associated with a particular object. These can be created either by calling Module#instance_method or by calling unbind on a bound method object. The result of both of these is an UnboundMethod object. - !ruby/struct:SM::Flow::P body: Unbound methods can only be called after they are bound to an object. That object must be be a kind_of? the method's original class. - !ruby/struct:SM::Flow::VERB body: " class Square\n def area\n @side * @side\n end\n def initialize(side)\n @side = side\n end\n end\n\n area_un = Square.instance_method(:area)\n\n s = Square.new(12)\n area = area_un.bind(s)\n area.call #=> 144\n" - !ruby/struct:SM::Flow::P body: "Unbound methods are a reference to the method at the time it was objectified: subsequent changes to the underlying class will not affect the unbound method." - !ruby/struct:SM::Flow::VERB body: " class Test\n def test\n :original\n end\n end\n um = Test.instance_method(:test)\n class Test\n def test\n :modified\n end\n end\n t = Test.new\n t.test #=> :modified\n um.bind(t).call #=> :original\n" constants: [] full_name: UnboundMethod includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: arity - !ruby/object:RI::MethodSummary name: bind - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: name - !ruby/object:RI::MethodSummary name: owner - !ruby/object:RI::MethodSummary name: to_s name: UnboundMethod superclass: Object ri/1.8/system/UnboundMethod/name-i.yaml 0000644 00000000406 15217654532 0013627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the name of the method. full_name: UnboundMethod#name is_singleton: false name: name params: | meth.name => string visibility: public ri/1.8/system/UnboundMethod/arity-i.yaml 0000644 00000002403 15217654532 0014036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an indication of the number of arguments accepted by a method. Returns a nonnegative integer for methods that take a fixed number of arguments. For Ruby methods that take a variable number of arguments, returns -n-1, where n is the number of required arguments. For methods written in C, returns -1 if the call takes a variable number of arguments. - !ruby/struct:SM::Flow::VERB body: " class C\n def one; end\n def two(a); end\n def three(*a); end\n def four(a, b); end\n def five(a, b, *c); end\n def six(a, b, *c, &d); end\n end\n c = C.new\n c.method(:one).arity #=> 0\n c.method(:two).arity #=> 1\n c.method(:three).arity #=> -1\n c.method(:four).arity #=> 2\n c.method(:five).arity #=> -3\n c.method(:six).arity #=> -3\n\n "cat".method(:size).arity #=> 0\n "cat".method(:replace).arity #=> 1\n "cat".method(:squeeze).arity #=> -1\n "cat".method(:count).arity #=> -1\n" full_name: UnboundMethod#arity is_singleton: false name: arity params: | meth.arity => fixnum visibility: public ri/1.8/system/UnboundMethod/inspect-i.yaml 0000644 00000000672 15217654532 0014361 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Show the name of the underlying method. - !ruby/struct:SM::Flow::VERB body: " "cat".method(:count).inspect #=> "#<Method: String#count>"\n" full_name: UnboundMethod#inspect is_singleton: false name: inspect params: | meth.to_s => string meth.inspect => string visibility: public ri/1.8/system/UnboundMethod/bind-i.yaml 0000644 00000001707 15217654532 0013630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Bind umeth to obj. If Klass was the class from which umeth was obtained, obj.kind_of?(Klass) must be true. - !ruby/struct:SM::Flow::VERB body: " class A\n def test\n puts "In test, class = #{self.class}"\n end\n end\n class B < A\n end\n class C < B\n end\n\n um = B.instance_method(:test)\n bm = um.bind(C.new)\n bm.call\n bm = um.bind(B.new)\n bm.call\n bm = um.bind(A.new)\n bm.call\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " In test, class = C\n In test, class = B\n prog.rb:16:in `bind': bind argument must be an instance of B (TypeError)\n from prog.rb:16\n" full_name: UnboundMethod#bind is_singleton: false name: bind params: | umeth.bind(obj) -> method visibility: public ri/1.8/system/UnboundMethod/clone-i.yaml 0000644 00000000350 15217654532 0014005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "MISSING: documentation" full_name: UnboundMethod#clone is_singleton: false name: clone params: () visibility: public ri/1.8/system/UnboundMethod/%3d%3d-i.yaml 0000644 00000000515 15217654532 0013557 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Two method objects are equal if that are bound to the same object and contain the same body. full_name: UnboundMethod#== is_singleton: false name: == params: | meth == other_meth => true or false visibility: public ri/1.8/system/UnboundMethod/owner-i.yaml 0000644 00000000447 15217654532 0014046 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the class or module that defines the method. full_name: UnboundMethod#owner is_singleton: false name: owner params: | meth.owner => class_or_module visibility: public ri/1.8/system/Exception2MessageMapper/fail-i.yaml 0000644 00000000303 15217654532 0015535 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Exception2MessageMapper#fail is_singleton: false name: fail params: (err = nil, *rest) visibility: public ri/1.8/system/Exception2MessageMapper/cdesc-Exception2MessageMapper.yaml 0000644 00000001123 15217654532 0022146 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: E2MM value: Exception2MessageMapper full_name: Exception2MessageMapper includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: Fail - !ruby/object:RI::MethodSummary name: Raise - !ruby/object:RI::MethodSummary name: bind - !ruby/object:RI::MethodSummary name: def_e2message - !ruby/object:RI::MethodSummary name: def_exception - !ruby/object:RI::MethodSummary name: fail name: Exception2MessageMapper superclass: ri/1.8/system/Exception2MessageMapper/def_e2message-i.yaml 0000644 00000000604 15217654532 0017317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: def_e2message(c, m) - !ruby/struct:SM::Flow::VERB body: " c: exception\n m: message_form\n define exception c with message m.\n" full_name: Exception2MessageMapper#def_e2message is_singleton: false name: def_e2message params: (c, m) visibility: public ri/1.8/system/Exception2MessageMapper/Fail-i.yaml 0000644 00000000372 15217654532 0015503 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #Raise" full_name: Exception2MessageMapper#Fail is_singleton: false name: Fail params: (err = nil, *rest) visibility: public ri/1.8/system/Exception2MessageMapper/bind-i.yaml 0000644 00000000265 15217654532 0015545 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Exception2MessageMapper#bind is_singleton: false name: bind params: (cl) visibility: public ri/1.8/system/Exception2MessageMapper/def_exception-i.yaml 0000644 00000000735 15217654532 0017447 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: def_exception(n, m, s) - !ruby/struct:SM::Flow::VERB body: " n: exception_name\n m: message_form\n s: superclass(default: StandardError)\n define exception named ``c'' with message m.\n" full_name: Exception2MessageMapper#def_exception is_singleton: false name: def_exception params: (n, m, s = StandardError) visibility: public ri/1.8/system/Exception2MessageMapper/E2MM/def_exception-c.yaml 0000644 00000001034 15217654532 0020132 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: E2MM.def_exception(k, n, m, s) - !ruby/struct:SM::Flow::VERB body: " k: class to define exception under.\n n: exception_name\n m: message_form\n s: superclass(default: StandardError)\n define exception named ``c'' with message m.\n" full_name: Exception2MessageMapper::E2MM::def_exception is_singleton: true name: def_exception params: (k, n, m, s = StandardError) visibility: public ri/1.8/system/Exception2MessageMapper/E2MM/Raise-c.yaml 0000644 00000000653 15217654532 0016367 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Fail(klass, err, *rest) - !ruby/struct:SM::Flow::VERB body: " klass: class to define exception under.\n err: exception\n rest: message arguments\n" full_name: Exception2MessageMapper::E2MM::Raise is_singleton: true name: Raise params: (klass = E2MM, err = nil, *rest) visibility: public ri/1.8/system/Exception2MessageMapper/E2MM/extend_object-c.yaml 0000644 00000000315 15217654532 0020134 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Exception2MessageMapper::E2MM::extend_object is_singleton: true name: extend_object params: (cl) visibility: public ri/1.8/system/Exception2MessageMapper/E2MM/extend_to-c.yaml 0000644 00000000377 15217654532 0017320 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: backward compatibility full_name: Exception2MessageMapper::E2MM::extend_to is_singleton: true name: extend_to params: (b) visibility: public ri/1.8/system/Exception2MessageMapper/E2MM/e2mm_message-c.yaml 0000644 00000000323 15217654532 0017662 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Exception2MessageMapper::E2MM::e2mm_message is_singleton: true name: e2mm_message params: (klass, exp) visibility: public ri/1.8/system/Exception2MessageMapper/E2MM/cdesc-E2MM.yaml 0000644 00000001010 15217654532 0016647 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: Raise - !ruby/object:RI::MethodSummary name: def_e2message - !ruby/object:RI::MethodSummary name: def_exception - !ruby/object:RI::MethodSummary name: e2mm_message - !ruby/object:RI::MethodSummary name: extend_object - !ruby/object:RI::MethodSummary name: extend_to comment: constants: [] full_name: Exception2MessageMapper::E2MM includes: [] instance_methods: [] name: E2MM superclass: ri/1.8/system/Exception2MessageMapper/E2MM/def_e2message-c.yaml 0000644 00000000703 15217654532 0020011 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: E2MM.def_exception(k, e, m) - !ruby/struct:SM::Flow::VERB body: " k: class to define exception under.\n e: exception\n m: message_form\n define exception c with message m.\n" full_name: Exception2MessageMapper::E2MM::def_e2message is_singleton: true name: def_e2message params: (k, c, m) visibility: public ri/1.8/system/Exception2MessageMapper/Raise-i.yaml 0000644 00000000612 15217654532 0015670 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: Fail block_params: comment: - !ruby/struct:SM::Flow::P body: Fail(err, *rest) - !ruby/struct:SM::Flow::VERB body: " err: exception\n rest: message arguments\n" full_name: Exception2MessageMapper#Raise is_singleton: false name: Raise params: (err = nil, *rest) visibility: public ri/1.8/system/Mutex_m/mu_try_lock-i.yaml 0000644 00000000261 15217654532 0014100 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Mutex_m#mu_try_lock is_singleton: false name: mu_try_lock params: () visibility: public ri/1.8/system/Mutex_m/mu_locked%3f-i.yaml 0000644 00000000257 15217654532 0014016 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Mutex_m#mu_locked? is_singleton: false name: mu_locked? params: () visibility: public ri/1.8/system/Mutex_m/new-c.yaml 0000644 00000000246 15217654532 0012337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Mutex_m::new is_singleton: true name: new params: (*args) visibility: public ri/1.8/system/Mutex_m/mu_extended-i.yaml 0000644 00000000261 15217654532 0014052 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Mutex_m#mu_extended is_singleton: false name: mu_extended params: () visibility: public ri/1.8/system/Mutex_m/mu_initialize-i.yaml 0000644 00000000266 15217654532 0014420 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Mutex_m#mu_initialize is_singleton: false name: mu_initialize params: () visibility: private ri/1.8/system/Mutex_m/define_aliases-c.yaml 0000644 00000000271 15217654532 0014477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Mutex_m::define_aliases is_singleton: true name: define_aliases params: (cl) visibility: public ri/1.8/system/Mutex_m/extend_object-c.yaml 0000644 00000000270 15217654532 0014360 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Mutex_m::extend_object is_singleton: true name: extend_object params: (obj) visibility: public ri/1.8/system/Mutex_m/cdesc-Mutex_m.yaml 0000644 00000002363 15217654532 0014025 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: append_features - !ruby/object:RI::MethodSummary name: define_aliases - !ruby/object:RI::MethodSummary name: extend_object - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/struct:SM::Flow::P body: "Extend an object and use it like a Mutex object:" - !ruby/struct:SM::Flow::VERB body: " require "mutex_m.rb"\n obj = Object.new\n obj.extend Mutex_m\n # ...\n" - !ruby/struct:SM::Flow::P body: "Or, include Mutex_m in a class to have its instances behave like a Mutex object:" - !ruby/struct:SM::Flow::VERB body: " class Foo\n include Mutex_m\n # ...\n end\n\n obj = Foo.new\n" constants: [] full_name: Mutex_m includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: mu_extended - !ruby/object:RI::MethodSummary name: mu_initialize - !ruby/object:RI::MethodSummary name: mu_lock - !ruby/object:RI::MethodSummary name: mu_locked? - !ruby/object:RI::MethodSummary name: mu_synchronize - !ruby/object:RI::MethodSummary name: mu_try_lock - !ruby/object:RI::MethodSummary name: mu_unlock name: Mutex_m superclass: ri/1.8/system/Mutex_m/mu_unlock-i.yaml 0000644 00000000255 15217654532 0013550 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Mutex_m#mu_unlock is_singleton: false name: mu_unlock params: () visibility: public ri/1.8/system/Mutex_m/mu_synchronize-i.yaml 0000644 00000000356 15217654532 0014632 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: locking full_name: Mutex_m#mu_synchronize is_singleton: false name: mu_synchronize params: () {|| ...} visibility: public ri/1.8/system/Mutex_m/mu_lock-i.yaml 0000644 00000000251 15217654532 0013201 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Mutex_m#mu_lock is_singleton: false name: mu_lock params: () visibility: public ri/1.8/system/Mutex_m/append_features-c.yaml 0000644 00000000273 15217654532 0014713 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Mutex_m::append_features is_singleton: true name: append_features params: (cl) visibility: public ri/1.8/system/Interrupt/cdesc-Interrupt.yaml 0000644 00000001176 15217654532 0014762 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: Interrupt includes: [] instance_methods: [] name: Interrupt superclass: SignalException ri/1.8/system/MissingArgument/cdesc-MissingArgument.yaml 0000644 00000000461 15217654532 0017216 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Raises when a switch with mandatory argument has no argument. constants: [] full_name: MissingArgument includes: [] instance_methods: [] name: MissingArgument superclass: ParseError ri/1.8/system/Queue/pop-i.yaml 0000644 00000000767 15217654532 0012030 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: shift - !ruby/object:RI::AliasName name: deq block_params: comment: - !ruby/struct:SM::Flow::P body: Retrieves data from the queue. If the queue is empty, the calling thread is suspended until data is pushed onto the queue. If non_block is true, the thread isn't suspended, and an exception is raised. full_name: Queue#pop is_singleton: false name: pop params: (non_block=false) visibility: public ri/1.8/system/Queue/new-c.yaml 0000644 00000000330 15217654532 0011777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new queue. full_name: Queue::new is_singleton: true name: new params: () visibility: public ri/1.8/system/Queue/%3c%3c-i.yaml 0000644 00000000330 15217654532 0012061 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #push" full_name: Queue#<< is_singleton: false name: "<<" params: (obj) visibility: public ri/1.8/system/Queue/cdesc-Queue.yaml 0000644 00000002510 15217654532 0013133 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: This class provides a way to synchronize communication between threads. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " require 'thread'\n\n queue = Queue.new\n\n producer = Thread.new do\n 5.times do |i|\n sleep rand(i) # simulate expense\n queue << i\n puts "#{i} produced"\n end\n end\n\n consumer = Thread.new do\n 5.times do |i|\n value = queue.pop\n sleep rand(i/2) # simulate expense\n puts "consumed #{value}"\n end\n end\n\n consumer.join\n" constants: [] full_name: Queue includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: clear - !ruby/object:RI::MethodSummary name: deq - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: enq - !ruby/object:RI::MethodSummary name: length - !ruby/object:RI::MethodSummary name: num_waiting - !ruby/object:RI::MethodSummary name: pop - !ruby/object:RI::MethodSummary name: push - !ruby/object:RI::MethodSummary name: shift - !ruby/object:RI::MethodSummary name: size name: Queue superclass: Object ri/1.8/system/Queue/deq-i.yaml 0000644 00000000343 15217654532 0011771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #pop" full_name: Queue#deq is_singleton: false name: deq params: (non_block=false) visibility: public ri/1.8/system/Queue/num_waiting-i.yaml 0000644 00000000407 15217654532 0013542 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of threads waiting on the queue. full_name: Queue#num_waiting is_singleton: false name: num_waiting params: () visibility: public ri/1.8/system/Queue/push-i.yaml 0000644 00000000474 15217654532 0012204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: "<<" - !ruby/object:RI::AliasName name: enq block_params: comment: - !ruby/struct:SM::Flow::P body: Pushes obj to the queue. full_name: Queue#push is_singleton: false name: push params: (obj) visibility: public ri/1.8/system/Queue/size-i.yaml 0000644 00000000331 15217654532 0012167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #length" full_name: Queue#size is_singleton: false name: size params: () visibility: public ri/1.8/system/Queue/shift-i.yaml 0000644 00000000347 15217654532 0012341 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #pop" full_name: Queue#shift is_singleton: false name: shift params: (non_block=false) visibility: public ri/1.8/system/Queue/enq-i.yaml 0000644 00000000330 15217654532 0011777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #push" full_name: Queue#enq is_singleton: false name: enq params: (obj) visibility: public ri/1.8/system/Queue/length-i.yaml 0000644 00000000422 15217654532 0012477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: size block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the length of the queue. full_name: Queue#length is_singleton: false name: length params: () visibility: public ri/1.8/system/Queue/empty%3f-i.yaml 0000644 00000000366 15217654532 0012661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true is the queue is empty. full_name: Queue#empty? is_singleton: false name: empty? params: () visibility: public ri/1.8/system/Queue/clear-i.yaml 0000644 00000000353 15217654532 0012307 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes all objects from the queue. full_name: Queue#clear is_singleton: false name: clear params: () visibility: public ri/1.8/system/TCPServer/listen-i.yaml 0000644 00000012047 15217654532 0013253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Listens for connections, using the specified int as the backlog. A call to listen only applies if the socket is of type SOCK_STREAM or SOCK_SEQPACKET. - !ruby/struct:SM::Flow::H level: 3 text: Parameter - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: backlog - the maximum length of the queue for pending connections. type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Example 1 - !ruby/struct:SM::Flow::VERB body: " require 'socket'\n include Socket::Constants\n socket = Socket.new( AF_INET, SOCK_STREAM, 0 )\n sockaddr = Socket.pack_sockaddr_in( 2200, 'localhost' )\n socket.bind( sockaddr )\n socket.listen( 5 )\n" - !ruby/struct:SM::Flow::H level: 3 text: "Example 2 (listening on an arbitary port, unix-based systems only):" - !ruby/struct:SM::Flow::VERB body: " require 'socket'\n include Socket::Constants\n socket = Socket.new( AF_INET, SOCK_STREAM, 0 )\n socket.listen( 1 )\n" - !ruby/struct:SM::Flow::H level: 3 text: Unix-based Exceptions - !ruby/struct:SM::Flow::P body: On unix based systems the above will work because a new sockaddr struct is created on the address ADDR_ANY, for an arbitrary port number as handed off by the kernel. It will not work on Windows, because Windows requires that the socket is bound by calling bind before it can listen. - !ruby/struct:SM::Flow::P body: If the backlog amount exceeds the implementation-dependent maximum queue length, the implementation's maximum queue length will be used. - !ruby/struct:SM::Flow::P body: "On unix-based based systems the following system exceptions may be raised if the call to listen fails:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EBADF - the socket argument is not a valid file descriptor - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EDESTADDRREQ - the socket is not bound to a local address, and the protocol does not support listening on an unbound socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINVAL - the socket is already connected - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOTSOCK - the socket argument does not refer to a socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EOPNOTSUPP - the socket protocol does not support listen - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EACCES - the calling process does not have approriate privileges - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINVAL - the socket has been shut down - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOBUFS - insufficient resources are available in the system to complete the call type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Windows Exceptions - !ruby/struct:SM::Flow::P body: "On Windows systems the following system exceptions may be raised if the call to listen fails:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENETDOWN - the network is down - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EADDRINUSE - the socket's local address is already in use. This usually occurs during the execution of bind but could be delayed if the call to bind was to a partially wildcard address (involving ADDR_ANY) and if a specific address needs to be commmitted at the time of the call to listen - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINPROGRESS - a Windows Sockets 1.1 call is in progress or the service provider is still processing a callback function - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINVAL - the socket has not been bound with a call to bind. - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EISCONN - the socket is already connected - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EMFILE - no more socket descriptors are available - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOBUFS - no buffer space is available - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOTSOC - socket is not a socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EOPNOTSUPP - the referenced socket is not a type that supports the listen method type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: See - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: listen manual pages on unix-based systems - !ruby/struct:SM::Flow::LI label: "*" body: listen function in Microsoft's Winsock functions reference type: :BULLET full_name: TCPServer#listen is_singleton: false name: listen params: | socket.listen( int ) => 0 visibility: public ri/1.8/system/TCPServer/accept_nonblock-i.yaml 0000644 00000002517 15217654532 0015102 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Accepts an incoming connection using accept(2) after O_NONBLOCK is set for the underlying file descriptor. It returns an accepted TCPSocket for the incoming connection. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " require 'socket'\n serv = TCPServer.new(2202)\n begin\n sock = serv.accept_nonblock\n rescue Errno::EAGAIN, Errno::EWOULDBLOCK, Errno::ECONNABORTED, Errno::EPROTO, Errno::EINTR\n IO.select([serv])\n retry\n end\n # sock is an accepted socket.\n" - !ruby/struct:SM::Flow::P body: Refer to Socket#accept for the exceptions that may be thrown if the call to TCPServer#accept_nonblock fails. - !ruby/struct:SM::Flow::P body: TCPServer#accept_nonblock may raise any error corresponding to accept(2) failure, including Errno::EAGAIN. - !ruby/struct:SM::Flow::H level: 3 text: See - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: TCPServer#accept - !ruby/struct:SM::Flow::LI label: "*" body: Socket#accept type: :BULLET full_name: TCPServer#accept_nonblock is_singleton: false name: accept_nonblock params: | tcpserver.accept_nonblock => tcpsocket visibility: public ri/1.8/system/TCPServer/cdesc-TCPServer.yaml 0000644 00000003322 15217654532 0014417 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Class Socket provides access to the underlying operating system socket implementations. It can be used to provide more operating system specific functionality than the protocol-specific socket classes but at the expense of greater complexity. In particular, the class handles addresses using +struct sockaddr+ structures packed into Ruby strings, which can be a joy to manipulate. - !ruby/struct:SM::Flow::H level: 3 text: Exception Handling - !ruby/struct:SM::Flow::P body: Ruby's implementation of Socket causes an exception to be raised based on the error generated by the system dependent implementation. This is why the methods are documented in a way that isolate Unix-based system exceptions from Windows based exceptions. If more information on particular exception is needed please refer to the Unix manual pages or the Windows WinSock reference. - !ruby/struct:SM::Flow::H level: 3 text: Documentation by - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Zach Dennis - !ruby/struct:SM::Flow::LI label: "*" body: Sam Roberts - !ruby/struct:SM::Flow::LI label: "*" body: Programming Ruby from The Pragmatic Bookshelf. type: :BULLET - !ruby/struct:SM::Flow::P body: Much material in this documentation is taken with permission from Programming Ruby from The Pragmatic Bookshelf. constants: [] full_name: TCPServer includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: accept_nonblock - !ruby/object:RI::MethodSummary name: listen name: TCPServer superclass: TCPSocket ri/1.8/system/Math/hypot-c.yaml 0000644 00000000634 15217654532 0012165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns sqrt(x**2 + y**2), the hypotenuse of a right-angled triangle with sides x and y. - !ruby/struct:SM::Flow::VERB body: " Math.hypot(3, 4) #=> 5.0\n" full_name: Math::hypot is_singleton: true name: hypot params: | Math.hypot(x, y) => float visibility: public ri/1.8/system/Math/cos-i.yaml 0000644 00000000353 15217654532 0011612 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Redefined to handle a Complex argument. full_name: Math#cos is_singleton: false name: cos params: (z) visibility: public ri/1.8/system/Math/cdesc-Math.yaml 0000644 00000005144 15217654532 0012553 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: acos - !ruby/object:RI::MethodSummary name: acosh - !ruby/object:RI::MethodSummary name: asin - !ruby/object:RI::MethodSummary name: asinh - !ruby/object:RI::MethodSummary name: atan - !ruby/object:RI::MethodSummary name: atan2 - !ruby/object:RI::MethodSummary name: atanh - !ruby/object:RI::MethodSummary name: cos - !ruby/object:RI::MethodSummary name: cosh - !ruby/object:RI::MethodSummary name: erf - !ruby/object:RI::MethodSummary name: erfc - !ruby/object:RI::MethodSummary name: exp - !ruby/object:RI::MethodSummary name: frexp - !ruby/object:RI::MethodSummary name: hypot - !ruby/object:RI::MethodSummary name: ldexp - !ruby/object:RI::MethodSummary name: log - !ruby/object:RI::MethodSummary name: log10 - !ruby/object:RI::MethodSummary name: sin - !ruby/object:RI::MethodSummary name: sinh - !ruby/object:RI::MethodSummary name: sqrt - !ruby/object:RI::MethodSummary name: tan - !ruby/object:RI::MethodSummary name: tanh comment: - !ruby/struct:SM::Flow::P body: The Math module contains module functions for basic trigonometric and transcendental functions. See class Float for a list of constants that define Ruby's floating point accuracy. constants: - !ruby/object:RI::Constant comment: name: PI value: rb_float_new(M_PI) - !ruby/object:RI::Constant comment: name: PI value: rb_float_new(atan(1.0)*4.0) - !ruby/object:RI::Constant comment: name: E value: rb_float_new(M_E) - !ruby/object:RI::Constant comment: name: E value: rb_float_new(exp(1.0)) full_name: Math includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: acos - !ruby/object:RI::MethodSummary name: acosh - !ruby/object:RI::MethodSummary name: asin - !ruby/object:RI::MethodSummary name: asinh - !ruby/object:RI::MethodSummary name: atan - !ruby/object:RI::MethodSummary name: atan2 - !ruby/object:RI::MethodSummary name: atanh - !ruby/object:RI::MethodSummary name: cos - !ruby/object:RI::MethodSummary name: cosh - !ruby/object:RI::MethodSummary name: exp - !ruby/object:RI::MethodSummary name: log - !ruby/object:RI::MethodSummary name: log10 - !ruby/object:RI::MethodSummary name: rsqrt - !ruby/object:RI::MethodSummary name: sin - !ruby/object:RI::MethodSummary name: sinh - !ruby/object:RI::MethodSummary name: sqrt - !ruby/object:RI::MethodSummary name: sqrt - !ruby/object:RI::MethodSummary name: tan - !ruby/object:RI::MethodSummary name: tanh name: Math superclass: ri/1.8/system/Math/erfc-c.yaml 0000644 00000000417 15217654532 0011740 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calculates the complementary error function of x. full_name: Math::erfc is_singleton: true name: erfc params: | Math.erfc(x) => float visibility: public ri/1.8/system/Math/acos-i.yaml 0000644 00000000241 15217654532 0011747 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Math#acos is_singleton: false name: acos params: (z) visibility: public ri/1.8/system/Math/log10-c.yaml 0000644 00000000433 15217654532 0011741 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the base 10 logarithm of numeric. full_name: Math::log10 is_singleton: true name: log10 params: | Math.log10(numeric) => float visibility: public ri/1.8/system/Math/tanh-i.yaml 0000644 00000000241 15217654532 0011754 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Math#tanh is_singleton: false name: tanh params: (z) visibility: public ri/1.8/system/Math/sinh-c.yaml 0000644 00000000442 15217654532 0011760 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Computes the hyperbolic sine of x (expressed in radians). full_name: Math::sinh is_singleton: true name: sinh params: | Math.sinh(x) => float visibility: public ri/1.8/system/Math/ldexp-c.yaml 0000644 00000000642 15217654532 0012135 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the value of flt*(2**int). - !ruby/struct:SM::Flow::VERB body: " fraction, exponent = Math.frexp(1234)\n Math.ldexp(fraction, exponent) #=> 1234.0\n" full_name: Math::ldexp is_singleton: true name: ldexp params: | Math.ldexp(flt, int) -> float visibility: public ri/1.8/system/Math/atan2-i.yaml 0000644 00000000245 15217654532 0012033 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Math#atan2 is_singleton: false name: atan2 params: (y,x) visibility: public ri/1.8/system/Math/log-c.yaml 0000644 00000000425 15217654532 0011601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the natural logarithm of numeric. full_name: Math::log is_singleton: true name: log params: | Math.log(numeric) => float visibility: public ri/1.8/system/Math/log10-i.yaml 0000644 00000000357 15217654532 0011754 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Redefined to handle a Complex argument. full_name: Math#log10 is_singleton: false name: log10 params: (z) visibility: public ri/1.8/system/Math/acos-c.yaml 0000644 00000000425 15217654532 0011745 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Computes the arc cosine of x. Returns 0..PI. full_name: Math::acos is_singleton: true name: acos params: | Math.acos(x) => float visibility: public ri/1.8/system/Math/sinh-i.yaml 0000644 00000000241 15217654532 0011763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Math#sinh is_singleton: false name: sinh params: (z) visibility: public ri/1.8/system/Math/atanh-c.yaml 0000644 00000000431 15217654532 0012110 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Computes the inverse hyperbolic tangent of x. full_name: Math::atanh is_singleton: true name: atanh params: | Math.atanh(x) => float visibility: public ri/1.8/system/Math/erf-c.yaml 0000644 00000000376 15217654532 0011601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calculates the error function of x. full_name: Math::erf is_singleton: true name: erf params: | Math.erf(x) => float visibility: public ri/1.8/system/Math/rsqrt-i.yaml 0000644 00000000243 15217654532 0012177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Math#rsqrt is_singleton: false name: rsqrt params: (a) visibility: public ri/1.8/system/Math/frexp-c.yaml 0000644 00000001053 15217654532 0012142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a two-element array containing the normalized fraction (a Float) and exponent (a Fixnum) of numeric. - !ruby/struct:SM::Flow::VERB body: " fraction, exponent = Math.frexp(1234) #=> [0.6025390625, 11]\n fraction * 2**exponent #=> 1234.0\n" full_name: Math::frexp is_singleton: true name: frexp params: | Math.frexp(numeric) => [ fraction, exponent ] visibility: public ri/1.8/system/Math/cosh-c.yaml 0000644 00000000444 15217654532 0011755 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Computes the hyperbolic cosine of x (expressed in radians). full_name: Math::cosh is_singleton: true name: cosh params: | Math.cosh(x) => float visibility: public ri/1.8/system/Math/cos-c.yaml 0000644 00000000445 15217654532 0011606 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Computes the cosine of x (expressed in radians). Returns -1..1. full_name: Math::cos is_singleton: true name: cos params: | Math.cos(x) => float visibility: public ri/1.8/system/Math/atan-c.yaml 0000644 00000000442 15217654532 0011742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Computes the arc tangent of x. Returns -{PI/2} .. {PI/2}. full_name: Math::atan is_singleton: true name: atan params: | Math.atan(x) => float visibility: public ri/1.8/system/Math/acosh-c.yaml 0000644 00000000430 15217654532 0012111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Computes the inverse hyperbolic cosine of x. full_name: Math::acosh is_singleton: true name: acosh params: | Math.acosh(x) => float visibility: public ri/1.8/system/Math/tan-c.yaml 0000644 00000000426 15217654532 0011603 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the tangent of x (expressed in radians). full_name: Math::tan is_singleton: true name: tan params: | Math.tan(x) => float visibility: public ri/1.8/system/Math/sqrt-i.yaml 0000644 00000000241 15217654532 0012013 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Math#sqrt is_singleton: false name: sqrt params: (a) visibility: public ri/1.8/system/Math/atanh-i.yaml 0000644 00000000243 15217654532 0012117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Math#atanh is_singleton: false name: atanh params: (z) visibility: public ri/1.8/system/Math/exp-i.yaml 0000644 00000000353 15217654532 0011622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Redefined to handle a Complex argument. full_name: Math#exp is_singleton: false name: exp params: (z) visibility: public ri/1.8/system/Math/asin-i.yaml 0000644 00000000241 15217654532 0011754 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Math#asin is_singleton: false name: asin params: (z) visibility: public ri/1.8/system/Math/sin-i.yaml 0000644 00000000353 15217654532 0011617 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Redefined to handle a Complex argument. full_name: Math#sin is_singleton: false name: sin params: (z) visibility: public ri/1.8/system/Math/tan-i.yaml 0000644 00000000353 15217654532 0011610 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Redefined to handle a Complex argument. full_name: Math#tan is_singleton: false name: tan params: (z) visibility: public ri/1.8/system/Math/tanh-c.yaml 0000644 00000000444 15217654532 0011753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Computes the hyperbolic tangent of x (expressed in radians). full_name: Math::tanh is_singleton: true name: tanh params: | Math.tanh() => float visibility: public ri/1.8/system/Math/exp-c.yaml 0000644 00000000352 15217654532 0011613 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns e**x. full_name: Math::exp is_singleton: true name: exp params: | Math.exp(x) => float visibility: public ri/1.8/system/Math/atan-i.yaml 0000644 00000000241 15217654532 0011745 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Math#atan is_singleton: false name: atan params: (z) visibility: public ri/1.8/system/Math/sin-c.yaml 0000644 00000000443 15217654532 0011611 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Computes the sine of x (expressed in radians). Returns -1..1. full_name: Math::sin is_singleton: true name: sin params: | Math.sin(x) => float visibility: public ri/1.8/system/Math/atan2-c.yaml 0000644 00000000456 15217654532 0012031 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Computes the arc tangent given y and x. Returns -PI..PI. full_name: Math::atan2 is_singleton: true name: atan2 params: | Math.atan2(y, x) => float visibility: public ri/1.8/system/Math/asinh-i.yaml 0000644 00000000243 15217654532 0012126 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Math#asinh is_singleton: false name: asinh params: (z) visibility: public ri/1.8/system/Math/sqrt-c.yaml 0000644 00000000437 15217654532 0012014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the non-negative square root of numeric. full_name: Math::sqrt is_singleton: true name: sqrt params: | Math.sqrt(numeric) => float visibility: public ri/1.8/system/Math/cosh-i.yaml 0000644 00000000241 15217654532 0011756 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Math#cosh is_singleton: false name: cosh params: (z) visibility: public ri/1.8/system/Math/asinh-c.yaml 0000644 00000000426 15217654532 0012123 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Computes the inverse hyperbolic sine of x. full_name: Math::asinh is_singleton: true name: asinh params: | Math.asinh(x) => float visibility: public ri/1.8/system/Math/asin-c.yaml 0000644 00000000437 15217654532 0011755 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Computes the arc sine of x. Returns -{PI/2} .. {PI/2}. full_name: Math::asin is_singleton: true name: asin params: | Math.asin(x) => float visibility: public ri/1.8/system/Math/log-i.yaml 0000644 00000000353 15217654532 0011607 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Redefined to handle a Complex argument. full_name: Math#log is_singleton: false name: log params: (z) visibility: public ri/1.8/system/Math/acosh-i.yaml 0000644 00000000243 15217654532 0012121 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Math#acosh is_singleton: false name: acosh params: (z) visibility: public ri/1.8/system/FileTest/identical%3f-i.yaml 0000644 00000001576 15217654532 0014116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named files are identical. - !ruby/struct:SM::Flow::VERB body: " open("a", "w") {}\n p File.identical?("a", "a") #=> true\n p File.identical?("a", "./a") #=> true\n File.link("a", "b")\n p File.identical?("a", "b") #=> true\n File.symlink("a", "c")\n p File.identical?("a", "c") #=> true\n open("d", "w") {}\n p File.identical?("a", "d") #=> false\n" full_name: FileTest#identical? is_singleton: false name: identical? params: | File.identical?(file_1, file_2) => true or false visibility: public ri/1.8/system/FileTest/grpowned%3f-i.yaml 0000644 00000000637 15217654532 0014004 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file exists and the effective group id of the calling process is the owner of the file. Returns false on Windows. full_name: FileTest#grpowned? is_singleton: false name: grpowned? params: | File.grpowned?(file_name) => true or false visibility: public ri/1.8/system/FileTest/blockdev%3f-i.yaml 0000644 00000000475 15217654532 0013750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is a block device. full_name: FileTest#blockdev? is_singleton: false name: blockdev? params: | File.blockdev?(file_name) => true or false visibility: public ri/1.8/system/FileTest/writable_real%3f-i.yaml 0000644 00000000551 15217654532 0014766 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is writable by the real user id of this process. full_name: FileTest#writable_real? is_singleton: false name: writable_real? params: | File.writable_real?(file_name) => true or false visibility: public ri/1.8/system/FileTest/chardev%3f-i.yaml 0000644 00000000476 15217654532 0013574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is a character device. full_name: FileTest#chardev? is_singleton: false name: chardev? params: | File.chardev?(file_name) => true or false visibility: public ri/1.8/system/FileTest/size%3f-i.yaml 0000644 00000000541 15217654532 0013123 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns nil if file_name doesn't exist or has zero size, the size of the file otherwise. full_name: FileTest#size? is_singleton: false name: size? params: | File.size?(file_name) => Integer or nil visibility: public ri/1.8/system/FileTest/pipe%3f-i.yaml 0000644 00000000451 15217654532 0013106 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is a pipe. full_name: FileTest#pipe? is_singleton: false name: pipe? params: | File.pipe?(file_name) => true or false visibility: public ri/1.8/system/FileTest/writable%3f-i.yaml 0000644 00000000537 15217654532 0013767 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is writable by the effective user id of this process. full_name: FileTest#writable? is_singleton: false name: writable? params: | File.writable?(file_name) => true or false visibility: public ri/1.8/system/FileTest/zero%3f-i.yaml 0000644 00000000471 15217654532 0013132 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file exists and has a zero size. full_name: FileTest#zero? is_singleton: false name: zero? params: | File.zero?(file_name) => true or false visibility: public ri/1.8/system/FileTest/readable%3f-i.yaml 0000644 00000000537 15217654532 0013715 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is readable by the effective user id of this process. full_name: FileTest#readable? is_singleton: false name: readable? params: | File.readable?(file_name) => true or false visibility: public ri/1.8/system/FileTest/file%3f-i.yaml 0000644 00000000473 15217654532 0013074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file exists and is a regular file. full_name: FileTest#file? is_singleton: false name: file? params: | File.file?(file_name) => true or false visibility: public ri/1.8/system/FileTest/cdesc-FileTest.yaml 0000644 00000003257 15217654532 0014232 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: "FileTest implements file test operations similar to those used in File::Stat. It exists as a standalone module, and its methods are also insinuated into the File class. (Note that this is not done by inclusion: the interpreter cheats)." constants: [] full_name: FileTest includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: blockdev? - !ruby/object:RI::MethodSummary name: chardev? - !ruby/object:RI::MethodSummary name: directory? - !ruby/object:RI::MethodSummary name: executable? - !ruby/object:RI::MethodSummary name: executable_real? - !ruby/object:RI::MethodSummary name: exist? - !ruby/object:RI::MethodSummary name: exists? - !ruby/object:RI::MethodSummary name: file? - !ruby/object:RI::MethodSummary name: grpowned? - !ruby/object:RI::MethodSummary name: identical? - !ruby/object:RI::MethodSummary name: owned? - !ruby/object:RI::MethodSummary name: pipe? - !ruby/object:RI::MethodSummary name: readable? - !ruby/object:RI::MethodSummary name: readable_real? - !ruby/object:RI::MethodSummary name: setgid? - !ruby/object:RI::MethodSummary name: setuid? - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: size? - !ruby/object:RI::MethodSummary name: socket? - !ruby/object:RI::MethodSummary name: sticky? - !ruby/object:RI::MethodSummary name: symlink? - !ruby/object:RI::MethodSummary name: writable? - !ruby/object:RI::MethodSummary name: writable_real? - !ruby/object:RI::MethodSummary name: zero? name: FileTest superclass: ri/1.8/system/FileTest/setgid%3f-i.yaml 0000644 00000000474 15217654532 0013435 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file has the setgid bit set. full_name: FileTest#setgid? is_singleton: false name: setgid? params: | File.setgid?(file_name) => true or false visibility: public ri/1.8/system/FileTest/exists%3f-i.yaml 0000644 00000000547 15217654532 0013476 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return true if the named file exists. full_name: FileTest#exists? is_singleton: false name: exists? params: | File.exist?(file_name) => true or false File.exists?(file_name) => true or false (obsolete) visibility: public ri/1.8/system/FileTest/setuid%3f-i.yaml 0000644 00000000474 15217654532 0013453 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file has the setuid bit set. full_name: FileTest#setuid? is_singleton: false name: setuid? params: | File.setuid?(file_name) => true or false visibility: public ri/1.8/system/FileTest/size-i.yaml 0000644 00000000424 15217654532 0012625 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the size of file_name. full_name: FileTest#size is_singleton: false name: size params: | File.size(file_name) => integer visibility: public ri/1.8/system/FileTest/symlink%3f-i.yaml 0000644 00000000473 15217654532 0013643 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is a symbolic link. full_name: FileTest#symlink? is_singleton: false name: symlink? params: | File.symlink?(file_name) => true or false visibility: public ri/1.8/system/FileTest/directory%3f-i.yaml 0000644 00000000644 15217654532 0014161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is a directory, false otherwise. - !ruby/struct:SM::Flow::VERB body: " File.directory?(".")\n" full_name: FileTest#directory? is_singleton: false name: directory? params: | File.directory?(file_name) => true or false visibility: public ri/1.8/system/FileTest/exist%3f-i.yaml 0000644 00000000545 15217654532 0013311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return true if the named file exists. full_name: FileTest#exist? is_singleton: false name: exist? params: | File.exist?(file_name) => true or false File.exists?(file_name) => true or false (obsolete) visibility: public ri/1.8/system/FileTest/sticky%3f-i.yaml 0000644 00000000474 15217654532 0013464 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file has the sticky bit set. full_name: FileTest#sticky? is_singleton: false name: sticky? params: | File.sticky?(file_name) => true or false visibility: public ri/1.8/system/FileTest/executable%3f-i.yaml 0000644 00000000547 15217654532 0014300 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is executable by the effective user id of this process. full_name: FileTest#executable? is_singleton: false name: executable? params: | File.executable?(file_name) => true or false visibility: public ri/1.8/system/FileTest/socket%3f-i.yaml 0000644 00000000461 15217654532 0013442 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is a socket. full_name: FileTest#socket? is_singleton: false name: socket? params: | File.socket?(file_name) => true or false visibility: public ri/1.8/system/FileTest/readable_real%3f-i.yaml 0000644 00000000551 15217654532 0014714 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is readable by the real user id of this process. full_name: FileTest#readable_real? is_singleton: false name: readable_real? params: | File.readable_real?(file_name) => true or false visibility: public ri/1.8/system/FileTest/owned%3f-i.yaml 0000644 00000000562 15217654532 0013270 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file exists and the effective used id of the calling process is the owner of the file. full_name: FileTest#owned? is_singleton: false name: owned? params: | File.owned?(file_name) => true or false visibility: public ri/1.8/system/FileTest/executable_real%3f-i.yaml 0000644 00000000561 15217654532 0015277 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the named file is executable by the real user id of this process. full_name: FileTest#executable_real? is_singleton: false name: executable_real? params: | File.executable_real?(file_name) => true or false visibility: public ri/1.8/system/Acceptables/cdesc-Acceptables.yaml 0000644 00000000556 15217654532 0015407 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Acceptable argument classes. Now contains DecimalInteger, OctalInteger and DecimalNumeric. See Acceptable argument classes (in source code). constants: [] full_name: Acceptables includes: [] instance_methods: [] name: Acceptables superclass: ri/1.8/system/GServer/cdesc-GServer.yaml 0000644 00000010176 15217654532 0013724 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: audit rw: RW - !ruby/object:RI::Attribute comment: name: debug rw: RW - !ruby/object:RI::Attribute comment: name: host rw: R - !ruby/object:RI::Attribute comment: name: maxConnections rw: R - !ruby/object:RI::Attribute comment: name: port rw: R - !ruby/object:RI::Attribute comment: name: stdlog rw: RW class_methods: - !ruby/object:RI::MethodSummary name: in_service? - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: stop comment: - !ruby/struct:SM::Flow::P body: GServer implements a generic server, featuring thread pool management, simple logging, and multi-server management. See HttpServer in xmlrpc/httpserver.rb in the Ruby standard library for an example of GServer in action. - !ruby/struct:SM::Flow::P body: Any kind of application-level server can be implemented using this class. It accepts multiple simultaneous connections from clients, up to an optional maximum number. Several services (i.e. one service per TCP port) can be run simultaneously, and stopped at any time through the class method GServer.stop(port). All the threading issues are handled, saving you the effort. All events are optionally logged, but you can provide your own event handlers if you wish. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::P body: "Using GServer is simple. Below we implement a simple time server, run it, query it, and shut it down. Try this code in irb:" - !ruby/struct:SM::Flow::VERB body: " require 'gserver'\n\n #\n # A server that returns the time in seconds since 1970.\n #\n class TimeServer < GServer\n def initialize(port=10001, *args)\n super(port, *args)\n end\n def serve(io)\n io.puts(Time.now.to_i)\n end\n end\n\n # Run the server with logging enabled (it's a separate thread).\n server = TimeServer.new\n server.audit = true # Turn logging on.\n server.start\n\n # *** Now point your browser to http://localhost:10001 to see it working ***\n\n # See if it's still running.\n GServer.in_service?(10001) # -> true\n server.stopped? # -> false\n\n # Shut the server down gracefully.\n server.shutdown\n\n # Alternatively, stop it immediately.\n GServer.stop(10001)\n # or, of course, "server.stop".\n" - !ruby/struct:SM::Flow::P body: All the business of accepting connections and exception handling is taken care of. All we have to do is implement the method that actually serves the client. - !ruby/struct:SM::Flow::H level: 3 text: Advanced - !ruby/struct:SM::Flow::P body: As the example above shows, the way to use GServer is to subclass it to create a specific server, overriding the serve method. You can override other methods as well if you wish, perhaps to collect statistics, or emit more detailed logging. - !ruby/struct:SM::Flow::VERB body: " connecting\n disconnecting\n starting\n stopping\n" - !ruby/struct:SM::Flow::P body: The above methods are only called if auditing is enabled. - !ruby/struct:SM::Flow::P body: You can also override log and error if, for example, you wish to use a more sophisticated logging system. constants: - !ruby/object:RI::Constant comment: name: DEFAULT_HOST value: "\"127.0.0.1\"" full_name: GServer includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: connecting - !ruby/object:RI::MethodSummary name: connections - !ruby/object:RI::MethodSummary name: disconnecting - !ruby/object:RI::MethodSummary name: error - !ruby/object:RI::MethodSummary name: join - !ruby/object:RI::MethodSummary name: log - !ruby/object:RI::MethodSummary name: serve - !ruby/object:RI::MethodSummary name: shutdown - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: starting - !ruby/object:RI::MethodSummary name: stop - !ruby/object:RI::MethodSummary name: stopped? - !ruby/object:RI::MethodSummary name: stopping name: GServer superclass: Object ri/1.8/system/GServer/new-c.yaml 0000644 00000000376 15217654532 0012302 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: GServer::new is_singleton: true name: new params: (port, host = DEFAULT_HOST, maxConnections = 4, stdlog = $stderr, audit = false, debug = false) visibility: public ri/1.8/system/GServer/serve-i.yaml 0000644 00000000247 15217654532 0012640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: GServer#serve is_singleton: false name: serve params: (io) visibility: public ri/1.8/system/GServer/starting-i.yaml 0000644 00000000256 15217654532 0013347 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: GServer#starting is_singleton: false name: starting params: () visibility: protected ri/1.8/system/GServer/error-i.yaml 0000644 00000000256 15217654532 0012645 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: GServer#error is_singleton: false name: error params: (detail) visibility: protected ri/1.8/system/GServer/shutdown-i.yaml 0000644 00000000253 15217654532 0013364 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: GServer#shutdown is_singleton: false name: shutdown params: () visibility: public ri/1.8/system/GServer/stop-c.yaml 0000644 00000000274 15217654532 0012473 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: GServer::stop is_singleton: true name: stop params: (port, host = DEFAULT_HOST) visibility: public ri/1.8/system/GServer/connections-i.yaml 0000644 00000000261 15217654532 0014032 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: GServer#connections is_singleton: false name: connections params: () visibility: public ri/1.8/system/GServer/stopping-i.yaml 0000644 00000000256 15217654532 0013357 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: GServer#stopping is_singleton: false name: stopping params: () visibility: protected ri/1.8/system/GServer/in_service%3f-c.yaml 0000644 00000000312 15217654532 0014123 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: GServer::in_service? is_singleton: true name: in_service? params: (port, host = DEFAULT_HOST) visibility: public ri/1.8/system/GServer/start-i.yaml 0000644 00000000270 15217654532 0012645 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: GServer#start is_singleton: false name: start params: (maxConnections = -1) visibility: public ri/1.8/system/GServer/join-i.yaml 0000644 00000000243 15217654532 0012447 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: GServer#join is_singleton: false name: join params: () visibility: public ri/1.8/system/GServer/stopped%3f-i.yaml 0000644 00000000253 15217654532 0013465 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: GServer#stopped? is_singleton: false name: stopped? params: () visibility: public ri/1.8/system/GServer/stop-i.yaml 0000644 00000000243 15217654532 0012475 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: GServer#stop is_singleton: false name: stop params: () visibility: public ri/1.8/system/GServer/connecting-i.yaml 0000644 00000000270 15217654532 0013637 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: GServer#connecting is_singleton: false name: connecting params: (client) visibility: protected ri/1.8/system/GServer/disconnecting-i.yaml 0000644 00000000302 15217654532 0014333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: GServer#disconnecting is_singleton: false name: disconnecting params: (clientPort) visibility: protected ri/1.8/system/GServer/log-i.yaml 0000644 00000000247 15217654532 0012275 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: GServer#log is_singleton: false name: log params: (msg) visibility: protected ri/1.8/system/WSDL/Part/new-c.yaml 0000644 00000000244 15217654532 0012376 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Part::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/Part/parse_element-i.yaml 0000644 00000000277 15217654532 0014444 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Part#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/Part/cdesc-Part.yaml 0000644 00000001013 15217654532 0013345 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: element rw: R - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: type rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::Part includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element name: Part superclass: Info ri/1.8/system/WSDL/Part/parse_attr-i.yaml 0000644 00000000275 15217654532 0013763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Part#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/cdesc-WSDL.yaml 0000644 00000010044 15217654532 0012306 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: This program is copyrighted free software by NAKAMURA, Hiroshi. You can redistribute it and/or modify it under the same terms of Ruby's license; either the dual license version in 2003, or any later version. constants: - !ruby/object:RI::Constant comment: name: ArrayTypeAttrName value: XSD::QName.new(Namespace, 'arrayType') - !ruby/object:RI::Constant comment: name: BindingName value: XSD::QName.new(Namespace, 'binding') - !ruby/object:RI::Constant comment: name: DefinitionsName value: XSD::QName.new(Namespace, 'definitions') - !ruby/object:RI::Constant comment: name: DocumentationName value: XSD::QName.new(Namespace, 'documentation') - !ruby/object:RI::Constant comment: name: FaultName value: XSD::QName.new(Namespace, 'fault') - !ruby/object:RI::Constant comment: name: ImportName value: XSD::QName.new(Namespace, 'import') - !ruby/object:RI::Constant comment: name: InputName value: XSD::QName.new(Namespace, 'input') - !ruby/object:RI::Constant comment: name: MessageName value: XSD::QName.new(Namespace, 'message') - !ruby/object:RI::Constant comment: name: OperationName value: XSD::QName.new(Namespace, 'operation') - !ruby/object:RI::Constant comment: name: OutputName value: XSD::QName.new(Namespace, 'output') - !ruby/object:RI::Constant comment: name: PartName value: XSD::QName.new(Namespace, 'part') - !ruby/object:RI::Constant comment: name: PortName value: XSD::QName.new(Namespace, 'port') - !ruby/object:RI::Constant comment: name: PortTypeName value: XSD::QName.new(Namespace, 'portType') - !ruby/object:RI::Constant comment: name: ServiceName value: XSD::QName.new(Namespace, 'service') - !ruby/object:RI::Constant comment: name: TypesName value: XSD::QName.new(Namespace, 'types') - !ruby/object:RI::Constant comment: name: SchemaName value: XSD::QName.new(XSD::Namespace, 'schema') - !ruby/object:RI::Constant comment: name: SOAPAddressName value: XSD::QName.new(SOAPBindingNamespace, 'address') - !ruby/object:RI::Constant comment: name: SOAPBindingName value: XSD::QName.new(SOAPBindingNamespace, 'binding') - !ruby/object:RI::Constant comment: name: SOAPHeaderName value: XSD::QName.new(SOAPBindingNamespace, 'header') - !ruby/object:RI::Constant comment: name: SOAPBodyName value: XSD::QName.new(SOAPBindingNamespace, 'body') - !ruby/object:RI::Constant comment: name: SOAPFaultName value: XSD::QName.new(SOAPBindingNamespace, 'fault') - !ruby/object:RI::Constant comment: name: SOAPOperationName value: XSD::QName.new(SOAPBindingNamespace, 'operation') - !ruby/object:RI::Constant comment: name: BindingAttrName value: XSD::QName.new(nil, 'binding') - !ruby/object:RI::Constant comment: name: ElementAttrName value: XSD::QName.new(nil, 'element') - !ruby/object:RI::Constant comment: name: LocationAttrName value: XSD::QName.new(nil, 'location') - !ruby/object:RI::Constant comment: name: MessageAttrName value: XSD::QName.new(nil, 'message') - !ruby/object:RI::Constant comment: name: NameAttrName value: XSD::QName.new(nil, 'name') - !ruby/object:RI::Constant comment: name: NamespaceAttrName value: XSD::QName.new(nil, 'namespace') - !ruby/object:RI::Constant comment: name: ParameterOrderAttrName value: XSD::QName.new(nil, 'parameterOrder') - !ruby/object:RI::Constant comment: name: TargetNamespaceAttrName value: XSD::QName.new(nil, 'targetNamespace') - !ruby/object:RI::Constant comment: name: TypeAttrName value: XSD::QName.new(nil, 'type') - !ruby/object:RI::Constant comment: name: Version value: "'0.0.2'" - !ruby/object:RI::Constant comment: name: Namespace value: "'http://schemas.xmlsoap.org/wsdl/'" - !ruby/object:RI::Constant comment: name: SOAPBindingNamespace value: "'http://schemas.xmlsoap.org/wsdl/soap/'" full_name: WSDL includes: [] instance_methods: [] name: WSDL superclass: ri/1.8/system/WSDL/Service/new-c.yaml 0000644 00000000247 15217654532 0013073 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Service::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/Service/parse_element-i.yaml 0000644 00000000302 15217654532 0015123 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Service#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/Service/cdesc-Service.yaml 0000644 00000001121 15217654532 0014531 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: ports rw: R - !ruby/object:RI::Attribute comment: name: soap_address rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::Service includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: targetnamespace name: Service superclass: Info ri/1.8/system/WSDL/Service/parse_attr-i.yaml 0000644 00000000300 15217654532 0014442 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Service#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/Service/targetnamespace-i.yaml 0000644 00000000277 15217654532 0015456 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Service#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/Definitions/new-c.yaml 0000644 00000000253 15217654532 0013743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/Definitions/porttypes-i.yaml 0000644 00000000267 15217654532 0015236 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#porttypes is_singleton: false name: porttypes params: () visibility: public ri/1.8/system/WSDL/Definitions/cdesc-Definitions.yaml 0000644 00000004301 15217654532 0016262 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: importedschema rw: R - !ruby/object:RI::Attribute comment: name: imports rw: R - !ruby/object:RI::Attribute comment: name: location rw: RW - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: targetnamespace rw: R class_methods: - !ruby/object:RI::MethodSummary name: array_complextype - !ruby/object:RI::MethodSummary name: exception_complextype - !ruby/object:RI::MethodSummary name: fault_complextype - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: soap_rpc_complextypes comment: constants: [] full_name: WSDL::Definitions includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_type - !ruby/object:RI::MethodSummary name: binding - !ruby/object:RI::MethodSummary name: bindings - !ruby/object:RI::MethodSummary name: collect_attributes - !ruby/object:RI::MethodSummary name: collect_complextypes - !ruby/object:RI::MethodSummary name: collect_elements - !ruby/object:RI::MethodSummary name: collect_fault_messages - !ruby/object:RI::MethodSummary name: collect_faulttypes - !ruby/object:RI::MethodSummary name: collect_simpletypes - !ruby/object:RI::MethodSummary name: elements_from_message - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: message - !ruby/object:RI::MethodSummary name: messages - !ruby/object:RI::MethodSummary name: op_bind_rpc? - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: porttype - !ruby/object:RI::MethodSummary name: porttype_binding - !ruby/object:RI::MethodSummary name: porttypes - !ruby/object:RI::MethodSummary name: rpc_operation_complextypes - !ruby/object:RI::MethodSummary name: service - !ruby/object:RI::MethodSummary name: services - !ruby/object:RI::MethodSummary name: soap_rpc_complextypes - !ruby/object:RI::MethodSummary name: targetnamespace= name: Definitions superclass: Info ri/1.8/system/WSDL/Definitions/message-i.yaml 0000644 00000000267 15217654532 0014611 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#message is_singleton: false name: message params: (name) visibility: public ri/1.8/system/WSDL/Definitions/porttype-i.yaml 0000644 00000000271 15217654532 0015046 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#porttype is_singleton: false name: porttype params: (name) visibility: public ri/1.8/system/WSDL/Definitions/soap_rpc_complextypes-i.yaml 0000644 00000000326 15217654532 0017603 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#soap_rpc_complextypes is_singleton: false name: soap_rpc_complextypes params: (binding) visibility: public ri/1.8/system/WSDL/Definitions/services-i.yaml 0000644 00000000265 15217654532 0015006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#services is_singleton: false name: services params: () visibility: public ri/1.8/system/WSDL/Definitions/parse_element-i.yaml 0000644 00000000306 15217654532 0016002 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/Definitions/fault_complextype-c.yaml 0000644 00000000307 15217654532 0016716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions::fault_complextype is_singleton: true name: fault_complextype params: () visibility: public ri/1.8/system/WSDL/Definitions/parse_element-c.yaml 0000644 00000000306 15217654532 0015774 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions::parse_element is_singleton: true name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/Definitions/elements_from_message-i.yaml 0000644 00000000327 15217654532 0017525 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#elements_from_message is_singleton: false name: elements_from_message params: (message) visibility: private ri/1.8/system/WSDL/Definitions/bindings-i.yaml 0000644 00000000265 15217654532 0014760 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#bindings is_singleton: false name: bindings params: () visibility: public ri/1.8/system/WSDL/Definitions/exception_complextype-c.yaml 0000644 00000000317 15217654532 0017602 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions::exception_complextype is_singleton: true name: exception_complextype params: () visibility: public ri/1.8/system/WSDL/Definitions/add_type-i.yaml 0000644 00000000413 15217654532 0014747 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "ToDo: simpletype must be accepted..." full_name: WSDL::Definitions#add_type is_singleton: false name: add_type params: (complextype) visibility: public ri/1.8/system/WSDL/Definitions/soap_rpc_complextypes-c.yaml 0000644 00000000317 15217654532 0017575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions::soap_rpc_complextypes is_singleton: true name: soap_rpc_complextypes params: () visibility: public ri/1.8/system/WSDL/Definitions/parse_attr-i.yaml 0000644 00000000304 15217654532 0015321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/Definitions/inspect-i.yaml 0000644 00000000263 15217654532 0014626 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/WSDL/Definitions/collect_elements-i.yaml 0000644 00000000305 15217654532 0016477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#collect_elements is_singleton: false name: collect_elements params: () visibility: public ri/1.8/system/WSDL/Definitions/messages-i.yaml 0000644 00000000265 15217654532 0014772 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#messages is_singleton: false name: messages params: () visibility: public ri/1.8/system/WSDL/Definitions/op_bind_rpc%3f-i.yaml 0000644 00000000305 15217654532 0015732 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#op_bind_rpc? is_singleton: false name: op_bind_rpc? params: (op_bind) visibility: private ri/1.8/system/WSDL/Definitions/collect_complextypes-i.yaml 0000644 00000000315 15217654532 0017420 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#collect_complextypes is_singleton: false name: collect_complextypes params: () visibility: public ri/1.8/system/WSDL/Definitions/binding-i.yaml 0000644 00000000267 15217654532 0014577 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#binding is_singleton: false name: binding params: (name) visibility: public ri/1.8/system/WSDL/Definitions/collect_attributes-i.yaml 0000644 00000000311 15217654532 0017046 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#collect_attributes is_singleton: false name: collect_attributes params: () visibility: public ri/1.8/system/WSDL/Definitions/collect_fault_messages-i.yaml 0000644 00000000322 15217654532 0017664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#collect_fault_messages is_singleton: false name: collect_fault_messages params: () visibility: private ri/1.8/system/WSDL/Definitions/collect_faulttypes-i.yaml 0000644 00000000311 15217654532 0017060 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#collect_faulttypes is_singleton: false name: collect_faulttypes params: () visibility: public ri/1.8/system/WSDL/Definitions/service-i.yaml 0000644 00000000267 15217654532 0014625 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#service is_singleton: false name: service params: (name) visibility: public ri/1.8/system/WSDL/Definitions/rpc_operation_complextypes-i.yaml 0000644 00000000341 15217654532 0020636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#rpc_operation_complextypes is_singleton: false name: rpc_operation_complextypes params: (binding) visibility: private ri/1.8/system/WSDL/Definitions/porttype_binding-i.yaml 0000644 00000000311 15217654532 0016533 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#porttype_binding is_singleton: false name: porttype_binding params: (name) visibility: public ri/1.8/system/WSDL/Definitions/array_complextype-c.yaml 0000644 00000000307 15217654532 0016721 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions::array_complextype is_singleton: true name: array_complextype params: () visibility: public ri/1.8/system/WSDL/Definitions/targetnamespace%3d-i.yaml 0000644 00000000324 15217654532 0016616 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#targetnamespace= is_singleton: false name: targetnamespace= params: (targetnamespace) visibility: public ri/1.8/system/WSDL/Definitions/collect_simpletypes-i.yaml 0000644 00000000313 15217654532 0017240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Definitions#collect_simpletypes is_singleton: false name: collect_simpletypes params: () visibility: public ri/1.8/system/WSDL/Message/new-c.yaml 0000644 00000000247 15217654532 0013057 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Message::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/Message/cdesc-Message.yaml 0000644 00000001012 15217654532 0014500 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: parts rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::Message includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: targetnamespace name: Message superclass: Info ri/1.8/system/WSDL/Message/parse_element-i.yaml 0000644 00000000302 15217654532 0015107 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Message#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/Message/parse_attr-i.yaml 0000644 00000000300 15217654532 0014426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Message#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/Message/targetnamespace-i.yaml 0000644 00000000277 15217654532 0015442 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Message#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/Types/new-c.yaml 0000644 00000000245 15217654532 0012575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Types::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/Types/parse_element-i.yaml 0000644 00000000300 15217654532 0014625 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Types#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/Types/parse_attr-i.yaml 0000644 00000000276 15217654532 0014162 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Types#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/Types/cdesc-Types.yaml 0000644 00000000617 15217654532 0013752 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: schemas rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::Types includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element name: Types superclass: Info ri/1.8/system/WSDL/Importer/import-c.yaml 0000644 00000000312 15217654532 0014006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Importer::import is_singleton: true name: import params: (location, originalroot = nil) visibility: public ri/1.8/system/WSDL/Importer/parse-i.yaml 0000644 00000000314 15217654532 0013616 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Importer#parse is_singleton: false name: parse params: (content, location, originalroot) visibility: private ri/1.8/system/WSDL/Importer/cdesc-Importer.yaml 0000644 00000000461 15217654532 0015141 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: import comment: constants: [] full_name: WSDL::Importer includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse name: Importer superclass: WSDL::XMLSchema::Importer ri/1.8/system/WSDL/OperationBinding/new-c.yaml 0000644 00000000260 15217654532 0014721 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::OperationBinding::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/OperationBinding/cdesc-OperationBinding.yaml 0000644 00000002001 15217654532 0020215 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: fault rw: R - !ruby/object:RI::Attribute comment: name: input rw: R - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: output rw: R - !ruby/object:RI::Attribute comment: name: soapoperation rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::OperationBinding includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: find_operation - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: porttype - !ruby/object:RI::MethodSummary name: soapaction - !ruby/object:RI::MethodSummary name: soapoperation_name - !ruby/object:RI::MethodSummary name: soapoperation_style - !ruby/object:RI::MethodSummary name: targetnamespace name: OperationBinding superclass: Info ri/1.8/system/WSDL/OperationBinding/find_operation-i.yaml 0000644 00000000306 15217654532 0017137 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::OperationBinding#find_operation is_singleton: false name: find_operation params: () visibility: public ri/1.8/system/WSDL/OperationBinding/soapoperation_name-i.yaml 0000644 00000000316 15217654532 0020023 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::OperationBinding#soapoperation_name is_singleton: false name: soapoperation_name params: () visibility: public ri/1.8/system/WSDL/OperationBinding/porttype-i.yaml 0000644 00000000272 15217654532 0016027 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::OperationBinding#porttype is_singleton: false name: porttype params: () visibility: public ri/1.8/system/WSDL/OperationBinding/parse_element-i.yaml 0000644 00000000313 15217654532 0016760 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::OperationBinding#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/OperationBinding/soapoperation_style-i.yaml 0000644 00000000320 15217654532 0020236 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::OperationBinding#soapoperation_style is_singleton: false name: soapoperation_style params: () visibility: public ri/1.8/system/WSDL/OperationBinding/soapaction-i.yaml 0000644 00000000276 15217654532 0016305 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::OperationBinding#soapaction is_singleton: false name: soapaction params: () visibility: public ri/1.8/system/WSDL/OperationBinding/parse_attr-i.yaml 0000644 00000000311 15217654532 0016277 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::OperationBinding#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/OperationBinding/targetnamespace-i.yaml 0000644 00000000310 15217654532 0017275 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::OperationBinding#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/PortType/new-c.yaml 0000644 00000000250 15217654532 0013253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::PortType::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/PortType/parse_element-i.yaml 0000644 00000000303 15217654532 0015312 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::PortType#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/PortType/locations-i.yaml 0000644 00000000264 15217654532 0014470 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::PortType#locations is_singleton: false name: locations params: () visibility: public ri/1.8/system/WSDL/PortType/cdesc-PortType.yaml 0000644 00000001174 15217654532 0015115 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: operations rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::PortType includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: find_binding - !ruby/object:RI::MethodSummary name: locations - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: targetnamespace name: PortType superclass: Info ri/1.8/system/WSDL/PortType/find_binding-i.yaml 0000644 00000000272 15217654532 0015106 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::PortType#find_binding is_singleton: false name: find_binding params: () visibility: public ri/1.8/system/WSDL/PortType/parse_attr-i.yaml 0000644 00000000301 15217654532 0014631 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::PortType#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/PortType/targetnamespace-i.yaml 0000644 00000000300 15217654532 0015627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::PortType#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/Documentation/new-c.yaml 0000644 00000000255 15217654532 0014303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Documentation::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/Documentation/cdesc-Documentation.yaml 0000644 00000000540 15217654532 0017157 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::Documentation includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element name: Documentation superclass: Info ri/1.8/system/WSDL/Documentation/parse_element-i.yaml 0000644 00000000310 15217654532 0016333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Documentation#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/Documentation/parse_attr-i.yaml 0000644 00000000306 15217654532 0015661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Documentation#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/Import/new-c.yaml 0000644 00000000246 15217654532 0012744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Import::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/Import/cdesc-Import.yaml 0000644 00000001111 15217654532 0014254 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: content rw: R - !ruby/object:RI::Attribute comment: name: location rw: R - !ruby/object:RI::Attribute comment: name: namespace rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::Import includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: import - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element name: Import superclass: Info ri/1.8/system/WSDL/Import/parse_element-i.yaml 0000644 00000000301 15217654532 0014774 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Import#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/Import/parse_attr-i.yaml 0000644 00000000277 15217654532 0014331 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Import#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/Import/import-i.yaml 0000644 00000000265 15217654532 0013474 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Import#import is_singleton: false name: import params: (location) visibility: private ri/1.8/system/WSDL/Error/cdesc-Error.yaml 0000644 00000000304 15217654532 0013715 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WSDL::Error includes: [] instance_methods: [] name: Error superclass: StandardError ri/1.8/system/WSDL/Port/new-c.yaml 0000644 00000000244 15217654532 0012414 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Port::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/Port/porttype-i.yaml 0000644 00000000256 15217654532 0013522 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Port#porttype is_singleton: false name: porttype params: () visibility: public ri/1.8/system/WSDL/Port/inputoperation_map-i.yaml 0000644 00000000302 15217654532 0015541 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Port#inputoperation_map is_singleton: false name: inputoperation_map params: () visibility: public ri/1.8/system/WSDL/Port/cdesc-Port.yaml 0000644 00000001462 15217654532 0013411 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: binding rw: R - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: soap_address rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::Port includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: find_binding - !ruby/object:RI::MethodSummary name: inputoperation_map - !ruby/object:RI::MethodSummary name: outputoperation_map - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: porttype - !ruby/object:RI::MethodSummary name: targetnamespace name: Port superclass: Info ri/1.8/system/WSDL/Port/parse_element-i.yaml 0000644 00000000277 15217654532 0014462 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Port#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/Port/find_binding-i.yaml 0000644 00000000266 15217654532 0014247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Port#find_binding is_singleton: false name: find_binding params: () visibility: public ri/1.8/system/WSDL/Port/parse_attr-i.yaml 0000644 00000000275 15217654532 0014001 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Port#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/Port/outputoperation_map-i.yaml 0000644 00000000304 15217654532 0015744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Port#outputoperation_map is_singleton: false name: outputoperation_map params: () visibility: public ri/1.8/system/WSDL/Port/targetnamespace-i.yaml 0000644 00000000274 15217654532 0014777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Port#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleType/new-c.yaml 0000644 00000000277 15217654532 0015352 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleType::new is_singleton: true name: new params: (name = nil) visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleType/check_restriction-i.yaml 0000644 00000000327 15217654532 0020265 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleType#check_restriction is_singleton: false name: check_restriction params: (value) visibility: private ri/1.8/system/WSDL/XMLSchema/SimpleType/parse_element-i.yaml 0000644 00000000320 15217654532 0017377 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleType#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleType/base-i.yaml 0000644 00000000267 15217654532 0015500 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleType#base is_singleton: false name: base params: () visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleType/parse_attr-i.yaml 0000644 00000000316 15217654532 0016725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleType#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleType/check_lexical_format-i.yaml 0000644 00000000334 15217654532 0020707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleType#check_lexical_format is_singleton: false name: check_lexical_format params: (value) visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleType/targetnamespace-i.yaml 0000644 00000000315 15217654532 0017723 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleType#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleType/cdesc-SimpleType.yaml 0000644 00000001314 15217654532 0017504 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: RW - !ruby/object:RI::Attribute comment: name: restriction rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::SimpleType includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: base - !ruby/object:RI::MethodSummary name: check_lexical_format - !ruby/object:RI::MethodSummary name: check_restriction - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: targetnamespace name: SimpleType superclass: Info ri/1.8/system/WSDL/XMLSchema/Length/new-c.yaml 0000644 00000000261 15217654532 0014471 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Length::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Length/cdesc-Length.yaml 0000644 00000000535 15217654532 0015764 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::Length includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element name: Length superclass: Info ri/1.8/system/WSDL/XMLSchema/Length/parse_element-i.yaml 0000644 00000000314 15217654532 0016530 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Length#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/Length/parse_attr-i.yaml 0000644 00000000312 15217654532 0016047 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Length#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/All/new-c.yaml 0000644 00000000256 15217654532 0013764 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::All::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/All/cdesc-All.yaml 0000644 00000001305 15217654532 0014536 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: elements rw: R - !ruby/object:RI::Attribute comment: name: maxoccurs rw: R - !ruby/object:RI::Attribute comment: name: minoccurs rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::All includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: elementformdefault - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: targetnamespace name: All superclass: Info ri/1.8/system/WSDL/XMLSchema/All/%3c%3c-i.yaml 0000644 00000000265 15217654532 0014046 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::All#<< is_singleton: false name: "<<" params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/All/elementformdefault-i.yaml 0000644 00000000314 15217654532 0017056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::All#elementformdefault is_singleton: false name: elementformdefault params: () visibility: public ri/1.8/system/WSDL/XMLSchema/All/parse_element-i.yaml 0000644 00000000311 15217654532 0016014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::All#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/All/parse_attr-i.yaml 0000644 00000000307 15217654532 0015342 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::All#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/All/targetnamespace-i.yaml 0000644 00000000306 15217654532 0016340 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::All#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Attribute/cdesc-Attribute.yaml 0000644 00000002306 15217654532 0017226 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: arytype rw: RW - !ruby/object:RI::Attribute comment: name: default rw: W - !ruby/object:RI::Attribute comment: name: fixed rw: W - !ruby/object:RI::Attribute comment: name: form rw: W - !ruby/object:RI::Attribute comment: name: local_simpletype rw: W - !ruby/object:RI::Attribute comment: name: name rw: W - !ruby/object:RI::Attribute comment: name: ref rw: RW - !ruby/object:RI::Attribute comment: name: type rw: W - !ruby/object:RI::Attribute comment: name: use rw: W class_methods: - !ruby/object:RI::MethodSummary name: attr_reader_ref - !ruby/object:RI::MethodSummary name: attr_reader_ref - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::Attribute includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: directelement? - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: refelement - !ruby/object:RI::MethodSummary name: targetnamespace name: Attribute superclass: Info ri/1.8/system/WSDL/XMLSchema/Attribute/new-c.yaml 0000644 00000000264 15217654532 0015216 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Attribute::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Attribute/parse_element-i.yaml 0000644 00000000317 15217654532 0017255 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Attribute#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/Attribute/parse_attr-i.yaml 0000644 00000000315 15217654532 0016574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Attribute#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/Attribute/refelement-i.yaml 0000644 00000000302 15217654532 0016552 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Attribute#refelement is_singleton: false name: refelement params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Attribute/directelement%3f-i.yaml 0000644 00000000313 15217654532 0017550 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Attribute#directelement? is_singleton: false name: directelement? params: () visibility: private ri/1.8/system/WSDL/XMLSchema/Attribute/attr_reader_ref-c.yaml 0000644 00000000322 15217654532 0017550 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Attribute::attr_reader_ref is_singleton: true name: attr_reader_ref params: (symbol) visibility: public ri/1.8/system/WSDL/XMLSchema/Attribute/targetnamespace-i.yaml 0000644 00000000314 15217654532 0017572 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Attribute#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Content/update_elements-i.yaml 0000644 00000000313 15217654532 0017253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Content#update_elements is_singleton: false name: update_elements params: () visibility: private ri/1.8/system/WSDL/XMLSchema/Content/new-c.yaml 0000644 00000000262 15217654532 0014663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Content::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Content/%3c%3c-i.yaml 0000644 00000000271 15217654532 0014745 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Content#<< is_singleton: false name: "<<" params: (content) visibility: public ri/1.8/system/WSDL/XMLSchema/Content/parse_epilogue-i.yaml 0000644 00000000310 15217654532 0017075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Content#parse_epilogue is_singleton: false name: parse_epilogue params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Content/parse_element-i.yaml 0000644 00000000315 15217654532 0016722 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Content#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/Content/cdesc-Content.yaml 0000644 00000001657 15217654532 0016354 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: contents rw: R - !ruby/object:RI::Attribute comment: name: elements rw: R - !ruby/object:RI::Attribute comment: name: final rw: RW - !ruby/object:RI::Attribute comment: name: mixed rw: RW - !ruby/object:RI::Attribute comment: name: type rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::Content includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: parse_epilogue - !ruby/object:RI::MethodSummary name: targetnamespace - !ruby/object:RI::MethodSummary name: update_elements name: Content superclass: Info ri/1.8/system/WSDL/XMLSchema/Content/each-i.yaml 0000644 00000000313 15217654532 0014775 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: content comment: full_name: WSDL::XMLSchema::Content#each is_singleton: false name: each params: () {|content| ...} visibility: public ri/1.8/system/WSDL/XMLSchema/Content/parse_attr-i.yaml 0000644 00000000313 15217654532 0016241 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Content#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/Content/targetnamespace-i.yaml 0000644 00000000312 15217654532 0017237 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Content#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Include/new-c.yaml 0000644 00000000262 15217654532 0014634 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Include::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Include/parse_element-i.yaml 0000644 00000000315 15217654532 0016673 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Include#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/Include/cdesc-Include.yaml 0000644 00000001030 15217654532 0016257 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: content rw: R - !ruby/object:RI::Attribute comment: name: schemalocation rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::Include includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: import - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element name: Include superclass: Info ri/1.8/system/WSDL/XMLSchema/Include/parse_attr-i.yaml 0000644 00000000313 15217654532 0016212 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Include#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/Include/import-i.yaml 0000644 00000000301 15217654532 0015355 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Include#import is_singleton: false name: import params: (location) visibility: private ri/1.8/system/WSDL/XMLSchema/Importer/new-c.yaml 0000644 00000000263 15217654532 0015053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Importer::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Importer/web_client-i.yaml 0000644 00000000302 15217654532 0016375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Importer#web_client is_singleton: false name: web_client params: () visibility: private ri/1.8/system/WSDL/XMLSchema/Importer/import-c.yaml 0000644 00000000325 15217654532 0015573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Importer::import is_singleton: true name: import params: (location, originalroot = nil) visibility: public ri/1.8/system/WSDL/XMLSchema/Importer/fetch-i.yaml 0000644 00000000300 15217654532 0015351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Importer#fetch is_singleton: false name: fetch params: (location) visibility: private ri/1.8/system/WSDL/XMLSchema/Importer/parse-i.yaml 0000644 00000000327 15217654532 0015403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Importer#parse is_singleton: false name: parse params: (content, location, originalroot) visibility: private ri/1.8/system/WSDL/XMLSchema/Importer/cdesc-Importer.yaml 0000644 00000000755 15217654532 0016730 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: import - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::Importer includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: fetch - !ruby/object:RI::MethodSummary name: import - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: web_client name: Importer superclass: Object ri/1.8/system/WSDL/XMLSchema/Importer/import-i.yaml 0000644 00000000325 15217654532 0015601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Importer#import is_singleton: false name: import params: (location, originalroot = nil) visibility: public ri/1.8/system/WSDL/XMLSchema/Enumeration/new-c.yaml 0000644 00000000266 15217654532 0015543 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Enumeration::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Enumeration/parse_element-i.yaml 0000644 00000000321 15217654532 0017573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Enumeration#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/Enumeration/cdesc-Enumeration.yaml 0000644 00000000547 15217654532 0020101 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::Enumeration includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element name: Enumeration superclass: Info ri/1.8/system/WSDL/XMLSchema/Enumeration/parse_attr-i.yaml 0000644 00000000317 15217654532 0017121 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Enumeration#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/cdesc-XMLSchema.yaml 0000644 00000011161 15217654532 0015100 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: AllName value: XSD::QName.new(XSD::Namespace, 'all') - !ruby/object:RI::Constant comment: name: AnnotationName value: XSD::QName.new(XSD::Namespace, 'annotation') - !ruby/object:RI::Constant comment: name: AnyName value: XSD::QName.new(XSD::Namespace, 'any') - !ruby/object:RI::Constant comment: name: AttributeName value: XSD::QName.new(XSD::Namespace, 'attribute') - !ruby/object:RI::Constant comment: name: ChoiceName value: XSD::QName.new(XSD::Namespace, 'choice') - !ruby/object:RI::Constant comment: name: ComplexContentName value: XSD::QName.new(XSD::Namespace, 'complexContent') - !ruby/object:RI::Constant comment: name: ComplexTypeName value: XSD::QName.new(XSD::Namespace, 'complexType') - !ruby/object:RI::Constant comment: name: ElementName value: XSD::QName.new(XSD::Namespace, 'element') - !ruby/object:RI::Constant comment: name: EnumerationName value: XSD::QName.new(XSD::Namespace, 'enumeration') - !ruby/object:RI::Constant comment: name: ExtensionName value: XSD::QName.new(XSD::Namespace, 'extension') - !ruby/object:RI::Constant comment: name: ImportName value: XSD::QName.new(XSD::Namespace, 'import') - !ruby/object:RI::Constant comment: name: IncludeName value: XSD::QName.new(XSD::Namespace, 'include') - !ruby/object:RI::Constant comment: name: LengthName value: XSD::QName.new(XSD::Namespace, 'length') - !ruby/object:RI::Constant comment: name: PatternName value: XSD::QName.new(XSD::Namespace, 'pattern') - !ruby/object:RI::Constant comment: name: RestrictionName value: XSD::QName.new(XSD::Namespace, 'restriction') - !ruby/object:RI::Constant comment: name: SequenceName value: XSD::QName.new(XSD::Namespace, 'sequence') - !ruby/object:RI::Constant comment: name: SchemaName value: XSD::QName.new(XSD::Namespace, 'schema') - !ruby/object:RI::Constant comment: name: SimpleContentName value: XSD::QName.new(XSD::Namespace, 'simpleContent') - !ruby/object:RI::Constant comment: name: SimpleTypeName value: XSD::QName.new(XSD::Namespace, 'simpleType') - !ruby/object:RI::Constant comment: name: UniqueName value: XSD::QName.new(XSD::Namespace, 'unique') - !ruby/object:RI::Constant comment: name: AttributeFormDefaultAttrName value: XSD::QName.new(nil, 'attributeFormDefault') - !ruby/object:RI::Constant comment: name: BaseAttrName value: XSD::QName.new(nil, 'base') - !ruby/object:RI::Constant comment: name: DefaultAttrName value: XSD::QName.new(nil, 'default') - !ruby/object:RI::Constant comment: name: ElementFormDefaultAttrName value: XSD::QName.new(nil, 'elementFormDefault') - !ruby/object:RI::Constant comment: name: FinalAttrName value: XSD::QName.new(nil, 'final') - !ruby/object:RI::Constant comment: name: FixedAttrName value: XSD::QName.new(nil, 'fixed') - !ruby/object:RI::Constant comment: name: FormAttrName value: XSD::QName.new(nil, 'form') - !ruby/object:RI::Constant comment: name: IdAttrName value: XSD::QName.new(nil, 'id') - !ruby/object:RI::Constant comment: name: MaxOccursAttrName value: XSD::QName.new(nil, 'maxOccurs') - !ruby/object:RI::Constant comment: name: MinOccursAttrName value: XSD::QName.new(nil, 'minOccurs') - !ruby/object:RI::Constant comment: name: MixedAttrName value: XSD::QName.new(nil, 'mixed') - !ruby/object:RI::Constant comment: name: NameAttrName value: XSD::QName.new(nil, 'name') - !ruby/object:RI::Constant comment: name: NamespaceAttrName value: XSD::QName.new(nil, 'namespace') - !ruby/object:RI::Constant comment: name: NillableAttrName value: XSD::QName.new(nil, 'nillable') - !ruby/object:RI::Constant comment: name: ProcessContentsAttrName value: XSD::QName.new(nil, 'processContents') - !ruby/object:RI::Constant comment: name: RefAttrName value: XSD::QName.new(nil, 'ref') - !ruby/object:RI::Constant comment: name: SchemaLocationAttrName value: XSD::QName.new(nil, 'schemaLocation') - !ruby/object:RI::Constant comment: name: TargetNamespaceAttrName value: XSD::QName.new(nil, 'targetNamespace') - !ruby/object:RI::Constant comment: name: TypeAttrName value: XSD::QName.new(nil, 'type') - !ruby/object:RI::Constant comment: name: UseAttrName value: XSD::QName.new(nil, 'use') - !ruby/object:RI::Constant comment: name: ValueAttrName value: XSD::QName.new(nil, 'value') full_name: WSDL::XMLSchema includes: [] instance_methods: [] name: XMLSchema superclass: ri/1.8/system/WSDL/XMLSchema/Choice/new-c.yaml 0000644 00000000261 15217654532 0014442 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Choice::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Choice/%3c%3c-i.yaml 0000644 00000000270 15217654532 0014524 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Choice#<< is_singleton: false name: "<<" params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/Choice/elementformdefault-i.yaml 0000644 00000000317 15217654532 0017543 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Choice#elementformdefault is_singleton: false name: elementformdefault params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Choice/parse_element-i.yaml 0000644 00000000314 15217654532 0016501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Choice#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/Choice/parse_attr-i.yaml 0000644 00000000312 15217654532 0016020 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Choice#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/Choice/targetnamespace-i.yaml 0000644 00000000311 15217654532 0017016 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Choice#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Choice/cdesc-Choice.yaml 0000644 00000001313 15217654532 0015701 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: elements rw: R - !ruby/object:RI::Attribute comment: name: maxoccurs rw: R - !ruby/object:RI::Attribute comment: name: minoccurs rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::Choice includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: elementformdefault - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: targetnamespace name: Choice superclass: Info ri/1.8/system/WSDL/XMLSchema/Pattern/new-c.yaml 0000644 00000000262 15217654532 0014666 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Pattern::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Pattern/parse_element-i.yaml 0000644 00000000315 15217654532 0016725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Pattern#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/Pattern/cdesc-Pattern.yaml 0000644 00000000537 15217654532 0016356 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::Pattern includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element name: Pattern superclass: Info ri/1.8/system/WSDL/XMLSchema/Pattern/parse_attr-i.yaml 0000644 00000000313 15217654532 0016244 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Pattern#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/Any/new-c.yaml 0000644 00000000256 15217654532 0014003 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Any::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Any/parse_element-i.yaml 0000644 00000000311 15217654532 0016033 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Any#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/Any/cdesc-Any.yaml 0000644 00000001251 15217654532 0014574 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: maxoccurs rw: RW - !ruby/object:RI::Attribute comment: name: minoccurs rw: RW - !ruby/object:RI::Attribute comment: name: namespace rw: RW - !ruby/object:RI::Attribute comment: name: process_contents rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::Any includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: targetnamespace name: Any superclass: Info ri/1.8/system/WSDL/XMLSchema/Any/parse_attr-i.yaml 0000644 00000000307 15217654532 0015361 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Any#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/Any/targetnamespace-i.yaml 0000644 00000000306 15217654532 0016357 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Any#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleExtension/new-c.yaml 0000644 00000000272 15217654532 0016400 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleExtension::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleExtension/parse_element-i.yaml 0000644 00000000325 15217654532 0020437 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleExtension#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleExtension/parse_attr-i.yaml 0000644 00000000323 15217654532 0017756 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleExtension#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleExtension/valid%3f-i.yaml 0000644 00000000305 15217654532 0017207 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleExtension#valid? is_singleton: false name: valid? params: (value) visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleExtension/cdesc-SimpleExtension.yaml 0000644 00000001133 15217654532 0021571 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: attributes rw: R - !ruby/object:RI::Attribute comment: name: base rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::SimpleExtension includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: targetnamespace - !ruby/object:RI::MethodSummary name: valid? name: SimpleExtension superclass: Info ri/1.8/system/WSDL/XMLSchema/SimpleExtension/targetnamespace-i.yaml 0000644 00000000322 15217654532 0020754 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleExtension#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Import/new-c.yaml 0000644 00000000261 15217654532 0014522 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Import::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Import/cdesc-Import.yaml 0000644 00000001132 15217654532 0016040 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: content rw: R - !ruby/object:RI::Attribute comment: name: namespace rw: R - !ruby/object:RI::Attribute comment: name: schemalocation rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::Import includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: import - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element name: Import superclass: Info ri/1.8/system/WSDL/XMLSchema/Import/parse_element-i.yaml 0000644 00000000314 15217654532 0016561 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Import#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/Import/parse_attr-i.yaml 0000644 00000000312 15217654532 0016100 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Import#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/Import/import-i.yaml 0000644 00000000300 15217654532 0015243 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Import#import is_singleton: false name: import params: (location) visibility: private ri/1.8/system/WSDL/XMLSchema/SimpleContent/new-c.yaml 0000644 00000000270 15217654532 0016034 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleContent::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleContent/parse_element-i.yaml 0000644 00000000323 15217654532 0020073 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleContent#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleContent/base-i.yaml 0000644 00000000272 15217654532 0016165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleContent#base is_singleton: false name: base params: () visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleContent/check-i.yaml 0000644 00000000302 15217654532 0016322 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleContent#check is_singleton: false name: check params: (value) visibility: private ri/1.8/system/WSDL/XMLSchema/SimpleContent/check_lexical_format-i.yaml 0000644 00000000337 15217654532 0021403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleContent#check_lexical_format is_singleton: false name: check_lexical_format params: (value) visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleContent/cdesc-SimpleContent.yaml 0000644 00000001307 15217654532 0020670 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: extension rw: R - !ruby/object:RI::Attribute comment: name: restriction rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::SimpleContent includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: base - !ruby/object:RI::MethodSummary name: check - !ruby/object:RI::MethodSummary name: check_lexical_format - !ruby/object:RI::MethodSummary name: content - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: targetnamespace name: SimpleContent superclass: Info ri/1.8/system/WSDL/XMLSchema/SimpleContent/targetnamespace-i.yaml 0000644 00000000320 15217654532 0020410 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleContent#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleContent/content-i.yaml 0000644 00000000301 15217654532 0016716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleContent#content is_singleton: false name: content params: () visibility: private ri/1.8/system/WSDL/XMLSchema/Unique/new-c.yaml 0000644 00000000261 15217654532 0014516 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Unique::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Unique/parse_element-i.yaml 0000644 00000000314 15217654532 0016555 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Unique#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/Unique/parse_attr-i.yaml 0000644 00000000312 15217654532 0016074 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Unique#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/Unique/cdesc-Unique.yaml 0000644 00000000535 15217654532 0016036 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::Unique includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element name: Unique superclass: Info ri/1.8/system/WSDL/XMLSchema/Schema/new-c.yaml 0000644 00000000261 15217654532 0014450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Schema::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Schema/parse_element-i.yaml 0000644 00000000314 15217654532 0016507 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Schema#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/Schema/parse_element-c.yaml 0000644 00000000314 15217654532 0016501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Schema::parse_element is_singleton: true name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/Schema/location%3d-i.yaml 0000644 00000000305 15217654532 0015770 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Schema#location= is_singleton: false name: location= params: (location) visibility: public ri/1.8/system/WSDL/XMLSchema/Schema/parse_attr-i.yaml 0000644 00000000312 15217654532 0016026 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Schema#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/Schema/collect_elements-i.yaml 0000644 00000000313 15217654532 0017204 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Schema#collect_elements is_singleton: false name: collect_elements params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Schema/location-i.yaml 0000644 00000000273 15217654532 0015500 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Schema#location is_singleton: false name: location params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Schema/collect_complextypes-i.yaml 0000644 00000000323 15217654532 0020125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Schema#collect_complextypes is_singleton: false name: collect_complextypes params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Schema/cdesc-Schema.yaml 0000644 00000002566 15217654532 0015730 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: attributeformdefault rw: RW - !ruby/object:RI::Attribute comment: name: attributes rw: R - !ruby/object:RI::Attribute comment: name: complextypes rw: R - !ruby/object:RI::Attribute comment: name: elementformdefault rw: RW - !ruby/object:RI::Attribute comment: name: elements rw: R - !ruby/object:RI::Attribute comment: name: importedschema rw: R - !ruby/object:RI::Attribute comment: name: imports rw: R - !ruby/object:RI::Attribute comment: name: simpletypes rw: R - !ruby/object:RI::Attribute comment: name: targetnamespace rw: R class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: parse_element comment: constants: [] full_name: WSDL::XMLSchema::Schema includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: collect_attributes - !ruby/object:RI::MethodSummary name: collect_complextypes - !ruby/object:RI::MethodSummary name: collect_elements - !ruby/object:RI::MethodSummary name: collect_simpletypes - !ruby/object:RI::MethodSummary name: location - !ruby/object:RI::MethodSummary name: location= - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element name: Schema superclass: Info ri/1.8/system/WSDL/XMLSchema/Schema/collect_attributes-i.yaml 0000644 00000000317 15217654532 0017562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Schema#collect_attributes is_singleton: false name: collect_attributes params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Schema/collect_simpletypes-i.yaml 0000644 00000000321 15217654532 0017745 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Schema#collect_simpletypes is_singleton: false name: collect_simpletypes params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Sequence/new-c.yaml 0000644 00000000263 15217654532 0015022 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Sequence::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Sequence/%3c%3c-i.yaml 0000644 00000000272 15217654532 0015104 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Sequence#<< is_singleton: false name: "<<" params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/Sequence/elementformdefault-i.yaml 0000644 00000000321 15217654532 0020114 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Sequence#elementformdefault is_singleton: false name: elementformdefault params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Sequence/parse_element-i.yaml 0000644 00000000316 15217654532 0017061 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Sequence#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/Sequence/parse_attr-i.yaml 0000644 00000000314 15217654532 0016400 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Sequence#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/Sequence/cdesc-Sequence.yaml 0000644 00000001317 15217654532 0016641 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: elements rw: R - !ruby/object:RI::Attribute comment: name: maxoccurs rw: R - !ruby/object:RI::Attribute comment: name: minoccurs rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::Sequence includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: elementformdefault - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: targetnamespace name: Sequence superclass: Info ri/1.8/system/WSDL/XMLSchema/Sequence/targetnamespace-i.yaml 0000644 00000000313 15217654532 0017376 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Sequence#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexType/new-c.yaml 0000644 00000000300 15217654532 0015513 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexType::new is_singleton: true name: new params: (name = nil) visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexType/elementformdefault-i.yaml 0000644 00000000324 15217654532 0020620 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexType#elementformdefault is_singleton: false name: elementformdefault params: () visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexType/find_arytype-i.yaml 0000644 00000000310 15217654532 0017426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexType#find_arytype is_singleton: false name: find_arytype params: () visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexType/check_array_content-i.yaml 0000644 00000000336 15217654532 0020746 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexType#check_array_content is_singleton: false name: check_array_content params: (content) visibility: private ri/1.8/system/WSDL/XMLSchema/ComplexType/parse_element-i.yaml 0000644 00000000321 15217654532 0017556 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexType#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexType/find_element_by_name-i.yaml 0000644 00000000334 15217654532 0021062 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexType#find_element_by_name is_singleton: false name: find_element_by_name params: (name) visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexType/each_element-i.yaml 0000644 00000000353 15217654532 0017351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (AnyAsElement) comment: full_name: WSDL::XMLSchema::ComplexType#each_element is_singleton: false name: each_element params: () {|AnyAsElement| ...} visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexType/find_element-i.yaml 0000644 00000000314 15217654532 0017366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexType#find_element is_singleton: false name: find_element params: (name) visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexType/compoundtype-i.yaml 0000644 00000000310 15217654532 0017457 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexType#compoundtype is_singleton: false name: compoundtype params: () visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexType/child_defined_complextype-i.yaml 0000644 00000000346 15217654532 0022134 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexType#child_defined_complextype is_singleton: false name: child_defined_complextype params: (name) visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexType/element_simpletype-i.yaml 0000644 00000000334 15217654532 0020643 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexType#element_simpletype is_singleton: false name: element_simpletype params: (element) visibility: private ri/1.8/system/WSDL/XMLSchema/ComplexType/parse_attr-i.yaml 0000644 00000000317 15217654532 0017104 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexType#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexType/check_type-i.yaml 0000644 00000000304 15217654532 0017052 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexType#check_type is_singleton: false name: check_type params: () visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexType/all_elements%3d-i.yaml 0000644 00000000322 15217654532 0017674 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexType#all_elements= is_singleton: false name: all_elements= params: (elements) visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexType/child_type-i.yaml 0000644 00000000316 15217654532 0017063 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexType#child_type is_singleton: false name: child_type params: (name = nil) visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexType/content_arytype-i.yaml 0000644 00000000317 15217654532 0020167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexType#content_arytype is_singleton: false name: content_arytype params: () visibility: private ri/1.8/system/WSDL/XMLSchema/ComplexType/sequence_elements%3d-i.yaml 0000644 00000000334 15217654532 0020737 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexType#sequence_elements= is_singleton: false name: sequence_elements= params: (elements) visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexType/targetnamespace-i.yaml 0000644 00000000316 15217654532 0020102 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexType#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexType/find_aryelement-i.yaml 0000644 00000000316 15217654532 0020104 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexType#find_aryelement is_singleton: false name: find_aryelement params: () visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexType/cdesc-ComplexType.yaml 0000644 00000003542 15217654532 0020045 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: attributes rw: R - !ruby/object:RI::Attribute comment: name: complexcontent rw: RW - !ruby/object:RI::Attribute comment: name: content rw: R - !ruby/object:RI::Attribute comment: name: final rw: RW - !ruby/object:RI::Attribute comment: name: mixed rw: RW - !ruby/object:RI::Attribute comment: name: name rw: RW - !ruby/object:RI::Attribute comment: name: simplecontent rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: AnyAsElement value: Element.new(XSD::QName.new(nil, 'any'), XSD::AnyTypeName) full_name: WSDL::XMLSchema::ComplexType includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: all_elements= - !ruby/object:RI::MethodSummary name: check_array_content - !ruby/object:RI::MethodSummary name: check_type - !ruby/object:RI::MethodSummary name: child_defined_complextype - !ruby/object:RI::MethodSummary name: child_type - !ruby/object:RI::MethodSummary name: compoundtype - !ruby/object:RI::MethodSummary name: content_arytype - !ruby/object:RI::MethodSummary name: each_element - !ruby/object:RI::MethodSummary name: element_simpletype - !ruby/object:RI::MethodSummary name: elementformdefault - !ruby/object:RI::MethodSummary name: find_aryelement - !ruby/object:RI::MethodSummary name: find_arytype - !ruby/object:RI::MethodSummary name: find_element - !ruby/object:RI::MethodSummary name: find_element_by_name - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: sequence_elements= - !ruby/object:RI::MethodSummary name: targetnamespace name: ComplexType superclass: Info ri/1.8/system/WSDL/XMLSchema/Parser/start_element-i.yaml 0000644 00000000320 15217654532 0016563 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Parser#start_element is_singleton: false name: start_element params: (name, attrs) visibility: public ri/1.8/system/WSDL/XMLSchema/Parser/new-c.yaml 0000644 00000000271 15217654532 0014505 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Parser::new is_singleton: true name: new params: (opt = {}) visibility: public ri/1.8/system/WSDL/XMLSchema/Parser/decode_tag-i.yaml 0000644 00000000327 15217654532 0016002 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Parser#decode_tag is_singleton: false name: decode_tag params: (ns, name, attrs, parent) visibility: private ri/1.8/system/WSDL/XMLSchema/Parser/UnknownAttributeError/cdesc-UnknownAttributeError.yaml 0000644 00000000373 15217654532 0025450 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WSDL::XMLSchema::Parser::UnknownAttributeError includes: [] instance_methods: [] name: UnknownAttributeError superclass: FormatDecodeError ri/1.8/system/WSDL/XMLSchema/Parser/UnknownElementError/cdesc-UnknownElementError.yaml 0000644 00000000367 15217654532 0024527 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WSDL::XMLSchema::Parser::UnknownElementError includes: [] instance_methods: [] name: UnknownElementError superclass: FormatDecodeError ri/1.8/system/WSDL/XMLSchema/Parser/ElementConstraintError/cdesc-ElementConstraintError.yaml 0000644 00000000375 15217654532 0025700 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WSDL::XMLSchema::Parser::ElementConstraintError includes: [] instance_methods: [] name: ElementConstraintError superclass: FormatDecodeError ri/1.8/system/WSDL/XMLSchema/Parser/decode_text-i.yaml 0000644 00000000312 15217654532 0016205 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Parser#decode_text is_singleton: false name: decode_text params: (ns, text) visibility: private ri/1.8/system/WSDL/XMLSchema/Parser/cdesc-Parser.yaml 0000644 00000001307 15217654532 0016010 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::Parser includes: - !ruby/object:RI::IncludedModule name: XSD instance_methods: - !ruby/object:RI::MethodSummary name: characters - !ruby/object:RI::MethodSummary name: charset - !ruby/object:RI::MethodSummary name: decode_tag - !ruby/object:RI::MethodSummary name: decode_tag_end - !ruby/object:RI::MethodSummary name: decode_text - !ruby/object:RI::MethodSummary name: end_element - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: start_element name: Parser superclass: Object ri/1.8/system/WSDL/XMLSchema/Parser/decode_tag_end-i.yaml 0000644 00000000320 15217654532 0016621 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Parser#decode_tag_end is_singleton: false name: decode_tag_end params: (ns, node) visibility: private ri/1.8/system/WSDL/XMLSchema/Parser/end_element-i.yaml 0000644 00000000305 15217654532 0016177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Parser#end_element is_singleton: false name: end_element params: (name) visibility: public ri/1.8/system/WSDL/XMLSchema/Parser/ParseFrame/new-c.yaml 0000644 00000000313 15217654532 0016527 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Parser::ParseFrame::new is_singleton: true name: new params: (ns, name, node) visibility: public ri/1.8/system/WSDL/XMLSchema/Parser/ParseFrame/cdesc-ParseFrame.yaml 0000644 00000000676 15217654532 0020636 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: node rw: RW - !ruby/object:RI::Attribute comment: name: ns rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::Parser::ParseFrame includes: [] instance_methods: [] name: ParseFrame superclass: Object ri/1.8/system/WSDL/XMLSchema/Parser/charset-i.yaml 0000644 00000000271 15217654532 0015353 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Parser#charset is_singleton: false name: charset params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Parser/characters-i.yaml 0000644 00000000303 15217654532 0016035 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Parser#characters is_singleton: false name: characters params: (text) visibility: public ri/1.8/system/WSDL/XMLSchema/Parser/ParseError/cdesc-ParseError.yaml 0000644 00000000331 15217654532 0020720 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WSDL::XMLSchema::Parser::ParseError includes: [] instance_methods: [] name: ParseError superclass: Error ri/1.8/system/WSDL/XMLSchema/Parser/parse-i.yaml 0000644 00000000307 15217654532 0015034 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Parser#parse is_singleton: false name: parse params: (string_or_readable) visibility: public ri/1.8/system/WSDL/XMLSchema/Parser/AttributeConstraintError/cdesc-AttributeConstraintError.yaml 0000644 00000000401 15217654532 0026612 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WSDL::XMLSchema::Parser::AttributeConstraintError includes: [] instance_methods: [] name: AttributeConstraintError superclass: FormatDecodeError ri/1.8/system/WSDL/XMLSchema/Parser/UnexpectedElementError/cdesc-UnexpectedElementError.yaml 0000644 00000000375 15217654532 0025640 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WSDL::XMLSchema::Parser::UnexpectedElementError includes: [] instance_methods: [] name: UnexpectedElementError superclass: FormatDecodeError ri/1.8/system/WSDL/XMLSchema/Parser/FormatDecodeError/cdesc-FormatDecodeError.yaml 0000644 00000000354 15217654532 0023471 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WSDL::XMLSchema::Parser::FormatDecodeError includes: [] instance_methods: [] name: FormatDecodeError superclass: ParseError ri/1.8/system/WSDL/XMLSchema/Element/new-c.yaml 0000644 00000000310 15217654532 0014634 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Element::new is_singleton: true name: new params: (name = nil, type = nil) visibility: public ri/1.8/system/WSDL/XMLSchema/Element/map_as_array%3f-i.yaml 0000644 00000000306 15217654532 0017012 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Element#map_as_array? is_singleton: false name: map_as_array? params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Element/elementformdefault-i.yaml 0000644 00000000320 15217654532 0017734 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Element#elementformdefault is_singleton: false name: elementformdefault params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Element/attributes-i.yaml 0000644 00000000300 15217654532 0016236 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Element#attributes is_singleton: false name: attributes params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Element/parse_element-i.yaml 0000644 00000000315 15217654532 0016701 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Element#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/Element/elementform-i.yaml 0000644 00000000302 15217654532 0016367 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Element#elementform is_singleton: false name: elementform params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Element/parse_attr-i.yaml 0000644 00000000313 15217654532 0016220 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Element#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/Element/cdesc-Element.yaml 0000644 00000002773 15217654532 0016312 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: constraint rw: W - !ruby/object:RI::Attribute comment: name: form rw: W - !ruby/object:RI::Attribute comment: name: local_complextype rw: W - !ruby/object:RI::Attribute comment: name: local_simpletype rw: W - !ruby/object:RI::Attribute comment: name: maxoccurs rw: W - !ruby/object:RI::Attribute comment: name: minoccurs rw: W - !ruby/object:RI::Attribute comment: name: name rw: W - !ruby/object:RI::Attribute comment: name: nillable rw: W - !ruby/object:RI::Attribute comment: name: ref rw: RW - !ruby/object:RI::Attribute comment: name: type rw: W class_methods: - !ruby/object:RI::MethodSummary name: attr_reader_ref - !ruby/object:RI::MethodSummary name: attr_reader_ref - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::Element includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: attributes - !ruby/object:RI::MethodSummary name: directelement? - !ruby/object:RI::MethodSummary name: elementform - !ruby/object:RI::MethodSummary name: elementformdefault - !ruby/object:RI::MethodSummary name: map_as_array? - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: refelement - !ruby/object:RI::MethodSummary name: targetnamespace name: Element superclass: Info ri/1.8/system/WSDL/XMLSchema/Element/refelement-i.yaml 0000644 00000000300 15217654532 0016176 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Element#refelement is_singleton: false name: refelement params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Element/directelement%3f-i.yaml 0000644 00000000311 15217654532 0017174 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Element#directelement? is_singleton: false name: directelement? params: () visibility: private ri/1.8/system/WSDL/XMLSchema/Element/attr_reader_ref-c.yaml 0000644 00000000320 15217654532 0017174 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Element::attr_reader_ref is_singleton: true name: attr_reader_ref params: (symbol) visibility: public ri/1.8/system/WSDL/XMLSchema/Element/targetnamespace-i.yaml 0000644 00000000312 15217654532 0017216 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Element#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexContent/new-c.yaml 0000644 00000000271 15217654532 0016213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexContent::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexContent/basetype-i.yaml 0000644 00000000303 15217654532 0017240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexContent#basetype is_singleton: false name: basetype params: () visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexContent/elementformdefault-i.yaml 0000644 00000000327 15217654532 0021314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexContent#elementformdefault is_singleton: false name: elementformdefault params: () visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexContent/parse_element-i.yaml 0000644 00000000324 15217654532 0020252 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexContent#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexContent/parse_attr-i.yaml 0000644 00000000322 15217654532 0017571 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexContent#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/ComplexContent/cdesc-ComplexContent.yaml 0000644 00000001440 15217654532 0021222 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: attributes rw: R - !ruby/object:RI::Attribute comment: name: base rw: RW - !ruby/object:RI::Attribute comment: name: content rw: R - !ruby/object:RI::Attribute comment: name: derivetype rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::ComplexContent includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: basetype - !ruby/object:RI::MethodSummary name: elementformdefault - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: targetnamespace name: ComplexContent superclass: Info ri/1.8/system/WSDL/XMLSchema/ComplexContent/targetnamespace-i.yaml 0000644 00000000321 15217654532 0020567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::ComplexContent#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleRestriction/new-c.yaml 0000644 00000000274 15217654532 0016733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleRestriction::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleRestriction/cdesc-SimpleRestriction.yaml 0000644 00000001526 15217654532 0022461 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: base rw: R - !ruby/object:RI::Attribute comment: name: enumeration rw: R - !ruby/object:RI::Attribute comment: name: length rw: RW - !ruby/object:RI::Attribute comment: name: pattern rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::SimpleRestriction includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: check_length - !ruby/object:RI::MethodSummary name: check_pattern - !ruby/object:RI::MethodSummary name: check_restriction - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: valid? name: SimpleRestriction superclass: Info ri/1.8/system/WSDL/XMLSchema/SimpleRestriction/check_restriction-i.yaml 0000644 00000000336 15217654532 0021651 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleRestriction#check_restriction is_singleton: false name: check_restriction params: (value) visibility: private ri/1.8/system/WSDL/XMLSchema/SimpleRestriction/check_length-i.yaml 0000644 00000000324 15217654532 0020562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleRestriction#check_length is_singleton: false name: check_length params: (value) visibility: private ri/1.8/system/WSDL/XMLSchema/SimpleRestriction/parse_element-i.yaml 0000644 00000000327 15217654532 0020772 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleRestriction#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleRestriction/parse_attr-i.yaml 0000644 00000000325 15217654532 0020311 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleRestriction#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleRestriction/valid%3f-i.yaml 0000644 00000000307 15217654532 0017542 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleRestriction#valid? is_singleton: false name: valid? params: (value) visibility: public ri/1.8/system/WSDL/XMLSchema/SimpleRestriction/check_pattern-i.yaml 0000644 00000000326 15217654532 0020760 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::SimpleRestriction#check_pattern is_singleton: false name: check_pattern params: (value) visibility: private ri/1.8/system/WSDL/XMLSchema/Annotation/new-c.yaml 0000644 00000000265 15217654532 0015366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Annotation::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/Annotation/parse_element-i.yaml 0000644 00000000320 15217654532 0017416 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Annotation#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/XMLSchema/Annotation/cdesc-Annotation.yaml 0000644 00000000545 15217654532 0017547 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::Annotation includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element name: Annotation superclass: Info ri/1.8/system/WSDL/XMLSchema/Annotation/parse_attr-i.yaml 0000644 00000000316 15217654532 0016744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::Annotation#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/XMLSchema/XSD2Ruby/new-c.yaml 0000644 00000000263 15217654532 0014634 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::XSD2Ruby::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/XMLSchema/XSD2Ruby/create_classname-i.yaml 0000644 00000000321 15217654532 0017335 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::XSD2Ruby#create_classname is_singleton: false name: create_classname params: (xsd) visibility: private ri/1.8/system/WSDL/XMLSchema/XSD2Ruby/cdesc-XSD2Ruby.yaml 0000644 00000001556 15217654532 0016272 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: basedir rw: RW - !ruby/object:RI::Attribute comment: name: location rw: RW - !ruby/object:RI::Attribute comment: name: logger rw: RW - !ruby/object:RI::Attribute comment: name: opt rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::XMLSchema::XSD2Ruby includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: check_file - !ruby/object:RI::MethodSummary name: create_classdef - !ruby/object:RI::MethodSummary name: create_classname - !ruby/object:RI::MethodSummary name: create_file - !ruby/object:RI::MethodSummary name: import - !ruby/object:RI::MethodSummary name: run - !ruby/object:RI::MethodSummary name: write_file name: XSD2Ruby superclass: Object ri/1.8/system/WSDL/XMLSchema/XSD2Ruby/create_file-i.yaml 0000644 00000000304 15217654532 0016307 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::XSD2Ruby#create_file is_singleton: false name: create_file params: () visibility: private ri/1.8/system/WSDL/XMLSchema/XSD2Ruby/create_classdef-i.yaml 0000644 00000000314 15217654532 0017155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::XSD2Ruby#create_classdef is_singleton: false name: create_classdef params: () visibility: private ri/1.8/system/WSDL/XMLSchema/XSD2Ruby/run-i.yaml 0000644 00000000263 15217654532 0014655 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::XSD2Ruby#run is_singleton: false name: run params: () visibility: public ri/1.8/system/WSDL/XMLSchema/XSD2Ruby/import-i.yaml 0000644 00000000302 15217654532 0015355 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::XSD2Ruby#import is_singleton: false name: import params: (location) visibility: private ri/1.8/system/WSDL/XMLSchema/XSD2Ruby/write_file-i.yaml 0000644 00000000325 15217654532 0016201 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: f comment: full_name: WSDL::XMLSchema::XSD2Ruby#write_file is_singleton: false name: write_file params: (filename) {|f| ...} visibility: private ri/1.8/system/WSDL/XMLSchema/XSD2Ruby/check_file-i.yaml 0000644 00000000312 15217654532 0016120 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::XMLSchema::XSD2Ruby#check_file is_singleton: false name: check_file params: (filename) visibility: private ri/1.8/system/WSDL/Operation/new-c.yaml 0000644 00000000251 15217654532 0013426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Operation::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/Operation/inputparts-i.yaml 0000644 00000000267 15217654532 0015063 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Operation#inputparts is_singleton: false name: inputparts params: () visibility: public ri/1.8/system/WSDL/Operation/outputname-i.yaml 0000644 00000000267 15217654532 0015053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Operation#outputname is_singleton: false name: outputname params: () visibility: public ri/1.8/system/WSDL/Operation/parse_element-i.yaml 0000644 00000000304 15217654532 0015465 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Operation#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/Operation/sort_parts-i.yaml 0000644 00000000275 15217654532 0015051 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Operation#sort_parts is_singleton: false name: sort_parts params: (parts) visibility: private ri/1.8/system/WSDL/Operation/parse_attr-i.yaml 0000644 00000000302 15217654532 0015004 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Operation#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/Operation/cdesc-Operation.yaml 0000644 00000002214 15217654532 0015435 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: fault rw: R - !ruby/object:RI::Attribute comment: name: input rw: R - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: output rw: R - !ruby/object:RI::Attribute comment: name: parameter_order rw: R - !ruby/object:RI::Attribute comment: name: type rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::Operation includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: input_info - !ruby/object:RI::MethodSummary name: inputname - !ruby/object:RI::MethodSummary name: inputparts - !ruby/object:RI::MethodSummary name: output_info - !ruby/object:RI::MethodSummary name: outputname - !ruby/object:RI::MethodSummary name: outputparts - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: sort_parts - !ruby/object:RI::MethodSummary name: targetnamespace name: Operation superclass: Info ri/1.8/system/WSDL/Operation/NameInfo/new-c.yaml 0000644 00000000316 15217654532 0015124 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Operation::NameInfo::new is_singleton: true name: new params: (op_name, optype_name, parts) visibility: public ri/1.8/system/WSDL/Operation/NameInfo/cdesc-NameInfo.yaml 0000644 00000000676 15217654532 0016677 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: op_name rw: R - !ruby/object:RI::Attribute comment: name: optype_name rw: R - !ruby/object:RI::Attribute comment: name: parts rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::Operation::NameInfo includes: [] instance_methods: [] name: NameInfo superclass: Object ri/1.8/system/WSDL/Operation/output_info-i.yaml 0000644 00000000271 15217654532 0015220 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Operation#output_info is_singleton: false name: output_info params: () visibility: public ri/1.8/system/WSDL/Operation/outputparts-i.yaml 0000644 00000000271 15217654532 0015257 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Operation#outputparts is_singleton: false name: outputparts params: () visibility: public ri/1.8/system/WSDL/Operation/targetnamespace-i.yaml 0000644 00000000301 15217654532 0016002 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Operation#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/Operation/inputname-i.yaml 0000644 00000000265 15217654532 0014650 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Operation#inputname is_singleton: false name: inputname params: () visibility: public ri/1.8/system/WSDL/Operation/input_info-i.yaml 0000644 00000000267 15217654532 0015024 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Operation#input_info is_singleton: false name: input_info params: () visibility: public ri/1.8/system/WSDL/Parser/start_element-i.yaml 0000644 00000000305 15217654532 0015005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Parser#start_element is_singleton: false name: start_element params: (name, attrs) visibility: public ri/1.8/system/WSDL/Parser/new-c.yaml 0000644 00000000256 15217654532 0012727 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Parser::new is_singleton: true name: new params: (opt = {}) visibility: public ri/1.8/system/WSDL/Parser/decode_tag-i.yaml 0000644 00000000314 15217654532 0014215 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Parser#decode_tag is_singleton: false name: decode_tag params: (ns, name, attrs, parent) visibility: private ri/1.8/system/WSDL/Parser/UnknownAttributeError/cdesc-UnknownAttributeError.yaml 0000644 00000000360 15217654532 0023663 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WSDL::Parser::UnknownAttributeError includes: [] instance_methods: [] name: UnknownAttributeError superclass: FormatDecodeError ri/1.8/system/WSDL/Parser/UnknownElementError/cdesc-UnknownElementError.yaml 0000644 00000000354 15217654532 0022742 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WSDL::Parser::UnknownElementError includes: [] instance_methods: [] name: UnknownElementError superclass: FormatDecodeError ri/1.8/system/WSDL/Parser/ElementConstraintError/cdesc-ElementConstraintError.yaml 0000644 00000000362 15217654532 0024113 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WSDL::Parser::ElementConstraintError includes: [] instance_methods: [] name: ElementConstraintError superclass: FormatDecodeError ri/1.8/system/WSDL/Parser/decode_text-i.yaml 0000644 00000000277 15217654532 0014436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Parser#decode_text is_singleton: false name: decode_text params: (ns, text) visibility: private ri/1.8/system/WSDL/Parser/cdesc-Parser.yaml 0000644 00000001275 15217654532 0014233 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::Parser includes: - !ruby/object:RI::IncludedModule name: WSDL instance_methods: - !ruby/object:RI::MethodSummary name: characters - !ruby/object:RI::MethodSummary name: charset - !ruby/object:RI::MethodSummary name: decode_tag - !ruby/object:RI::MethodSummary name: decode_tag_end - !ruby/object:RI::MethodSummary name: decode_text - !ruby/object:RI::MethodSummary name: end_element - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: start_element name: Parser superclass: Object ri/1.8/system/WSDL/Parser/decode_tag_end-i.yaml 0000644 00000000305 15217654532 0015043 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Parser#decode_tag_end is_singleton: false name: decode_tag_end params: (ns, node) visibility: private ri/1.8/system/WSDL/Parser/end_element-i.yaml 0000644 00000000272 15217654532 0014421 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Parser#end_element is_singleton: false name: end_element params: (name) visibility: public ri/1.8/system/WSDL/Parser/ParseFrame/new-c.yaml 0000644 00000000300 15217654532 0014742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Parser::ParseFrame::new is_singleton: true name: new params: (ns, name, node) visibility: public ri/1.8/system/WSDL/Parser/ParseFrame/cdesc-ParseFrame.yaml 0000644 00000000663 15217654532 0017051 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: node rw: RW - !ruby/object:RI::Attribute comment: name: ns rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::Parser::ParseFrame includes: [] instance_methods: [] name: ParseFrame superclass: Object ri/1.8/system/WSDL/Parser/charset-i.yaml 0000644 00000000256 15217654532 0013575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Parser#charset is_singleton: false name: charset params: () visibility: public ri/1.8/system/WSDL/Parser/characters-i.yaml 0000644 00000000270 15217654532 0014257 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Parser#characters is_singleton: false name: characters params: (text) visibility: public ri/1.8/system/WSDL/Parser/ParseError/cdesc-ParseError.yaml 0000644 00000000316 15217654532 0017142 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WSDL::Parser::ParseError includes: [] instance_methods: [] name: ParseError superclass: Error ri/1.8/system/WSDL/Parser/parse-i.yaml 0000644 00000000274 15217654532 0013256 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Parser#parse is_singleton: false name: parse params: (string_or_readable) visibility: public ri/1.8/system/WSDL/Parser/AttributeConstraintError/cdesc-AttributeConstraintError.yaml 0000644 00000000366 15217654532 0025043 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WSDL::Parser::AttributeConstraintError includes: [] instance_methods: [] name: AttributeConstraintError superclass: FormatDecodeError ri/1.8/system/WSDL/Parser/UnexpectedElementError/cdesc-UnexpectedElementError.yaml 0000644 00000000362 15217654532 0024053 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WSDL::Parser::UnexpectedElementError includes: [] instance_methods: [] name: UnexpectedElementError superclass: FormatDecodeError ri/1.8/system/WSDL/Parser/FormatDecodeError/cdesc-FormatDecodeError.yaml 0000644 00000000341 15217654532 0021704 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WSDL::Parser::FormatDecodeError includes: [] instance_methods: [] name: FormatDecodeError superclass: ParseError ri/1.8/system/WSDL/SOAP/DriverCreator/new-c.yaml 0000644 00000000276 15217654532 0015012 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::DriverCreator::new is_singleton: true name: new params: (definitions) visibility: public ri/1.8/system/WSDL/SOAP/DriverCreator/dump_porttype-i.yaml 0000644 00000000314 15217654532 0017133 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::DriverCreator#dump_porttype is_singleton: false name: dump_porttype params: (name) visibility: private ri/1.8/system/WSDL/SOAP/DriverCreator/cdesc-DriverCreator.yaml 0000644 00000000744 15217654532 0017633 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: definitions rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::SOAP::DriverCreator includes: - !ruby/object:RI::IncludedModule name: ClassDefCreatorSupport instance_methods: - !ruby/object:RI::MethodSummary name: dump - !ruby/object:RI::MethodSummary name: dump_porttype name: DriverCreator superclass: Object ri/1.8/system/WSDL/SOAP/DriverCreator/dump-i.yaml 0000644 00000000303 15217654532 0015163 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::DriverCreator#dump is_singleton: false name: dump params: (porttype = nil) visibility: public ri/1.8/system/WSDL/SOAP/ClassDefCreatorSupport/ndq-i.yaml 0000644 00000000277 15217654532 0016640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreatorSupport#ndq is_singleton: false name: ndq params: (ele) visibility: public ri/1.8/system/WSDL/SOAP/ClassDefCreatorSupport/dump_method_signature-i.yaml 0000644 00000000351 15217654532 0022435 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreatorSupport#dump_method_signature is_singleton: false name: dump_method_signature params: (operation) visibility: public ri/1.8/system/WSDL/SOAP/ClassDefCreatorSupport/create_class_name-i.yaml 0000644 00000000335 15217654532 0021501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreatorSupport#create_class_name is_singleton: false name: create_class_name params: (qname) visibility: public ri/1.8/system/WSDL/SOAP/ClassDefCreatorSupport/dump_inout_type-i.yaml 0000644 00000000332 15217654532 0021272 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreatorSupport#dump_inout_type is_singleton: false name: dump_inout_type params: (param) visibility: private ri/1.8/system/WSDL/SOAP/ClassDefCreatorSupport/add_at-i.yaml 0000644 00000000321 15217654532 0017260 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreatorSupport#add_at is_singleton: false name: add_at params: (base, str, pos) visibility: private ri/1.8/system/WSDL/SOAP/ClassDefCreatorSupport/cdesc-ClassDefCreatorSupport.yaml 0000644 00000001470 15217654532 0023304 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: WSDL::SOAP::ClassDefCreatorSupport includes: - !ruby/object:RI::IncludedModule name: XSD::CodeGen::GenSupport instance_methods: - !ruby/object:RI::MethodSummary name: add_at - !ruby/object:RI::MethodSummary name: basetype_mapped_class - !ruby/object:RI::MethodSummary name: create_class_name - !ruby/object:RI::MethodSummary name: dq - !ruby/object:RI::MethodSummary name: dqname - !ruby/object:RI::MethodSummary name: dump_inout_type - !ruby/object:RI::MethodSummary name: dump_inputparam - !ruby/object:RI::MethodSummary name: dump_method_signature - !ruby/object:RI::MethodSummary name: ndq - !ruby/object:RI::MethodSummary name: sym name: ClassDefCreatorSupport superclass: ri/1.8/system/WSDL/SOAP/ClassDefCreatorSupport/dump_inputparam-i.yaml 0000644 00000000332 15217654532 0021253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreatorSupport#dump_inputparam is_singleton: false name: dump_inputparam params: (input) visibility: private ri/1.8/system/WSDL/SOAP/ClassDefCreatorSupport/dqname-i.yaml 0000644 00000000307 15217654532 0017315 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreatorSupport#dqname is_singleton: false name: dqname params: (qname) visibility: public ri/1.8/system/WSDL/SOAP/ClassDefCreatorSupport/basetype_mapped_class-i.yaml 0000644 00000000344 15217654532 0022400 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreatorSupport#basetype_mapped_class is_singleton: false name: basetype_mapped_class params: (name) visibility: public ri/1.8/system/WSDL/SOAP/ClassDefCreatorSupport/sym-i.yaml 0000644 00000000277 15217654532 0016666 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreatorSupport#sym is_singleton: false name: sym params: (ele) visibility: public ri/1.8/system/WSDL/SOAP/ClassDefCreatorSupport/dq-i.yaml 0000644 00000000275 15217654532 0016460 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreatorSupport#dq is_singleton: false name: dq params: (ele) visibility: public ri/1.8/system/WSDL/SOAP/MethodDefCreator/new-c.yaml 0000644 00000000301 15217654532 0015403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MethodDefCreator::new is_singleton: true name: new params: (definitions) visibility: public ri/1.8/system/WSDL/SOAP/MethodDefCreator/type2str-i.yaml 0000644 00000000305 15217654532 0016420 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MethodDefCreator#type2str is_singleton: false name: type2str params: (type) visibility: private ri/1.8/system/WSDL/SOAP/MethodDefCreator/collect_rpcparameter-i.yaml 0000644 00000000341 15217654532 0021016 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MethodDefCreator#collect_rpcparameter is_singleton: false name: collect_rpcparameter params: (operation) visibility: public ri/1.8/system/WSDL/SOAP/MethodDefCreator/cdr-i.yaml 0000644 00000000272 15217654532 0015377 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MethodDefCreator#cdr is_singleton: false name: cdr params: (ary) visibility: private ri/1.8/system/WSDL/SOAP/MethodDefCreator/param_set-i.yaml 0000644 00000000341 15217654532 0016577 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MethodDefCreator#param_set is_singleton: false name: param_set params: (io_type, name, type, ele = nil) visibility: private ri/1.8/system/WSDL/SOAP/MethodDefCreator/elementqualified-i.yaml 0000644 00000000325 15217654532 0020143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MethodDefCreator#elementqualified is_singleton: false name: elementqualified params: (part) visibility: private ri/1.8/system/WSDL/SOAP/MethodDefCreator/rpcdefinedtype-i.yaml 0000644 00000000321 15217654532 0017627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MethodDefCreator#rpcdefinedtype is_singleton: false name: rpcdefinedtype params: (part) visibility: private ri/1.8/system/WSDL/SOAP/MethodDefCreator/param2str-i.yaml 0000644 00000000311 15217654532 0016534 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MethodDefCreator#param2str is_singleton: false name: param2str params: (params) visibility: private ri/1.8/system/WSDL/SOAP/MethodDefCreator/dump_method-i.yaml 0000644 00000000331 15217654532 0017130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MethodDefCreator#dump_method is_singleton: false name: dump_method params: (operation, binding) visibility: private ri/1.8/system/WSDL/SOAP/MethodDefCreator/documentdefinedtype-i.yaml 0000644 00000000333 15217654532 0020664 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MethodDefCreator#documentdefinedtype is_singleton: false name: documentdefinedtype params: (part) visibility: private ri/1.8/system/WSDL/SOAP/MethodDefCreator/ele2str-i.yaml 0000644 00000000302 15217654532 0016201 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MethodDefCreator#ele2str is_singleton: false name: ele2str params: (ele) visibility: private ri/1.8/system/WSDL/SOAP/MethodDefCreator/collect_documentparameter-i.yaml 0000644 00000000353 15217654532 0022053 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MethodDefCreator#collect_documentparameter is_singleton: false name: collect_documentparameter params: (operation) visibility: public ri/1.8/system/WSDL/SOAP/MethodDefCreator/dump-i.yaml 0000644 00000000300 15217654532 0015564 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MethodDefCreator#dump is_singleton: false name: dump params: (porttype) visibility: public ri/1.8/system/WSDL/SOAP/MethodDefCreator/cdesc-MethodDefCreator.yaml 0000644 00000002117 15217654532 0020637 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: definitions rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::SOAP::MethodDefCreator includes: - !ruby/object:RI::IncludedModule name: ClassDefCreatorSupport instance_methods: - !ruby/object:RI::MethodSummary name: cdr - !ruby/object:RI::MethodSummary name: collect_documentparameter - !ruby/object:RI::MethodSummary name: collect_rpcparameter - !ruby/object:RI::MethodSummary name: collect_type - !ruby/object:RI::MethodSummary name: documentdefinedtype - !ruby/object:RI::MethodSummary name: dump - !ruby/object:RI::MethodSummary name: dump_method - !ruby/object:RI::MethodSummary name: ele2str - !ruby/object:RI::MethodSummary name: elementqualified - !ruby/object:RI::MethodSummary name: param2str - !ruby/object:RI::MethodSummary name: param_set - !ruby/object:RI::MethodSummary name: rpcdefinedtype - !ruby/object:RI::MethodSummary name: type2str name: MethodDefCreator superclass: Object ri/1.8/system/WSDL/SOAP/MethodDefCreator/collect_type-i.yaml 0000644 00000000315 15217654532 0017313 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MethodDefCreator#collect_type is_singleton: false name: collect_type params: (type) visibility: private ri/1.8/system/WSDL/SOAP/WSDL2Ruby/new-c.yaml 0000644 00000000257 15217654532 0013733 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::WSDL2Ruby::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/SOAP/WSDL2Ruby/cdesc-WSDL2Ruby.yaml 0000644 00000002322 15217654532 0015471 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: basedir rw: RW - !ruby/object:RI::Attribute comment: name: location rw: RW - !ruby/object:RI::Attribute comment: name: logger rw: RW - !ruby/object:RI::Attribute comment: name: opt rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::SOAP::WSDL2Ruby includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: check_file - !ruby/object:RI::MethodSummary name: create_cgi_stub - !ruby/object:RI::MethodSummary name: create_classdef - !ruby/object:RI::MethodSummary name: create_client_skelton - !ruby/object:RI::MethodSummary name: create_driver - !ruby/object:RI::MethodSummary name: create_file - !ruby/object:RI::MethodSummary name: create_name - !ruby/object:RI::MethodSummary name: create_servant_skelton - !ruby/object:RI::MethodSummary name: create_standalone_server_stub - !ruby/object:RI::MethodSummary name: import - !ruby/object:RI::MethodSummary name: run - !ruby/object:RI::MethodSummary name: shbang - !ruby/object:RI::MethodSummary name: write_file name: WSDL2Ruby superclass: Object ri/1.8/system/WSDL/SOAP/WSDL2Ruby/create_cgi_stub-i.yaml 0000644 00000000323 15217654532 0016264 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::WSDL2Ruby#create_cgi_stub is_singleton: false name: create_cgi_stub params: (servicename) visibility: private ri/1.8/system/WSDL/SOAP/WSDL2Ruby/create_driver-i.yaml 0000644 00000000320 15217654532 0015755 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::WSDL2Ruby#create_driver is_singleton: false name: create_driver params: (porttypename) visibility: private ri/1.8/system/WSDL/SOAP/WSDL2Ruby/create_file-i.yaml 0000644 00000000300 15217654532 0015377 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::WSDL2Ruby#create_file is_singleton: false name: create_file params: () visibility: private ri/1.8/system/WSDL/SOAP/WSDL2Ruby/create_classdef-i.yaml 0000644 00000000310 15217654532 0016245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::WSDL2Ruby#create_classdef is_singleton: false name: create_classdef params: () visibility: private ri/1.8/system/WSDL/SOAP/WSDL2Ruby/run-i.yaml 0000644 00000000257 15217654532 0013754 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::WSDL2Ruby#run is_singleton: false name: run params: () visibility: public ri/1.8/system/WSDL/SOAP/WSDL2Ruby/shbang-i.yaml 0000644 00000000266 15217654532 0014412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::WSDL2Ruby#shbang is_singleton: false name: shbang params: () visibility: private ri/1.8/system/WSDL/SOAP/WSDL2Ruby/import-i.yaml 0000644 00000000276 15217654532 0014463 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::WSDL2Ruby#import is_singleton: false name: import params: (location) visibility: private ri/1.8/system/WSDL/SOAP/WSDL2Ruby/create_name-i.yaml 0000644 00000000304 15217654532 0015404 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::WSDL2Ruby#create_name is_singleton: false name: create_name params: (name) visibility: private ri/1.8/system/WSDL/SOAP/WSDL2Ruby/create_standalone_server_stub-i.yaml 0000644 00000000357 15217654532 0021247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::WSDL2Ruby#create_standalone_server_stub is_singleton: false name: create_standalone_server_stub params: (servicename) visibility: private ri/1.8/system/WSDL/SOAP/WSDL2Ruby/create_servant_skelton-i.yaml 0000644 00000000342 15217654532 0017707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::WSDL2Ruby#create_servant_skelton is_singleton: false name: create_servant_skelton params: (porttypename) visibility: private ri/1.8/system/WSDL/SOAP/WSDL2Ruby/write_file-i.yaml 0000644 00000000321 15217654532 0015271 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: f comment: full_name: WSDL::SOAP::WSDL2Ruby#write_file is_singleton: false name: write_file params: (filename) {|f| ...} visibility: private ri/1.8/system/WSDL/SOAP/WSDL2Ruby/create_client_skelton-i.yaml 0000644 00000000337 15217654532 0017507 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::WSDL2Ruby#create_client_skelton is_singleton: false name: create_client_skelton params: (servicename) visibility: private ri/1.8/system/WSDL/SOAP/WSDL2Ruby/check_file-i.yaml 0000644 00000000306 15217654532 0015217 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::WSDL2Ruby#check_file is_singleton: false name: check_file params: (filename) visibility: private ri/1.8/system/WSDL/SOAP/Header/new-c.yaml 0000644 00000000254 15217654532 0013423 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Header::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/SOAP/Header/parse_element-i.yaml 0000644 00000000307 15217654532 0015462 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Header#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/SOAP/Header/parse_attr-i.yaml 0000644 00000000305 15217654532 0015001 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Header#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/SOAP/Header/cdesc-Header.yaml 0000644 00000001613 15217654532 0014661 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: encodingstyle rw: R - !ruby/object:RI::Attribute comment: name: headerfault rw: R - !ruby/object:RI::Attribute comment: name: message rw: R - !ruby/object:RI::Attribute comment: name: namespace rw: R - !ruby/object:RI::Attribute comment: name: part rw: R - !ruby/object:RI::Attribute comment: name: use rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::SOAP::Header includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: find_message - !ruby/object:RI::MethodSummary name: find_part - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: targetnamespace name: Header superclass: Info ri/1.8/system/WSDL/SOAP/Header/find_message-i.yaml 0000644 00000000276 15217654532 0015270 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Header#find_message is_singleton: false name: find_message params: () visibility: public ri/1.8/system/WSDL/SOAP/Header/find_part-i.yaml 0000644 00000000270 15217654532 0014604 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Header#find_part is_singleton: false name: find_part params: () visibility: public ri/1.8/system/WSDL/SOAP/Header/targetnamespace-i.yaml 0000644 00000000304 15217654532 0015777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Header#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/SOAP/Body/new-c.yaml 0000644 00000000252 15217654532 0013126 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Body::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/SOAP/Body/cdesc-Body.yaml 0000644 00000001133 15217654532 0014070 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: encodingstyle rw: R - !ruby/object:RI::Attribute comment: name: namespace rw: R - !ruby/object:RI::Attribute comment: name: parts rw: R - !ruby/object:RI::Attribute comment: name: use rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::SOAP::Body includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element name: Body superclass: Info ri/1.8/system/WSDL/SOAP/Body/parse_element-i.yaml 0000644 00000000305 15217654532 0015165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Body#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/SOAP/Body/parse_attr-i.yaml 0000644 00000000303 15217654532 0014504 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Body#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/SOAP/Fault/new-c.yaml 0000644 00000000253 15217654532 0013305 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Fault::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/SOAP/Fault/cdesc-Fault.yaml 0000644 00000001226 15217654532 0014427 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: encodingstyle rw: R - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: namespace rw: R - !ruby/object:RI::Attribute comment: name: use rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::SOAP::Fault includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: targetnamespace name: Fault superclass: Info ri/1.8/system/WSDL/SOAP/Fault/parse_element-i.yaml 0000644 00000000306 15217654532 0015344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Fault#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/SOAP/Fault/parse_attr-i.yaml 0000644 00000000304 15217654532 0014663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Fault#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/SOAP/Fault/targetnamespace-i.yaml 0000644 00000000303 15217654532 0015661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Fault#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/SOAP/HeaderFault/new-c.yaml 0000644 00000000261 15217654532 0014415 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::HeaderFault::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/SOAP/HeaderFault/parse_element-i.yaml 0000644 00000000314 15217654532 0016454 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::HeaderFault#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/SOAP/HeaderFault/parse_attr-i.yaml 0000644 00000000312 15217654532 0015773 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::HeaderFault#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/SOAP/HeaderFault/cdesc-HeaderFault.yaml 0000644 00000001252 15217654532 0016650 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: encodingstyle rw: R - !ruby/object:RI::Attribute comment: name: message rw: R - !ruby/object:RI::Attribute comment: name: namespace rw: R - !ruby/object:RI::Attribute comment: name: part rw: R - !ruby/object:RI::Attribute comment: name: use rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::SOAP::HeaderFault includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element name: HeaderFault superclass: Info ri/1.8/system/WSDL/SOAP/ClientSkeltonCreator/new-c.yaml 0000644 00000000305 15217654532 0016326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClientSkeltonCreator::new is_singleton: true name: new params: (definitions) visibility: public ri/1.8/system/WSDL/SOAP/ClientSkeltonCreator/dump_input_init-i.yaml 0000644 00000000330 15217654532 0020750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClientSkeltonCreator#dump_input_init is_singleton: false name: dump_input_init params: (input) visibility: private ri/1.8/system/WSDL/SOAP/ClientSkeltonCreator/dump_porttype-i.yaml 0000644 00000000323 15217654532 0020456 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClientSkeltonCreator#dump_porttype is_singleton: false name: dump_porttype params: (name) visibility: private ri/1.8/system/WSDL/SOAP/ClientSkeltonCreator/cdesc-ClientSkeltonCreator.yaml 0000644 00000001145 15217654532 0022475 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: definitions rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::SOAP::ClientSkeltonCreator includes: - !ruby/object:RI::IncludedModule name: ClassDefCreatorSupport instance_methods: - !ruby/object:RI::MethodSummary name: dump - !ruby/object:RI::MethodSummary name: dump_input_init - !ruby/object:RI::MethodSummary name: dump_operation - !ruby/object:RI::MethodSummary name: dump_porttype name: ClientSkeltonCreator superclass: Object ri/1.8/system/WSDL/SOAP/ClientSkeltonCreator/dump_operation-i.yaml 0000644 00000000332 15217654532 0020570 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClientSkeltonCreator#dump_operation is_singleton: false name: dump_operation params: (operation) visibility: private ri/1.8/system/WSDL/SOAP/ClientSkeltonCreator/dump-i.yaml 0000644 00000000310 15217654532 0016504 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClientSkeltonCreator#dump is_singleton: false name: dump params: (service_name) visibility: public ri/1.8/system/WSDL/SOAP/ServantSkeltonCreator/new-c.yaml 0000644 00000000306 15217654532 0016533 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ServantSkeltonCreator::new is_singleton: true name: new params: (definitions) visibility: public ri/1.8/system/WSDL/SOAP/ServantSkeltonCreator/cdesc-ServantSkeltonCreator.yaml 0000644 00000001070 15217654532 0023102 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: definitions rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::SOAP::ServantSkeltonCreator includes: - !ruby/object:RI::IncludedModule name: ClassDefCreatorSupport - !ruby/object:RI::IncludedModule name: XSD::CodeGen::GenSupport instance_methods: - !ruby/object:RI::MethodSummary name: dump - !ruby/object:RI::MethodSummary name: dump_porttype name: ServantSkeltonCreator superclass: Object ri/1.8/system/WSDL/SOAP/ServantSkeltonCreator/dump_porttype-i.yaml 0000644 00000000324 15217654532 0020663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ServantSkeltonCreator#dump_porttype is_singleton: false name: dump_porttype params: (name) visibility: private ri/1.8/system/WSDL/SOAP/ServantSkeltonCreator/dump-i.yaml 0000644 00000000313 15217654532 0016713 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ServantSkeltonCreator#dump is_singleton: false name: dump params: (porttype = nil) visibility: public ri/1.8/system/WSDL/SOAP/cdesc-SOAP.yaml 0000644 00000002663 15217654532 0013051 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: HeaderFaultName value: XSD::QName.new(SOAPBindingNamespace, 'headerfault') - !ruby/object:RI::Constant comment: name: LocationAttrName value: XSD::QName.new(nil, 'location') - !ruby/object:RI::Constant comment: name: StyleAttrName value: XSD::QName.new(nil, 'style') - !ruby/object:RI::Constant comment: name: TransportAttrName value: XSD::QName.new(nil, 'transport') - !ruby/object:RI::Constant comment: name: UseAttrName value: XSD::QName.new(nil, 'use') - !ruby/object:RI::Constant comment: name: PartsAttrName value: XSD::QName.new(nil, 'parts') - !ruby/object:RI::Constant comment: name: PartAttrName value: XSD::QName.new(nil, 'part') - !ruby/object:RI::Constant comment: name: NameAttrName value: XSD::QName.new(nil, 'name') - !ruby/object:RI::Constant comment: name: MessageAttrName value: XSD::QName.new(nil, 'message') - !ruby/object:RI::Constant comment: name: EncodingStyleAttrName value: XSD::QName.new(nil, 'encodingStyle') - !ruby/object:RI::Constant comment: name: NamespaceAttrName value: XSD::QName.new(nil, 'namespace') - !ruby/object:RI::Constant comment: name: SOAPActionAttrName value: XSD::QName.new(nil, 'soapAction') full_name: WSDL::SOAP includes: [] instance_methods: [] name: SOAP superclass: ri/1.8/system/WSDL/SOAP/Operation/new-c.yaml 0000644 00000000257 15217654532 0014176 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Operation::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/SOAP/Operation/OperationInfo/new-c.yaml 0000644 00000000410 15217654532 0016741 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Operation::OperationInfo::new is_singleton: true name: new params: (style, op_name, optype_name, headerparts, bodyparts, faultpart, soapaction) visibility: public ri/1.8/system/WSDL/SOAP/Operation/OperationInfo/cdesc-OperationInfo.yaml 0000644 00000001341 15217654532 0021567 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: bodyparts rw: R - !ruby/object:RI::Attribute comment: name: faultpart rw: R - !ruby/object:RI::Attribute comment: name: headerparts rw: R - !ruby/object:RI::Attribute comment: name: op_name rw: R - !ruby/object:RI::Attribute comment: name: optype_name rw: R - !ruby/object:RI::Attribute comment: name: soapaction rw: R - !ruby/object:RI::Attribute comment: name: style rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::SOAP::Operation::OperationInfo includes: [] instance_methods: [] name: OperationInfo superclass: Object ri/1.8/system/WSDL/SOAP/Operation/parse_element-i.yaml 0000644 00000000312 15217654532 0016226 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Operation#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/SOAP/Operation/operation_style-i.yaml 0000644 00000000307 15217654532 0016627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Operation#operation_style is_singleton: false name: operation_style params: () visibility: public ri/1.8/system/WSDL/SOAP/Operation/parse_attr-i.yaml 0000644 00000000310 15217654532 0015545 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Operation#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/SOAP/Operation/param_info-i.yaml 0000644 00000000316 15217654532 0015522 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Operation#param_info is_singleton: false name: param_info params: (name_info, param) visibility: private ri/1.8/system/WSDL/SOAP/Operation/cdesc-Operation.yaml 0000644 00000001363 15217654532 0016203 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: soapaction rw: R - !ruby/object:RI::Attribute comment: name: style rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::SOAP::Operation includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: input_info - !ruby/object:RI::MethodSummary name: operation_style - !ruby/object:RI::MethodSummary name: output_info - !ruby/object:RI::MethodSummary name: param_info - !ruby/object:RI::MethodSummary name: parent_binding - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element name: Operation superclass: Info ri/1.8/system/WSDL/SOAP/Operation/output_info-i.yaml 0000644 00000000277 15217654532 0015770 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Operation#output_info is_singleton: false name: output_info params: () visibility: public ri/1.8/system/WSDL/SOAP/Operation/parent_binding-i.yaml 0000644 00000000306 15217654532 0016371 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Operation#parent_binding is_singleton: false name: parent_binding params: () visibility: private ri/1.8/system/WSDL/SOAP/Operation/input_info-i.yaml 0000644 00000000275 15217654532 0015565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Operation#input_info is_singleton: false name: input_info params: () visibility: public ri/1.8/system/WSDL/SOAP/CGIStubCreator/new-c.yaml 0000644 00000000277 15217654532 0015020 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::CGIStubCreator::new is_singleton: true name: new params: (definitions) visibility: public ri/1.8/system/WSDL/SOAP/CGIStubCreator/cdesc-CGIStubCreator.yaml 0000644 00000000746 15217654532 0017647 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: definitions rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::SOAP::CGIStubCreator includes: - !ruby/object:RI::IncludedModule name: ClassDefCreatorSupport instance_methods: - !ruby/object:RI::MethodSummary name: dump - !ruby/object:RI::MethodSummary name: dump_porttype name: CGIStubCreator superclass: Object ri/1.8/system/WSDL/SOAP/CGIStubCreator/dump_porttype-i.yaml 0000644 00000000315 15217654532 0017141 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::CGIStubCreator#dump_porttype is_singleton: false name: dump_porttype params: (name) visibility: private ri/1.8/system/WSDL/SOAP/CGIStubCreator/dump-i.yaml 0000644 00000000302 15217654532 0015167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::CGIStubCreator#dump is_singleton: false name: dump params: (service_name) visibility: public ri/1.8/system/WSDL/SOAP/MappingRegistryCreator/new-c.yaml 0000644 00000000307 15217654532 0016676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MappingRegistryCreator::new is_singleton: true name: new params: (definitions) visibility: public ri/1.8/system/WSDL/SOAP/MappingRegistryCreator/dump_struct_typemap-i.yaml 0000644 00000000350 15217654532 0022221 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MappingRegistryCreator#dump_struct_typemap is_singleton: false name: dump_struct_typemap params: (definedtype) visibility: private ri/1.8/system/WSDL/SOAP/MappingRegistryCreator/cdesc-MappingRegistryCreator.yaml 0000644 00000001160 15217654532 0023406 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: definitions rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::SOAP::MappingRegistryCreator includes: - !ruby/object:RI::IncludedModule name: ClassDefCreatorSupport instance_methods: - !ruby/object:RI::MethodSummary name: dump - !ruby/object:RI::MethodSummary name: dump_array_typemap - !ruby/object:RI::MethodSummary name: dump_struct_typemap - !ruby/object:RI::MethodSummary name: dump_typemap name: MappingRegistryCreator superclass: Object ri/1.8/system/WSDL/SOAP/MappingRegistryCreator/dump_typemap-i.yaml 0000644 00000000323 15217654532 0020615 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MappingRegistryCreator#dump_typemap is_singleton: false name: dump_typemap params: (type) visibility: private ri/1.8/system/WSDL/SOAP/MappingRegistryCreator/dump_array_typemap-i.yaml 0000644 00000000346 15217654532 0022020 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MappingRegistryCreator#dump_array_typemap is_singleton: false name: dump_array_typemap params: (definedtype) visibility: private ri/1.8/system/WSDL/SOAP/MappingRegistryCreator/dump-i.yaml 0000644 00000000303 15217654532 0017054 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::MappingRegistryCreator#dump is_singleton: false name: dump params: (types) visibility: public ri/1.8/system/WSDL/SOAP/Binding/new-c.yaml 0000644 00000000255 15217654532 0013606 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Binding::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/SOAP/Binding/parse_element-i.yaml 0000644 00000000310 15217654532 0015636 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Binding#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/SOAP/Binding/parse_attr-i.yaml 0000644 00000000306 15217654532 0015164 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Binding#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/SOAP/Binding/cdesc-Binding.yaml 0000644 00000000733 15217654532 0015227 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: style rw: R - !ruby/object:RI::Attribute comment: name: transport rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::SOAP::Binding includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element name: Binding superclass: Info ri/1.8/system/WSDL/SOAP/ClassDefCreator/new-c.yaml 0000644 00000000300 15217654532 0015227 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreator::new is_singleton: true name: new params: (definitions) visibility: public ri/1.8/system/WSDL/SOAP/ClassDefCreator/dump_simpletype-i.yaml 0000644 00000000316 15217654532 0017673 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreator#dump_simpletype is_singleton: false name: dump_simpletype params: () visibility: private ri/1.8/system/WSDL/SOAP/ClassDefCreator/name_element-i.yaml 0000644 00000000317 15217654532 0017105 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreator#name_element is_singleton: false name: name_element params: (element) visibility: private ri/1.8/system/WSDL/SOAP/ClassDefCreator/dump_simpleclassdef-i.yaml 0000644 00000000345 15217654532 0020500 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreator#dump_simpleclassdef is_singleton: false name: dump_simpleclassdef params: (type_or_element) visibility: private ri/1.8/system/WSDL/SOAP/ClassDefCreator/define_attribute-i.yaml 0000644 00000000335 15217654532 0017771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreator#define_attribute is_singleton: false name: define_attribute params: (c, attributes) visibility: private ri/1.8/system/WSDL/SOAP/ClassDefCreator/name_attribute-i.yaml 0000644 00000000325 15217654532 0017456 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreator#name_attribute is_singleton: false name: name_attribute params: (attribute) visibility: private ri/1.8/system/WSDL/SOAP/ClassDefCreator/element_basetype-i.yaml 0000644 00000000323 15217654532 0017776 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreator#element_basetype is_singleton: false name: element_basetype params: (ele) visibility: private ri/1.8/system/WSDL/SOAP/ClassDefCreator/dump_complextype-i.yaml 0000644 00000000320 15217654532 0020044 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreator#dump_complextype is_singleton: false name: dump_complextype params: () visibility: private ri/1.8/system/WSDL/SOAP/ClassDefCreator/dump_simpletypedef-i.yaml 0000644 00000000345 15217654532 0020354 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreator#dump_simpletypedef is_singleton: false name: dump_simpletypedef params: (qname, simpletype) visibility: private ri/1.8/system/WSDL/SOAP/ClassDefCreator/dump_classdef-i.yaml 0000644 00000000353 15217654532 0017265 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreator#dump_classdef is_singleton: false name: dump_classdef params: (qname, typedef, qualified = false) visibility: private ri/1.8/system/WSDL/SOAP/ClassDefCreator/cdesc-ClassDefCreator.yaml 0000644 00000002305 15217654532 0020310 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: DEFAULT_ITEM_NAME value: XSD::QName.new(nil, 'item') full_name: WSDL::SOAP::ClassDefCreator includes: - !ruby/object:RI::IncludedModule name: ClassDefCreatorSupport instance_methods: - !ruby/object:RI::MethodSummary name: attribute_basetype - !ruby/object:RI::MethodSummary name: basetype_class - !ruby/object:RI::MethodSummary name: define_attribute - !ruby/object:RI::MethodSummary name: dump - !ruby/object:RI::MethodSummary name: dump_arraydef - !ruby/object:RI::MethodSummary name: dump_classdef - !ruby/object:RI::MethodSummary name: dump_complextype - !ruby/object:RI::MethodSummary name: dump_element - !ruby/object:RI::MethodSummary name: dump_simpleclassdef - !ruby/object:RI::MethodSummary name: dump_simpletype - !ruby/object:RI::MethodSummary name: dump_simpletypedef - !ruby/object:RI::MethodSummary name: element_basetype - !ruby/object:RI::MethodSummary name: name_attribute - !ruby/object:RI::MethodSummary name: name_element name: ClassDefCreator superclass: Object ri/1.8/system/WSDL/SOAP/ClassDefCreator/dump_element-i.yaml 0000644 00000000310 15217654532 0017123 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreator#dump_element is_singleton: false name: dump_element params: () visibility: private ri/1.8/system/WSDL/SOAP/ClassDefCreator/basetype_class-i.yaml 0000644 00000000320 15217654532 0017447 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreator#basetype_class is_singleton: false name: basetype_class params: (type) visibility: private ri/1.8/system/WSDL/SOAP/ClassDefCreator/dump_arraydef-i.yaml 0000644 00000000325 15217654532 0017275 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreator#dump_arraydef is_singleton: false name: dump_arraydef params: (complextype) visibility: private ri/1.8/system/WSDL/SOAP/ClassDefCreator/attribute_basetype-i.yaml 0000644 00000000330 15217654532 0020346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreator#attribute_basetype is_singleton: false name: attribute_basetype params: (attr) visibility: private ri/1.8/system/WSDL/SOAP/ClassDefCreator/dump-i.yaml 0000644 00000000301 15217654532 0015412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::ClassDefCreator#dump is_singleton: false name: dump params: (type = nil) visibility: public ri/1.8/system/WSDL/SOAP/StandaloneServerStubCreator/new-c.yaml 0000644 00000000314 15217654532 0017665 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::StandaloneServerStubCreator::new is_singleton: true name: new params: (definitions) visibility: public ri/1.8/system/WSDL/SOAP/StandaloneServerStubCreator/cdesc-StandaloneServerStubCreator.yaml 0000644 00000001000 15217654532 0025361 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: definitions rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::SOAP::StandaloneServerStubCreator includes: - !ruby/object:RI::IncludedModule name: ClassDefCreatorSupport instance_methods: - !ruby/object:RI::MethodSummary name: dump - !ruby/object:RI::MethodSummary name: dump_porttype name: StandaloneServerStubCreator superclass: Object ri/1.8/system/WSDL/SOAP/StandaloneServerStubCreator/dump_porttype-i.yaml 0000644 00000000332 15217654532 0022015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::StandaloneServerStubCreator#dump_porttype is_singleton: false name: dump_porttype params: (name) visibility: private ri/1.8/system/WSDL/SOAP/StandaloneServerStubCreator/dump-i.yaml 0000644 00000000317 15217654532 0020052 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::StandaloneServerStubCreator#dump is_singleton: false name: dump params: (service_name) visibility: public ri/1.8/system/WSDL/SOAP/Address/new-c.yaml 0000644 00000000255 15217654532 0013621 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Address::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/SOAP/Address/parse_element-i.yaml 0000644 00000000310 15217654532 0015651 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Address#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/SOAP/Address/parse_attr-i.yaml 0000644 00000000306 15217654532 0015177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::SOAP::Address#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/SOAP/Address/cdesc-Address.yaml 0000644 00000000632 15217654532 0015253 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: location rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::SOAP::Address includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element name: Address superclass: Info ri/1.8/system/WSDL/Binding/new-c.yaml 0000644 00000000247 15217654532 0013045 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Binding::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/Binding/parse_element-i.yaml 0000644 00000000302 15217654532 0015075 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Binding#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/Binding/parse_attr-i.yaml 0000644 00000000300 15217654532 0014414 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Binding#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/Binding/targetnamespace-i.yaml 0000644 00000000277 15217654532 0015430 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Binding#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/Binding/cdesc-Binding.yaml 0000644 00000001224 15217654532 0014461 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: operations rw: R - !ruby/object:RI::Attribute comment: name: soapbinding rw: R - !ruby/object:RI::Attribute comment: name: type rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::Binding includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: targetnamespace name: Binding superclass: Info ri/1.8/system/WSDL/Info/new-c.yaml 0000644 00000000244 15217654532 0012363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Info::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/Info/parse_epilogue-i.yaml 0000644 00000000272 15217654532 0014604 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Info#parse_epilogue is_singleton: false name: parse_epilogue params: () visibility: public ri/1.8/system/WSDL/Info/parse_element-i.yaml 0000644 00000000277 15217654532 0014431 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Info#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/Info/cdesc-Info.yaml 0000644 00000001170 15217654532 0013323 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: id rw: RW - !ruby/object:RI::Attribute comment: name: parent rw: RW - !ruby/object:RI::Attribute comment: name: root rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::Info includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: parse_epilogue name: Info superclass: Object ri/1.8/system/WSDL/Info/parse_attr-i.yaml 0000644 00000000275 15217654532 0013750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Info#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/Info/inspect-i.yaml 0000644 00000000254 15217654532 0013246 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Info#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/WSDL/Param/new-c.yaml 0000644 00000000245 15217654532 0012531 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Param::new is_singleton: true name: new params: () visibility: public ri/1.8/system/WSDL/Param/cdesc-Param.yaml 0000644 00000001502 15217654532 0013634 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: message rw: R - !ruby/object:RI::Attribute comment: name: name rw: R - !ruby/object:RI::Attribute comment: name: soapbody rw: R - !ruby/object:RI::Attribute comment: name: soapfault rw: R - !ruby/object:RI::Attribute comment: name: soapheader rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: WSDL::Param includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: find_message - !ruby/object:RI::MethodSummary name: parse_attr - !ruby/object:RI::MethodSummary name: parse_element - !ruby/object:RI::MethodSummary name: soapbody_use - !ruby/object:RI::MethodSummary name: targetnamespace name: Param superclass: Info ri/1.8/system/WSDL/Param/parse_element-i.yaml 0000644 00000000300 15217654532 0014561 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Param#parse_element is_singleton: false name: parse_element params: (element) visibility: public ri/1.8/system/WSDL/Param/parse_attr-i.yaml 0000644 00000000276 15217654532 0014116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Param#parse_attr is_singleton: false name: parse_attr params: (attr, value) visibility: public ri/1.8/system/WSDL/Param/find_message-i.yaml 0000644 00000000267 15217654532 0014376 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Param#find_message is_singleton: false name: find_message params: () visibility: public ri/1.8/system/WSDL/Param/targetnamespace-i.yaml 0000644 00000000275 15217654532 0015114 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Param#targetnamespace is_singleton: false name: targetnamespace params: () visibility: public ri/1.8/system/WSDL/Param/soapbody_use-i.yaml 0000644 00000000267 15217654532 0014446 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: WSDL::Param#soapbody_use is_singleton: false name: soapbody_use params: () visibility: public ri/1.8/system/SM/Verbatim/cdesc-Verbatim.yaml 0000644 00000000514 15217654532 0014626 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Verbatim code contains lines that don't get wrapped. constants: [] full_name: SM::Verbatim includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_text name: Verbatim superclass: Fragment ri/1.8/system/SM/Verbatim/add_text-i.yaml 0000644 00000000263 15217654532 0014021 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Verbatim#add_text is_singleton: false name: add_text params: (txt) visibility: public ri/1.8/system/SM/AttrSpan/new-c.yaml 0000644 00000000254 15217654532 0012773 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::AttrSpan::new is_singleton: true name: new params: (length) visibility: public ri/1.8/system/SM/AttrSpan/%5b%5d-i.yaml 0000644 00000000247 15217654532 0013063 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::AttrSpan#[] is_singleton: false name: "[]" params: (n) visibility: public ri/1.8/system/SM/AttrSpan/cdesc-AttrSpan.yaml 0000644 00000000662 15217654532 0014600 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: An array of attributes which parallels the characters in a string constants: [] full_name: SM::AttrSpan includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: set_attrs name: AttrSpan superclass: Object ri/1.8/system/SM/AttrSpan/set_attrs-i.yaml 0000644 00000000305 15217654532 0014215 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::AttrSpan#set_attrs is_singleton: false name: set_attrs params: (start, length, bits) visibility: public ri/1.8/system/SM/AttrChanger/to_s-i.yaml 0000644 00000000253 15217654532 0013621 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::AttrChanger#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/SM/AttrChanger/cdesc-AttrChanger.yaml 0000644 00000000363 15217654532 0015712 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SM::AttrChanger includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_s name: AttrChanger superclass: Object ri/1.8/system/SM/ToLaTeX/new-c.yaml 0000644 00000000245 15217654532 0012517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SM/ToLaTeX/on_tags-i.yaml 0000644 00000000272 15217654532 0013366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: SM::ToLaTeX#on_tags is_singleton: false name: on_tags params: (res, item) visibility: private ri/1.8/system/SM/ToLaTeX/accept_verbatim-i.yaml 0000644 00000000311 15217654532 0015056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX#accept_verbatim is_singleton: false name: accept_verbatim params: (am, fragment) visibility: public ri/1.8/system/SM/ToLaTeX/accept_rule-i.yaml 0000644 00000000301 15217654532 0014213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX#accept_rule is_singleton: false name: accept_rule params: (am, fragment) visibility: public ri/1.8/system/SM/ToLaTeX/cdesc-ToLaTeX.yaml 0000644 00000006251 15217654532 0014050 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: l - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Convert SimpleMarkup to basic LaTeX report format constants: - !ruby/object:RI::Constant comment: name: BS value: "\"\\020\"" - !ruby/object:RI::Constant comment: name: CB value: "\"\\022\"" - !ruby/object:RI::Constant comment: name: DL value: "\"\\023\"" - !ruby/object:RI::Constant comment: name: BACKSLASH value: "\"#{BS}symbol#{OB}92#{CB}\"" - !ruby/object:RI::Constant comment: name: HAT value: "\"#{BS}symbol#{OB}94#{CB}\"" - !ruby/object:RI::Constant comment: name: BACKQUOTE value: "\"#{BS}symbol#{OB}0#{CB}\"" - !ruby/object:RI::Constant comment: name: TILDE value: "\"#{DL}#{BS}sim#{DL}\"" - !ruby/object:RI::Constant comment: name: LESSTHAN value: "\"#{DL}<#{DL}\"" - !ruby/object:RI::Constant comment: name: GREATERTHAN value: "\"#{DL}>#{DL}\"" - !ruby/object:RI::Constant comment: name: LIST_TYPE_TO_LATEX value: "{ ListBase::BULLET => [ l(\"\\\\begin{itemize}\"), l(\"\\\\end{itemize}\") ], ListBase::NUMBER => [ l(\"\\\\begin{enumerate}\"), l(\"\\\\end{enumerate}\"), \"\\\\arabic\" ], ListBase::UPPERALPHA => [ l(\"\\\\begin{enumerate}\"), l(\"\\\\end{enumerate}\"), \"\\\\Alph\" ], ListBase::LOWERALPHA => [ l(\"\\\\begin{enumerate}\"), l(\"\\\\end{enumerate}\"), \"\\\\alph\" ], ListBase::LABELED => [ l(\"\\\\begin{description}\"), l(\"\\\\end{description}\") ], ListBase::NOTE => [ l(\"\\\\begin{tabularx}{\\\\linewidth}{@{} l X @{}}\"), l(\"\\\\end{tabularx}\") ], }" - !ruby/object:RI::Constant comment: name: InlineTag value: Struct.new(:bit, :on, :off) full_name: SM::ToLaTeX includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: accept_blank_line - !ruby/object:RI::MethodSummary name: accept_heading - !ruby/object:RI::MethodSummary name: accept_list_end - !ruby/object:RI::MethodSummary name: accept_list_item - !ruby/object:RI::MethodSummary name: accept_list_start - !ruby/object:RI::MethodSummary name: accept_paragraph - !ruby/object:RI::MethodSummary name: accept_rule - !ruby/object:RI::MethodSummary name: accept_verbatim - !ruby/object:RI::MethodSummary name: add_tag - !ruby/object:RI::MethodSummary name: convert_flow - !ruby/object:RI::MethodSummary name: convert_heading - !ruby/object:RI::MethodSummary name: convert_special - !ruby/object:RI::MethodSummary name: convert_string - !ruby/object:RI::MethodSummary name: end_accepting - !ruby/object:RI::MethodSummary name: escape - !ruby/object:RI::MethodSummary name: init_tags - !ruby/object:RI::MethodSummary name: l - !ruby/object:RI::MethodSummary name: list_end_for - !ruby/object:RI::MethodSummary name: list_item_start - !ruby/object:RI::MethodSummary name: list_name - !ruby/object:RI::MethodSummary name: off_tags - !ruby/object:RI::MethodSummary name: on_tags - !ruby/object:RI::MethodSummary name: start_accepting - !ruby/object:RI::MethodSummary name: wrap name: ToLaTeX superclass: Object ri/1.8/system/SM/ToLaTeX/convert_special-i.yaml 0000644 00000000305 15217654532 0015111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX#convert_special is_singleton: false name: convert_special params: (special) visibility: private ri/1.8/system/SM/ToLaTeX/accept_list_start-i.yaml 0000644 00000000315 15217654532 0015441 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX#accept_list_start is_singleton: false name: accept_list_start params: (am, fragment) visibility: public ri/1.8/system/SM/ToLaTeX/convert_flow-i.yaml 0000644 00000000274 15217654532 0014445 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX#convert_flow is_singleton: false name: convert_flow params: (flow) visibility: private ri/1.8/system/SM/ToLaTeX/accept_list_end-i.yaml 0000644 00000000311 15217654532 0015046 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX#accept_list_end is_singleton: false name: accept_list_end params: (am, fragment) visibility: public ri/1.8/system/SM/ToLaTeX/accept_paragraph-i.yaml 0000644 00000000313 15217654532 0015214 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX#accept_paragraph is_singleton: false name: accept_paragraph params: (am, fragment) visibility: public ri/1.8/system/SM/ToLaTeX/l-c.yaml 0000644 00000000244 15217654532 0012160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX::l is_singleton: true name: l params: (str) visibility: public ri/1.8/system/SM/ToLaTeX/convert_string-i.yaml 0000644 00000000431 15217654532 0014777 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: some of these patterns are taken from SmartyPants... full_name: SM::ToLaTeX#convert_string is_singleton: false name: convert_string params: (item) visibility: private ri/1.8/system/SM/ToLaTeX/list_end_for-i.yaml 0000644 00000000305 15217654532 0014400 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX#list_end_for is_singleton: false name: list_end_for params: (fragment_type) visibility: private ri/1.8/system/SM/ToLaTeX/accept_heading-i.yaml 0000644 00000000307 15217654532 0014651 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX#accept_heading is_singleton: false name: accept_heading params: (am, fragment) visibility: public ri/1.8/system/SM/ToLaTeX/off_tags-i.yaml 0000644 00000000271 15217654532 0013523 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX#off_tags is_singleton: false name: off_tags params: (res, item) visibility: private ri/1.8/system/SM/ToLaTeX/add_tag-i.yaml 0000644 00000000505 15217654532 0013316 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Add a new set of LaTeX tags for an attribute. We allow separate start and end tags for flexibility full_name: SM::ToLaTeX#add_tag is_singleton: false name: add_tag params: (name, start, stop) visibility: public ri/1.8/system/SM/ToLaTeX/accept_list_item-i.yaml 0000644 00000000313 15217654532 0015240 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX#accept_list_item is_singleton: false name: accept_list_item params: (am, fragment) visibility: public ri/1.8/system/SM/ToLaTeX/start_accepting-i.yaml 0000644 00000000417 15217654532 0015107 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Here's the client side of the visitor pattern full_name: SM::ToLaTeX#start_accepting is_singleton: false name: start_accepting params: () visibility: public ri/1.8/system/SM/ToLaTeX/wrap-i.yaml 0000644 00000000421 15217654532 0012701 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This is a higher speed (if messier) version of wrap full_name: SM::ToLaTeX#wrap is_singleton: false name: wrap params: (txt, line_len = 76) visibility: public ri/1.8/system/SM/ToLaTeX/l-i.yaml 0000644 00000000244 15217654532 0012166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX#l is_singleton: false name: l params: (arg) visibility: public ri/1.8/system/SM/ToLaTeX/list_name-i.yaml 0000644 00000000310 15217654532 0013700 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX#list_name is_singleton: false name: list_name params: (list_type, is_open_tag) visibility: private ri/1.8/system/SM/ToLaTeX/init_tags-i.yaml 0000644 00000000410 15217654532 0013707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set up the standard mapping of attributes to LaTeX full_name: SM::ToLaTeX#init_tags is_singleton: false name: init_tags params: () visibility: public ri/1.8/system/SM/ToLaTeX/escape-i.yaml 0000644 00000000350 15217654532 0013171 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Escape a LaTeX string full_name: SM::ToLaTeX#escape is_singleton: false name: escape params: (str) visibility: public ri/1.8/system/SM/ToLaTeX/end_accepting-i.yaml 0000644 00000000271 15217654532 0014516 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX#end_accepting is_singleton: false name: end_accepting params: () visibility: public ri/1.8/system/SM/ToLaTeX/convert_heading-i.yaml 0000644 00000000311 15217654532 0015065 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX#convert_heading is_singleton: false name: convert_heading params: (level, flow) visibility: private ri/1.8/system/SM/ToLaTeX/list_item_start-i.yaml 0000644 00000000312 15217654532 0015135 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX#list_item_start is_singleton: false name: list_item_start params: (am, fragment) visibility: private ri/1.8/system/SM/ToLaTeX/accept_blank_line-i.yaml 0000644 00000000315 15217654532 0015347 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToLaTeX#accept_blank_line is_singleton: false name: accept_blank_line params: (am, fragment) visibility: public ri/1.8/system/SM/PreProcess/new-c.yaml 0000644 00000000305 15217654532 0013321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::PreProcess::new is_singleton: true name: new params: (input_file_name, include_path) visibility: public ri/1.8/system/SM/PreProcess/handle-i.yaml 0000644 00000000576 15217654532 0014003 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (directive, param) comment: - !ruby/struct:SM::Flow::P body: Look for common options in a chunk of text. Options that we don't handle are passed back to our caller as |directive, param| full_name: SM::PreProcess#handle is_singleton: false name: handle params: (text) {|directive, param| ...} visibility: public ri/1.8/system/SM/PreProcess/include_file-i.yaml 0000644 00000000422 15217654532 0015160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Include a file, indenting it correctly full_name: SM::PreProcess#include_file is_singleton: false name: include_file params: (name, indent) visibility: private ri/1.8/system/SM/PreProcess/find_include_file-i.yaml 0000644 00000000572 15217654532 0016166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Look for the given file in the directory containing the current file, and then in each of the directories specified in the RDOC_INCLUDE path full_name: SM::PreProcess#find_include_file is_singleton: false name: find_include_file params: (name) visibility: private ri/1.8/system/SM/PreProcess/cdesc-PreProcess.yaml 0000644 00000001056 15217654532 0015460 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "Handle common directives that can occur in a block of text:" - !ruby/struct:SM::Flow::P body: ": include : filename" constants: [] full_name: SM::PreProcess includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: find_include_file - !ruby/object:RI::MethodSummary name: handle - !ruby/object:RI::MethodSummary name: include_file name: PreProcess superclass: Object ri/1.8/system/SM/ListItem/cdesc-ListItem.yaml 0000644 00000000303 15217654532 0014564 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SM::ListItem includes: [] instance_methods: [] name: ListItem superclass: ListBase ri/1.8/system/SM/Attribute/cdesc-Attribute.yaml 0000644 00000001027 15217654532 0015212 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: as_string - !ruby/object:RI::MethodSummary name: bitmap_for - !ruby/object:RI::MethodSummary name: each_name_of comment: - !ruby/struct:SM::Flow::P body: We manage a set of attributes. Each attribute has a symbol name and a bit value constants: - !ruby/object:RI::Constant comment: name: SPECIAL value: "1" full_name: SM::Attribute includes: [] instance_methods: [] name: Attribute superclass: Object ri/1.8/system/SM/Attribute/bitmap_for-c.yaml 0000644 00000000271 15217654532 0014532 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Attribute::bitmap_for is_singleton: true name: bitmap_for params: (name) visibility: public ri/1.8/system/SM/Attribute/each_name_of-c.yaml 0000644 00000000410 15217654532 0014767 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: name.to_s if (bitmap & bit) != 0 comment: full_name: SM::Attribute::each_name_of is_singleton: true name: each_name_of params: (bitmap) {|name.to_s if (bitmap & bit) != 0| ...} visibility: public ri/1.8/system/SM/Attribute/as_string-c.yaml 0000644 00000000271 15217654532 0014401 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Attribute::as_string is_singleton: true name: as_string params: (bitmap) visibility: public ri/1.8/system/SM/SimpleMarkup/new-c.yaml 0000644 00000000565 15217654532 0013655 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: take a block of text and use various heuristics to determine it's structure (paragraphs, lists, and so on). Invoke an event handler as we identify significant chunks. full_name: SM::SimpleMarkup::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SM/SimpleMarkup/cdesc-SimpleMarkup.yaml 0000644 00000006550 15217654532 0016334 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::H level: 2 text: Synopsis - !ruby/struct:SM::Flow::P body: This code converts input_string, which is in the format described in markup/simple_markup.rb, to HTML. The conversion takes place in the convert method, so you can use the same SimpleMarkup object to convert multiple input strings. - !ruby/struct:SM::Flow::VERB body: " require 'rdoc/markup/simple_markup'\n require 'rdoc/markup/simple_markup/to_html'\n\n p = SM::SimpleMarkup.new\n h = SM::ToHtml.new\n\n puts p.convert(input_string, h)\n" - !ruby/struct:SM::Flow::P body: "You can extend the SimpleMarkup parser to recognise new markup sequences, and to add special processing for text that matches a regular epxression. Here we make WikiWords significant to the parser, and also make the sequences {word} and <no>text...</no> signify strike-through text. When then subclass the HTML output class to deal with these:" - !ruby/struct:SM::Flow::VERB body: " require 'rdoc/markup/simple_markup'\n require 'rdoc/markup/simple_markup/to_html'\n\n class WikiHtml < SM::ToHtml\n def handle_special_WIKIWORD(special)\n "<font color=red>" + special.text + "</font>"\n end\n end\n\n p = SM::SimpleMarkup.new\n p.add_word_pair("{", "}", :STRIKE)\n p.add_html("no", :STRIKE)\n\n p.add_special(/\\b([A-Z][a-z]+[A-Z]\\w+)/, :WIKIWORD)\n\n h = WikiHtml.new\n h.add_tag(:STRIKE, "<strike>", "</strike>")\n\n puts "<body>" + p.convert(ARGF.read, h) + "</body>"\n" - !ruby/struct:SM::Flow::H level: 2 text: Output Formatters - !ruby/struct:SM::Flow::P body: missing constants: - !ruby/object:RI::Constant comment: name: SPACE value: ?\s - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: "List entries look like:" - !ruby/struct:SM::Flow::VERB body: " * text\n 1. text\n [label] text\n label:: text\n" - !ruby/struct:SM::Flow::P body: Flag it as a list entry, and work out the indent for subsequent lines name: SIMPLE_LIST_RE value: /^( ( \* (?# bullet) |- (?# bullet) |\d+\. (?# numbered ) |[A-Za-z]\. (?# alphabetically numbered ) ) \s+ )\S/x - !ruby/object:RI::Constant comment: name: LABEL_LIST_RE value: "/^( ( \\[.*?\\] (?# labeled ) |\\S.*:: (?# note ) )(?:\\s+|$) )/x" full_name: SM::SimpleMarkup includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_html - !ruby/object:RI::MethodSummary name: add_special - !ruby/object:RI::MethodSummary name: add_word_pair - !ruby/object:RI::MethodSummary name: assign_types_to_lines - !ruby/object:RI::MethodSummary name: content - !ruby/object:RI::MethodSummary name: convert - !ruby/object:RI::MethodSummary name: get_line_types - !ruby/object:RI::MethodSummary name: group_lines - !ruby/object:RI::MethodSummary name: handled_labeled_list name: SimpleMarkup superclass: Object ri/1.8/system/SM/SimpleMarkup/convert-i.yaml 0000644 00000000674 15217654532 0014553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: We take a string, split it into lines, work out the type of each line, and from there deduce groups of lines (for example all lines in a paragraph). We then invoke the output formatter using a Visitor to display the result full_name: SM::SimpleMarkup#convert is_singleton: false name: convert params: (str, op) visibility: public ri/1.8/system/SM/SimpleMarkup/get_line_types-i.yaml 0000644 00000000421 15217654532 0016073 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: for debugging, return the list of line types full_name: SM::SimpleMarkup#get_line_types is_singleton: false name: get_line_types params: () visibility: public ri/1.8/system/SM/SimpleMarkup/assign_types_to_lines-i.yaml 0000644 00000000603 15217654532 0017467 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Look through the text at line indentation. We flag each line as being Blank, a paragraph, a list element, or verbatim text full_name: SM::SimpleMarkup#assign_types_to_lines is_singleton: false name: assign_types_to_lines params: (margin = 0, level = 0) visibility: private ri/1.8/system/SM/SimpleMarkup/add_word_pair-i.yaml 0000644 00000000665 15217654532 0015671 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Add to the sequences used to add formatting to an individual word (such as bold). Matching entries will generate attibutes that the output formatters can recognize by their name full_name: SM::SimpleMarkup#add_word_pair is_singleton: false name: add_word_pair params: (start, stop, name) visibility: public ri/1.8/system/SM/SimpleMarkup/group_lines-i.yaml 0000644 00000001046 15217654533 0015414 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Return a block consisting of fragments which are paragraphs, list entries or verbatim text. We merge consecutive lines of the same type and level together. We are also slightly tricky with lists: the lines following a list introduction look like paragraph lines at the next level, and we remap them into list entries instead" full_name: SM::SimpleMarkup#group_lines is_singleton: false name: group_lines params: () visibility: private ri/1.8/system/SM/SimpleMarkup/handled_labeled_list-i.yaml 0000644 00000002035 15217654533 0017167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Handle labeled list entries, We have a special case to deal with. Because the labels can be long, they force the remaining block of text over the to right:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "this is a long label that I wrote:" body: and here is the block of text with a silly margin type: :NOTE - !ruby/struct:SM::Flow::P body: So we allow the special case. If the label is followed by nothing, and if the following line is indented, then we take the indent of that line as the new margin - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "this is a long label that I wrote:" body: here is a more reasonably indented block which will ab attached to the label. type: :NOTE full_name: SM::SimpleMarkup#handled_labeled_list is_singleton: false name: handled_labeled_list params: (line, level, margin, offset, prefix) visibility: private ri/1.8/system/SM/SimpleMarkup/add_special-i.yaml 0000644 00000001052 15217654533 0015313 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Add to other inline sequences. For example, we could add WikiWords using something like:" - !ruby/struct:SM::Flow::VERB body: " parser.add_special(/\\b([A-Z][a-z]+[A-Z]\\w+)/, :WIKIWORD)\n" - !ruby/struct:SM::Flow::P body: Each wiki word will be presented to the output formatter via the accept_special method full_name: SM::SimpleMarkup#add_special is_singleton: false name: add_special params: (pattern, name) visibility: public ri/1.8/system/SM/SimpleMarkup/content-i.yaml 0000644 00000000422 15217654533 0014535 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: for debugging, we allow access to our line contents as text full_name: SM::SimpleMarkup#content is_singleton: false name: content params: () visibility: public ri/1.8/system/SM/SimpleMarkup/add_html-i.yaml 0000644 00000000423 15217654533 0014640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Add to the sequences recognized as general markup full_name: SM::SimpleMarkup#add_html is_singleton: false name: add_html params: (tag, name) visibility: public ri/1.8/system/SM/Line/new-c.yaml 0000644 00000000246 15217654533 0012130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Line::new is_singleton: true name: new params: (text) visibility: public ri/1.8/system/SM/Line/to_s-i.yaml 0000644 00000000244 15217654533 0012307 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Line#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/SM/Line/cdesc-Line.yaml 0000644 00000003675 15217654533 0013076 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: true if this line has been deleted from the list of lines name: deleted rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: A flag. For list lines, this is the type of the list name: flag rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: the number of leading spaces name: leading_spaces rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The indentation nesting level name: level rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: A prefix or parameter. For LIST lines, this is the text that introduced the list item (the label) name: param rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The contents name: text rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: line type name: type rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: INFINITY value: "9999" - !ruby/object:RI::Constant comment: name: BLANK value: ":BLANK" - !ruby/object:RI::Constant comment: name: HEADING value: ":HEADING" - !ruby/object:RI::Constant comment: name: LIST value: ":LIST" - !ruby/object:RI::Constant comment: name: RULE value: ":RULE" - !ruby/object:RI::Constant comment: name: PARAGRAPH value: ":PARAGRAPH" - !ruby/object:RI::Constant comment: name: VERBATIM value: ":VERBATIM" full_name: SM::Line includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: isBlank? - !ruby/object:RI::MethodSummary name: stamp - !ruby/object:RI::MethodSummary name: strip_leading - !ruby/object:RI::MethodSummary name: to_s name: Line superclass: Object ri/1.8/system/SM/Line/isBlank%3f-i.yaml 0000644 00000000362 15217654533 0013225 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return true if this line is blank full_name: SM::Line#isBlank? is_singleton: false name: isBlank? params: () visibility: public ri/1.8/system/SM/Line/stamp-i.yaml 0000644 00000000441 15217654533 0012466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: stamp a line with a type, a level, a prefix, and a flag full_name: SM::Line#stamp is_singleton: false name: stamp params: (type, level, param="", flag=nil) visibility: public ri/1.8/system/SM/Line/strip_leading-i.yaml 0000644 00000000373 15217654533 0014172 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Strip off the leading margin full_name: SM::Line#strip_leading is_singleton: false name: strip_leading params: (size) visibility: public ri/1.8/system/SM/Fragment/new-c.yaml 0000644 00000000275 15217654533 0013006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Fragment::new is_singleton: true name: new params: (level, param, type, txt) visibility: public ri/1.8/system/SM/Fragment/to_s-i.yaml 0000644 00000000250 15217654533 0013160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Fragment#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/SM/Fragment/for-c.yaml 0000644 00000000252 15217654533 0012776 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Fragment::for is_singleton: true name: for params: (line) visibility: public ri/1.8/system/SM/Fragment/add_text-i.yaml 0000644 00000000263 15217654533 0014014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Fragment#add_text is_singleton: false name: add_text params: (txt) visibility: public ri/1.8/system/SM/Fragment/cdesc-Fragment.yaml 0000644 00000002000 15217654533 0014603 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: level rw: R - !ruby/object:RI::Attribute comment: name: param rw: R - !ruby/object:RI::Attribute comment: name: txt rw: R - !ruby/object:RI::Attribute comment: name: type rw: RW class_methods: - !ruby/object:RI::MethodSummary name: for - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: type_name comment: - !ruby/struct:SM::Flow::P body: A Fragment is a chunk of text, subclassed as a paragraph, a list entry, or verbatim text constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: This is a simple factory system that lets us associate fragement types (a string) with a subclass of fragment name: TYPE_MAP value: "{}" full_name: SM::Fragment includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_text - !ruby/object:RI::MethodSummary name: to_s name: Fragment superclass: Object ri/1.8/system/SM/Fragment/type_name-c.yaml 0000644 00000000266 15217654533 0014176 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Fragment::type_name is_singleton: true name: type_name params: (name) visibility: public ri/1.8/system/SM/AttributeManager/new-c.yaml 0000644 00000000256 15217654533 0014500 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::AttributeManager::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SM/AttributeManager/convert_attrs-i.yaml 0000644 00000000602 15217654533 0016605 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Map attributes like textto the sequence \001\002<char>\001\003<char>, where <char> is a per-attribute specific character full_name: SM::AttributeManager#convert_attrs is_singleton: false name: convert_attrs params: (str, attrs) visibility: public ri/1.8/system/SM/AttributeManager/changed_attribute_by_name-i.yaml 0000644 00000000356 15217654533 0021064 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::AttributeManager#changed_attribute_by_name is_singleton: false name: changed_attribute_by_name params: (current_set, new_set) visibility: public ri/1.8/system/SM/AttributeManager/change_attribute-i.yaml 0000644 00000000324 15217654533 0017221 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::AttributeManager#change_attribute is_singleton: false name: change_attribute params: (current, new) visibility: public ri/1.8/system/SM/AttributeManager/cdesc-AttributeManager.yaml 0000644 00000005342 15217654533 0020005 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: "NULL" value: "\"\\000\".freeze" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: We work by substituting non-printing characters in to the text. For now I'm assuming that I can substitute a character in the range 0..8 for a 7 bit character without damaging the encoded string, but this might be optimistic name: A_PROTECT value: "004" - !ruby/object:RI::Constant comment: name: PROTECT_ATTR value: A_PROTECT.chr - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: This maps delimiters that occur around words (such as bold or tt) where the start and end delimiters and the same. This lets us optimize the regexp name: MATCHING_WORD_PAIRS value: "{}" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: And this is used when the delimiters aren't the same. In this case the hash maps a pattern to the attribute character name: WORD_PAIR_MAP value: "{}" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: This maps HTML tags to the corresponding attribute char name: HTML_TAGS value: "{}" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: And this maps special sequences to a name. A special sequence is something like a WikiWord name: SPECIAL value: "{}" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: A \ in front of a character that would normally be processed turns off processing. We do this by turning < into <#{PROTECT} name: PROTECTABLE value: "[ \"<\" << \"\\\\\" ]" full_name: SM::AttributeManager includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_html - !ruby/object:RI::MethodSummary name: add_special - !ruby/object:RI::MethodSummary name: add_word_pair - !ruby/object:RI::MethodSummary name: attribute - !ruby/object:RI::MethodSummary name: change_attribute - !ruby/object:RI::MethodSummary name: changed_attribute_by_name - !ruby/object:RI::MethodSummary name: convert_attrs - !ruby/object:RI::MethodSummary name: convert_html - !ruby/object:RI::MethodSummary name: convert_specials - !ruby/object:RI::MethodSummary name: copy_string - !ruby/object:RI::MethodSummary name: display_attributes - !ruby/object:RI::MethodSummary name: flow - !ruby/object:RI::MethodSummary name: mask_protected_sequences - !ruby/object:RI::MethodSummary name: split_into_flow - !ruby/object:RI::MethodSummary name: unmask_protected_sequences name: AttributeManager superclass: Object ri/1.8/system/SM/AttributeManager/split_into_flow-i.yaml 0000644 00000000306 15217654533 0017124 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::AttributeManager#split_into_flow is_singleton: false name: split_into_flow params: () visibility: public ri/1.8/system/SM/AttributeManager/add_word_pair-i.yaml 0000644 00000000323 15217654533 0016506 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::AttributeManager#add_word_pair is_singleton: false name: add_word_pair params: (start, stop, name) visibility: public ri/1.8/system/SM/AttributeManager/mask_protected_sequences-i.yaml 0000644 00000000330 15217654533 0020765 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::AttributeManager#mask_protected_sequences is_singleton: false name: mask_protected_sequences params: () visibility: public ri/1.8/system/SM/AttributeManager/display_attributes-i.yaml 0000644 00000000314 15217654533 0017623 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::AttributeManager#display_attributes is_singleton: false name: display_attributes params: () visibility: public ri/1.8/system/SM/AttributeManager/convert_specials-i.yaml 0000644 00000000322 15217654533 0017252 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::AttributeManager#convert_specials is_singleton: false name: convert_specials params: (str, attrs) visibility: public ri/1.8/system/SM/AttributeManager/flow-i.yaml 0000644 00000000263 15217654533 0014662 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::AttributeManager#flow is_singleton: false name: flow params: (str) visibility: public ri/1.8/system/SM/AttributeManager/copy_string-i.yaml 0000644 00000000320 15217654533 0016245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::AttributeManager#copy_string is_singleton: false name: copy_string params: (start_pos, end_pos) visibility: public ri/1.8/system/SM/AttributeManager/add_special-i.yaml 0000644 00000000313 15217654533 0016137 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::AttributeManager#add_special is_singleton: false name: add_special params: (pattern, name) visibility: public ri/1.8/system/SM/AttributeManager/attribute-i.yaml 0000644 00000000467 15217654533 0015724 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return an attribute object with the given turn_on and turn_off bits set full_name: SM::AttributeManager#attribute is_singleton: false name: attribute params: (turn_on, turn_off) visibility: public ri/1.8/system/SM/AttributeManager/convert_html-i.yaml 0000644 00000000312 15217654533 0016412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::AttributeManager#convert_html is_singleton: false name: convert_html params: (str, attrs) visibility: public ri/1.8/system/SM/AttributeManager/add_html-i.yaml 0000644 00000000301 15217654533 0015460 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::AttributeManager#add_html is_singleton: false name: add_html params: (tag, name) visibility: public ri/1.8/system/SM/AttributeManager/unmask_protected_sequences-i.yaml 0000644 00000000334 15217654533 0021334 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::AttributeManager#unmask_protected_sequences is_singleton: false name: unmask_protected_sequences params: () visibility: public ri/1.8/system/SM/ListEnd/new-c.yaml 0000644 00000000260 15217654533 0012577 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ListEnd::new is_singleton: true name: new params: (level, type) visibility: public ri/1.8/system/SM/ListEnd/cdesc-ListEnd.yaml 0000644 00000000354 15217654533 0014213 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SM::ListEnd includes: [] instance_methods: [] name: ListEnd superclass: ListBase ri/1.8/system/SM/Lines/new-c.yaml 0000644 00000000250 15217654533 0012306 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Lines::new is_singleton: true name: new params: (lines) visibility: public ri/1.8/system/SM/Lines/cdesc-Lines.yaml 0000644 00000001521 15217654533 0013430 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: lines rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: A container for all the lines constants: [] full_name: SM::Lines includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: as_text - !ruby/object:RI::MethodSummary name: delete - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: line_types - !ruby/object:RI::MethodSummary name: next - !ruby/object:RI::MethodSummary name: normalize - !ruby/object:RI::MethodSummary name: rewind - !ruby/object:RI::MethodSummary name: unget name: Lines superclass: Object ri/1.8/system/SM/Lines/rewind-i.yaml 0000644 00000000476 15217654533 0013025 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: def [](index) - !ruby/struct:SM::Flow::VERB body: " @lines[index]\n" - !ruby/struct:SM::Flow::P body: end full_name: SM::Lines#rewind is_singleton: false name: rewind params: () visibility: public ri/1.8/system/SM/Lines/delete-i.yaml 0000644 00000000257 15217654533 0012774 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Lines#delete is_singleton: false name: delete params: (a_line) visibility: public ri/1.8/system/SM/Lines/unget-i.yaml 0000644 00000000247 15217654533 0012653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Lines#unget is_singleton: false name: unget params: () visibility: public ri/1.8/system/SM/Lines/line_types-i.yaml 0000644 00000000261 15217654533 0013700 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Lines#line_types is_singleton: false name: line_types params: () visibility: public ri/1.8/system/SM/Lines/as_text-i.yaml 0000644 00000000253 15217654533 0013175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Lines#as_text is_singleton: false name: as_text params: () visibility: public ri/1.8/system/SM/Lines/each-i.yaml 0000644 00000000336 15217654533 0012430 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: line unless line.deleted comment: full_name: SM::Lines#each is_singleton: false name: each params: () {|line unless line.deleted| ...} visibility: public ri/1.8/system/SM/Lines/next-i.yaml 0000644 00000000245 15217654533 0012505 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Lines#next is_singleton: false name: next params: () visibility: public ri/1.8/system/SM/Lines/empty%3f-i.yaml 0000644 00000000251 15217654533 0013160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Lines#empty? is_singleton: false name: empty? params: () visibility: public ri/1.8/system/SM/Lines/normalize-i.yaml 0000644 00000000257 15217654533 0013532 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Lines#normalize is_singleton: false name: normalize params: () visibility: public ri/1.8/system/SM/BlankLine/cdesc-BlankLine.yaml 0000644 00000000306 15217654533 0015002 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SM::BlankLine includes: [] instance_methods: [] name: BlankLine superclass: Paragraph ri/1.8/system/SM/Heading/head_level-i.yaml 0000644 00000000263 15217654533 0014104 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Heading#head_level is_singleton: false name: head_level params: () visibility: public ri/1.8/system/SM/Heading/cdesc-Heading.yaml 0000644 00000000364 15217654533 0014206 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: SM::Heading includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: head_level name: Heading superclass: Paragraph ri/1.8/system/SM/ListStart/new-c.yaml 0000644 00000000271 15217654533 0013170 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ListStart::new is_singleton: true name: new params: (level, param, type) visibility: public ri/1.8/system/SM/ListStart/cdesc-ListStart.yaml 0000644 00000000360 15217654533 0015166 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SM::ListStart includes: [] instance_methods: [] name: ListStart superclass: ListBase ri/1.8/system/SM/cdesc-SM.yaml 0000644 00000000376 15217654533 0011632 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: require 'rdoc/markup/simple_markup/to_flow.rb' constants: [] full_name: SM includes: [] instance_methods: [] name: SM superclass: ri/1.8/system/SM/Rule/cdesc-Rule.yaml 0000644 00000000361 15217654533 0013123 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: A horizontal rule constants: [] full_name: SM::Rule includes: [] instance_methods: [] name: Rule superclass: Fragment ri/1.8/system/SM/Flow/LIST/new-c.yaml 0000644 00000000254 15217654533 0012722 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Flow::LIST::new is_singleton: true name: new params: (type) visibility: public ri/1.8/system/SM/Flow/LIST/%3c%3c-i.yaml 0000644 00000000255 15217654533 0013005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Flow::LIST#<< is_singleton: false name: "<<" params: (stuff) visibility: public ri/1.8/system/SM/Flow/LIST/cdesc-LIST.yaml 0000644 00000000625 15217654533 0013545 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: contents rw: R - !ruby/object:RI::Attribute comment: name: type rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: SM::Flow::LIST includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" name: LIST superclass: Object ri/1.8/system/SM/Flow/cdesc-Flow.yaml 0000644 00000001116 15217654533 0013122 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: P value: Struct.new(:body) - !ruby/object:RI::Constant comment: name: VERB value: Struct.new(:body) - !ruby/object:RI::Constant comment: name: RULE value: Struct.new(:width) - !ruby/object:RI::Constant comment: name: LI value: Struct.new(:label, :body) - !ruby/object:RI::Constant comment: name: H value: Struct.new(:level, :text) full_name: SM::Flow includes: [] instance_methods: [] name: Flow superclass: ri/1.8/system/SM/ToHtml/new-c.yaml 0000644 00000000244 15217654533 0012446 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToHtml::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SM/ToHtml/on_tags-i.yaml 0000644 00000000271 15217654533 0013315 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: SM::ToHtml#on_tags is_singleton: false name: on_tags params: (res, item) visibility: private ri/1.8/system/SM/ToHtml/cdesc-ToHtml.yaml 0000644 00000003734 15217654533 0013732 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: LIST_TYPE_TO_HTML value: "{ ListBase::BULLET => [ \"\", \"\" ], ListBase::NUMBER => [ \"\", \"\" ], ListBase::UPPERALPHA => [ \"\", \"\" ], ListBase::LOWERALPHA => [ \"\", \"\" ], ListBase::LABELED => [ \"\", \"\" ], ListBase::NOTE => [ \"\", \"\" ], }" - !ruby/object:RI::Constant comment: name: InlineTag value: Struct.new(:bit, :on, :off) full_name: SM::ToHtml includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: accept_blank_line - !ruby/object:RI::MethodSummary name: accept_heading - !ruby/object:RI::MethodSummary name: accept_list_end - !ruby/object:RI::MethodSummary name: accept_list_item - !ruby/object:RI::MethodSummary name: accept_list_start - !ruby/object:RI::MethodSummary name: accept_paragraph - !ruby/object:RI::MethodSummary name: accept_rule - !ruby/object:RI::MethodSummary name: accept_verbatim - !ruby/object:RI::MethodSummary name: add_tag - !ruby/object:RI::MethodSummary name: annotate - !ruby/object:RI::MethodSummary name: convert_flow - !ruby/object:RI::MethodSummary name: convert_heading - !ruby/object:RI::MethodSummary name: convert_special - !ruby/object:RI::MethodSummary name: convert_string - !ruby/object:RI::MethodSummary name: end_accepting - !ruby/object:RI::MethodSummary name: html_list_name - !ruby/object:RI::MethodSummary name: init_tags - !ruby/object:RI::MethodSummary name: list_end_for - !ruby/object:RI::MethodSummary name: list_item_start - !ruby/object:RI::MethodSummary name: off_tags - !ruby/object:RI::MethodSummary name: on_tags - !ruby/object:RI::MethodSummary name: start_accepting - !ruby/object:RI::MethodSummary name: wrap name: ToHtml superclass: Object ri/1.8/system/SM/ToHtml/accept_verbatim-i.yaml 0000644 00000000310 15217654533 0015005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToHtml#accept_verbatim is_singleton: false name: accept_verbatim params: (am, fragment) visibility: public ri/1.8/system/SM/ToHtml/accept_rule-i.yaml 0000644 00000000300 15217654533 0014142 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToHtml#accept_rule is_singleton: false name: accept_rule params: (am, fragment) visibility: public ri/1.8/system/SM/ToHtml/convert_special-i.yaml 0000644 00000000304 15217654533 0015040 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToHtml#convert_special is_singleton: false name: convert_special params: (special) visibility: private ri/1.8/system/SM/ToHtml/accept_list_start-i.yaml 0000644 00000000314 15217654533 0015370 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToHtml#accept_list_start is_singleton: false name: accept_list_start params: (am, fragment) visibility: public ri/1.8/system/SM/ToHtml/convert_flow-i.yaml 0000644 00000000273 15217654533 0014374 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToHtml#convert_flow is_singleton: false name: convert_flow params: (flow) visibility: private ri/1.8/system/SM/ToHtml/accept_list_end-i.yaml 0000644 00000000310 15217654533 0014775 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToHtml#accept_list_end is_singleton: false name: accept_list_end params: (am, fragment) visibility: public ri/1.8/system/SM/ToHtml/accept_paragraph-i.yaml 0000644 00000000312 15217654533 0015143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToHtml#accept_paragraph is_singleton: false name: accept_paragraph params: (am, fragment) visibility: public ri/1.8/system/SM/ToHtml/annotate-i.yaml 0000644 00000000615 15217654533 0013476 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Given an HTML tag, decorate it with class information and the like if required. This is a no-op in the base class, but is overridden in HTML output classes that implement style sheets full_name: SM::ToHtml#annotate is_singleton: false name: annotate params: (tag) visibility: public ri/1.8/system/SM/ToHtml/convert_string-i.yaml 0000644 00000000430 15217654533 0014726 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: some of these patterns are taken from SmartyPants... full_name: SM::ToHtml#convert_string is_singleton: false name: convert_string params: (item) visibility: private ri/1.8/system/SM/ToHtml/list_end_for-i.yaml 0000644 00000000304 15217654533 0014327 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToHtml#list_end_for is_singleton: false name: list_end_for params: (fragment_type) visibility: private ri/1.8/system/SM/ToHtml/accept_heading-i.yaml 0000644 00000000306 15217654533 0014600 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToHtml#accept_heading is_singleton: false name: accept_heading params: (am, fragment) visibility: public ri/1.8/system/SM/ToHtml/off_tags-i.yaml 0000644 00000000270 15217654533 0013452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToHtml#off_tags is_singleton: false name: off_tags params: (res, item) visibility: private ri/1.8/system/SM/ToHtml/add_tag-i.yaml 0000644 00000000503 15217654533 0013244 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Add a new set of HTML tags for an attribute. We allow separate start and end tags for flexibility full_name: SM::ToHtml#add_tag is_singleton: false name: add_tag params: (name, start, stop) visibility: public ri/1.8/system/SM/ToHtml/accept_list_item-i.yaml 0000644 00000000312 15217654533 0015167 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToHtml#accept_list_item is_singleton: false name: accept_list_item params: (am, fragment) visibility: public ri/1.8/system/SM/ToHtml/start_accepting-i.yaml 0000644 00000000416 15217654533 0015036 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Here's the client side of the visitor pattern full_name: SM::ToHtml#start_accepting is_singleton: false name: start_accepting params: () visibility: public ri/1.8/system/SM/ToHtml/wrap-i.yaml 0000644 00000000420 15217654533 0012630 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This is a higher speed (if messier) version of wrap full_name: SM::ToHtml#wrap is_singleton: false name: wrap params: (txt, line_len = 76) visibility: public ri/1.8/system/SM/ToHtml/html_list_name-i.yaml 0000644 00000000321 15217654533 0014656 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToHtml#html_list_name is_singleton: false name: html_list_name params: (list_type, is_open_tag) visibility: private ri/1.8/system/SM/ToHtml/init_tags-i.yaml 0000644 00000000413 15217654533 0013642 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set up the standard mapping of attributes to HTML tags full_name: SM::ToHtml#init_tags is_singleton: false name: init_tags params: () visibility: public ri/1.8/system/SM/ToHtml/end_accepting-i.yaml 0000644 00000000270 15217654533 0014445 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToHtml#end_accepting is_singleton: false name: end_accepting params: () visibility: public ri/1.8/system/SM/ToHtml/convert_heading-i.yaml 0000644 00000000310 15217654533 0015014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToHtml#convert_heading is_singleton: false name: convert_heading params: (level, flow) visibility: private ri/1.8/system/SM/ToHtml/list_item_start-i.yaml 0000644 00000000311 15217654533 0015064 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToHtml#list_item_start is_singleton: false name: list_item_start params: (am, fragment) visibility: private ri/1.8/system/SM/ToHtml/accept_blank_line-i.yaml 0000644 00000000314 15217654533 0015276 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToHtml#accept_blank_line is_singleton: false name: accept_blank_line params: (am, fragment) visibility: public ri/1.8/system/SM/Special/new-c.yaml 0000644 00000000257 15217654533 0012623 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Special::new is_singleton: true name: new params: (type, text) visibility: public ri/1.8/system/SM/Special/to_s-i.yaml 0000644 00000000247 15217654533 0013003 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Special#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/SM/Special/cdesc-Special.yaml 0000644 00000001006 15217654533 0014242 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: text rw: RW - !ruby/object:RI::Attribute comment: name: type rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Hold details of a special sequence constants: [] full_name: SM::Special includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: to_s name: Special superclass: Object ri/1.8/system/SM/Special/%3d%3d-i.yaml 0000644 00000000244 15217654533 0012703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::Special#== is_singleton: false name: == params: (o) visibility: public ri/1.8/system/SM/Paragraph/cdesc-Paragraph.yaml 0000644 00000000552 15217654533 0015121 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: A paragraph is a fragment which gets wrapped to fit. We remove all newlines when we're created, and have them put back on output constants: [] full_name: SM::Paragraph includes: [] instance_methods: [] name: Paragraph superclass: Fragment ri/1.8/system/SM/ToFlow/new-c.yaml 0000644 00000000244 15217654533 0012451 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToFlow::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SM/ToFlow/on_tags-i.yaml 0000644 00000000271 15217654533 0013320 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: SM::ToFlow#on_tags is_singleton: false name: on_tags params: (res, item) visibility: private ri/1.8/system/SM/ToFlow/accept_verbatim-i.yaml 0000644 00000000310 15217654533 0015010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToFlow#accept_verbatim is_singleton: false name: accept_verbatim params: (am, fragment) visibility: public ri/1.8/system/SM/ToFlow/accept_rule-i.yaml 0000644 00000000300 15217654533 0014145 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToFlow#accept_rule is_singleton: false name: accept_rule params: (am, fragment) visibility: public ri/1.8/system/SM/ToFlow/cdesc-ToFlow.yaml 0000644 00000003361 15217654533 0013734 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: LIST_TYPE_TO_HTML value: "{ SM::ListBase::BULLET => [ \"\", \"\" ], SM::ListBase::NUMBER => [ \"\", \"\" ], SM::ListBase::UPPERALPHA => [ \"\", \"\" ], SM::ListBase::LOWERALPHA => [ \"\", \"\" ], SM::ListBase::LABELED => [ \"\", \"\" ], SM::ListBase::NOTE => [ \"\", \"\" ], }" - !ruby/object:RI::Constant comment: name: InlineTag value: Struct.new(:bit, :on, :off) full_name: SM::ToFlow includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: accept_blank_line - !ruby/object:RI::MethodSummary name: accept_heading - !ruby/object:RI::MethodSummary name: accept_list_end - !ruby/object:RI::MethodSummary name: accept_list_item - !ruby/object:RI::MethodSummary name: accept_list_start - !ruby/object:RI::MethodSummary name: accept_paragraph - !ruby/object:RI::MethodSummary name: accept_rule - !ruby/object:RI::MethodSummary name: accept_verbatim - !ruby/object:RI::MethodSummary name: add_tag - !ruby/object:RI::MethodSummary name: annotate - !ruby/object:RI::MethodSummary name: convert_flow - !ruby/object:RI::MethodSummary name: convert_special - !ruby/object:RI::MethodSummary name: convert_string - !ruby/object:RI::MethodSummary name: end_accepting - !ruby/object:RI::MethodSummary name: init_tags - !ruby/object:RI::MethodSummary name: off_tags - !ruby/object:RI::MethodSummary name: on_tags - !ruby/object:RI::MethodSummary name: start_accepting name: ToFlow superclass: Object ri/1.8/system/SM/ToFlow/convert_special-i.yaml 0000644 00000000304 15217654533 0015043 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToFlow#convert_special is_singleton: false name: convert_special params: (special) visibility: private ri/1.8/system/SM/ToFlow/accept_list_start-i.yaml 0000644 00000000314 15217654533 0015373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToFlow#accept_list_start is_singleton: false name: accept_list_start params: (am, fragment) visibility: public ri/1.8/system/SM/ToFlow/convert_flow-i.yaml 0000644 00000000273 15217654533 0014377 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToFlow#convert_flow is_singleton: false name: convert_flow params: (flow) visibility: private ri/1.8/system/SM/ToFlow/accept_list_end-i.yaml 0000644 00000000310 15217654533 0015000 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToFlow#accept_list_end is_singleton: false name: accept_list_end params: (am, fragment) visibility: public ri/1.8/system/SM/ToFlow/accept_paragraph-i.yaml 0000644 00000000312 15217654533 0015146 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToFlow#accept_paragraph is_singleton: false name: accept_paragraph params: (am, fragment) visibility: public ri/1.8/system/SM/ToFlow/annotate-i.yaml 0000644 00000000615 15217654533 0013501 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Given an HTML tag, decorate it with class information and the like if required. This is a no-op in the base class, but is overridden in HTML output classes that implement style sheets full_name: SM::ToFlow#annotate is_singleton: false name: annotate params: (tag) visibility: public ri/1.8/system/SM/ToFlow/convert_string-i.yaml 0000644 00000000430 15217654533 0014731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: some of these patterns are taken from SmartyPants... full_name: SM::ToFlow#convert_string is_singleton: false name: convert_string params: (item) visibility: private ri/1.8/system/SM/ToFlow/accept_heading-i.yaml 0000644 00000000306 15217654533 0014603 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToFlow#accept_heading is_singleton: false name: accept_heading params: (am, fragment) visibility: public ri/1.8/system/SM/ToFlow/off_tags-i.yaml 0000644 00000000270 15217654533 0013455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToFlow#off_tags is_singleton: false name: off_tags params: (res, item) visibility: private ri/1.8/system/SM/ToFlow/add_tag-i.yaml 0000644 00000000503 15217654533 0013247 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Add a new set of HTML tags for an attribute. We allow separate start and end tags for flexibility full_name: SM::ToFlow#add_tag is_singleton: false name: add_tag params: (name, start, stop) visibility: public ri/1.8/system/SM/ToFlow/accept_list_item-i.yaml 0000644 00000000312 15217654533 0015172 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToFlow#accept_list_item is_singleton: false name: accept_list_item params: (am, fragment) visibility: public ri/1.8/system/SM/ToFlow/start_accepting-i.yaml 0000644 00000000416 15217654533 0015041 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Here's the client side of the visitor pattern full_name: SM::ToFlow#start_accepting is_singleton: false name: start_accepting params: () visibility: public ri/1.8/system/SM/ToFlow/init_tags-i.yaml 0000644 00000000413 15217654533 0013645 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set up the standard mapping of attributes to HTML tags full_name: SM::ToFlow#init_tags is_singleton: false name: init_tags params: () visibility: public ri/1.8/system/SM/ToFlow/end_accepting-i.yaml 0000644 00000000270 15217654533 0014450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToFlow#end_accepting is_singleton: false name: end_accepting params: () visibility: public ri/1.8/system/SM/ToFlow/accept_blank_line-i.yaml 0000644 00000000314 15217654533 0015301 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::ToFlow#accept_blank_line is_singleton: false name: accept_blank_line params: (am, fragment) visibility: public ri/1.8/system/SM/LineCollection/new-c.yaml 0000644 00000000254 15217654533 0014143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::LineCollection::new is_singleton: true name: new params: () visibility: public ri/1.8/system/SM/LineCollection/to_s-i.yaml 0000644 00000000256 15217654533 0014326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::LineCollection#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/SM/LineCollection/add_list_breaks-i.yaml 0000644 00000000510 15217654533 0016465 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: now insert start/ends between list entries at the same level that have different element types full_name: SM::LineCollection#add_list_breaks is_singleton: false name: add_list_breaks params: () visibility: private ri/1.8/system/SM/LineCollection/accept-i.yaml 0000644 00000000275 15217654533 0014622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::LineCollection#accept is_singleton: false name: accept params: (am, visitor) visibility: public ri/1.8/system/SM/LineCollection/cdesc-LineCollection.yaml 0000644 00000001700 15217654533 0017111 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Collect groups of lines together. Each group will end up containing a flow of text constants: [] full_name: SM::LineCollection includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: accept - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: add_list_breaks - !ruby/object:RI::MethodSummary name: add_list_start_and_ends - !ruby/object:RI::MethodSummary name: change_verbatim_blank_lines - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: fragment_for - !ruby/object:RI::MethodSummary name: normalize - !ruby/object:RI::MethodSummary name: tidy_blank_lines - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: to_s name: LineCollection superclass: Object ri/1.8/system/SM/LineCollection/change_verbatim_blank_lines-i.yaml 0000644 00000001264 15217654533 0021041 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "If you have:" - !ruby/struct:SM::Flow::VERB body: " normal paragraph text.\n\n this is code\n\n and more code\n" - !ruby/struct:SM::Flow::P body: You'll end up with the fragments Paragraph, BlankLine, Verbatim, BlankLine, Verbatim, BlankLine, etc - !ruby/struct:SM::Flow::P body: The BlankLine in the middle of the verbatim chunk needs to be changed to a real verbatim newline, and the two verbatim blocks merged full_name: SM::LineCollection#change_verbatim_blank_lines is_singleton: false name: change_verbatim_blank_lines params: () visibility: private ri/1.8/system/SM/LineCollection/add_list_start_and_ends-i.yaml 0000644 00000000560 15217654533 0020213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: List nesting is implicit given the level of Make it explicit, just to make life a tad easier for the output processors full_name: SM::LineCollection#add_list_start_and_ends is_singleton: false name: add_list_start_and_ends params: () visibility: private ri/1.8/system/SM/LineCollection/each-i.yaml 0000644 00000000260 15217654533 0014255 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::LineCollection#each is_singleton: false name: each params: (&b) visibility: public ri/1.8/system/SM/LineCollection/to_a-i.yaml 0000644 00000000336 15217654533 0014303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: For testing full_name: SM::LineCollection#to_a is_singleton: false name: to_a params: () visibility: public ri/1.8/system/SM/LineCollection/tidy_blank_lines-i.yaml 0000644 00000001002 15217654533 0016662 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Finally tidy up the blank lines:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: change Blank/ListEnd into ListEnd/Blank - !ruby/struct:SM::Flow::LI label: "*" body: remove blank lines at the front type: :BULLET full_name: SM::LineCollection#tidy_blank_lines is_singleton: false name: tidy_blank_lines params: () visibility: private ri/1.8/system/SM/LineCollection/fragment_for-i.yaml 0000644 00000000414 15217654533 0016027 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Factory for different fragment types full_name: SM::LineCollection#fragment_for is_singleton: false name: fragment_for params: (*args) visibility: public ri/1.8/system/SM/LineCollection/normalize-i.yaml 0000644 00000000357 15217654533 0015364 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: tidy up at the end full_name: SM::LineCollection#normalize is_singleton: false name: normalize params: () visibility: public ri/1.8/system/SM/LineCollection/add-i.yaml 0000644 00000000264 15217654533 0014111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: SM::LineCollection#add is_singleton: false name: add params: (fragment) visibility: public ri/1.8/system/SM/ListBase/cdesc-ListBase.yaml 0000644 00000001425 15217654533 0014523 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: A List is a fragment with some kind of label constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: List types name: BULLET value: ":BULLET" - !ruby/object:RI::Constant comment: name: NUMBER value: ":NUMBER" - !ruby/object:RI::Constant comment: name: UPPERALPHA value: ":UPPERALPHA" - !ruby/object:RI::Constant comment: name: LOWERALPHA value: ":LOWERALPHA" - !ruby/object:RI::Constant comment: name: LABELED value: ":LABELED" - !ruby/object:RI::Constant comment: name: NOTE value: ":NOTE" full_name: SM::ListBase includes: [] instance_methods: [] name: ListBase superclass: Paragraph ri/1.8/system/RiDriver/new-c.yaml 0000644 00000000242 15217654533 0012444 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: RiDriver::new is_singleton: true name: new params: () visibility: public ri/1.8/system/RiDriver/report_missing_documentation-i.yaml 0000644 00000000506 15217654533 0017661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Couldn't find documentation in path, so tell the user what to do full_name: RiDriver#report_missing_documentation is_singleton: false name: report_missing_documentation params: (path) visibility: public ri/1.8/system/RiDriver/report_method_stuff-i.yaml 0000644 00000000723 15217654533 0015747 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: If the list of matching methods contains exactly one entry, or if it contains an entry that exactly matches the requested method, then display that entry, otherwise display the list of matching method names full_name: RiDriver#report_method_stuff is_singleton: false name: report_method_stuff params: (requested_method_name, methods) visibility: public ri/1.8/system/RiDriver/process_args-i.yaml 0000644 00000000267 15217654533 0014362 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RiDriver#process_args is_singleton: false name: process_args params: () visibility: public ri/1.8/system/RiDriver/report_class_stuff-i.yaml 0000644 00000000315 15217654533 0015571 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RiDriver#report_class_stuff is_singleton: false name: report_class_stuff params: (namespaces) visibility: public ri/1.8/system/RiDriver/get_info_for-i.yaml 0000644 00000000272 15217654533 0014324 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: RiDriver#get_info_for is_singleton: false name: get_info_for params: (arg) visibility: public ri/1.8/system/RiDriver/cdesc-RiDriver.yaml 0000644 00000001030 15217654533 0014234 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: [] constants: [] full_name: RiDriver includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: get_info_for - !ruby/object:RI::MethodSummary name: process_args - !ruby/object:RI::MethodSummary name: report_class_stuff - !ruby/object:RI::MethodSummary name: report_method_stuff - !ruby/object:RI::MethodSummary name: report_missing_documentation name: RiDriver superclass: Object ri/1.8/system/StringScanner/cdesc-StringScanner.yaml 0000644 00000016645 15217654533 0016342 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: must_C_version - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: "StringScanner provides for lexical scanning operations on a String. Here is an example of its usage:" - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('This is an example string')\n s.eos? # -> false\n\n p s.scan(/\\w+/) # -> "This"\n p s.scan(/\\w+/) # -> nil\n p s.scan(/\\s+/) # -> " "\n p s.scan(/\\s+/) # -> nil\n p s.scan(/\\w+/) # -> "is"\n s.eos? # -> false\n\n p s.scan(/\\s+/) # -> " "\n p s.scan(/\\w+/) # -> "an"\n p s.scan(/\\s+/) # -> " "\n p s.scan(/\\w+/) # -> "example"\n p s.scan(/\\s+/) # -> " "\n p s.scan(/\\w+/) # -> "string"\n s.eos? # -> true\n\n p s.scan(/\\s+/) # -> nil\n p s.scan(/\\w+/) # -> nil\n" - !ruby/struct:SM::Flow::P body: Scanning a string means remembering the position of a scan pointer, which is just an index. The point of scanning is to move forward a bit at a time, so matches are sought after the scan pointer; usually immediately after it. - !ruby/struct:SM::Flow::P body: "Given the string "test string", here are the pertinent scan pointer positions:" - !ruby/struct:SM::Flow::VERB body: " t e s t s t r i n g\n 0 1 2 ... 1\n 0\n" - !ruby/struct:SM::Flow::P body: "When you #scan for a pattern (a regular expression), the match must occur at the character after the scan pointer. If you use #scan_until, then the match can occur anywhere after the scan pointer. In both cases, the scan pointer moves just beyond the last character of the match, ready to scan again from the next character onwards. This is demonstrated by the example above." - !ruby/struct:SM::Flow::H level: 2 text: Method Categories - !ruby/struct:SM::Flow::P body: There are other methods besides the plain scanners. You can look ahead in the string without actually scanning. You can access the most recent match. You can modify the string being scanned, reset or terminate the scanner, find out or change the position of the scan pointer, skip ahead, and so on. - !ruby/struct:SM::Flow::H level: 3 text: Advancing the Scan Pointer - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "#getch" - !ruby/struct:SM::Flow::LI label: "-" body: "#get_byte" - !ruby/struct:SM::Flow::LI label: "-" body: "#scan" - !ruby/struct:SM::Flow::LI label: "-" body: "#scan_until" - !ruby/struct:SM::Flow::LI label: "-" body: "#skip" - !ruby/struct:SM::Flow::LI label: "-" body: "#skip_until" type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Looking Ahead - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "#check" - !ruby/struct:SM::Flow::LI label: "-" body: "#check_until" - !ruby/struct:SM::Flow::LI label: "-" body: "#exist?" - !ruby/struct:SM::Flow::LI label: "-" body: "#match?" - !ruby/struct:SM::Flow::LI label: "-" body: "#peek" type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Finding Where we Are - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "#beginning_of_line? (#bol?)" - !ruby/struct:SM::Flow::LI label: "-" body: "#eos?" - !ruby/struct:SM::Flow::LI label: "-" body: "#rest?" - !ruby/struct:SM::Flow::LI label: "-" body: "#rest_size" - !ruby/struct:SM::Flow::LI label: "-" body: "#pos" type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Setting Where we Are - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "#reset" - !ruby/struct:SM::Flow::LI label: "-" body: "#terminate" - !ruby/struct:SM::Flow::LI label: "-" body: "#pos=" type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Match Data - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "#matched" - !ruby/struct:SM::Flow::LI label: "-" body: "#matched?" - !ruby/struct:SM::Flow::LI label: "-" body: "#matched_size" - !ruby/struct:SM::Flow::LI label: "-" body: "[]" - !ruby/struct:SM::Flow::LI label: "-" body: "#pre_match" - !ruby/struct:SM::Flow::LI label: "-" body: "#post_match" type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Miscellaneous - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "<<" - !ruby/struct:SM::Flow::LI label: "-" body: "#concat" - !ruby/struct:SM::Flow::LI label: "-" body: "#string" - !ruby/struct:SM::Flow::LI label: "-" body: "#string=" - !ruby/struct:SM::Flow::LI label: "-" body: "#unscan" type: :BULLET - !ruby/struct:SM::Flow::P body: There are aliases to several of the methods. constants: [] full_name: StringScanner includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: beginning_of_line? - !ruby/object:RI::MethodSummary name: check - !ruby/object:RI::MethodSummary name: check_until - !ruby/object:RI::MethodSummary name: clear - !ruby/object:RI::MethodSummary name: concat - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: eos? - !ruby/object:RI::MethodSummary name: exist? - !ruby/object:RI::MethodSummary name: get_byte - !ruby/object:RI::MethodSummary name: getbyte - !ruby/object:RI::MethodSummary name: getch - !ruby/object:RI::MethodSummary name: initialize_copy - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: match? - !ruby/object:RI::MethodSummary name: matched - !ruby/object:RI::MethodSummary name: matched? - !ruby/object:RI::MethodSummary name: matched_size - !ruby/object:RI::MethodSummary name: matchedsize - !ruby/object:RI::MethodSummary name: peek - !ruby/object:RI::MethodSummary name: peep - !ruby/object:RI::MethodSummary name: pointer - !ruby/object:RI::MethodSummary name: pointer= - !ruby/object:RI::MethodSummary name: pos - !ruby/object:RI::MethodSummary name: pos= - !ruby/object:RI::MethodSummary name: post_match - !ruby/object:RI::MethodSummary name: pre_match - !ruby/object:RI::MethodSummary name: reset - !ruby/object:RI::MethodSummary name: rest - !ruby/object:RI::MethodSummary name: rest? - !ruby/object:RI::MethodSummary name: rest_size - !ruby/object:RI::MethodSummary name: restsize - !ruby/object:RI::MethodSummary name: scan - !ruby/object:RI::MethodSummary name: scan_full - !ruby/object:RI::MethodSummary name: scan_until - !ruby/object:RI::MethodSummary name: search_full - !ruby/object:RI::MethodSummary name: skip - !ruby/object:RI::MethodSummary name: skip_until - !ruby/object:RI::MethodSummary name: string - !ruby/object:RI::MethodSummary name: string= - !ruby/object:RI::MethodSummary name: terminate - !ruby/object:RI::MethodSummary name: unscan name: StringScanner superclass: Object ri/1.8/system/StringScanner/new-c.yaml 0000644 00000000563 15217654533 0013504 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new StringScanner object to scan over the given string. dup argument is obsolete and not used now. full_name: StringScanner::new is_singleton: true name: new params: " StringScanner.new(string, dup = false)\n" visibility: public ri/1.8/system/StringScanner/scan-i.yaml 0000644 00000001331 15217654533 0013637 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Tries to match with pattern at the current position. If there's a match, the scanner advances the "scan pointer" and returns the matched string. Otherwise, the scanner returns nil. - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('test string')\n p s.scan(/\\w+/) # -> "test"\n p s.scan(/\\w+/) # -> nil\n p s.scan(/\\s+/) # -> " "\n p s.scan(/\\w+/) # -> "string"\n p s.scan(/./) # -> nil\n" full_name: StringScanner#scan is_singleton: false name: scan params: " scan(pattern) => String\n" visibility: public ri/1.8/system/StringScanner/concat-i.yaml 0000644 00000001134 15217654533 0014163 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Appends str to the string being scanned. This method does not affect scan pointer. - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new("Fri Dec 12 1975 14:39")\n s.scan(/Fri /)\n s << " +1000 GMT"\n s.string # -> "Fri Dec 12 1975 14:39 +1000 GMT"\n s.scan(/Dec/) # -> "Dec"\n" full_name: StringScanner#concat is_singleton: false name: concat params: | concat(str) <<(str) visibility: public ri/1.8/system/StringScanner/string-i.yaml 0000644 00000000363 15217654533 0014225 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the string being scanned. full_name: StringScanner#string is_singleton: false name: string params: () visibility: public ri/1.8/system/StringScanner/must_C_version-c.yaml 0000644 00000000463 15217654533 0015711 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: This method is defined for backward compatibility. full_name: StringScanner::must_C_version is_singleton: true name: must_C_version params: " StringScanner.must_C_version\n" visibility: public ri/1.8/system/StringScanner/%3c%3c-i.yaml 0000644 00000001126 15217654533 0013562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Appends str to the string being scanned. This method does not affect scan pointer. - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new("Fri Dec 12 1975 14:39")\n s.scan(/Fri /)\n s << " +1000 GMT"\n s.string # -> "Fri Dec 12 1975 14:39 +1000 GMT"\n s.scan(/Dec/) # -> "Dec"\n" full_name: StringScanner#<< is_singleton: false name: "<<" params: | concat(str) <<(str) visibility: public ri/1.8/system/StringScanner/search_full-i.yaml 0000644 00000001073 15217654533 0015205 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Scans the string until the pattern is matched. Returns the matched string if return_string_p is true, otherwise returns the number of bytes advanced. Advances the scan pointer if advance_pointer_p, otherwise not. This method does affect the match register. full_name: StringScanner#search_full is_singleton: false name: search_full params: " search_full(pattern, return_string_p, advance_pointer_p)\n" visibility: public ri/1.8/system/StringScanner/eos%3f-i.yaml 0000644 00000000757 15217654533 0014012 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the scan pointer is at the end of the string. - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('test string')\n p s.eos? # => false\n s.scan(/test/)\n p s.eos? # => false\n s.terminate\n p s.eos? # => true\n" full_name: StringScanner#eos? is_singleton: false name: eos? params: () visibility: public ri/1.8/system/StringScanner/rest%3f-i.yaml 0000644 00000000730 15217654533 0014170 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns true iff there is more data in the string. See #eos?. This method is obsolete; use #eos? instead." - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('test string')\n s.eos? # These two\n s.rest? # are opposites.\n" full_name: StringScanner#rest? is_singleton: false name: rest? params: () visibility: public ri/1.8/system/StringScanner/scan_full-i.yaml 0000644 00000001151 15217654533 0014661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Tests whether the given pattern is matched from the current scan pointer. Returns the matched string if return_string_p is true. Advances the scan pointer if advance_pointer_p is true. The match register is affected. - !ruby/struct:SM::Flow::P body: ""full" means "#scan with full parameters"." full_name: StringScanner#scan_full is_singleton: false name: scan_full params: " scan_full(pattern, return_string_p, advance_pointer_p)\n" visibility: public ri/1.8/system/StringScanner/rest-i.yaml 0000644 00000000554 15217654533 0013676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the "rest" of the string (i.e. everything after the scan pointer). If there is no more data (eos? = true), it returns "". full_name: StringScanner#rest is_singleton: false name: rest params: () visibility: public ri/1.8/system/StringScanner/getbyte-i.yaml 0000644 00000000436 15217654533 0014363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Equivalent to #get_byte. This method is obsolete; use #get_byte instead." full_name: StringScanner#getbyte is_singleton: false name: getbyte params: () visibility: public ri/1.8/system/StringScanner/string%3d-i.yaml 0000644 00000000501 15217654533 0014513 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Changes the string being scanned to str and resets the scanner. Returns str. full_name: StringScanner#string= is_singleton: false name: string= params: " string=(str)\n" visibility: public ri/1.8/system/StringScanner/get_byte-i.yaml 0000644 00000001262 15217654533 0014520 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Scans one byte and returns it. This method is NOT multi-byte character sensitive. See also #getch." - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('ab')\n s.get_byte # => "a"\n s.get_byte # => "b"\n s.get_byte # => nil\n\n s = StringScanner.new("\\244\\242")\n s.get_byte # => "\\244"\n s.get_byte # => "\\242"\n s.get_byte # => nil\n" full_name: StringScanner#get_byte is_singleton: false name: get_byte params: () visibility: public ri/1.8/system/StringScanner/skip-i.yaml 0000644 00000001436 15217654533 0013667 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Attempts to skip over the given pattern beginning with the scan pointer. If it matches, the scan pointer is advanced to the end of the match, and the length of the match is returned. Otherwise, nil is returned. - !ruby/struct:SM::Flow::P body: "It's similar to #scan, but without returning the matched string." - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('test string')\n p s.skip(/\\w+/) # -> 4\n p s.skip(/\\w+/) # -> nil\n p s.skip(/\\s+/) # -> 1\n p s.skip(/\\w+/) # -> 6\n p s.skip(/./) # -> nil\n" full_name: StringScanner#skip is_singleton: false name: skip params: " skip(pattern)\n" visibility: public ri/1.8/system/StringScanner/pointer-i.yaml 0000644 00000001407 15217654533 0014377 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the position of the scan pointer. In the 'reset' position, this value is zero. In the 'terminated' position (i.e. the string is exhausted), this value is the length of the string. - !ruby/struct:SM::Flow::P body: In short, it's a 0-based index into the string. - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('test string')\n s.pos # -> 0\n s.scan_until /str/ # -> "test str"\n s.pos # -> 8\n s.terminate # -> #<StringScanner fin>\n s.pos # -> 11\n" full_name: StringScanner#pointer is_singleton: false name: pointer params: () visibility: public ri/1.8/system/StringScanner/%5b%5d-i.yaml 0000644 00000001464 15217654533 0013573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the n-th subgroup in the most recent match. - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new("Fri Dec 12 1975 14:39")\n s.scan(/(\\w+) (\\w+) (\\d+) /) # -> "Fri Dec 12 "\n s[0] # -> "Fri Dec 12 "\n s[1] # -> "Fri"\n s[2] # -> "Dec"\n s[3] # -> "12"\n s.post_match # -> "1975 14:39"\n s.pre_match # -> ""\n" full_name: StringScanner#[] is_singleton: false name: "[]" params: " [](n)\n" visibility: public ri/1.8/system/StringScanner/matched-i.yaml 0000644 00000000630 15217654533 0014321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the last matched string. - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('test string')\n s.match?(/\\w+/) # -> 4\n s.matched # -> "test"\n" full_name: StringScanner#matched is_singleton: false name: matched params: () visibility: public ri/1.8/system/StringScanner/peep-i.yaml 0000644 00000000422 15217654533 0013644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Equivalent to #peek. This method is obsolete; use #peek instead." full_name: StringScanner#peep is_singleton: false name: peep params: (p1) visibility: public ri/1.8/system/StringScanner/terminate-i.yaml 0000644 00000000462 15217654533 0014707 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the scan pointer to the end of the string and clear matching data. full_name: StringScanner#terminate is_singleton: false name: terminate params: | terminate clear visibility: public ri/1.8/system/StringScanner/pos-i.yaml 0000644 00000001377 15217654533 0013526 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the position of the scan pointer. In the 'reset' position, this value is zero. In the 'terminated' position (i.e. the string is exhausted), this value is the length of the string. - !ruby/struct:SM::Flow::P body: In short, it's a 0-based index into the string. - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('test string')\n s.pos # -> 0\n s.scan_until /str/ # -> "test str"\n s.pos # -> 8\n s.terminate # -> #<StringScanner fin>\n s.pos # -> 11\n" full_name: StringScanner#pos is_singleton: false name: pos params: () visibility: public ri/1.8/system/StringScanner/reset-i.yaml 0000644 00000000411 15217654533 0014033 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reset the scan pointer (index 0) and clear matching data. full_name: StringScanner#reset is_singleton: false name: reset params: () visibility: public ri/1.8/system/StringScanner/peek-i.yaml 0000644 00000000760 15217654533 0013644 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Extracts a string corresponding to string[pos,len], without advancing the scan pointer. - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('test string')\n s.peek(7) # => "test st"\n s.peek(7) # => "test st"\n" full_name: StringScanner#peek is_singleton: false name: peek params: " peek(len)\n" visibility: public ri/1.8/system/StringScanner/Error/cdesc-Error.yaml 0000644 00000012436 15217654533 0015736 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: "Document-class: StringScanner" - !ruby/struct:SM::Flow::P body: "StringScanner provides for lexical scanning operations on a String. Here is an example of its usage:" - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('This is an example string')\n s.eos? # -> false\n\n p s.scan(/\\w+/) # -> "This"\n p s.scan(/\\w+/) # -> nil\n p s.scan(/\\s+/) # -> " "\n p s.scan(/\\s+/) # -> nil\n p s.scan(/\\w+/) # -> "is"\n s.eos? # -> false\n\n p s.scan(/\\s+/) # -> " "\n p s.scan(/\\w+/) # -> "an"\n p s.scan(/\\s+/) # -> " "\n p s.scan(/\\w+/) # -> "example"\n p s.scan(/\\s+/) # -> " "\n p s.scan(/\\w+/) # -> "string"\n s.eos? # -> true\n\n p s.scan(/\\s+/) # -> nil\n p s.scan(/\\w+/) # -> nil\n" - !ruby/struct:SM::Flow::P body: Scanning a string means remembering the position of a scan pointer, which is just an index. The point of scanning is to move forward a bit at a time, so matches are sought after the scan pointer; usually immediately after it. - !ruby/struct:SM::Flow::P body: "Given the string "test string", here are the pertinent scan pointer positions:" - !ruby/struct:SM::Flow::VERB body: " t e s t s t r i n g\n 0 1 2 ... 1\n 0\n" - !ruby/struct:SM::Flow::P body: "When you #scan for a pattern (a regular expression), the match must occur at the character after the scan pointer. If you use #scan_until, then the match can occur anywhere after the scan pointer. In both cases, the scan pointer moves just beyond the last character of the match, ready to scan again from the next character onwards. This is demonstrated by the example above." - !ruby/struct:SM::Flow::H level: 2 text: Method Categories - !ruby/struct:SM::Flow::P body: There are other methods besides the plain scanners. You can look ahead in the string without actually scanning. You can access the most recent match. You can modify the string being scanned, reset or terminate the scanner, find out or change the position of the scan pointer, skip ahead, and so on. - !ruby/struct:SM::Flow::H level: 3 text: Advancing the Scan Pointer - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "#getch" - !ruby/struct:SM::Flow::LI label: "-" body: "#get_byte" - !ruby/struct:SM::Flow::LI label: "-" body: "#scan" - !ruby/struct:SM::Flow::LI label: "-" body: "#scan_until" - !ruby/struct:SM::Flow::LI label: "-" body: "#skip" - !ruby/struct:SM::Flow::LI label: "-" body: "#skip_until" type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Looking Ahead - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "#check" - !ruby/struct:SM::Flow::LI label: "-" body: "#check_until" - !ruby/struct:SM::Flow::LI label: "-" body: "#exist?" - !ruby/struct:SM::Flow::LI label: "-" body: "#match?" - !ruby/struct:SM::Flow::LI label: "-" body: "#peek" type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Finding Where we Are - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "#beginning_of_line? (#bol?)" - !ruby/struct:SM::Flow::LI label: "-" body: "#eos?" - !ruby/struct:SM::Flow::LI label: "-" body: "#rest?" - !ruby/struct:SM::Flow::LI label: "-" body: "#rest_size" - !ruby/struct:SM::Flow::LI label: "-" body: "#pos" type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Setting Where we Are - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "#reset" - !ruby/struct:SM::Flow::LI label: "-" body: "#terminate" - !ruby/struct:SM::Flow::LI label: "-" body: "#pos=" type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Match Data - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "#matched" - !ruby/struct:SM::Flow::LI label: "-" body: "#matched?" - !ruby/struct:SM::Flow::LI label: "-" body: "#matched_size" - !ruby/struct:SM::Flow::LI label: "-" body: "[]" - !ruby/struct:SM::Flow::LI label: "-" body: "#pre_match" - !ruby/struct:SM::Flow::LI label: "-" body: "#post_match" type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Miscellaneous - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: "<<" - !ruby/struct:SM::Flow::LI label: "-" body: "#concat" - !ruby/struct:SM::Flow::LI label: "-" body: "#string" - !ruby/struct:SM::Flow::LI label: "-" body: "#string=" - !ruby/struct:SM::Flow::LI label: "-" body: "#unscan" type: :BULLET - !ruby/struct:SM::Flow::P body: There are aliases to several of the methods. constants: [] full_name: StringScanner::Error includes: [] instance_methods: [] name: Error superclass: StandardError ri/1.8/system/StringScanner/check-i.yaml 0000644 00000001443 15217654533 0013774 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "This returns the value that #scan would return, without advancing the scan pointer. The match register is affected, though." - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new("Fri Dec 12 1975 14:39")\n s.check /Fri/ # -> "Fri"\n s.pos # -> 0\n s.matched # -> "Fri"\n s.check /12/ # -> nil\n s.matched # -> nil\n" - !ruby/struct:SM::Flow::P body: "Mnemonic: it "checks" to see whether a #scan will return a value." full_name: StringScanner#check is_singleton: false name: check params: " check(pattern)\n" visibility: public ri/1.8/system/StringScanner/restsize-i.yaml 0000644 00000000503 15217654533 0014563 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "s.restsize is equivalent to s.rest_size. This method is obsolete; use #rest_size instead." full_name: StringScanner#restsize is_singleton: false name: restsize params: () visibility: public ri/1.8/system/StringScanner/getch-i.yaml 0000644 00000001301 15217654533 0014002 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Scans one character and returns it. This method is multi-byte character sensitive. See also #get_byte." - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('ab')\n s.getch # => "a"\n s.getch # => "b"\n s.getch # => nil\n\n $KCODE = 'EUC'\n s = StringScanner.new("\\244\\242")\n s.getch # => "\\244\\242" # Japanese hira-kana "A" in EUC-JP\n s.getch # => nil\n" full_name: StringScanner#getch is_singleton: false name: getch params: () visibility: public ri/1.8/system/StringScanner/scan_until-i.yaml 0000644 00000001316 15217654533 0015055 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Scans the string until the pattern is matched. Returns the substring up to and including the end of the match, advancing the scan pointer to that location. If there is no match, nil is returned. - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new("Fri Dec 12 1975 14:39")\n s.scan_until(/1/) # -> "Fri Dec 1"\n s.pre_match # -> "Fri Dec "\n s.scan_until(/XYZ/) # -> nil\n" full_name: StringScanner#scan_until is_singleton: false name: scan_until params: " scan_until(pattern)\n" visibility: public ri/1.8/system/StringScanner/exist%3f-i.yaml 0000644 00000001227 15217654533 0014351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Looks ahead to see if the pattern exists anywhere in the string, without advancing the scan pointer. This predicates whether a #scan_until will return a value." - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('test string')\n s.exist? /s/ # -> 3\n s.scan /test/ # -> "test"\n s.exist? /s/ # -> 6\n s.exist? /e/ # -> nil\n" full_name: StringScanner#exist? is_singleton: false name: exist? params: " exist?(pattern)\n" visibility: public ri/1.8/system/StringScanner/inspect-i.yaml 0000644 00000001615 15217654533 0014365 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns a string that represents the StringScanner object, showing:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: the current position - !ruby/struct:SM::Flow::LI label: "-" body: the size of the string - !ruby/struct:SM::Flow::LI label: "-" body: the characters surrounding the scan pointer - !ruby/struct:SM::Flow::P body: "s = StringScanner.new("Fri Dec 12 1975 14:39") s.inspect # -> '#<StringScanner 0/21 @ "Fri D...">' s.scan_until /12/ # -> "Fri Dec 12" s.inspect # -> '#<StringScanner 10/21 "...ec 12" @ " 1975...">'" type: :BULLET full_name: StringScanner#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/StringScanner/unscan-i.yaml 0000644 00000001211 15217654533 0014177 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the scan pointer to the previous position. Only one previous position is remembered, and it changes with each scanning operation. - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('test string')\n s.scan(/\\w+/) # => "test"\n s.unscan\n s.scan(/../) # => "te"\n s.scan(/\\d/) # => nil\n s.unscan # ScanError: unscan failed: previous match had failed\n" full_name: StringScanner#unscan is_singleton: false name: unscan params: () visibility: public ri/1.8/system/StringScanner/skip_until-i.yaml 0000644 00000001612 15217654533 0015076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Advances the scan pointer until pattern is matched and consumed. Returns the number of bytes advanced, or nil if no match was found. - !ruby/struct:SM::Flow::P body: Look ahead to match pattern, and advance the scan pointer to the end of the match. Return the number of characters advanced, or nil if the match was unsuccessful. - !ruby/struct:SM::Flow::P body: "It's similar to #scan_until, but without returning the intervening string." - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new("Fri Dec 12 1975 14:39")\n s.skip_until /12/ # -> 10\n s #\n" full_name: StringScanner#skip_until is_singleton: false name: skip_until params: " skip_until(pattern)\n" visibility: public ri/1.8/system/StringScanner/check_until-i.yaml 0000644 00000001345 15217654533 0015210 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "This returns the value that #scan_until would return, without advancing the scan pointer. The match register is affected, though." - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new("Fri Dec 12 1975 14:39")\n s.check_until /12/ # -> "Fri Dec 12"\n s.pos # -> 0\n s.matched # -> 12\n" - !ruby/struct:SM::Flow::P body: "Mnemonic: it "checks" to see whether a #scan_until will return a value." full_name: StringScanner#check_until is_singleton: false name: check_until params: " check_until(pattern)\n" visibility: public ri/1.8/system/StringScanner/matched_size-i.yaml 0000644 00000001102 15217654533 0015346 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns the size of the most recent match (see #matched), or nil if there was no recent match." - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('test string')\n s.check /\\w+/ # -> "test"\n s.matched_size # -> 4\n s.check /\\d+/ # -> nil\n s.matched_size # -> nil\n" full_name: StringScanner#matched_size is_singleton: false name: matched_size params: () visibility: public ri/1.8/system/StringScanner/beginning_of_line%3f-i.yaml 0000644 00000001113 15217654533 0016642 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true iff the scan pointer is at the beginning of the line. - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new("test\\ntest\\n")\n s.bol? # => true\n s.scan(/te/)\n s.bol? # => false\n s.scan(/st\\n/)\n s.bol? # => true\n s.terminate\n s.bol? # => true\n" full_name: StringScanner#beginning_of_line? is_singleton: false name: beginning_of_line? params: () visibility: public ri/1.8/system/StringScanner/matched%3f-i.yaml 0000644 00000000757 15217654533 0014631 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true iff the last match was successful. - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('test string')\n s.match?(/\\w+/) # => 4\n s.matched? # => true\n s.match?(/\\d+/) # => nil\n s.matched? # => false\n" full_name: StringScanner#matched? is_singleton: false name: matched? params: () visibility: public ri/1.8/system/StringScanner/match%3f-i.yaml 0000644 00000001104 15217654533 0014303 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Tests whether the given pattern is matched from the current scan pointer. Returns the length of the match, or nil. The scan pointer is not advanced. - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('test string')\n p s.match?(/\\w+/) # -> 4\n p s.match?(/\\w+/) # -> 4\n p s.match?(/\\s+/) # -> nil\n" full_name: StringScanner#match? is_singleton: false name: match? params: " match?(pattern)\n" visibility: public ri/1.8/system/StringScanner/initialize_copy-i.yaml 0000644 00000000424 15217654533 0016110 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Duplicates a StringScanner object. full_name: StringScanner#initialize_copy is_singleton: false name: initialize_copy params: | dup clone visibility: public ri/1.8/system/StringScanner/empty%3f-i.yaml 0000644 00000000424 15217654533 0014351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Equivalent to #eos?. This method is obsolete, use #eos? instead." full_name: StringScanner#empty? is_singleton: false name: empty? params: () visibility: public ri/1.8/system/StringScanner/pre_match-i.yaml 0000644 00000001123 15217654533 0014654 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the pre-match (in the regular expression sense) of the last scan. - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('test string')\n s.scan(/\\w+/) # -> "test"\n s.scan(/\\s+/) # -> " "\n s.pre_match # -> "test"\n s.post_match # -> "string"\n" full_name: StringScanner#pre_match is_singleton: false name: pre_match params: () visibility: public ri/1.8/system/StringScanner/rest_size-i.yaml 0000644 00000000423 15217654533 0014723 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: s.rest_size is equivalent to s.rest.size. full_name: StringScanner#rest_size is_singleton: false name: rest_size params: () visibility: public ri/1.8/system/StringScanner/matchedsize-i.yaml 0000644 00000000456 15217654533 0015222 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Equivalent to #matched_size. This method is obsolete; use #matched_size instead." full_name: StringScanner#matchedsize is_singleton: false name: matchedsize params: () visibility: public ri/1.8/system/StringScanner/pos%3d-i.yaml 0000644 00000000625 15217654533 0014015 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Modify the scan pointer. - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('test string')\n s.pos = 7 # -> 7\n s.rest # -> "ring"\n" full_name: StringScanner#pos= is_singleton: false name: pos= params: " pos=(n)\n" visibility: public ri/1.8/system/StringScanner/post_match-i.yaml 0000644 00000001126 15217654533 0015056 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the post-match (in the regular expression sense) of the last scan. - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('test string')\n s.scan(/\\w+/) # -> "test"\n s.scan(/\\s+/) # -> " "\n s.pre_match # -> "test"\n s.post_match # -> "string"\n" full_name: StringScanner#post_match is_singleton: false name: post_match params: () visibility: public ri/1.8/system/StringScanner/clear-i.yaml 0000644 00000000434 15217654533 0014004 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Equivalent to #terminate. This method is obsolete; use #terminate instead." full_name: StringScanner#clear is_singleton: false name: clear params: () visibility: public ri/1.8/system/StringScanner/pointer%3d-i.yaml 0000644 00000000635 15217654533 0014675 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Modify the scan pointer. - !ruby/struct:SM::Flow::VERB body: " s = StringScanner.new('test string')\n s.pos = 7 # -> 7\n s.rest # -> "ring"\n" full_name: StringScanner#pointer= is_singleton: false name: pointer= params: " pos=(n)\n" visibility: public ri/1.8/system/Tracer/new-c.yaml 0000644 00000000240 15217654533 0012134 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Tracer::new is_singleton: true name: new params: () visibility: public ri/1.8/system/Tracer/off-i.yaml 0000644 00000000242 15217654533 0012125 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Tracer#off is_singleton: false name: "off" params: () visibility: public ri/1.8/system/Tracer/get_thread_no-i.yaml 0000644 00000000264 15217654533 0014161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Tracer#get_thread_no is_singleton: false name: get_thread_no params: () visibility: public ri/1.8/system/Tracer/add_filter-c.yaml 0000644 00000000266 15217654533 0013450 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Tracer::add_filter is_singleton: true name: add_filter params: (p = proc) visibility: public ri/1.8/system/Tracer/set_get_line_procs-c.yaml 0000644 00000000321 15217654533 0015212 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Tracer::set_get_line_procs is_singleton: true name: set_get_line_procs params: (file_name, p = proc) visibility: public ri/1.8/system/Tracer/get_line-i.yaml 0000644 00000000264 15217654533 0013145 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Tracer#get_line is_singleton: false name: get_line params: (file, line) visibility: public ri/1.8/system/Tracer/trace_func-i.yaml 0000644 00000000326 15217654533 0013467 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Tracer#trace_func is_singleton: false name: trace_func params: (event, file, line, id, binding, klass, *) visibility: public ri/1.8/system/Tracer/stdout-i.yaml 0000644 00000000246 15217654533 0012701 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Tracer#stdout is_singleton: false name: stdout params: () visibility: public ri/1.8/system/Tracer/off-c.yaml 0000644 00000000242 15217654533 0012117 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Tracer::off is_singleton: true name: "off" params: () visibility: public ri/1.8/system/Tracer/trace_func-c.yaml 0000644 00000000263 15217654533 0013461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Tracer::trace_func is_singleton: true name: trace_func params: (*vars) visibility: public ri/1.8/system/Tracer/add_filter-i.yaml 0000644 00000000266 15217654533 0013456 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Tracer#add_filter is_singleton: false name: add_filter params: (p = proc) visibility: public ri/1.8/system/Tracer/on-c.yaml 0000644 00000000253 15217654533 0011763 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: full_name: Tracer::on is_singleton: true name: "on" params: () {|| ...} visibility: public ri/1.8/system/Tracer/set_get_line_procs-i.yaml 0000644 00000000314 15217654533 0015222 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Tracer#set_get_line_procs is_singleton: false name: set_get_line_procs params: (file, p = proc) visibility: public ri/1.8/system/Tracer/on-i.yaml 0000644 00000000253 15217654533 0011771 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: full_name: Tracer#on is_singleton: false name: "on" params: () {|| ...} visibility: public ri/1.8/system/Tracer/cdesc-Tracer.yaml 0000644 00000002573 15217654533 0013435 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: stdout rw: RW - !ruby/object:RI::Attribute comment: name: verbose rw: RW class_methods: - !ruby/object:RI::MethodSummary name: add_filter - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: "off" - !ruby/object:RI::MethodSummary name: "on" - !ruby/object:RI::MethodSummary name: set_get_line_procs - !ruby/object:RI::MethodSummary name: trace_func comment: - !ruby/struct:SM::Flow::P body: tracer main class constants: - !ruby/object:RI::Constant comment: name: EVENT_SYMBOL value: "{ \"line\" => \"-\", \"call\" => \">\", \"return\" => \"<\", \"class\" => \"C\", \"end\" => \"E\", \"c-call\" => \">\", \"c-return\" => \"<\", }" - !ruby/object:RI::Constant comment: name: Single value: new full_name: Tracer includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_filter - !ruby/object:RI::MethodSummary name: get_line - !ruby/object:RI::MethodSummary name: get_thread_no - !ruby/object:RI::MethodSummary name: "off" - !ruby/object:RI::MethodSummary name: "on" - !ruby/object:RI::MethodSummary name: set_get_line_procs - !ruby/object:RI::MethodSummary name: stdout - !ruby/object:RI::MethodSummary name: trace_func name: Tracer superclass: Object ri/1.8/system/Foo/new-c.yaml 0000644 00000000240 15217654533 0011437 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Foo::new is_singleton: true name: new params: (str) visibility: public ri/1.8/system/Foo/to_s-i.yaml 0000644 00000000237 15217654533 0011626 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Foo#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/Foo/cdesc-Foo.yaml 0000644 00000000556 15217654533 0012242 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: [] full_name: Foo includes: - !ruby/object:RI::IncludedModule name: DRbUndumped instance_methods: - !ruby/object:RI::MethodSummary name: hello - !ruby/object:RI::MethodSummary name: to_s name: Foo superclass: Object ri/1.8/system/Foo/hello-i.yaml 0000644 00000000243 15217654533 0011762 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Foo#hello is_singleton: false name: hello params: (it) visibility: public ri/1.8/system/SyncEnumerator/end%3f-i.yaml 0000644 00000000566 15217654533 0014166 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the given nth Enumerable object has reached the end. If no argument is given, returns true if any of the Enumerable objects has reached the end. full_name: SyncEnumerator#end? is_singleton: false name: end? params: (i = nil) visibility: public ri/1.8/system/SyncEnumerator/new-c.yaml 0000644 00000000442 15217654533 0013676 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new SyncEnumerator which enumerates rows of given Enumerable objects. full_name: SyncEnumerator::new is_singleton: true name: new params: (*enums) visibility: public ri/1.8/system/SyncEnumerator/cdesc-SyncEnumerator.yaml 0000644 00000001572 15217654533 0016727 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: SyncEnumerator creates an Enumerable object from multiple Enumerable objects and enumerates them synchronously. - !ruby/struct:SM::Flow::H level: 2 text: Example - !ruby/struct:SM::Flow::VERB body: " require 'generator'\n\n s = SyncEnumerator.new([1,2,3], ['a', 'b', 'c'])\n\n # Yields [1, 'a'], [2, 'b'], and [3,'c']\n s.each { |row| puts row.join(', ') }\n" constants: [] full_name: SyncEnumerator includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: end? - !ruby/object:RI::MethodSummary name: length - !ruby/object:RI::MethodSummary name: size name: SyncEnumerator superclass: Object ri/1.8/system/SyncEnumerator/size-i.yaml 0000644 00000000436 15217654533 0014070 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of enumerated Enumerable objects, i.e. the size of each row. full_name: SyncEnumerator#size is_singleton: false name: size params: () visibility: public ri/1.8/system/SyncEnumerator/each-i.yaml 0000644 00000000410 15217654533 0014006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: ret comment: - !ruby/struct:SM::Flow::P body: Enumerates rows of the Enumerable objects. full_name: SyncEnumerator#each is_singleton: false name: each params: () {|ret| ...} visibility: public ri/1.8/system/SyncEnumerator/length-i.yaml 0000644 00000000442 15217654533 0014374 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of enumerated Enumerable objects, i.e. the size of each row. full_name: SyncEnumerator#length is_singleton: false name: length params: () visibility: public ri/1.8/system/IO/sync-i.yaml 0000644 00000001040 15217654533 0011413 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the current ``sync mode'' of ios. When sync mode is true, all output is immediately flushed to the underlying operating system and is not buffered by Ruby internally. See also IO#fsync. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.sync #=> false\n" full_name: IO#sync is_singleton: false name: sync params: | ios.sync => true or false visibility: public ri/1.8/system/IO/new-c.yaml 0000644 00000001217 15217654533 0011230 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new IO object (a stream) for the given integer file descriptor and mode string. See also IO#fileno and IO::for_fd. - !ruby/struct:SM::Flow::VERB body: " a = IO.new(2,"w") # '2' is standard error\n $stderr.puts "Hello"\n a.puts "World"\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Hello\n World\n" full_name: IO::new is_singleton: true name: new params: | IO.new(fd, mode) => io visibility: public ri/1.8/system/IO/foreach-c.yaml 0000644 00000001241 15217654533 0012043 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Executes the block for every line in the named I/O port, where lines are separated by sep_string. - !ruby/struct:SM::Flow::VERB body: " IO.foreach("testfile") {|x| print "GOT ", x }\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " GOT This is line one\n GOT This is line two\n GOT This is line three\n GOT And so on...\n" full_name: IO::foreach is_singleton: true name: foreach params: | IO.foreach(name, sep_string=$/) {|line| block } => nil visibility: public ri/1.8/system/IO/rewind-i.yaml 0000644 00000001045 15217654533 0011734 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Positions ios to the beginning of input, resetting lineno to zero. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.readline #=> "This is line one\\n"\n f.rewind #=> 0\n f.lineno #=> 0\n f.readline #=> "This is line one\\n"\n" full_name: IO#rewind is_singleton: false name: rewind params: | ios.rewind => 0 visibility: public ri/1.8/system/IO/open-c.yaml 0000644 00000001127 15217654533 0011400 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: With no associated block, open is a synonym for IO::new. If the optional code block is given, it will be passed io as an argument, and the IO object will automatically be closed when the block terminates. In this instance, IO::open returns the value of the block. full_name: IO::open is_singleton: true name: open params: | IO.open(fd, mode_string="r" ) => io IO.open(fd, mode_string="r" ) {|io| block } => obj visibility: public ri/1.8/system/IO/fsync-i.yaml 0000644 00000001117 15217654533 0011566 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Immediately writes all buffered data in ios to disk. Returns nil if the underlying operating system does not support fsync(2). Note that fsync differs from using IO#sync=. The latter ensures that data is flushed from Ruby's buffers, but doesn't not guarantee that the underlying operating system actually writes it to disk. full_name: IO#fsync is_singleton: false name: fsync params: | ios.fsync => 0 or nil visibility: public ri/1.8/system/IO/binmode-i.yaml 0000644 00000000577 15217654533 0012072 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Puts ios into binary mode. This is useful only in MS-DOS/Windows environments. Once a stream is in binary mode, it cannot be reset to nonbinary mode. full_name: IO#binmode is_singleton: false name: binmode params: | ios.binmode => ios visibility: public ri/1.8/system/IO/%3c%3c-i.yaml 0000644 00000001060 15217654533 0011306 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: String Output---Writes obj to ios. obj will be converted to a string using to_s. - !ruby/struct:SM::Flow::VERB body: " $stdout << "Hello " << "world!\\n"\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Hello world!\n" full_name: IO#<< is_singleton: false name: "<<" params: | ios << obj => ios visibility: public ri/1.8/system/IO/each_line-i.yaml 0000644 00000001471 15217654533 0012356 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Executes the block for every line in ios, where lines are separated by sep_string. ios must be opened for reading or an IOError will be raised. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.each {|line| puts "#{f.lineno}: #{line}" }\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " 1: This is line one\n 2: This is line two\n 3: This is line three\n 4: And so on...\n" full_name: IO#each_line is_singleton: false name: each_line params: | ios.each(sep_string=$/) {|line| block } => ios ios.each_line(sep_string=$/) {|line| block } => ios visibility: public ri/1.8/system/IO/readbytes-i.yaml 0000644 00000000731 15217654533 0012427 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads exactly n bytes. - !ruby/struct:SM::Flow::P body: If the data read is nil an EOFError is raised. - !ruby/struct:SM::Flow::P body: "If the data read is too short a TruncatedDataError is raised and the read data is obtainable via its #data method." full_name: IO#readbytes is_singleton: false name: readbytes params: (n) visibility: public ri/1.8/system/IO/readlines-i.yaml 0000644 00000001267 15217654533 0012420 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads all of the lines in ios, and returns them in anArray. Lines are separated by the optional sep_string. If sep_string is nil, the rest of the stream is returned as a single record. The stream must be opened for reading or an IOError will be raised. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.readlines[0] #=> "This is line one\\n"\n" full_name: IO#readlines is_singleton: false name: readlines params: | ios.readlines(sep_string=$/) => array visibility: public ri/1.8/system/IO/soak_up_spaces-i.yaml 0000644 00000000263 15217654533 0013444 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: IO#soak_up_spaces is_singleton: false name: soak_up_spaces params: () visibility: private ri/1.8/system/IO/lineno-i.yaml 0000644 00000001460 15217654533 0011731 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the current line number in ios. The stream must be opened for reading. lineno counts the number of times gets is called, rather than the number of newlines encountered. The two values will differ if gets is called with a separator other than newline. See also the $. variable. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.lineno #=> 0\n f.gets #=> "This is line one\\n"\n f.lineno #=> 1\n f.gets #=> "This is line two\\n"\n f.lineno #=> 2\n" full_name: IO#lineno is_singleton: false name: lineno params: | ios.lineno => integer visibility: public ri/1.8/system/IO/closed%3f-i.yaml 0000644 00000001261 15217654533 0012213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if ios is completely closed (for duplex streams, both reader and writer), false otherwise. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.close #=> nil\n f.closed? #=> true\n f = IO.popen("/bin/sh","r+")\n f.close_write #=> nil\n f.closed? #=> false\n f.close_read #=> nil\n f.closed? #=> true\n" full_name: IO#closed? is_singleton: false name: closed? params: | ios.closed? => true or false visibility: public ri/1.8/system/IO/bytes-i.yaml 0000644 00000001070 15217654533 0011570 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an enumerator that gives each byte (0..255) in ios. The stream must be opened for reading or an IOError will be raised. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.bytes.to_a #=> [104, 101, 108, 108, 111]\n f.rewind\n f.bytes.sort #=> [101, 104, 108, 108, 111]\n" full_name: IO#bytes is_singleton: false name: bytes params: | ios.bytes => anEnumerator visibility: public ri/1.8/system/IO/pid-i.yaml 0000644 00000001310 15217654533 0011213 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the process ID of a child process associated with ios. This will be set by IO::popen. - !ruby/struct:SM::Flow::VERB body: " pipe = IO.popen("-")\n if pipe\n $stderr.puts "In parent, child pid is #{pipe.pid}"\n else\n $stderr.puts "In child, pid is #{$$}"\n end\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " In child, pid is 26209\n In parent, child pid is 26209\n" full_name: IO#pid is_singleton: false name: pid params: | ios.pid => fixnum visibility: public ri/1.8/system/IO/isatty-i.yaml 0000644 00000001015 15217654533 0011756 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if ios is associated with a terminal device (tty), false otherwise. - !ruby/struct:SM::Flow::VERB body: " File.new("testfile").isatty #=> false\n File.new("/dev/tty").isatty #=> true\n" full_name: IO#isatty is_singleton: false name: isatty params: | ios.isatty => true or false ios.tty? => true or false visibility: public ri/1.8/system/IO/cdesc-IO.yaml 0000644 00000017370 15217654533 0011614 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: for_fd - !ruby/object:RI::MethodSummary name: foreach - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: open - !ruby/object:RI::MethodSummary name: pipe - !ruby/object:RI::MethodSummary name: popen - !ruby/object:RI::MethodSummary name: read - !ruby/object:RI::MethodSummary name: readlines - !ruby/object:RI::MethodSummary name: select - !ruby/object:RI::MethodSummary name: sysopen comment: - !ruby/struct:SM::Flow::P body: Class IO is the basis for all input and output in Ruby. An I/O stream may be duplexed (that is, bidirectional), and so may use more than one native operating system stream. - !ruby/struct:SM::Flow::P body: Many of the examples in this section use class File, the only standard subclass of IO. The two classes are closely associated. - !ruby/struct:SM::Flow::P body: As used in this section, portname may take any of the following forms. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: A plain string represents a filename suitable for the underlying operating system. - !ruby/struct:SM::Flow::LI label: "*" body: A string starting with ``|'' indicates a subprocess. The remainder of the string following the ``|'' is invoked as a process with appropriate input/output channels connected to it. - !ruby/struct:SM::Flow::LI label: "*" body: A string equal to ``|-'' will create another Ruby instance as a subprocess. type: :BULLET - !ruby/struct:SM::Flow::P body: "Ruby will convert pathnames between different operating system conventions if possible. For instance, on a Windows system the filename ``/gumby/ruby/test.rb'' will be opened as ``\\gumby\\ruby\\test.rb''. When specifying a Windows-style filename in a Ruby string, remember to escape the backslashes:" - !ruby/struct:SM::Flow::VERB body: " "c:\\gumby\\ruby\\test.rb"\n" - !ruby/struct:SM::Flow::P body: Our examples here will use the Unix-style forward slashes; File::SEPARATOR can be used to get the platform-specific separator character. - !ruby/struct:SM::Flow::P body: I/O ports may be opened in any one of several different modes, which are shown in this section as mode. The mode may either be a Fixnum or a String. If numeric, it should be one of the operating system specific constants (O_RDONLY, O_WRONLY, O_RDWR, O_APPEND and so on). See man open(2) for more information. - !ruby/struct:SM::Flow::P body: If the mode is given as a String, it must be one of the values listed in the following table. - !ruby/struct:SM::Flow::VERB body: " Mode | Meaning\n -----+--------------------------------------------------------\n "r" | Read-only, starts at beginning of file (default mode).\n -----+--------------------------------------------------------\n "r+" | Read-write, starts at beginning of file.\n -----+--------------------------------------------------------\n "w" | Write-only, truncates existing file\n | to zero length or creates a new file for writing.\n -----+--------------------------------------------------------\n "w+" | Read-write, truncates existing file to zero length\n | or creates a new file for reading and writing.\n -----+--------------------------------------------------------\n "a" | Write-only, starts at end of file if file exists,\n | otherwise creates a new file for writing.\n -----+--------------------------------------------------------\n "a+" | Read-write, starts at end of file if file exists,\n | otherwise creates a new file for reading and\n | writing.\n -----+--------------------------------------------------------\n "b" | (DOS/Windows only) Binary file mode (may appear with\n | any of the key letters listed above).\n" - !ruby/struct:SM::Flow::P body: The global constant ARGF (also accessible as $<) provides an IO-like stream which allows access to all files mentioned on the command line (or STDIN if no files are mentioned). ARGF provides the methods #path and #filename to access the name of the file currently being read. constants: - !ruby/object:RI::Constant comment: name: SEEK_SET value: INT2FIX(SEEK_SET) - !ruby/object:RI::Constant comment: name: SEEK_CUR value: INT2FIX(SEEK_CUR) - !ruby/object:RI::Constant comment: name: SEEK_END value: INT2FIX(SEEK_END) full_name: IO includes: - !ruby/object:RI::IncludedModule name: File::Constants - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: binmode - !ruby/object:RI::MethodSummary name: block_scanf - !ruby/object:RI::MethodSummary name: bytes - !ruby/object:RI::MethodSummary name: chars - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: close_read - !ruby/object:RI::MethodSummary name: close_write - !ruby/object:RI::MethodSummary name: closed? - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: each_byte - !ruby/object:RI::MethodSummary name: each_char - !ruby/object:RI::MethodSummary name: each_line - !ruby/object:RI::MethodSummary name: eof - !ruby/object:RI::MethodSummary name: eof? - !ruby/object:RI::MethodSummary name: fcntl - !ruby/object:RI::MethodSummary name: fileno - !ruby/object:RI::MethodSummary name: flush - !ruby/object:RI::MethodSummary name: fsync - !ruby/object:RI::MethodSummary name: getbyte - !ruby/object:RI::MethodSummary name: getc - !ruby/object:RI::MethodSummary name: gets - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: ioctl - !ruby/object:RI::MethodSummary name: isatty - !ruby/object:RI::MethodSummary name: lineno - !ruby/object:RI::MethodSummary name: lineno= - !ruby/object:RI::MethodSummary name: lines - !ruby/object:RI::MethodSummary name: pid - !ruby/object:RI::MethodSummary name: pos - !ruby/object:RI::MethodSummary name: pos= - !ruby/object:RI::MethodSummary name: print - !ruby/object:RI::MethodSummary name: printf - !ruby/object:RI::MethodSummary name: putc - !ruby/object:RI::MethodSummary name: puts - !ruby/object:RI::MethodSummary name: read - !ruby/object:RI::MethodSummary name: read_nonblock - !ruby/object:RI::MethodSummary name: readbyte - !ruby/object:RI::MethodSummary name: readbytes - !ruby/object:RI::MethodSummary name: readchar - !ruby/object:RI::MethodSummary name: readline - !ruby/object:RI::MethodSummary name: readlines - !ruby/object:RI::MethodSummary name: readpartial - !ruby/object:RI::MethodSummary name: reopen - !ruby/object:RI::MethodSummary name: rewind - !ruby/object:RI::MethodSummary name: scanf - !ruby/object:RI::MethodSummary name: seek - !ruby/object:RI::MethodSummary name: soak_up_spaces - !ruby/object:RI::MethodSummary name: stat - !ruby/object:RI::MethodSummary name: sync - !ruby/object:RI::MethodSummary name: sync= - !ruby/object:RI::MethodSummary name: sysread - !ruby/object:RI::MethodSummary name: sysseek - !ruby/object:RI::MethodSummary name: syswrite - !ruby/object:RI::MethodSummary name: tell - !ruby/object:RI::MethodSummary name: to_i - !ruby/object:RI::MethodSummary name: to_io - !ruby/object:RI::MethodSummary name: tty? - !ruby/object:RI::MethodSummary name: ungetc - !ruby/object:RI::MethodSummary name: write - !ruby/object:RI::MethodSummary name: write_nonblock name: IO superclass: ri/1.8/system/IO/to_i-i.yaml 0000644 00000000326 15217654533 0011377 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #fileno" full_name: IO#to_i is_singleton: false name: to_i params: () visibility: public ri/1.8/system/IO/getbyte-i.yaml 0000644 00000000712 15217654533 0012107 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Gets the next 8-bit byte (0..255) from ios. Returns nil if called at end of file. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.getc #=> 84\n f.getc #=> 104\n" full_name: IO#getbyte is_singleton: false name: getbyte params: | ios.getc => fixnum or nil visibility: public ri/1.8/system/IO/readchar-i.yaml 0000644 00000000501 15217654533 0012211 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads a character as with IO#getc, but raises an EOFError on end of file. full_name: IO#readchar is_singleton: false name: readchar params: | ios.readchar => fixnum visibility: public ri/1.8/system/IO/block_scanf-i.yaml 0000644 00000000311 15217654533 0012703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: (current) comment: full_name: IO#block_scanf is_singleton: false name: block_scanf params: (str) {|current| ...} visibility: private ri/1.8/system/IO/putc-i.yaml 0000644 00000001130 15217654533 0011412 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: If obj is Numeric, write the character whose code is obj, otherwise write the first character of the string representation of obj to ios. - !ruby/struct:SM::Flow::VERB body: " $stdout.putc "A"\n $stdout.putc 65\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " AA\n" full_name: IO#putc is_singleton: false name: putc params: | ios.putc(obj) => obj visibility: public ri/1.8/system/IO/seek-i.yaml 0000644 00000002015 15217654533 0011371 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Seeks to a given offset anInteger in the stream according to the value of whence:" - !ruby/struct:SM::Flow::VERB body: " IO::SEEK_CUR | Seeks to amount plus current position\n --------------+----------------------------------------------------\n IO::SEEK_END | Seeks to amount plus end of stream (you probably\n | want a negative value for amount)\n --------------+----------------------------------------------------\n IO::SEEK_SET | Seeks to the absolute location given by amount\n" - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.seek(-13, IO::SEEK_END) #=> 0\n f.readline #=> "And so on...\\n"\n" full_name: IO#seek is_singleton: false name: seek params: | ios.seek(amount, whence=SEEK_SET) -> 0 visibility: public ri/1.8/system/IO/each_char-i.yaml 0000644 00000001161 15217654533 0012340 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls the given block once for each character in ios, passing the character as an argument. The stream must be opened for reading or an IOError will be raised. Multibyte characters are dealt with according to $KCODE. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.each_char {|c| print c, ' ' } #=> #<File:testfile>\n" full_name: IO#each_char is_singleton: false name: each_char params: | ios.each_char {|c| block } => ios visibility: public ri/1.8/system/IO/close-i.yaml 0000644 00000001144 15217654533 0011551 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Closes ios and flushes any pending writes to the operating system. The stream is unavailable for any further data operations; an IOError is raised if such an attempt is made. I/O streams are automatically closed when they are claimed by the garbage collector. - !ruby/struct:SM::Flow::P body: If ios is opened by IO.popen, close sets $?. full_name: IO#close is_singleton: false name: close params: | ios.close => nil visibility: public ri/1.8/system/IO/each_byte-i.yaml 0000644 00000001175 15217654533 0012373 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls the given block once for each byte (0..255) in ios, passing the byte as an argument. The stream must be opened for reading or an IOError will be raised. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n checksum = 0\n f.each_byte {|x| checksum ^= x } #=> #<File:testfile>\n checksum #=> 12\n" full_name: IO#each_byte is_singleton: false name: each_byte params: | ios.each_byte {|byte| block } => ios visibility: public ri/1.8/system/IO/readbyte-i.yaml 0000644 00000000501 15217654533 0012237 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads a character as with IO#getc, but raises an EOFError on end of file. full_name: IO#readbyte is_singleton: false name: readbyte params: | ios.readchar => fixnum visibility: public ri/1.8/system/IO/read-i.yaml 0000644 00000001716 15217654533 0011364 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads at most length bytes from the I/O stream, or to the end of file if length is omitted or is nil. length must be a non-negative integer or nil. If the optional buffer argument is present, it must reference a String, which will receive the data. - !ruby/struct:SM::Flow::P body: At end of file, it returns nil or "" depend on length. ios.read() and ios.read(nil) returns "". ios.read(positive-integer) returns nil. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.read(16) #=> "This is line one"\n" full_name: IO#read is_singleton: false name: read params: | ios.read([length [, buffer]]) => string, buffer, or nil visibility: public ri/1.8/system/IO/tty%3f-i.yaml 0000644 00000001011 15217654533 0011553 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if ios is associated with a terminal device (tty), false otherwise. - !ruby/struct:SM::Flow::VERB body: " File.new("testfile").isatty #=> false\n File.new("/dev/tty").isatty #=> true\n" full_name: IO#tty? is_singleton: false name: tty? params: | ios.isatty => true or false ios.tty? => true or false visibility: public ri/1.8/system/IO/pos-i.yaml 0000644 00000000733 15217654533 0011250 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the current offset (in bytes) of ios. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.pos #=> 0\n f.gets #=> "This is line one\\n"\n f.pos #=> 17\n" full_name: IO#pos is_singleton: false name: pos params: | ios.pos => integer ios.tell => integer visibility: public ri/1.8/system/IO/to_io-i.yaml 0000644 00000000355 15217654533 0011560 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns ios. full_name: IO#to_io is_singleton: false name: to_io params: | ios.to_io -> ios visibility: public ri/1.8/system/IO/read_nonblock-i.yaml 0000644 00000001747 15217654533 0013255 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads at most maxlen bytes from ios using read(2) system call after O_NONBLOCK is set for the underlying file descriptor. - !ruby/struct:SM::Flow::P body: If the optional outbuf argument is present, it must reference a String, which will receive the data. - !ruby/struct:SM::Flow::P body: "read_nonblock just calls read(2). It causes all errors read(2) causes: EAGAIN, EINTR, etc. The caller should care such errors." - !ruby/struct:SM::Flow::P body: read_nonblock causes EOFError on EOF. - !ruby/struct:SM::Flow::P body: If the read buffer is not empty, read_nonblock reads from the buffer like readpartial. In this case, read(2) is not called. full_name: IO#read_nonblock is_singleton: false name: read_nonblock params: | ios.read_nonblock(maxlen) => string ios.read_nonblock(maxlen, outbuf) => outbuf visibility: public ri/1.8/system/IO/close_read-i.yaml 0000644 00000001320 15217654533 0012540 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Closes the read end of a duplex I/O stream (i.e., one that contains both a read and a write stream, such as a pipe). Will raise an IOError if the stream is not duplexed. - !ruby/struct:SM::Flow::VERB body: " f = IO.popen("/bin/sh","r+")\n f.close_read\n f.readlines\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " prog.rb:3:in `readlines': not opened for reading (IOError)\n from prog.rb:3\n" full_name: IO#close_read is_singleton: false name: close_read params: | ios.close_read => nil visibility: public ri/1.8/system/IO/getc-i.yaml 0000644 00000000704 15217654533 0011367 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Gets the next 8-bit byte (0..255) from ios. Returns nil if called at end of file. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.getc #=> 84\n f.getc #=> 104\n" full_name: IO#getc is_singleton: false name: getc params: | ios.getc => fixnum or nil visibility: public ri/1.8/system/IO/read-c.yaml 0000644 00000001416 15217654533 0011353 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Opens the file, optionally seeks to the given offset, then returns length bytes (defaulting to the rest of the file). read ensures the file is closed before returning. - !ruby/struct:SM::Flow::VERB body: " IO.read("testfile") #=> "This is line one\\nThis is line two\\nThis is line three\\nAnd so on...\\n"\n IO.read("testfile", 20) #=> "This is line one\\nThi"\n IO.read("testfile", 20, 10) #=> "ne one\\nThis is line "\n" full_name: IO::read is_singleton: true name: read params: | IO.read(name, [length [, offset]] ) => string visibility: public ri/1.8/system/IO/tell-i.yaml 0000644 00000000735 15217654533 0011411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the current offset (in bytes) of ios. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.pos #=> 0\n f.gets #=> "This is line one\\n"\n f.pos #=> 17\n" full_name: IO#tell is_singleton: false name: tell params: | ios.pos => integer ios.tell => integer visibility: public ri/1.8/system/IO/readline-i.yaml 0000644 00000000513 15217654533 0012226 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads a line as with IO#gets, but raises an EOFError on end of file. full_name: IO#readline is_singleton: false name: readline params: | ios.readline(sep_string=$/) => string visibility: public ri/1.8/system/IO/write-i.yaml 0000644 00000001336 15217654533 0011601 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Writes the given string to ios. The stream must be opened for writing. If the argument is not a string, it will be converted to a string using to_s. Returns the number of bytes written. - !ruby/struct:SM::Flow::VERB body: " count = $stdout.write( "This is a test\\n" )\n puts "That was #{count} bytes of data"\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " This is a test\n That was 15 bytes of data\n" full_name: IO#write is_singleton: false name: write params: | ios.write(string) => integer visibility: public ri/1.8/system/IO/pipe-c.yaml 0000644 00000002430 15217654533 0011372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Creates a pair of pipe endpoints (connected to each other) and returns them as a two-element array of IO objects: [ read_file, write_file ]. Not available on all platforms." - !ruby/struct:SM::Flow::P body: In the example below, the two processes close the ends of the pipe that they are not using. This is not just a cosmetic nicety. The read end of a pipe will not generate an end of file condition if there are any writers with the pipe still open. In the case of the parent process, the rd.read will never return if it does not first issue a wr.close. - !ruby/struct:SM::Flow::VERB body: " rd, wr = IO.pipe\n\n if fork\n wr.close\n puts "Parent got: <#{rd.read}>"\n rd.close\n Process.wait\n else\n rd.close\n puts "Sending message to parent"\n wr.write "Hi Dad"\n wr.close\n end\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Sending message to parent\n Parent got: <Hi Dad>\n" full_name: IO::pipe is_singleton: true name: pipe params: | IO.pipe -> array visibility: public ri/1.8/system/IO/sync%3d-i.yaml 0000644 00000001166 15217654533 0011720 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the ``sync mode'' to true or false. When sync mode is true, all output is immediately flushed to the underlying operating system and is not buffered internally. Returns the new state. See also IO#fsync. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.sync = true\n" - !ruby/struct:SM::Flow::P body: (produces no output) full_name: IO#sync= is_singleton: false name: sync= params: | ios.sync = boolean => boolean visibility: public ri/1.8/system/IO/sysseek-i.yaml 0000644 00000001160 15217654533 0012130 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Seeks to a given offset in the stream according to the value of whence (see IO#seek for values of whence). Returns the new offset into the file. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.sysseek(-13, IO::SEEK_END) #=> 53\n f.sysread(10) #=> "And so on."\n" full_name: IO#sysseek is_singleton: false name: sysseek params: | ios.sysseek(offset, whence=SEEK_SET) => integer visibility: public ri/1.8/system/IO/sysread-i.yaml 0000644 00000001211 15217654533 0012111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads integer bytes from ios using a low-level read and returns them as a string. Do not mix with other methods that read from ios or you may get unpredictable results. Raises SystemCallError on error and EOFError at end of file. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.sysread(16) #=> "This is line one"\n" full_name: IO#sysread is_singleton: false name: sysread params: | ios.sysread(integer ) => string visibility: public ri/1.8/system/IO/printf-i.yaml 0000644 00000000600 15217654533 0011742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Formats and writes to ios, converting parameters under control of the format string. See Kernel#sprintf for details. full_name: IO#printf is_singleton: false name: printf params: | ios.printf(format_string [, obj, ...] ) => nil visibility: public ri/1.8/system/IO/each-i.yaml 0000644 00000001457 15217654533 0011353 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Executes the block for every line in ios, where lines are separated by sep_string. ios must be opened for reading or an IOError will be raised. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.each {|line| puts "#{f.lineno}: #{line}" }\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " 1: This is line one\n 2: This is line two\n 3: This is line three\n 4: And so on...\n" full_name: IO#each is_singleton: false name: each params: | ios.each(sep_string=$/) {|line| block } => ios ios.each_line(sep_string=$/) {|line| block } => ios visibility: public ri/1.8/system/IO/eof-i.yaml 0000644 00000002232 15217654533 0011214 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if ios is at end of file that means there are no more data to read. The stream must be opened for reading or an IOError will be raised. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n dummy = f.readlines\n f.eof #=> true\n" - !ruby/struct:SM::Flow::P body: If ios is a stream such as pipe or socket, IO#eof? blocks until the other end sends some data or closes it. - !ruby/struct:SM::Flow::VERB body: " r, w = IO.pipe\n Thread.new { sleep 1; w.close }\n r.eof? #=> true after 1 second blocking\n\n r, w = IO.pipe\n Thread.new { sleep 1; w.puts "a" }\n r.eof? #=> false after 1 second blocking\n\n r, w = IO.pipe\n r.eof? # blocks forever\n" - !ruby/struct:SM::Flow::P body: Note that IO#eof? reads data to a input buffer. So IO#sysread doesn't work with IO#eof?. full_name: IO#eof is_singleton: false name: eof params: | ios.eof => true or false ios.eof? => true or false visibility: public ri/1.8/system/IO/print-i.yaml 0000644 00000001606 15217654533 0011603 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Writes the given object(s) to ios. The stream must be opened for writing. If the output record separator ($\) is not nil, it will be appended to the output. If no arguments are given, prints $_. Objects that aren't strings will be converted by calling their to_s method. With no argument, prints the contents of the variable $_. Returns nil. - !ruby/struct:SM::Flow::VERB body: " $stdout.print("This is ", 100, " percent.\\n")\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " This is 100 percent.\n" full_name: IO#print is_singleton: false name: print params: | ios.print() => nil ios.print(obj, ...) => nil visibility: public ri/1.8/system/IO/puts-i.yaml 0000644 00000001423 15217654533 0011437 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Writes the given objects to ios as with IO#print. Writes a record separator (typically a newline) after any that do not already end with a newline sequence. If called with an array argument, writes each element on a new line. If called without arguments, outputs a single record separator. - !ruby/struct:SM::Flow::VERB body: " $stdout.puts("this", "is", "a", "test")\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " this\n is\n a\n test\n" full_name: IO#puts is_singleton: false name: puts params: | ios.puts(obj, ...) => nil visibility: public ri/1.8/system/IO/inspect-i.yaml 0000644 00000000415 15217654533 0012111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a string describing this IO object. full_name: IO#inspect is_singleton: false name: inspect params: | ios.inspect => string visibility: public ri/1.8/system/IO/eof%3f-i.yaml 0000644 00000002234 15217654533 0011514 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if ios is at end of file that means there are no more data to read. The stream must be opened for reading or an IOError will be raised. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n dummy = f.readlines\n f.eof #=> true\n" - !ruby/struct:SM::Flow::P body: If ios is a stream such as pipe or socket, IO#eof? blocks until the other end sends some data or closes it. - !ruby/struct:SM::Flow::VERB body: " r, w = IO.pipe\n Thread.new { sleep 1; w.close }\n r.eof? #=> true after 1 second blocking\n\n r, w = IO.pipe\n Thread.new { sleep 1; w.puts "a" }\n r.eof? #=> false after 1 second blocking\n\n r, w = IO.pipe\n r.eof? # blocks forever\n" - !ruby/struct:SM::Flow::P body: Note that IO#eof? reads data to a input buffer. So IO#sysread doesn't work with IO#eof?. full_name: IO#eof? is_singleton: false name: eof? params: | ios.eof => true or false ios.eof? => true or false visibility: public ri/1.8/system/IO/ioctl-i.yaml 0000644 00000001112 15217654533 0011551 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Provides a mechanism for issuing low-level commands to control or query I/O devices. Arguments and results are platform dependent. If arg is a number, its value is passed directly. If it is a string, it is interpreted as a binary sequence of bytes. On Unix platforms, see ioctl(2) for details. Not implemented on all platforms. full_name: IO#ioctl is_singleton: false name: ioctl params: | ios.ioctl(integer_cmd, arg) => integer visibility: public ri/1.8/system/IO/lines-i.yaml 0000644 00000001247 15217654533 0011562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an enumerator that gives each line in ios. The stream must be opened for reading or an IOError will be raised. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.lines.to_a #=> ["foo\\n", "bar\\n"]\n f.rewind\n f.lines.sort #=> ["bar\\n", "foo\\n"]\n" full_name: IO#lines is_singleton: false name: lines params: | ios.lines(sep=$/) => anEnumerator ios.lines(limit) => anEnumerator ios.lines(sep, limit) => anEnumerator visibility: public ri/1.8/system/IO/select-c.yaml 0000644 00000000503 15217654533 0011713 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Kernel#select. full_name: IO::select is_singleton: true name: select params: | IO.select(read_array [, write_array [, error_array [, timeout]]] ) => array or nil visibility: public ri/1.8/system/IO/popen-c.yaml 0000644 00000004035 15217654533 0011561 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Runs the specified command string as a subprocess; the subprocess's standard input and output will be connected to the returned IO object. If cmd_string starts with a ``-'', then a new instance of Ruby is started as the subprocess. The default mode for the new file object is ``r'', but mode may be set to any of the modes listed in the description for class IO. - !ruby/struct:SM::Flow::P body: If a block is given, Ruby will run the command as a child connected to Ruby with a pipe. Ruby's end of the pipe will be passed as a parameter to the block. At the end of block, Ruby close the pipe and sets $?. In this case IO::popen returns the value of the block. - !ruby/struct:SM::Flow::P body: "If a block is given with a cmd_string of ``-'', the block will be run in two separate processes: once in the parent, and once in a child. The parent process will be passed the pipe object as a parameter to the block, the child version of the block will be passed nil, and the child's standard in and standard out will be connected to the parent through the pipe. Not available on all platforms." - !ruby/struct:SM::Flow::VERB body: " f = IO.popen("uname")\n p f.readlines\n puts "Parent is #{Process.pid}"\n IO.popen ("date") { |f| puts f.gets }\n IO.popen("-") {|f| $stderr.puts "#{Process.pid} is here, f is #{f}"}\n p $?\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " ["Linux\\n"]\n Parent is 26166\n Wed Apr 9 08:53:52 CDT 2003\n 26169 is here, f is\n 26166 is here, f is #<IO:0x401b3d44>\n #<Process::Status: pid=26166,exited(0)>\n" full_name: IO::popen is_singleton: true name: popen params: | IO.popen(cmd_string, mode="r" ) => io IO.popen(cmd_string, mode="r" ) {|io| block } => obj visibility: public ri/1.8/system/IO/readpartial-i.yaml 0000644 00000007343 15217654533 0012743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads at most maxlen bytes from the I/O stream. It blocks only if ios has no data immediately available. It doesn't block if some data available. If the optional outbuf argument is present, it must reference a String, which will receive the data. It raises EOFError on end of file. - !ruby/struct:SM::Flow::P body: readpartial is designed for streams such as pipe, socket, tty, etc. It blocks only when no data immediately available. This means that it blocks only when following all conditions hold. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: the buffer in the IO object is empty. - !ruby/struct:SM::Flow::LI label: "*" body: the content of the stream is empty. - !ruby/struct:SM::Flow::LI label: "*" body: the stream is not reached to EOF. type: :BULLET - !ruby/struct:SM::Flow::P body: When readpartial blocks, it waits data or EOF on the stream. If some data is reached, readpartial returns with the data. If EOF is reached, readpartial raises EOFError. - !ruby/struct:SM::Flow::P body: When readpartial doesn't blocks, it returns or raises immediately. If the buffer is not empty, it returns the data in the buffer. Otherwise if the stream has some content, it returns the data in the stream. Otherwise if the stream is reached to EOF, it raises EOFError. - !ruby/struct:SM::Flow::VERB body: " r, w = IO.pipe # buffer pipe content\n w << "abc" # "" "abc".\n r.readpartial(4096) #=> "abc" "" ""\n r.readpartial(4096) # blocks because buffer and pipe is empty.\n\n r, w = IO.pipe # buffer pipe content\n w << "abc" # "" "abc"\n w.close # "" "abc" EOF\n r.readpartial(4096) #=> "abc" "" EOF\n r.readpartial(4096) # raises EOFError\n\n r, w = IO.pipe # buffer pipe content\n w << "abc\\ndef\\n" # "" "abc\\ndef\\n"\n r.gets #=> "abc\\n" "def\\n" ""\n w << "ghi\\n" # "def\\n" "ghi\\n"\n r.readpartial(4096) #=> "def\\n" "" "ghi\\n"\n r.readpartial(4096) #=> "ghi\\n" "" ""\n" - !ruby/struct:SM::Flow::P body: "Note that readpartial behaves similar to sysread. The differences are:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: If the buffer is not empty, read from the buffer instead of "sysread for buffered IO (IOError)". - !ruby/struct:SM::Flow::LI label: "*" body: It doesn't cause Errno::EAGAIN and Errno::EINTR. When readpartial meets EAGAIN and EINTR by read system call, readpartial retry the system call. type: :BULLET - !ruby/struct:SM::Flow::P body: The later means that readpartial is nonblocking-flag insensitive. It blocks on the situation IO#sysread causes Errno::EAGAIN as if the fd is blocking mode. full_name: IO#readpartial is_singleton: false name: readpartial params: | ios.readpartial(maxlen) => string ios.readpartial(maxlen, outbuf) => outbuf visibility: public ri/1.8/system/IO/scanf-i.yaml 0000644 00000002372 15217654533 0011542 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The trick here is doing a match where you grab one line of input at a time. The linebreak may or may not occur at the boundary where the string matches a format specifier. And if it does, some rule about whitespace may or may not be in effect... - !ruby/struct:SM::Flow::P body: That's why this is much more elaborate than the string version. - !ruby/struct:SM::Flow::P body: "For each line: Match succeeds (non-emptily) and the last attempted spec/string sub-match succeeded:" - !ruby/struct:SM::Flow::VERB body: " could the last spec keep matching?\n yes: save interim results and continue (next line)\n" - !ruby/struct:SM::Flow::P body: "The last attempted spec/string did not match:" - !ruby/struct:SM::Flow::P body: are we on the next-to-last spec in the string? - !ruby/struct:SM::Flow::VERB body: " yes:\n is fmt_string.string_left all spaces?\n yes: does current spec care about input space?\n yes: fatal failure\n no: save interim results and continue\n no: continue [this state could be analyzed further]\n" full_name: IO#scanf is_singleton: false name: scanf params: (str,&b) visibility: public ri/1.8/system/IO/gets-i.yaml 0000644 00000001577 15217654533 0011420 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads the next ``line'' from the I/O stream; lines are separated by sep_string. A separator of nil reads the entire contents, and a zero-length separator reads the input a paragraph at a time (two successive newlines in the input separate paragraphs). The stream must be opened for reading or an IOError will be raised. The line read in will be returned and also assigned to $_. Returns nil if called at end of file. - !ruby/struct:SM::Flow::VERB body: " File.new("testfile").gets #=> "This is line one\\n"\n $_ #=> "This is line one\\n"\n" full_name: IO#gets is_singleton: false name: gets params: | ios.gets(sep_string=$/) => string or nil visibility: public ri/1.8/system/IO/write_nonblock-i.yaml 0000644 00000001174 15217654533 0013466 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Writes the given string to ios using write(2) system call after O_NONBLOCK is set for the underlying file descriptor. - !ruby/struct:SM::Flow::P body: "write_nonblock just calls write(2). It causes all errors write(2) causes: EAGAIN, EINTR, etc. The result may also be smaller than string.length (partial write). The caller should care such errors and partial write." full_name: IO#write_nonblock is_singleton: false name: write_nonblock params: | ios.write_nonblock(string) => integer visibility: public ri/1.8/system/IO/flush-i.yaml 0000644 00000001126 15217654533 0011565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Flushes any buffered data within ios to the underlying operating system (note that this is Ruby internal buffering only; the OS may buffer the data as well). - !ruby/struct:SM::Flow::VERB body: " $stdout.print "no newline"\n $stdout.flush\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " no newline\n" full_name: IO#flush is_singleton: false name: flush params: | ios.flush => ios visibility: public ri/1.8/system/IO/ungetc-i.yaml 0000644 00000001474 15217654533 0011737 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Pushes back one character (passed as a parameter) onto ios, such that a subsequent buffered read will return it. Only one character may be pushed back before a subsequent read operation (that is, you will be able to read only the last of several characters that have been pushed back). Has no effect with unbuffered reads (such as IO#sysread). - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile") #=> #<File:testfile>\n c = f.getc #=> 84\n f.ungetc(c) #=> nil\n f.getc #=> 84\n" full_name: IO#ungetc is_singleton: false name: ungetc params: | ios.ungetc(integer) => nil visibility: public ri/1.8/system/IO/close_write-i.yaml 0000644 00000001377 15217654533 0012773 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Closes the write end of a duplex I/O stream (i.e., one that contains both a read and a write stream, such as a pipe). Will raise an IOError if the stream is not duplexed. - !ruby/struct:SM::Flow::VERB body: " f = IO.popen("/bin/sh","r+")\n f.close_write\n f.print "nowhere"\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " prog.rb:3:in `write': not opened for writing (IOError)\n from prog.rb:3:in `print'\n from prog.rb:3\n" full_name: IO#close_write is_singleton: false name: close_write params: | ios.close_write => nil visibility: public ri/1.8/system/IO/readlines-c.yaml 0000644 00000001031 15217654533 0012377 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reads the entire file specified by name as individual lines, and returns those lines in an array. Lines are separated by sep_string. - !ruby/struct:SM::Flow::VERB body: " a = IO.readlines("testfile")\n a[0] #=> "This is line one\\n"\n" full_name: IO::readlines is_singleton: true name: readlines params: | IO.readlines(name, sep_string=$/) => array visibility: public ri/1.8/system/IO/chars-i.yaml 0000644 00000001151 15217654533 0011542 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls the given block once for each character in ios, passing the character as an argument. The stream must be opened for reading or an IOError will be raised. Multibyte characters are dealt with according to $KCODE. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.each_char {|c| print c, ' ' } #=> #<File:testfile>\n" full_name: IO#chars is_singleton: false name: chars params: | ios.each_char {|c| block } => ios visibility: public ri/1.8/system/IO/stat-i.yaml 0000644 00000001036 15217654533 0011417 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns status information for ios as an object of type File::Stat. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n s = f.stat\n "%o" % s.mode #=> "100644"\n s.blksize #=> 4096\n s.atime #=> Wed Apr 09 08:53:54 CDT 2003\n" full_name: IO#stat is_singleton: false name: stat params: | ios.stat => stat visibility: public ri/1.8/system/IO/lineno%3d-i.yaml 0000644 00000001354 15217654533 0012227 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Manually sets the current line number to the given value. $. is updated only on the next read. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.gets #=> "This is line one\\n"\n $. #=> 1\n f.lineno = 1000\n f.lineno #=> 1000\n $. # lineno of last read #=> 1\n f.gets #=> "This is line two\\n"\n $. # lineno of last read #=> 1001\n" full_name: IO#lineno= is_singleton: false name: lineno= params: | ios.lineno = integer => integer visibility: public ri/1.8/system/IO/pos%3d-i.yaml 0000644 00000000660 15217654533 0011543 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Seeks to the given position (in bytes) in ios. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.pos = 17\n f.gets #=> "This is line two\\n"\n" full_name: IO#pos= is_singleton: false name: pos= params: | ios.pos = integer => integer visibility: public ri/1.8/system/IO/sysopen-c.yaml 0000644 00000000645 15217654533 0012143 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Opens the given path, returning the underlying file descriptor as a Fixnum. - !ruby/struct:SM::Flow::VERB body: " IO.sysopen("testfile") #=> 3\n" full_name: IO::sysopen is_singleton: true name: sysopen params: | IO.sysopen(path, [mode, [perm]]) => fixnum visibility: public ri/1.8/system/IO/fileno-i.yaml 0000644 00000000726 15217654533 0011725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: to_i block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an integer representing the numeric file descriptor for ios. - !ruby/struct:SM::Flow::VERB body: " $stdin.fileno #=> 0\n $stdout.fileno #=> 1\n" full_name: IO#fileno is_singleton: false name: fileno params: | ios.fileno => fixnum ios.to_i => fixnum visibility: public ri/1.8/system/IO/syswrite-i.yaml 0000644 00000001146 15217654533 0012337 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Writes the given string to ios using a low-level write. Returns the number of bytes written. Do not mix with other methods that write to ios or you may get unpredictable results. Raises SystemCallError on error. - !ruby/struct:SM::Flow::VERB body: " f = File.new("out", "w")\n f.syswrite("ABCDEF") #=> 6\n" full_name: IO#syswrite is_singleton: false name: syswrite params: | ios.syswrite(string) => integer visibility: public ri/1.8/system/IO/reopen-i.yaml 0000644 00000001355 15217654533 0011740 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Reassociates ios with the I/O stream given in other_IO or to a new stream opened on path. This may dynamically change the actual class of this stream. - !ruby/struct:SM::Flow::VERB body: " f1 = File.new("testfile")\n f2 = File.new("testfile")\n f2.readlines[0] #=> "This is line one\\n"\n f2.reopen(f1) #=> #<File:testfile>\n f2.readlines[0] #=> "This is line one\\n"\n" full_name: IO#reopen is_singleton: false name: reopen params: | ios.reopen(other_IO) => ios ios.reopen(path, mode_str) => ios visibility: public ri/1.8/system/IO/for_fd-c.yaml 0000644 00000000403 15217654533 0011672 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Synonym for IO::new. full_name: IO::for_fd is_singleton: true name: for_fd params: | IO.for_fd(fd, mode) => io visibility: public ri/1.8/system/IO/fcntl-i.yaml 0000644 00000001231 15217654533 0011547 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Provides a mechanism for issuing low-level commands to control or query file-oriented I/O streams. Arguments and results are platform dependent. If arg is a number, its value is passed directly. If it is a string, it is interpreted as a binary sequence of bytes (Array#pack might be a useful way to build this string). On Unix platforms, see fcntl(2) for details. Not implemented on all platforms. full_name: IO#fcntl is_singleton: false name: fcntl params: | ios.fcntl(integer_cmd, arg) => integer visibility: public ri/1.8/system/ParseDate/cdesc-ParseDate.yaml 0000644 00000000352 15217654533 0014506 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: ParseDate includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: parsedate name: ParseDate superclass: ri/1.8/system/ParseDate/parsedate-i.yaml 0000644 00000002006 15217654533 0013753 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Parse a string representation of a date into values. For example:" - !ruby/struct:SM::Flow::VERB body: " require 'parsedate'\n\n ParseDate.parsedate "Tuesday, July 5th, 2007, 18:35:20 UTC"\n # => [2007, 7, 5, 18, 35, 20, "UTC", 2]\n" - !ruby/struct:SM::Flow::P body: The order is of the form [year, month, day of month, hour, minute, second, timezone, day of week]. - !ruby/struct:SM::Flow::P body: "ParseDate.parsedate can also take a second argument, comp, which is a boolean telling the method to compensate for dates with years expressed as two digits. Example:" - !ruby/struct:SM::Flow::VERB body: " require 'parsedate'\n\n ParseDate.parsedate "Mon Dec 25 00 06:53:24 UTC", true\n # => [2000, 12, 25, 6, 53, 24, "UTC", 1]\n" full_name: ParseDate#parsedate is_singleton: false name: parsedate params: (str, comp=false) visibility: public ri/1.8/system/Struct/new-c.yaml 0000644 00000000246 15217654533 0012206 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: [] full_name: Struct::new is_singleton: true name: new params: (...) visibility: public ri/1.8/system/Struct/to_s-i.yaml 0000644 00000000462 15217654533 0012367 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Describe the contents of this struct in a string. full_name: Struct#to_s is_singleton: false name: to_s params: | struct.to_s => string struct.inspect => string visibility: public ri/1.8/system/Struct/yaml_tag_read_class-c.yaml 0000644 00000000306 15217654533 0015367 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Struct::yaml_tag_read_class is_singleton: true name: yaml_tag_read_class params: ( name ) visibility: public ri/1.8/system/Struct/hash-i.yaml 0000644 00000000425 15217654533 0012345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a hash value based on this struct's contents. full_name: Struct#hash is_singleton: false name: hash params: | struct.hash => fixnum visibility: public ri/1.8/system/Struct/yaml_new-c.yaml 0000644 00000000273 15217654533 0013230 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Struct::yaml_new is_singleton: true name: yaml_new params: ( klass, tag, val ) visibility: public ri/1.8/system/Struct/yaml_tag_class_name-c.yaml 0000644 00000000300 15217654533 0015366 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Struct::yaml_tag_class_name is_singleton: true name: yaml_tag_class_name params: () visibility: public ri/1.8/system/Struct/each_pair-i.yaml 0000644 00000001454 15217654533 0013340 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls block once for each instance variable, passing the name (as a symbol) and the value as parameters. - !ruby/struct:SM::Flow::VERB body: " Customer = Struct.new(:name, :address, :zip)\n joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345)\n joe.each_pair {|name, value| puts("#{name} => #{value}") }\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " name => Joe Smith\n address => 123 Maple, Anytown NC\n zip => 12345\n" full_name: Struct#each_pair is_singleton: false name: each_pair params: | struct.each_pair {|sym, obj| block } => struct visibility: public ri/1.8/system/Struct/select-i.yaml 0000644 00000001165 15217654533 0012703 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invokes the block passing in successive elements from struct, returning an array containing those elements for which the block returns a true value (equivalent to Enumerable#select). - !ruby/struct:SM::Flow::VERB body: " Lots = Struct.new(:a, :b, :c, :d, :e, :f)\n l = Lots.new(11, 22, 33, 44, 55, 66)\n l.select {|v| (v % 2).zero? } #=> [22, 44, 66]\n" full_name: Struct#select is_singleton: false name: select params: | struct.select {|i| block } => array visibility: public ri/1.8/system/Struct/%5b%5d%3d-i.yaml 0000644 00000001550 15217654533 0012567 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Attribute Assignment---Assigns to the instance variable named by symbol or fixnum the value obj and returns it. Will raise a NameError if the named variable does not exist, or an IndexError if the index is out of range. - !ruby/struct:SM::Flow::VERB body: " Customer = Struct.new(:name, :address, :zip)\n joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345)\n\n joe["name"] = "Luke"\n joe[:zip] = "90210"\n\n joe.name #=> "Luke"\n joe.zip #=> "90210"\n" full_name: Struct#[]= is_singleton: false name: "[]=" params: | struct[symbol] = obj => obj struct[fixnum] = obj => obj visibility: public ri/1.8/system/Struct/pretty_print-i.yaml 0000644 00000000263 15217654533 0014165 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Struct#pretty_print is_singleton: false name: pretty_print params: (q) visibility: public ri/1.8/system/Struct/cdesc-Struct.yaml 0000644 00000004146 15217654533 0013543 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: yaml_new - !ruby/object:RI::MethodSummary name: yaml_tag_class_name - !ruby/object:RI::MethodSummary name: yaml_tag_read_class comment: - !ruby/struct:SM::Flow::P body: A Struct is a convenient way to bundle a number of attributes together, using accessor methods, without having to write an explicit class. - !ruby/struct:SM::Flow::P body: The Struct class is a generator of specific classes, each one of which is defined to hold a set of variables and their accessors. In these examples, we'll call the generated class ``CustomerClass,'' and we'll show an example instance of that class as ``CustomerInst.'' - !ruby/struct:SM::Flow::P body: In the descriptions that follow, the parameter symbol refers to a symbol, which is either a quoted string or a Symbol (such as :name). constants: [] full_name: Struct includes: - !ruby/object:RI::IncludedModule name: Enumerable instance_methods: - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: each_pair - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: length - !ruby/object:RI::MethodSummary name: members - !ruby/object:RI::MethodSummary name: pretty_print - !ruby/object:RI::MethodSummary name: pretty_print_cycle - !ruby/object:RI::MethodSummary name: select - !ruby/object:RI::MethodSummary name: size - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: values - !ruby/object:RI::MethodSummary name: values_at name: Struct superclass: Object ri/1.8/system/Struct/values_at-i.yaml 0000644 00000001171 15217654533 0013404 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array containing the elements in self corresponding to the given selector(s). The selectors may be either integer indices or ranges. See also </code>.select<code>. - !ruby/struct:SM::Flow::VERB body: " a = %w{ a b c d e f }\n a.values_at(1, 3, 5)\n a.values_at(1, 3, 5, 7)\n a.values_at(-1, -3, -5, -7)\n a.values_at(1..3, 2...5)\n" full_name: Struct#values_at is_singleton: false name: values_at params: | struct.values_at(selector,... ) => an_array visibility: public ri/1.8/system/Struct/%5b%5d-i.yaml 0000644 00000001522 15217654533 0012272 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Attribute Reference---Returns the value of the instance variable named by symbol, or indexed (0..length-1) by fixnum. Will raise NameError if the named variable does not exist, or IndexError if the index is out of range. - !ruby/struct:SM::Flow::VERB body: " Customer = Struct.new(:name, :address, :zip)\n joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345)\n\n joe["name"] #=> "Joe Smith"\n joe[:name] #=> "Joe Smith"\n joe[0] #=> "Joe Smith"\n" full_name: Struct#[] is_singleton: false name: "[]" params: | struct[symbol] => anObject struct[fixnum] => anObject visibility: public ri/1.8/system/Struct/values-i.yaml 0000644 00000001040 15217654533 0012713 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the values for this instance as an array. - !ruby/struct:SM::Flow::VERB body: " Customer = Struct.new(:name, :address, :zip)\n joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345)\n joe.to_a[1] #=> "123 Maple, Anytown NC"\n" full_name: Struct#values is_singleton: false name: values params: | struct.to_a => array struct.values => array visibility: public ri/1.8/system/Struct/size-i.yaml 0000644 00000000767 15217654533 0012405 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of instance variables. - !ruby/struct:SM::Flow::VERB body: " Customer = Struct.new(:name, :address, :zip)\n joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345)\n joe.length #=> 3\n" full_name: Struct#size is_singleton: false name: size params: | struct.length => fixnum struct.size => fixnum visibility: public ri/1.8/system/Struct/each-i.yaml 0000644 00000001250 15217654533 0012317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calls block once for each instance variable, passing the value as a parameter. - !ruby/struct:SM::Flow::VERB body: " Customer = Struct.new(:name, :address, :zip)\n joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345)\n joe.each {|x| puts(x) }\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " Joe Smith\n 123 Maple, Anytown NC\n 12345\n" full_name: Struct#each is_singleton: false name: each params: | struct.each {|obj| block } => struct visibility: public ri/1.8/system/Struct/inspect-i.yaml 0000644 00000000470 15217654533 0013067 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Describe the contents of this struct in a string. full_name: Struct#inspect is_singleton: false name: inspect params: | struct.to_s => string struct.inspect => string visibility: public ri/1.8/system/Struct/to_a-i.yaml 0000644 00000001034 15217654533 0012341 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the values for this instance as an array. - !ruby/struct:SM::Flow::VERB body: " Customer = Struct.new(:name, :address, :zip)\n joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345)\n joe.to_a[1] #=> "123 Maple, Anytown NC"\n" full_name: Struct#to_a is_singleton: false name: to_a params: | struct.to_a => array struct.values => array visibility: public ri/1.8/system/Struct/pretty_print_cycle-i.yaml 0000644 00000000277 15217654533 0015351 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Struct#pretty_print_cycle is_singleton: false name: pretty_print_cycle params: (q) visibility: public ri/1.8/system/Struct/length-i.yaml 0000644 00000000773 15217654533 0012711 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the number of instance variables. - !ruby/struct:SM::Flow::VERB body: " Customer = Struct.new(:name, :address, :zip)\n joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345)\n joe.length #=> 3\n" full_name: Struct#length is_singleton: false name: length params: | struct.length => fixnum struct.size => fixnum visibility: public ri/1.8/system/Struct/%3d%3d-i.yaml 0000644 00000001606 15217654533 0012273 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Equality---Returns true if other_struct is equal to this one: they must be of the same class as generated by Struct::new, and the values of all instance variables must be equal (according to Object#==)." - !ruby/struct:SM::Flow::VERB body: " Customer = Struct.new(:name, :address, :zip)\n joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345)\n joejr = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345)\n jane = Customer.new("Jane Doe", "456 Elm, Anytown NC", 12345)\n joe == joejr #=> true\n joe == jane #=> false\n" full_name: Struct#== is_singleton: false name: == params: | struct == other_struct => true or false visibility: public ri/1.8/system/Struct/to_yaml-i.yaml 0000644 00000000263 15217654533 0013066 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Struct#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/Struct/eql%3f-i.yaml 0000644 00000000674 15217654533 0012507 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "code-seq:" - !ruby/struct:SM::Flow::VERB body: " struct.eql?(other) => true or false\n" - !ruby/struct:SM::Flow::P body: Two structures are equal if they are the same object, or if all their fields are equal (using eql?). full_name: Struct#eql? is_singleton: false name: eql? params: (p1) visibility: public ri/1.8/system/Struct/members-i.yaml 0000644 00000001074 15217654533 0013055 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns an array of strings representing the names of the instance variables. - !ruby/struct:SM::Flow::VERB body: " Customer = Struct.new(:name, :address, :zip)\n joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345)\n joe.members #=> ["name", "address", "zip"]\n" full_name: Struct#members is_singleton: false name: members params: | struct.members => array visibility: public ri/1.8/system/Shellwords/shellescape-i.yaml 0000644 00000001507 15217654533 0014556 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: escape block_params: comment: - !ruby/struct:SM::Flow::P body: Escapes a string so that it can be safely used in a Bourne shell command line. - !ruby/struct:SM::Flow::P body: Note that a resulted string should be used unquoted and is not intended for use in double quotes nor in single quotes. - !ruby/struct:SM::Flow::VERB body: " open("| grep #{Shellwords.escape(pattern)} file") { |pipe|\n # ...\n }\n" - !ruby/struct:SM::Flow::P body: +String#shellescape+ is a shorthand for this function. - !ruby/struct:SM::Flow::VERB body: " open("| grep #{pattern.shellescape} file") { |pipe|\n # ...\n }\n" full_name: Shellwords#shellescape is_singleton: false name: shellescape params: (str) visibility: public ri/1.8/system/Shellwords/cdesc-Shellwords.yaml 0000644 00000002166 15217654533 0015247 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: This module manipulates strings according to the word parsing rules of the UNIX Bourne shell. - !ruby/struct:SM::Flow::P body: The shellwords() function was originally a port of shellwords.pl, but modified to conform to POSIX / SUSv3 (IEEE Std 1003.1-2001). - !ruby/struct:SM::Flow::P body: "Authors:" - !ruby/struct:SM::Flow::VERB body: " - Wakou Aoyama\n - Akinori MUSHA <knu@iDaemons.org>\n" - !ruby/struct:SM::Flow::P body: "Contact:" - !ruby/struct:SM::Flow::VERB body: " - Akinori MUSHA <knu@iDaemons.org> (current maintainer)\n" constants: [] full_name: Shellwords includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: escape - !ruby/object:RI::MethodSummary name: join - !ruby/object:RI::MethodSummary name: shellescape - !ruby/object:RI::MethodSummary name: shelljoin - !ruby/object:RI::MethodSummary name: shellsplit - !ruby/object:RI::MethodSummary name: shellwords - !ruby/object:RI::MethodSummary name: split name: Shellwords superclass: ri/1.8/system/Shellwords/shellsplit-i.yaml 0000644 00000001475 15217654533 0014455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: shellwords - !ruby/object:RI::AliasName name: split block_params: comment: - !ruby/struct:SM::Flow::P body: Splits a string into an array of tokens in the same way the UNIX Bourne shell does. - !ruby/struct:SM::Flow::VERB body: " argv = Shellwords.split('here are "two words"')\n argv #=> ["here", "are", "two words"]\n" - !ruby/struct:SM::Flow::P body: +String#shellsplit+ is a shorthand for this function. - !ruby/struct:SM::Flow::VERB body: " argv = 'here are "two words"'.shellsplit\n argv #=> ["here", "are", "two words"]\n" full_name: Shellwords#shellsplit is_singleton: false name: shellsplit params: (line) visibility: public ri/1.8/system/Shellwords/join-i.yaml 0000644 00000000346 15217654533 0013225 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #shelljoin" full_name: Shellwords#join is_singleton: false name: join params: (array) visibility: public ri/1.8/system/Shellwords/shelljoin-i.yaml 0000644 00000001326 15217654533 0014254 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: join block_params: comment: - !ruby/struct:SM::Flow::P body: Builds a command line string from an argument list array joining all elements escaped for Bourne shell and separated by a space. - !ruby/struct:SM::Flow::VERB body: " open('|' + Shellwords.join(['grep', pattern, *files])) { |pipe|\n # ...\n }\n" - !ruby/struct:SM::Flow::P body: +Array#shelljoin+ is a shorthand for this function. - !ruby/struct:SM::Flow::VERB body: " open('|' + ['grep', pattern, *files].shelljoin) { |pipe|\n # ...\n }\n" full_name: Shellwords#shelljoin is_singleton: false name: shelljoin params: (array) visibility: public ri/1.8/system/Shellwords/split-i.yaml 0000644 00000000350 15217654533 0013414 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #shellsplit" full_name: Shellwords#split is_singleton: false name: split params: (line) visibility: public ri/1.8/system/Shellwords/escape-i.yaml 0000644 00000000352 15217654533 0013523 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #shellescape" full_name: Shellwords#escape is_singleton: false name: escape params: (str) visibility: public ri/1.8/system/Shellwords/shellwords-i.yaml 0000644 00000000362 15217654533 0014452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #shellsplit" full_name: Shellwords#shellwords is_singleton: false name: shellwords params: (line) visibility: public ri/1.8/system/UNIXServer/cdesc-UNIXServer.yaml 0000644 00000003325 15217654533 0014715 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Class Socket provides access to the underlying operating system socket implementations. It can be used to provide more operating system specific functionality than the protocol-specific socket classes but at the expense of greater complexity. In particular, the class handles addresses using +struct sockaddr+ structures packed into Ruby strings, which can be a joy to manipulate. - !ruby/struct:SM::Flow::H level: 3 text: Exception Handling - !ruby/struct:SM::Flow::P body: Ruby's implementation of Socket causes an exception to be raised based on the error generated by the system dependent implementation. This is why the methods are documented in a way that isolate Unix-based system exceptions from Windows based exceptions. If more information on particular exception is needed please refer to the Unix manual pages or the Windows WinSock reference. - !ruby/struct:SM::Flow::H level: 3 text: Documentation by - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Zach Dennis - !ruby/struct:SM::Flow::LI label: "*" body: Sam Roberts - !ruby/struct:SM::Flow::LI label: "*" body: Programming Ruby from The Pragmatic Bookshelf. type: :BULLET - !ruby/struct:SM::Flow::P body: Much material in this documentation is taken with permission from Programming Ruby from The Pragmatic Bookshelf. constants: [] full_name: UNIXServer includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: accept_nonblock - !ruby/object:RI::MethodSummary name: listen name: UNIXServer superclass: UNIXSocket ri/1.8/system/UNIXServer/listen-i.yaml 0000644 00000012050 15217654533 0013403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Listens for connections, using the specified int as the backlog. A call to listen only applies if the socket is of type SOCK_STREAM or SOCK_SEQPACKET. - !ruby/struct:SM::Flow::H level: 3 text: Parameter - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: backlog - the maximum length of the queue for pending connections. type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Example 1 - !ruby/struct:SM::Flow::VERB body: " require 'socket'\n include Socket::Constants\n socket = Socket.new( AF_INET, SOCK_STREAM, 0 )\n sockaddr = Socket.pack_sockaddr_in( 2200, 'localhost' )\n socket.bind( sockaddr )\n socket.listen( 5 )\n" - !ruby/struct:SM::Flow::H level: 3 text: "Example 2 (listening on an arbitary port, unix-based systems only):" - !ruby/struct:SM::Flow::VERB body: " require 'socket'\n include Socket::Constants\n socket = Socket.new( AF_INET, SOCK_STREAM, 0 )\n socket.listen( 1 )\n" - !ruby/struct:SM::Flow::H level: 3 text: Unix-based Exceptions - !ruby/struct:SM::Flow::P body: On unix based systems the above will work because a new sockaddr struct is created on the address ADDR_ANY, for an arbitrary port number as handed off by the kernel. It will not work on Windows, because Windows requires that the socket is bound by calling bind before it can listen. - !ruby/struct:SM::Flow::P body: If the backlog amount exceeds the implementation-dependent maximum queue length, the implementation's maximum queue length will be used. - !ruby/struct:SM::Flow::P body: "On unix-based based systems the following system exceptions may be raised if the call to listen fails:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EBADF - the socket argument is not a valid file descriptor - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EDESTADDRREQ - the socket is not bound to a local address, and the protocol does not support listening on an unbound socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINVAL - the socket is already connected - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOTSOCK - the socket argument does not refer to a socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EOPNOTSUPP - the socket protocol does not support listen - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EACCES - the calling process does not have approriate privileges - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINVAL - the socket has been shut down - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOBUFS - insufficient resources are available in the system to complete the call type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Windows Exceptions - !ruby/struct:SM::Flow::P body: "On Windows systems the following system exceptions may be raised if the call to listen fails:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENETDOWN - the network is down - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EADDRINUSE - the socket's local address is already in use. This usually occurs during the execution of bind but could be delayed if the call to bind was to a partially wildcard address (involving ADDR_ANY) and if a specific address needs to be commmitted at the time of the call to listen - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINPROGRESS - a Windows Sockets 1.1 call is in progress or the service provider is still processing a callback function - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EINVAL - the socket has not been bound with a call to bind. - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EISCONN - the socket is already connected - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EMFILE - no more socket descriptors are available - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOBUFS - no buffer space is available - !ruby/struct:SM::Flow::LI label: "*" body: Errno::ENOTSOC - socket is not a socket - !ruby/struct:SM::Flow::LI label: "*" body: Errno::EOPNOTSUPP - the referenced socket is not a type that supports the listen method type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: See - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: listen manual pages on unix-based systems - !ruby/struct:SM::Flow::LI label: "*" body: listen function in Microsoft's Winsock functions reference type: :BULLET full_name: UNIXServer#listen is_singleton: false name: listen params: | socket.listen( int ) => 0 visibility: public ri/1.8/system/UNIXServer/accept_nonblock-i.yaml 0000644 00000002550 15217654533 0015235 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Accepts an incoming connection using accept(2) after O_NONBLOCK is set for the underlying file descriptor. It returns an accepted UNIXSocket for the incoming connection. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::VERB body: " require 'socket'\n serv = UNIXServer.new("/tmp/sock")\n begin\n sock = serv.accept_nonblock\n rescue Errno::EAGAIN, Errno::EWOULDBLOCK, Errno::ECONNABORTED, Errno::EPROTO, Errno::EINTR\n IO.select([serv])\n retry\n end\n # sock is an accepted socket.\n" - !ruby/struct:SM::Flow::P body: Refer to Socket#accept for the exceptions that may be thrown if the call to UNIXServer#accept_nonblock fails. - !ruby/struct:SM::Flow::P body: UNIXServer#accept_nonblock may raise any error corresponding to accept(2) failure, including Errno::EAGAIN. - !ruby/struct:SM::Flow::H level: 3 text: See - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: UNIXServer#accept - !ruby/struct:SM::Flow::LI label: "*" body: Socket#accept type: :BULLET full_name: UNIXServer#accept_nonblock is_singleton: false name: accept_nonblock params: | unixserver.accept_nonblock => unixsocket visibility: public ri/1.8/system/Date/julian-i.yaml 0000644 00000000420 15217654533 0012270 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a copy of this Date object that always uses the Julian Calendar. full_name: Date#julian is_singleton: false name: julian params: () visibility: public ri/1.8/system/Date/mon-i.yaml 0000644 00000000477 15217654533 0011613 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: month block_params: comment: - !ruby/struct:SM::Flow::P body: Get the month of this date. - !ruby/struct:SM::Flow::P body: January is month 1. full_name: Date#mon is_singleton: false name: mon params: () visibility: public ri/1.8/system/Date/wnum1-i.yaml 0000644 00000000243 15217654533 0012060 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Date#wnum1 is_singleton: false name: wnum1 params: () visibility: private ri/1.8/system/Date/step-i.yaml 0000644 00000000636 15217654533 0011772 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: date comment: - !ruby/struct:SM::Flow::P body: Step the current date forward step days at a time (or backward, if step is negative) until we reach limit (inclusive), yielding the resultant date at each step. full_name: Date#step is_singleton: false name: step params: (limit, step=1) {|date| ...} visibility: public ri/1.8/system/Date/weeknum1-i.yaml 0000644 00000000251 15217654533 0012544 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Date#weeknum1 is_singleton: false name: weeknum1 params: () visibility: private ri/1.8/system/Date/jd_to_civil-c.yaml 0000644 00000000733 15217654533 0013274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a Julian Day Number to a Civil Date. jd is the Julian Day Number. sg specifies the Day of Calendar Reform. - !ruby/struct:SM::Flow::P body: Returns the corresponding [year, month, day_of_month] as a three-element array. full_name: Date::jd_to_civil is_singleton: true name: jd_to_civil params: (jd, sg=GREGORIAN) visibility: public ri/1.8/system/Date/yday-i.yaml 0000644 00000000455 15217654533 0011764 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the day-of-the-year of this date. - !ruby/struct:SM::Flow::P body: January 1 is day-of-the-year 1 full_name: Date#yday is_singleton: false name: yday params: () visibility: public ri/1.8/system/Date/new-c.yaml 0000644 00000001710 15217654533 0011574 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "NOTE this is the documentation for the method new!(). If you are reading this as the documentation for new(), that is because rdoc doesn't fully support the aliasing of the initialize() method. new() is in fact an alias for #civil(): read the documentation for that method instead." - !ruby/struct:SM::Flow::P body: Create a new Date object. - !ruby/struct:SM::Flow::P body: ajd is the Astronomical Julian Day Number. of is the offset from UTC as a fraction of a day. Both default to 0. - !ruby/struct:SM::Flow::P body: sg specifies the Day of Calendar Reform to use for this Date object. - !ruby/struct:SM::Flow::P body: Using one of the factory methods such as Date::civil is generally easier and safer. full_name: Date::new is_singleton: true name: new params: (ajd=0, of=0, sg=ITALY) visibility: public ri/1.8/system/Date/year-i.yaml 0000644 00000000337 15217654533 0011755 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the year of this date. full_name: Date#year is_singleton: false name: year params: () visibility: public ri/1.8/system/Date/to_s-i.yaml 0000644 00000000463 15217654533 0011761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the date as a human-readable string. - !ruby/struct:SM::Flow::P body: The format used is YYYY-MM-DD. full_name: Date#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/Date/cweek-i.yaml 0000644 00000000370 15217654533 0012110 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the commercial week of the year of this date. full_name: Date#cweek is_singleton: false name: cweek params: () visibility: public ri/1.8/system/Date/wday-i.yaml 0000644 00000000427 15217654533 0011761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the week day of this date. Sunday is day-of-week 0; Saturday is day-of-week 6. full_name: Date#wday is_singleton: false name: wday params: () visibility: public ri/1.8/system/Date/day_fraction-i.yaml 0000644 00000000375 15217654533 0013461 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get any fractional day part of the date. full_name: Date#day_fraction is_singleton: false name: day_fraction params: () visibility: public ri/1.8/system/Date/%2b-i.yaml 0000644 00000001121 15217654533 0011355 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a new Date object that is n days later than the current one. - !ruby/struct:SM::Flow::P body: "n may be a negative value, in which case the new Date is earlier than the current one; however, #-() might be more intuitive." - !ruby/struct:SM::Flow::P body: If n is not a Numeric, a TypeError will be thrown. In particular, two Dates cannot be added to each other. full_name: Date#+ is_singleton: false name: + params: (n) visibility: public ri/1.8/system/Date/valid_jd%3f-c.yaml 0000644 00000000572 15217654533 0013062 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Is jd a valid Julian Day Number? - !ruby/struct:SM::Flow::P body: If it is, returns it. In fact, any value is treated as a valid Julian Day Number. full_name: Date::valid_jd? is_singleton: true name: valid_jd? params: (jd, sg=ITALY) visibility: public ri/1.8/system/Date/ordinal-c.yaml 0000644 00000001335 15217654533 0012436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new Date object from an Ordinal Date, specified by year y and day-of-year d. d can be negative, in which it counts backwards from the end of the year. No year wraparound is performed, however. An invalid value for d results in an ArgumentError being raised. - !ruby/struct:SM::Flow::P body: y defaults to -4712, and d to 1; this is Julian Day Number day 0. - !ruby/struct:SM::Flow::P body: sg specifies the Day of Calendar Reform. full_name: Date::ordinal is_singleton: true name: ordinal params: (y=-4712, d=1, sg=ITALY) visibility: public ri/1.8/system/Date/ordinal_to_jd-c.yaml 0000644 00000001002 15217654533 0013604 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert an Ordinal Date to a Julian Day Number. - !ruby/struct:SM::Flow::P body: y and d are the year and day-of-year to convert. sg specifies the Day of Calendar Reform. - !ruby/struct:SM::Flow::P body: Returns the corresponding Julian Day Number. full_name: Date::ordinal_to_jd is_singleton: true name: ordinal_to_jd params: (y, d, sg=GREGORIAN) visibility: public ri/1.8/system/Date/%3e%3e-i.yaml 0000644 00000000750 15217654533 0011665 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a new Date object that is n months later than the current one. - !ruby/struct:SM::Flow::P body: If the day-of-the-month of the current Date is greater than the last day of the target month, the day-of-the-month of the returned Date will be the last day of the target month. full_name: Date#>> is_singleton: false name: ">>" params: (n) visibility: public ri/1.8/system/Date/%3c%3c-i.yaml 0000644 00000000752 15217654533 0011663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return a new Date object that is n months earlier than the current one. - !ruby/struct:SM::Flow::P body: If the day-of-the-month of the current Date is greater than the last day of the target month, the day-of-the-month of the returned Date will be the last day of the target month. full_name: Date#<< is_singleton: false name: "<<" params: (n) visibility: public ri/1.8/system/Date/amjd_to_ajd-c.yaml 0000644 00000000457 15217654533 0013245 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert an Astronomical Modified Julian Day Number to an Astronomical Julian Day Number. full_name: Date::amjd_to_ajd is_singleton: true name: amjd_to_ajd params: (amjd) visibility: public ri/1.8/system/Date/now-c.yaml 0000644 00000000535 15217654533 0011612 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new DateTime object representing the current time. - !ruby/struct:SM::Flow::P body: sg specifies the Day of Calendar Reform. full_name: Date::now is_singleton: true name: now params: (sg=ITALY) visibility: private ri/1.8/system/Date/julian%3f-i.yaml 0000644 00000000373 15217654533 0012575 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Is the current date old-style (Julian Calendar)? full_name: Date#julian? is_singleton: false name: julian? params: () visibility: public ri/1.8/system/Date/zone-i.yaml 0000644 00000000352 15217654533 0011765 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: ":minute, :second, :second_fraction" full_name: Date#zone is_singleton: false name: zone params: () visibility: private ri/1.8/system/Date/weeknum0-i.yaml 0000644 00000000251 15217654533 0012543 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Date#weeknum0 is_singleton: false name: weeknum0 params: () visibility: private ri/1.8/system/Date/cdesc-Date.yaml 0000644 00000021310 15217654533 0012515 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: _load - !ruby/object:RI::MethodSummary name: _parse - !ruby/object:RI::MethodSummary name: _strptime - !ruby/object:RI::MethodSummary name: ajd_to_amjd - !ruby/object:RI::MethodSummary name: ajd_to_jd - !ruby/object:RI::MethodSummary name: amjd_to_ajd - !ruby/object:RI::MethodSummary name: civil - !ruby/object:RI::MethodSummary name: civil_to_jd - !ruby/object:RI::MethodSummary name: commercial - !ruby/object:RI::MethodSummary name: commercial_to_jd - !ruby/object:RI::MethodSummary name: day_fraction_to_time - !ruby/object:RI::MethodSummary name: gregorian? - !ruby/object:RI::MethodSummary name: gregorian_leap? - !ruby/object:RI::MethodSummary name: jd - !ruby/object:RI::MethodSummary name: jd_to_ajd - !ruby/object:RI::MethodSummary name: jd_to_civil - !ruby/object:RI::MethodSummary name: jd_to_commercial - !ruby/object:RI::MethodSummary name: jd_to_ld - !ruby/object:RI::MethodSummary name: jd_to_mjd - !ruby/object:RI::MethodSummary name: jd_to_ordinal - !ruby/object:RI::MethodSummary name: jd_to_wday - !ruby/object:RI::MethodSummary name: julian? - !ruby/object:RI::MethodSummary name: julian_leap? - !ruby/object:RI::MethodSummary name: ld_to_jd - !ruby/object:RI::MethodSummary name: mjd_to_jd - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: now - !ruby/object:RI::MethodSummary name: ordinal - !ruby/object:RI::MethodSummary name: ordinal_to_jd - !ruby/object:RI::MethodSummary name: parse - !ruby/object:RI::MethodSummary name: s3e - !ruby/object:RI::MethodSummary name: strptime - !ruby/object:RI::MethodSummary name: time_to_day_fraction - !ruby/object:RI::MethodSummary name: time_to_day_fraction - !ruby/object:RI::MethodSummary name: today - !ruby/object:RI::MethodSummary name: valid_civil? - !ruby/object:RI::MethodSummary name: valid_commercial? - !ruby/object:RI::MethodSummary name: valid_jd? - !ruby/object:RI::MethodSummary name: valid_ordinal? - !ruby/object:RI::MethodSummary name: valid_time? comment: - !ruby/struct:SM::Flow::P body: Class representing a date. - !ruby/struct:SM::Flow::P body: See the documentation to the file date.rb for an overview. - !ruby/struct:SM::Flow::P body: Internally, the date is represented as an Astronomical Julian Day Number, ajd. The Day of Calendar Reform, sg, is also stored, for conversions to other date formats. (There is also an of field for a time zone offset, but this is only for the use of the DateTime subclass.) - !ruby/struct:SM::Flow::P body: A new Date object is created using one of the object creation class methods named after the corresponding date format, and the arguments appropriate to that date format; for instance, Date::civil() (aliased to Date::new()) with year, month, and day-of-month, or Date::ordinal() with year and day-of-year. All of these object creation class methods also take the Day of Calendar Reform as an optional argument. - !ruby/struct:SM::Flow::P body: Date objects are immutable once created. - !ruby/struct:SM::Flow::P body: "Once a Date has been created, date values can be retrieved for the different date formats supported using instance methods. For instance, #mon() gives the Civil month, #cwday() gives the Commercial day of the week, and #yday() gives the Ordinal day of the year. Date values can be retrieved in any format, regardless of what format was used to create the Date instance." - !ruby/struct:SM::Flow::P body: The Date class includes the Comparable module, allowing date objects to be compared and sorted, ranges of dates to be created, and so forth. constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Full month names, in English. Months count from 1 to 12; a month's numerical representation indexed into this array gives the name of that month (hence the first element is nil). name: MONTHNAMES value: "[nil] + %w(January February March April May June July August September October November December)" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Full names of days of the week, in English. Days of the week count from 0 to 6 (except in the commercial week); a day's numerical representation indexed into this array gives the name of that day. name: DAYNAMES value: "%w(Sunday Monday Tuesday Wednesday Thursday Friday Saturday)" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Abbreviated month names, in English. name: ABBR_MONTHNAMES value: "[nil] + %w(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec)" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Abbreviated day names, in English. name: ABBR_DAYNAMES value: "%w(Sun Mon Tue Wed Thu Fri Sat)" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: The Julian Day Number of the Day of Calendar Reform for Italy and the Catholic countries. name: ITALY value: "2299161" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: The Julian Day Number of the Day of Calendar Reform for England and her Colonies. name: ENGLAND value: "2361222" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: A constant used to indicate that a Date should always use the Julian calendar. name: JULIAN value: Infinity.new - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: A constant used to indicate that a Date should always use the Gregorian calendar. name: GREGORIAN value: -Infinity.new full_name: Date includes: - !ruby/object:RI::IncludedModule name: Comparable instance_methods: - !ruby/object:RI::MethodSummary name: + - !ruby/object:RI::MethodSummary name: "-" - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: <=> - !ruby/object:RI::MethodSummary name: === - !ruby/object:RI::MethodSummary name: ">>" - !ruby/object:RI::MethodSummary name: _dump - !ruby/object:RI::MethodSummary name: ajd - !ruby/object:RI::MethodSummary name: amjd - !ruby/object:RI::MethodSummary name: asctime - !ruby/object:RI::MethodSummary name: civil - !ruby/object:RI::MethodSummary name: commercial - !ruby/object:RI::MethodSummary name: ctime - !ruby/object:RI::MethodSummary name: cwday - !ruby/object:RI::MethodSummary name: cweek - !ruby/object:RI::MethodSummary name: cwyear - !ruby/object:RI::MethodSummary name: day - !ruby/object:RI::MethodSummary name: day_fraction - !ruby/object:RI::MethodSummary name: downto - !ruby/object:RI::MethodSummary name: england - !ruby/object:RI::MethodSummary name: eql? - !ruby/object:RI::MethodSummary name: gregorian - !ruby/object:RI::MethodSummary name: gregorian? - !ruby/object:RI::MethodSummary name: hash - !ruby/object:RI::MethodSummary name: hour - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: italy - !ruby/object:RI::MethodSummary name: jd - !ruby/object:RI::MethodSummary name: julian - !ruby/object:RI::MethodSummary name: julian? - !ruby/object:RI::MethodSummary name: ld - !ruby/object:RI::MethodSummary name: leap? - !ruby/object:RI::MethodSummary name: mday - !ruby/object:RI::MethodSummary name: min - !ruby/object:RI::MethodSummary name: mjd - !ruby/object:RI::MethodSummary name: mon - !ruby/object:RI::MethodSummary name: month - !ruby/object:RI::MethodSummary name: new_offset - !ruby/object:RI::MethodSummary name: new_start - !ruby/object:RI::MethodSummary name: next - !ruby/object:RI::MethodSummary name: next_day - !ruby/object:RI::MethodSummary name: offset - !ruby/object:RI::MethodSummary name: ordinal - !ruby/object:RI::MethodSummary name: sec - !ruby/object:RI::MethodSummary name: sec_fraction - !ruby/object:RI::MethodSummary name: start - !ruby/object:RI::MethodSummary name: step - !ruby/object:RI::MethodSummary name: strftime - !ruby/object:RI::MethodSummary name: succ - !ruby/object:RI::MethodSummary name: time - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_yaml - !ruby/object:RI::MethodSummary name: upto - !ruby/object:RI::MethodSummary name: wday - !ruby/object:RI::MethodSummary name: weeknum0 - !ruby/object:RI::MethodSummary name: weeknum1 - !ruby/object:RI::MethodSummary name: wnum0 - !ruby/object:RI::MethodSummary name: wnum1 - !ruby/object:RI::MethodSummary name: yday - !ruby/object:RI::MethodSummary name: year - !ruby/object:RI::MethodSummary name: zone name: Date superclass: Object ri/1.8/system/Date/Infinity/cdesc-Infinity.yaml 0000644 00000000304 15217654533 0015222 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Date::Infinity includes: [] instance_methods: [] name: Infinity superclass: Numeric ri/1.8/system/Date/mday-i.yaml 0000644 00000000422 15217654533 0011742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: day block_params: comment: - !ruby/struct:SM::Flow::P body: Get the day-of-the-month of this date. full_name: Date#mday is_singleton: false name: mday params: () visibility: public ri/1.8/system/Date/civil-c.yaml 0000644 00000001530 15217654533 0012111 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new Date object for the Civil Date specified by year y, month m, and day-of-month d. - !ruby/struct:SM::Flow::P body: m and d can be negative, in which case they count backwards from the end of the year and the end of the month respectively. No wraparound is performed, however, and invalid values cause an ArgumentError to be raised. can be negative - !ruby/struct:SM::Flow::P body: y defaults to -4712, m to 1, and d to 1; this is Julian Day Number day 0. - !ruby/struct:SM::Flow::P body: sg specifies the Day of Calendar Reform. full_name: Date::civil is_singleton: true name: civil params: (y=-4712, m=1, d=1, sg=ITALY) visibility: public ri/1.8/system/Date/ajd_to_jd-c.yaml 0000644 00000001132 15217654533 0012716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert an Astronomical Julian Day Number to a (civil) Julian Day Number. - !ruby/struct:SM::Flow::P body: ajd is the Astronomical Julian Day Number to convert. of is the offset from UTC as a fraction of a day (defaults to 0). - !ruby/struct:SM::Flow::P body: Returns the (civil) Julian Day Number as [day_number, fraction] where fraction is always 1/2. full_name: Date::ajd_to_jd is_singleton: true name: ajd_to_jd params: (ajd, of=0) visibility: public ri/1.8/system/Date/hash-i.yaml 0000644 00000000352 15217654533 0011735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Calculate a hash value for this date. full_name: Date#hash is_singleton: false name: hash params: () visibility: public ri/1.8/system/Date/england-i.yaml 0000644 00000000443 15217654533 0012423 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a copy of this Date object that uses the English/Colonial Day of Calendar Reform. full_name: Date#england is_singleton: false name: england params: () visibility: public ri/1.8/system/Date/%3c%3d%3e-i.yaml 0000644 00000001345 15217654533 0012160 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Compare this date with another date. - !ruby/struct:SM::Flow::P body: other can also be a Numeric value, in which case it is interpreted as an Astronomical Julian Day Number. - !ruby/struct:SM::Flow::P body: Comparison is by Astronomical Julian Day Number, including fractional days. This means that both the time and the timezone offset are taken into account when comparing two DateTime instances. When comparing a DateTime instance with a Date instance, the time of the latter will be considered as falling on midnight UTC. full_name: Date#<=> is_singleton: false name: <=> params: (other) visibility: public ri/1.8/system/Date/mjd_to_jd-c.yaml 0000644 00000000416 15217654533 0012736 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a Modified Julian Day Number to a Julian Day Number. full_name: Date::mjd_to_jd is_singleton: true name: mjd_to_jd params: (mjd) visibility: public ri/1.8/system/Date/ordinal-i.yaml 0000644 00000000400 15217654533 0012434 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the date as an Ordinal Date, [year, day_of_year] full_name: Date#ordinal is_singleton: false name: ordinal params: () visibility: private ri/1.8/system/Date/mjd-i.yaml 0000644 00000000360 15217654533 0011563 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the date as a Modified Julian Day Number. full_name: Date#mjd is_singleton: false name: mjd params: () visibility: public ri/1.8/system/Date/valid_time%3f-c.yaml 0000644 00000001263 15217654533 0013421 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Do hour h, minute min, and second s constitute a valid time? - !ruby/struct:SM::Flow::P body: If they do, returns their value as a fraction of a day. If not, returns nil. - !ruby/struct:SM::Flow::P body: The 24-hour clock is used. Negative values of h, min, and sec are treating as counting backwards from the end of the next larger unit (e.g. a min of -2 is treated as 58). No wraparound is performed. full_name: Date::valid_time? is_singleton: true name: valid_time? params: (h, min, s) visibility: public ri/1.8/system/Date/ajd_to_amjd-c.yaml 0000644 00000000456 15217654533 0013244 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert an Astronomical Julian Day Number to an Astronomical Modified Julian Day Number. full_name: Date::ajd_to_amjd is_singleton: true name: ajd_to_amjd params: (ajd) visibility: public ri/1.8/system/Date/sec-i.yaml 0000644 00000000340 15217654533 0011561 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the second of this date. full_name: Date#sec is_singleton: false name: sec params: () visibility: private ri/1.8/system/Date/%2d-i.yaml 0000644 00000001125 15217654533 0011363 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: If x is a Numeric value, create a new Date object that is x days earlier than the current one. - !ruby/struct:SM::Flow::P body: If x is a Date, return the number of days between the two dates; or, more precisely, how many days later the current date is than x. - !ruby/struct:SM::Flow::P body: If x is neither Numeric nor a Date, a TypeError is raised. full_name: Date#- is_singleton: false name: "-" params: (x) visibility: public ri/1.8/system/Date/time-i.yaml 0000644 00000000422 15217654533 0011746 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the time of this date as [hours, minutes, seconds, fraction_of_a_second] full_name: Date#time is_singleton: false name: time params: () visibility: private ri/1.8/system/Date/cwyear-i.yaml 0000644 00000000517 15217654533 0012307 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the commercial year of this date. See Commercial Date in the introduction for how this differs from the normal year. full_name: Date#cwyear is_singleton: false name: cwyear params: () visibility: public ri/1.8/system/Date/ld_to_jd-c.yaml 0000644 00000000504 15217654533 0012561 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a count of the number of days since the adoption of the Gregorian Calendar (in Italy) to a Julian Day Number. full_name: Date::ld_to_jd is_singleton: true name: ld_to_jd params: (ld) visibility: public ri/1.8/system/Date/jd_to_ordinal-c.yaml 0000644 00000000777 15217654533 0013626 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a Julian Day Number to an Ordinal Date. - !ruby/struct:SM::Flow::P body: jd is the Julian Day Number to convert. sg specifies the Day of Calendar Reform. - !ruby/struct:SM::Flow::P body: Returns the corresponding Ordinal Date as [year, day_of_year] full_name: Date::jd_to_ordinal is_singleton: true name: jd_to_ordinal params: (jd, sg=GREGORIAN) visibility: public ri/1.8/system/Date/jd_to_commercial-c.yaml 0000644 00000001042 15217654533 0014273 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a Julian Day Number to a Commercial Date - !ruby/struct:SM::Flow::P body: jd is the Julian Day Number to convert. sg specifies the Day of Calendar Reform. - !ruby/struct:SM::Flow::P body: Returns the corresponding Commercial Date as [commercial_year, week_of_year, day_of_week] full_name: Date::jd_to_commercial is_singleton: true name: jd_to_commercial params: (jd, sg=GREGORIAN) visibility: public ri/1.8/system/Date/jd_to_ajd-c.yaml 0000644 00000001123 15217654533 0012716 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a (civil) Julian Day Number to an Astronomical Julian Day Number. - !ruby/struct:SM::Flow::P body: jd is the Julian Day Number to convert, and fr is a fractional day. of is the offset from UTC as a fraction of a day (defaults to 0). - !ruby/struct:SM::Flow::P body: Returns the Astronomical Julian Day Number as a single numeric value. full_name: Date::jd_to_ajd is_singleton: true name: jd_to_ajd params: (jd, fr, of=0) visibility: public ri/1.8/system/Date/month-i.yaml 0000644 00000000327 15217654533 0012141 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #mon" full_name: Date#month is_singleton: false name: month params: () visibility: public ri/1.8/system/Date/commercial-c.yaml 0000644 00000001722 15217654533 0013121 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new Date object for the Commercial Date specified by year y, week-of-year w, and day-of-week d. - !ruby/struct:SM::Flow::P body: Monday is day-of-week 1; Sunday is day-of-week 7. - !ruby/struct:SM::Flow::P body: w and d can be negative, in which case they count backwards from the end of the year and the end of the week respectively. No wraparound is performed, however, and invalid values cause an ArgumentError to be raised. - !ruby/struct:SM::Flow::P body: y defaults to 1582, w to 41, and d to 5, the Day of Calendar Reform for Italy and the Catholic countries. - !ruby/struct:SM::Flow::P body: sg specifies the Day of Calendar Reform. full_name: Date::commercial is_singleton: true name: commercial params: (y=1582, w=41, d=5, sg=ITALY) visibility: public ri/1.8/system/Date/jd_to_mjd-c.yaml 0000644 00000000415 15217654533 0012735 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a Julian Day Number to a Modified Julian Day Number. full_name: Date::jd_to_mjd is_singleton: true name: jd_to_mjd params: (jd) visibility: public ri/1.8/system/Date/min-i.yaml 0000644 00000000340 15217654533 0011572 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the minute of this date. full_name: Date#min is_singleton: false name: min params: () visibility: private ri/1.8/system/Date/asctime-i.yaml 0000644 00000000423 15217654533 0012436 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: ctime block_params: comment: - !ruby/struct:SM::Flow::P body: alias_method :format, :strftime full_name: Date#asctime is_singleton: false name: asctime params: () visibility: public ri/1.8/system/Date/%3d%3d%3d-i.yaml 0000644 00000000720 15217654533 0012154 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: The relationship operator for Date. - !ruby/struct:SM::Flow::P body: Compares dates by Julian Day Number. When comparing two DateTime instances, or a DateTime with a Date, the instances will be regarded as equivalent if they fall on the same date in local time. full_name: Date#=== is_singleton: false name: === params: (other) visibility: public ri/1.8/system/Date/parse-c.yaml 0000644 00000001620 15217654533 0012115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new Date object by parsing from a String, without specifying the format. - !ruby/struct:SM::Flow::P body: "str is a String holding a date representation. comp specifies whether to interpret 2-digit years as 19XX (>= 69) or 20XX (< 69); the default is not to. The method will attempt to parse a date from the String using various heuristics; see #_parse in date/format.rb for more details. If parsing fails, an ArgumentError will be raised." - !ruby/struct:SM::Flow::P body: The default str is '-4712-01-01'; this is Julian Day Number day 0. - !ruby/struct:SM::Flow::P body: sg specifies the Day of Calendar Reform. full_name: Date::parse is_singleton: true name: parse params: (str='-4712-01-01', comp=false, sg=ITALY) visibility: public ri/1.8/system/Date/next_day-i.yaml 0000644 00000000254 15217654533 0012626 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Date#next_day is_singleton: false name: next_day params: (n=1) visibility: private ri/1.8/system/Date/Format/cdesc-Format.yaml 0000644 00000000271 15217654533 0014323 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Date::Format includes: [] instance_methods: [] name: Format superclass: ri/1.8/system/Date/Format/Bag/cdesc-Bag.yaml 0000644 00000000301 15217654533 0014247 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Date::Format::Bag includes: [] instance_methods: [] name: Bag superclass: Object ri/1.8/system/Date/jd_to_wday-c.yaml 0000644 00000000536 15217654533 0013133 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a Julian Day Number to the day of the week. - !ruby/struct:SM::Flow::P body: Sunday is day-of-week 0; Saturday is day-of-week 6. full_name: Date::jd_to_wday is_singleton: true name: jd_to_wday params: (jd) visibility: public ri/1.8/system/Date/leap%3f-i.yaml 0000644 00000000333 15217654533 0012230 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Is this a leap year? full_name: Date#leap? is_singleton: false name: leap? params: () visibility: public ri/1.8/system/Date/commercial_to_jd-c.yaml 0000644 00000001004 15217654533 0014271 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a Commercial Date to a Julian Day Number. - !ruby/struct:SM::Flow::P body: y, w, and d are the (commercial) year, week of the year, and day of the week of the Commercial Date to convert. sg specifies the Day of Calendar Reform. full_name: Date::commercial_to_jd is_singleton: true name: commercial_to_jd params: (y, w, d, ns=GREGORIAN) visibility: public ri/1.8/system/Date/italy-i.yaml 0000644 00000000437 15217654533 0012140 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a copy of this Date object that uses the Italian/Catholic Day of Calendar Reform. full_name: Date#italy is_singleton: false name: italy params: () visibility: public ri/1.8/system/Date/start-i.yaml 0000644 00000000377 15217654533 0012156 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: When is the Day of Calendar Reform for this Date object? full_name: Date#start is_singleton: false name: start params: () visibility: public ri/1.8/system/Date/ctime-i.yaml 0000644 00000000333 15217654533 0012112 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #asctime" full_name: Date#ctime is_singleton: false name: ctime params: () visibility: public ri/1.8/system/Date/ajd-i.yaml 0000644 00000000365 15217654533 0011554 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the date as an Astronomical Julian Day Number. full_name: Date#ajd is_singleton: false name: ajd params: () visibility: public ri/1.8/system/Date/downto-i.yaml 0000644 00000000502 15217654533 0012321 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: date comment: - !ruby/struct:SM::Flow::P body: Step backward one day at a time until we reach min (inclusive), yielding each date as we go. full_name: Date#downto is_singleton: false name: downto params: (min) {|date| ...} visibility: public ri/1.8/system/Date/inspect-i.yaml 0000644 00000000410 15217654533 0012452 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return internal object state as a programmer-readable string. full_name: Date#inspect is_singleton: false name: inspect params: () visibility: public ri/1.8/system/Date/strftime-i.yaml 0000644 00000000260 15217654533 0012645 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Date#strftime is_singleton: false name: strftime params: (fmt='%F') visibility: public ri/1.8/system/Date/hour-i.yaml 0000644 00000000340 15217654533 0011764 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the hour of this date. full_name: Date#hour is_singleton: false name: hour params: () visibility: private ri/1.8/system/Date/julian%3f-c.yaml 0000644 00000001151 15217654533 0012562 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Does a given Julian Day Number fall inside the old-style (Julian) calendar? - !ruby/struct:SM::Flow::P body: jd is the Julian Day Number in question. sg may be Date::GREGORIAN, in which case the answer is false; it may be Date::JULIAN, in which case the answer is true; or it may a number representing the Day of Calendar Reform. Date::ENGLAND and Date::ITALY are two possible such days. full_name: Date::julian? is_singleton: true name: julian? params: (jd, sg) visibility: public ri/1.8/system/Date/gregorian-i.yaml 0000644 00000000431 15217654533 0012765 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a copy of this Date object that always uses the Gregorian Calendar. full_name: Date#gregorian is_singleton: false name: gregorian params: () visibility: public ri/1.8/system/Date/valid_commercial%3f-c.yaml 0000644 00000001666 15217654533 0014605 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Do year y, week-of-year w, and day-of-week d make a valid Commercial Date? Returns the corresponding Julian Day Number if they do, nil if they don't. - !ruby/struct:SM::Flow::P body: Monday is day-of-week 1; Sunday is day-of-week 7. - !ruby/struct:SM::Flow::P body: w and d can be negative, in which case they count backwards from the end of the year and the end of the week respectively. No wraparound is performed, however, and invalid values cause an ArgumentError to be raised. A date falling in the period skipped in the Day of Calendar Reform adjustment is not valid. - !ruby/struct:SM::Flow::P body: sg specifies the Day of Calendar Reform. full_name: Date::valid_commercial? is_singleton: true name: valid_commercial? params: (y, w, d, sg=ITALY) visibility: public ri/1.8/system/Date/_strptime-c.yaml 0000644 00000000267 15217654533 0013017 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Date::_strptime is_singleton: true name: _strptime params: (str, fmt='%F') visibility: public ri/1.8/system/Date/gregorian%3f-c.yaml 0000644 00000000631 15217654533 0013257 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Does a given Julian Day Number fall inside the new-style (Gregorian) calendar? - !ruby/struct:SM::Flow::P body: The reverse of self.os? See the documentation for that method for more details. full_name: Date::gregorian? is_singleton: true name: gregorian? params: (jd, sg) visibility: public ri/1.8/system/Date/day_fraction_to_time-c.yaml 0000644 00000000476 15217654533 0015175 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a fractional day fr to [hours, minutes, seconds, fraction_of_a_second] full_name: Date::day_fraction_to_time is_singleton: true name: day_fraction_to_time params: (fr) visibility: public ri/1.8/system/Date/next-i.yaml 0000644 00000000426 15217654533 0011772 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: succ block_params: comment: - !ruby/struct:SM::Flow::P body: Return a new Date one day after this one. full_name: Date#next is_singleton: false name: next params: () visibility: public ri/1.8/system/Date/julian_leap%3f-c.yaml 0000644 00000000547 15217654533 0013573 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Is a year a leap year in the Julian calendar? - !ruby/struct:SM::Flow::P body: All years divisible by 4 are leap years in the Julian calendar. full_name: Date::julian_leap? is_singleton: true name: julian_leap? params: (y) visibility: public ri/1.8/system/Date/civil-i.yaml 0000644 00000000401 15217654533 0012113 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the date as a Civil Date, [year, month, day_of_month] full_name: Date#civil is_singleton: false name: civil params: () visibility: private ri/1.8/system/Date/jd-c.yaml 0000644 00000000641 15217654533 0011402 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new Date object from a Julian Day Number. - !ruby/struct:SM::Flow::P body: jd is the Julian Day Number; if not specified, it defaults to 0. sg specifies the Day of Calendar Reform. full_name: Date::jd is_singleton: true name: jd params: (jd=0, sg=ITALY) visibility: public ri/1.8/system/Date/valid_ordinal%3f-c.yaml 0000644 00000001566 15217654533 0014121 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Do the year y and day-of-year d make a valid Ordinal Date? Returns the corresponding Julian Day Number if they do, or nil if they don't. - !ruby/struct:SM::Flow::P body: d can be a negative number, in which case it counts backwards from the end of the year (-1 being the last day of the year). No year wraparound is performed, however, so valid values of d are -365 .. -1, 1 .. 365 on a non-leap-year, -366 .. -1, 1 .. 366 on a leap year. A date falling in the period skipped in the Day of Calendar Reform adjustment is not valid. - !ruby/struct:SM::Flow::P body: sg specifies the Day of Calendar Reform. full_name: Date::valid_ordinal? is_singleton: true name: valid_ordinal? params: (y, d, sg=ITALY) visibility: public ri/1.8/system/Date/offset-i.yaml 0000644 00000000245 15217654533 0012301 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Date#offset is_singleton: false name: offset params: () visibility: private ri/1.8/system/Date/amjd-i.yaml 0000644 00000000400 15217654533 0011717 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the date as an Astronomical Modified Julian Day Number. full_name: Date#amjd is_singleton: false name: amjd params: () visibility: public ri/1.8/system/Date/_dump-i.yaml 0000644 00000000343 15217654533 0012116 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Dump to Marshal format. full_name: Date#_dump is_singleton: false name: _dump params: (limit) visibility: public ri/1.8/system/Date/today-c.yaml 0000644 00000000521 15217654533 0012122 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new Date object representing today. - !ruby/struct:SM::Flow::P body: sg specifies the Day of Calendar Reform. full_name: Date::today is_singleton: true name: today params: (sg=ITALY) visibility: public ri/1.8/system/Date/jd_to_ld-c.yaml 0000644 00000000471 15217654533 0012564 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a Julian Day Number to the number of days since the adoption of the Gregorian Calendar (in Italy). full_name: Date::jd_to_ld is_singleton: true name: jd_to_ld params: (jd) visibility: public ri/1.8/system/Date/new_offset-i.yaml 0000644 00000000261 15217654533 0013150 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Date#new_offset is_singleton: false name: new_offset params: (of=0) visibility: private ri/1.8/system/Date/upto-i.yaml 0000644 00000000475 15217654533 0012007 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: date comment: - !ruby/struct:SM::Flow::P body: Step forward one day at a time until we reach max (inclusive), yielding each date as we go. full_name: Date#upto is_singleton: false name: upto params: (max) {|date| ...} visibility: public ri/1.8/system/Date/_load-c.yaml 0000644 00000000343 15217654533 0012062 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Load from Marshal format. full_name: Date::_load is_singleton: true name: _load params: (str) visibility: public ri/1.8/system/Date/_parse-c.yaml 0000644 00000000263 15217654533 0012256 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Date::_parse is_singleton: true name: _parse params: (str, comp=false) visibility: public ri/1.8/system/Date/new_start-i.yaml 0000644 00000000450 15217654533 0013017 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a copy of this Date object using a new Day of Calendar Reform. full_name: Date#new_start is_singleton: false name: new_start params: (sg=self.class::ITALY) visibility: public ri/1.8/system/Date/sec_fraction-i.yaml 0000644 00000000500 15217654533 0013444 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the fraction-of-a-second of this date. The unit is in days. I do NOT recommend you to use this method. full_name: Date#sec_fraction is_singleton: false name: sec_fraction params: () visibility: private ri/1.8/system/Date/strptime-c.yaml 0000644 00000001577 15217654533 0012665 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new Date object by parsing from a String according to a specified format. - !ruby/struct:SM::Flow::P body: str is a String holding a date representation. fmt is the format that the date is in. See date/format.rb for details on supported formats. - !ruby/struct:SM::Flow::P body: The default str is '-4712-01-01', and the default fmt is '%F', which means Year-Month-Day_of_Month. This gives Julian Day Number day 0. - !ruby/struct:SM::Flow::P body: sg specifies the Day of Calendar Reform. - !ruby/struct:SM::Flow::P body: An ArgumentError will be raised if str cannot be parsed. full_name: Date::strptime is_singleton: true name: strptime params: (str='-4712-01-01', fmt='%F', sg=ITALY) visibility: public ri/1.8/system/Date/time_to_day_fraction-c.yaml 0000644 00000000311 15217654533 0015161 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Date::time_to_day_fraction is_singleton: true name: time_to_day_fraction params: (h, min, s) visibility: public ri/1.8/system/Date/to_yaml-i.yaml 0000644 00000000261 15217654533 0012455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Date#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/Date/s3e-c.yaml 0000644 00000000263 15217654533 0011477 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Date::s3e is_singleton: true name: s3e params: (e, y, m, d, bc=false) visibility: private ri/1.8/system/Date/valid_civil%3f-c.yaml 0000644 00000001514 15217654533 0013570 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Do year y, month m, and day-of-month d make a valid Civil Date? Returns the corresponding Julian Day Number if they do, nil if they don't. - !ruby/struct:SM::Flow::P body: m and d can be negative, in which case they count backwards from the end of the year and the end of the month respectively. No wraparound is performed, however, and invalid values cause an ArgumentError to be raised. A date falling in the period skipped in the Day of Calendar Reform adjustment is not valid. - !ruby/struct:SM::Flow::P body: sg specifies the Day of Calendar Reform. full_name: Date::valid_civil? is_singleton: true name: valid_civil? params: (y, m, d, sg=ITALY) visibility: public ri/1.8/system/Date/ld-i.yaml 0000644 00000000453 15217654533 0011413 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the date as the number of days since the Day of Calendar Reform (in Italy and the Catholic countries). full_name: Date#ld is_singleton: false name: ld params: () visibility: public ri/1.8/system/Date/succ-i.yaml 0000644 00000000326 15217654533 0011750 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #next" full_name: Date#succ is_singleton: false name: succ params: () visibility: public ri/1.8/system/Date/gregorian%3f-i.yaml 0000644 00000000404 15217654533 0013263 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Is the current date new-style (Gregorian Calendar)? full_name: Date#gregorian? is_singleton: false name: gregorian? params: () visibility: public ri/1.8/system/Date/cwday-i.yaml 0000644 00000000477 15217654533 0012131 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the commercial day of the week of this date. Monday is commercial day-of-week 1; Sunday is commercial day-of-week 7. full_name: Date#cwday is_singleton: false name: cwday params: () visibility: public ri/1.8/system/Date/wnum0-i.yaml 0000644 00000000243 15217654533 0012057 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Date#wnum0 is_singleton: false name: wnum0 params: () visibility: private ri/1.8/system/Date/commercial-i.yaml 0000644 00000000426 15217654533 0013127 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the date as a Commercial Date, [year, week_of_year, day_of_week] full_name: Date#commercial is_singleton: false name: commercial params: () visibility: private ri/1.8/system/Date/eql%3f-i.yaml 0000644 00000000533 15217654533 0012072 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Is this Date equal to other? - !ruby/struct:SM::Flow::P body: other must both be a Date object, and represent the same date. full_name: Date#eql? is_singleton: false name: eql? params: (other) visibility: public ri/1.8/system/Date/day-i.yaml 0000644 00000000324 15217654533 0011566 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #mday" full_name: Date#day is_singleton: false name: day params: () visibility: public ri/1.8/system/Date/civil_to_jd-c.yaml 0000644 00000000751 15217654533 0013274 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Convert a Civil Date to a Julian Day Number. y, m, and d are the year, month, and day of the month. sg specifies the Day of Calendar Reform. - !ruby/struct:SM::Flow::P body: Returns the corresponding Julian Day Number. full_name: Date::civil_to_jd is_singleton: true name: civil_to_jd params: (y, m, d, sg=GREGORIAN) visibility: public ri/1.8/system/Date/jd-i.yaml 0000644 00000000345 15217654533 0011411 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Get the date as a Julian Day Number. full_name: Date#jd is_singleton: false name: jd params: () visibility: public ri/1.8/system/Date/gregorian_leap%3f-c.yaml 0000644 00000000645 15217654533 0014265 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Is a year a leap year in the Gregorian calendar? - !ruby/struct:SM::Flow::P body: All years divisible by 4 are leap years in the Gregorian calendar, except for years divisible by 100 and not by 400. full_name: Date::gregorian_leap? is_singleton: true name: gregorian_leap? params: (y) visibility: public ri/1.8/system/DOT/DOTSimpleElement/new-c.yaml 0000644 00000000274 15217654533 0014463 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DOT::DOTSimpleElement::new is_singleton: true name: new params: ( params = {} ) visibility: public ri/1.8/system/DOT/DOTSimpleElement/to_s-i.yaml 0000644 00000000261 15217654533 0014640 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DOT::DOTSimpleElement#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/DOT/DOTSimpleElement/cdesc-DOTSimpleElement.yaml 0000644 00000000667 15217654533 0017651 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: name rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: a root class for any element in dot notation constants: [] full_name: DOT::DOTSimpleElement includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_s name: DOTSimpleElement superclass: Object ri/1.8/system/DOT/change_tab-i.yaml 0000644 00000000407 15217654533 0012637 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: if we don't like 4 spaces, we can change it any time full_name: DOT#change_tab is_singleton: false name: change_tab params: ( t ) visibility: public ri/1.8/system/DOT/DOTDigraph/new-c.yaml 0000644 00000000320 15217654533 0013266 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DOT::DOTDigraph::new is_singleton: true name: new params: ( params = {}, option_list = GRAPH_OPTS ) visibility: public ri/1.8/system/DOT/DOTDigraph/cdesc-DOTDigraph.yaml 0000644 00000000450 15217654533 0015265 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: this is graph constants: [] full_name: DOT::DOTDigraph includes: [] instance_methods: [] name: DOTDigraph superclass: DOTSubgraph ri/1.8/system/DOT/DOTElement/cdesc-DOTElement.yaml 0000644 00000001271 15217654533 0015315 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: attr_reader :parent name: name rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: attr_reader :parent name: options rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: an element that has options ( node, edge or graph ) constants: [] full_name: DOT::DOTElement includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: each_option - !ruby/object:RI::MethodSummary name: each_option_pair name: DOTElement superclass: DOTSimpleElement ri/1.8/system/DOT/DOTElement/new-c.yaml 0000644 00000000310 15217654533 0013300 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DOT::DOTElement::new is_singleton: true name: new params: ( params = {}, option_list = [] ) visibility: public ri/1.8/system/DOT/DOTElement/each_option-i.yaml 0000644 00000000304 15217654533 0015010 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: i comment: full_name: DOT::DOTElement#each_option is_singleton: false name: each_option params: () {|i| ...} visibility: public ri/1.8/system/DOT/DOTElement/each_option_pair-i.yaml 0000644 00000000334 15217654533 0016026 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: key, val comment: full_name: DOT::DOTElement#each_option_pair is_singleton: false name: each_option_pair params: () {|key, val| ...} visibility: public ri/1.8/system/DOT/DOTPort/new-c.yaml 0000644 00000000263 15217654533 0012642 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DOT::DOTPort::new is_singleton: true name: new params: ( params = {} ) visibility: public ri/1.8/system/DOT/DOTPort/to_s-i.yaml 0000644 00000000250 15217654533 0013017 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DOT::DOTPort#to_s is_singleton: false name: to_s params: () visibility: public ri/1.8/system/DOT/DOTPort/cdesc-DOTPort.yaml 0000644 00000000727 15217654533 0014210 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: label rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: this is used when we build nodes that have shape=record ports don't have options :) constants: [] full_name: DOT::DOTPort includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_s name: DOTPort superclass: DOTSimpleElement ri/1.8/system/DOT/DOTNode/pop-i.yaml 0000644 00000000246 15217654533 0012617 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DOT::DOTNode#pop is_singleton: false name: pop params: () visibility: public ri/1.8/system/DOT/DOTNode/new-c.yaml 0000644 00000000314 15217654533 0012600 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DOT::DOTNode::new is_singleton: true name: new params: ( params = {}, option_list = NODE_OPTS ) visibility: public ri/1.8/system/DOT/DOTNode/each_port-i.yaml 0000644 00000000275 15217654533 0013767 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: i comment: full_name: DOT::DOTNode#each_port is_singleton: false name: each_port params: () {|i| ...} visibility: public ri/1.8/system/DOT/DOTNode/to_s-i.yaml 0000644 00000000260 15217654533 0012761 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DOT::DOTNode#to_s is_singleton: false name: to_s params: ( t = '' ) visibility: public ri/1.8/system/DOT/DOTNode/%3c%3c-i.yaml 0000644 00000000255 15217654533 0012666 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DOT::DOTNode#<< is_singleton: false name: "<<" params: ( thing ) visibility: public ri/1.8/system/DOT/DOTNode/cdesc-DOTNode.yaml 0000644 00000001014 15217654533 0014100 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: node element constants: [] full_name: DOT::DOTNode includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: each_port - !ruby/object:RI::MethodSummary name: pop - !ruby/object:RI::MethodSummary name: push - !ruby/object:RI::MethodSummary name: to_s name: DOTNode superclass: DOTElement ri/1.8/system/DOT/DOTNode/push-i.yaml 0000644 00000000257 15217654533 0013002 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DOT::DOTNode#push is_singleton: false name: push params: ( thing ) visibility: public ri/1.8/system/DOT/DOTEdge/new-c.yaml 0000644 00000000314 15217654533 0012557 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DOT::DOTEdge::new is_singleton: true name: new params: ( params = {}, option_list = EDGE_OPTS ) visibility: public ri/1.8/system/DOT/DOTEdge/to_s-i.yaml 0000644 00000000260 15217654533 0012740 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DOT::DOTEdge#to_s is_singleton: false name: to_s params: ( t = '' ) visibility: public ri/1.8/system/DOT/DOTEdge/cdesc-DOTEdge.yaml 0000644 00000000707 15217654533 0014046 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: from rw: RW - !ruby/object:RI::Attribute comment: name: to rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: this is edge constants: [] full_name: DOT::DOTEdge includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: to_s name: DOTEdge superclass: DOTElement ri/1.8/system/DOT/cdesc-DOT.yaml 0000644 00000003151 15217654533 0012042 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: options for node declaration name: NODE_OPTS value: "[ 'bgcolor', 'color', 'fontcolor', 'fontname', 'fontsize', 'height', 'width', 'label', 'layer', 'rank', 'shape', 'shapefile', 'style', 'URL', ]" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: options for edge declaration name: EDGE_OPTS value: "[ 'color', 'decorate', 'dir', 'fontcolor', 'fontname', 'fontsize', 'id', 'label', 'layer', 'lhead', 'ltail', 'minlen', 'style', 'weight'" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: options for graph declaration name: GRAPH_OPTS value: "[ 'bgcolor', 'center', 'clusterrank', 'color', 'compound', 'concentrate', 'fillcolor', 'fontcolor', 'fontname', 'fontsize', 'label', 'layerseq', 'margin', 'mclimit', 'nodesep', 'nslimit', 'ordering', 'orientation', 'page', 'rank', 'rankdir', 'ranksep', 'ratio', 'size', 'style', 'URL'" full_name: DOT includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: change_tab name: DOT superclass: ri/1.8/system/DOT/DOTSubgraph/pop-i.yaml 0000644 00000000252 15217654533 0013502 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DOT::DOTSubgraph#pop is_singleton: false name: pop params: () visibility: public ri/1.8/system/DOT/DOTSubgraph/new-c.yaml 0000644 00000000321 15217654533 0013464 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DOT::DOTSubgraph::new is_singleton: true name: new params: ( params = {}, option_list = GRAPH_OPTS ) visibility: public ri/1.8/system/DOT/DOTSubgraph/to_s-i.yaml 0000644 00000000264 15217654533 0013653 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DOT::DOTSubgraph#to_s is_singleton: false name: to_s params: ( t = '' ) visibility: public ri/1.8/system/DOT/DOTSubgraph/cdesc-DOTSubgraph.yaml 0000644 00000001125 15217654533 0015657 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: subgraph element is the same to graph, but has another header in dot notation constants: [] full_name: DOT::DOTSubgraph includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: each_node - !ruby/object:RI::MethodSummary name: pop - !ruby/object:RI::MethodSummary name: push - !ruby/object:RI::MethodSummary name: to_s name: DOTSubgraph superclass: DOTElement ri/1.8/system/DOT/DOTSubgraph/%3c%3c-i.yaml 0000644 00000000261 15217654533 0013551 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DOT::DOTSubgraph#<< is_singleton: false name: "<<" params: ( thing ) visibility: public ri/1.8/system/DOT/DOTSubgraph/each_node-i.yaml 0000644 00000000301 15217654533 0014604 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: i comment: full_name: DOT::DOTSubgraph#each_node is_singleton: false name: each_node params: () {|i| ...} visibility: public ri/1.8/system/DOT/DOTSubgraph/push-i.yaml 0000644 00000000263 15217654533 0013665 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: DOT::DOTSubgraph#push is_singleton: false name: push params: ( thing ) visibility: public ri/1.8/system/PP/PPMethods/cdesc-PPMethods.yaml 0000644 00000001300 15217654533 0015005 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: - !ruby/object:RI::Constant comment: name: InspectKey value: ":__inspect_key__" full_name: PP::PPMethods includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: comma_breakable - !ruby/object:RI::MethodSummary name: guard_inspect_key - !ruby/object:RI::MethodSummary name: object_address_group - !ruby/object:RI::MethodSummary name: object_group - !ruby/object:RI::MethodSummary name: pp - !ruby/object:RI::MethodSummary name: pp_hash - !ruby/object:RI::MethodSummary name: pp_object - !ruby/object:RI::MethodSummary name: seplist name: PPMethods superclass: ri/1.8/system/PP/PPMethods/guard_inspect_key-i.yaml 0000644 00000000316 15217654533 0016016 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: full_name: PP::PPMethods#guard_inspect_key is_singleton: false name: guard_inspect_key params: () {|| ...} visibility: public ri/1.8/system/PP/PPMethods/object_group-i.yaml 0000644 00000000574 15217654533 0015007 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: "A convenience method which is same as follows:" - !ruby/struct:SM::Flow::VERB body: " group(1, '#<' + obj.class.name, '>') { ... }\n" full_name: PP::PPMethods#object_group is_singleton: false name: object_group params: (obj) {|| ...} visibility: public ri/1.8/system/PP/PPMethods/pp_object-i.yaml 0000644 00000000266 15217654533 0014270 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PP::PPMethods#pp_object is_singleton: false name: pp_object params: (obj) visibility: public ri/1.8/system/PP/PPMethods/pp-i.yaml 0000644 00000000716 15217654533 0012742 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Adds obj to the pretty printing buffer using Object#pretty_print or Object#pretty_print_cycle. - !ruby/struct:SM::Flow::P body: Object#pretty_print_cycle is used when obj is already printed, a.k.a the object reference chain has a cycle. full_name: PP::PPMethods#pp is_singleton: false name: pp params: (obj) visibility: public ri/1.8/system/PP/PPMethods/seplist-i.yaml 0000644 00000002241 15217654533 0014001 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: element comment: - !ruby/struct:SM::Flow::P body: Adds a separated list. The list is separated by comma with breakable space, by default. - !ruby/struct:SM::Flow::P body: "#seplist iterates the list using iter_method. It yields each object to the block given for #seplist. The procedure separator_proc is called between each yields." - !ruby/struct:SM::Flow::P body: If the iteration is zero times, separator_proc is not called at all. - !ruby/struct:SM::Flow::P body: If separator_proc is nil or not given, +lambda { comma_breakable }+ is used. If iter_method is not given, :each is used. - !ruby/struct:SM::Flow::P body: For example, following 3 code fragments has similar effect. - !ruby/struct:SM::Flow::VERB body: " q.seplist([1,2,3]) {|v| xxx v }\n\n q.seplist([1,2,3], lambda { comma_breakable }, :each) {|v| xxx v }\n\n xxx 1\n q.comma_breakable\n xxx 2\n q.comma_breakable\n xxx 3\n" full_name: PP::PPMethods#seplist is_singleton: false name: seplist params: (list, sep=nil, iter_method=:each) {|element| ...} visibility: public ri/1.8/system/PP/PPMethods/pp_hash-i.yaml 0000644 00000000262 15217654533 0013741 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PP::PPMethods#pp_hash is_singleton: false name: pp_hash params: (obj) visibility: public ri/1.8/system/PP/PPMethods/object_address_group-i.yaml 0000644 00000000324 15217654533 0016505 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: PP::PPMethods#object_address_group is_singleton: false name: object_address_group params: (obj, &block) visibility: public ri/1.8/system/PP/PPMethods/comma_breakable-i.yaml 0000644 00000000527 15217654533 0015407 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "A convenience method which is same as follows:" - !ruby/struct:SM::Flow::VERB body: " text ','\n breakable\n" full_name: PP::PPMethods#comma_breakable is_singleton: false name: comma_breakable params: () visibility: public ri/1.8/system/PP/pp-c.yaml 0000644 00000000766 15217654533 0011076 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Outputs obj to out in pretty printed format of width columns in width. - !ruby/struct:SM::Flow::P body: If out is omitted, +$>+ is assumed. If width is omitted, 79 is assumed. - !ruby/struct:SM::Flow::P body: PP.pp returns out. full_name: PP::pp is_singleton: true name: pp params: (obj, out=$>, width=79) visibility: public ri/1.8/system/PP/ObjectMixin/pretty_print_inspect-i.yaml 0000644 00000001126 15217654533 0017157 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Is #inspect implementation using #pretty_print. If you implement #pretty_print, it can be used as follows." - !ruby/struct:SM::Flow::VERB body: " alias inspect pretty_print_inspect\n" - !ruby/struct:SM::Flow::P body: "However, doing this requires that every class that #inspect is called on implement #pretty_print, or a RuntimeError will be raised." full_name: PP::ObjectMixin#pretty_print_inspect is_singleton: false name: pretty_print_inspect params: () visibility: public ri/1.8/system/PP/ObjectMixin/pretty_print-i.yaml 0000644 00000001261 15217654533 0015432 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "A default pretty printing method for general objects. It calls #pretty_print_instance_variables to list instance variables." - !ruby/struct:SM::Flow::P body: "If self has a customized (redefined) #inspect method, the result of self.inspect is used but it obviously has no line break hints." - !ruby/struct:SM::Flow::P body: "This module provides predefined #pretty_print methods for some of the most commonly used built-in classes for convenience." full_name: PP::ObjectMixin#pretty_print is_singleton: false name: pretty_print params: (q) visibility: public ri/1.8/system/PP/ObjectMixin/cdesc-ObjectMixin.yaml 0000644 00000000673 15217654533 0015741 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: PP::ObjectMixin includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: pretty_print - !ruby/object:RI::MethodSummary name: pretty_print_cycle - !ruby/object:RI::MethodSummary name: pretty_print_inspect - !ruby/object:RI::MethodSummary name: pretty_print_instance_variables name: ObjectMixin superclass: ri/1.8/system/PP/ObjectMixin/pretty_print_cycle-i.yaml 0000644 00000000507 15217654533 0016613 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: A default pretty printing method for general objects that are detected as part of a cycle. full_name: PP::ObjectMixin#pretty_print_cycle is_singleton: false name: pretty_print_cycle params: (q) visibility: public ri/1.8/system/PP/ObjectMixin/pretty_print_instance_variables-i.yaml 0000644 00000000710 15217654533 0021344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a sorted array of instance variable names. - !ruby/struct:SM::Flow::P body: "This method should return an array of names of instance variables as symbols or strings as: +[:@a, :@b]+." full_name: PP::ObjectMixin#pretty_print_instance_variables is_singleton: false name: pretty_print_instance_variables params: () visibility: public ri/1.8/system/PP/cdesc-PP.yaml 0000644 00000001013 15217654533 0011617 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Returns the sharing detection flag as a boolean value. It is false by default. name: sharing_detection rw: RW class_methods: - !ruby/object:RI::MethodSummary name: pp - !ruby/object:RI::MethodSummary name: singleline_pp comment: constants: [] full_name: PP includes: - !ruby/object:RI::IncludedModule name: PPMethods instance_methods: [] name: PP superclass: PrettyPrint ri/1.8/system/PP/singleline_pp-c.yaml 0000644 00000000572 15217654533 0013302 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Outputs obj to out like PP.pp but with no indent and newline. - !ruby/struct:SM::Flow::P body: PP.singleline_pp returns out. full_name: PP::singleline_pp is_singleton: true name: singleline_pp params: (obj, out=$>) visibility: public ri/1.8/system/PP/SingleLine/cdesc-SingleLine.yaml 0000644 00000000410 15217654533 0015362 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: PP::SingleLine includes: - !ruby/object:RI::IncludedModule name: PPMethods instance_methods: [] name: SingleLine superclass: PrettyPrint::SingleLine ri/1.8/system/Singleton/cdesc-Singleton.yaml 0000644 00000006256 15217654533 0014703 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The Singleton module implements the Singleton pattern. - !ruby/struct:SM::Flow::P body: "Usage:" - !ruby/struct:SM::Flow::VERB body: " class Klass\n include Singleton\n # ...\n end\n" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: this ensures that only one instance of Klass lets call it ``the instance'' can be created. - !ruby/struct:SM::Flow::P body: "a,b = Klass.instance, Klass.instance a == b # => true a.new # NoMethodError - new is private ..." - !ruby/struct:SM::Flow::LI label: "*" body: ``The instance'' is created at instantiation time, in other words the first call of Klass.instance(), thus - !ruby/struct:SM::Flow::VERB body: " class OtherKlass\n include Singleton\n # ...\n end\n ObjectSpace.each_object(OtherKlass){} # => 0.\n" - !ruby/struct:SM::Flow::LI label: "*" body: This behavior is preserved under inheritance and cloning. type: :BULLET - !ruby/struct:SM::Flow::P body: This is achieved by marking - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Klass.new and Klass.allocate - as private type: :BULLET - !ruby/struct:SM::Flow::P body: Providing (or modifying) the class methods - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Klass.inherited(sub_klass) and Klass.clone() - to ensure that the Singleton pattern is properly inherited and cloned. - !ruby/struct:SM::Flow::LI label: "*" body: "Klass.instance() - returning ``the instance''. After a successful self modifying (normally the first) call the method body is a simple:" - !ruby/struct:SM::Flow::VERB body: " def Klass.instance()\n return @instance\n end\n" - !ruby/struct:SM::Flow::LI label: "*" body: Klass._load(str) - calling Klass.instance() - !ruby/struct:SM::Flow::LI label: "*" body: Klass._instantiate?() - returning ``the instance'' or nil. This hook method puts a second (or nth) thread calling Klass.instance() on a waiting loop. The return value signifies the successful completion or premature termination of the first, or more generally, current "instantiation thread". type: :BULLET - !ruby/struct:SM::Flow::P body: The instance method of Singleton are - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: clone and dup - raising TypeErrors to prevent cloning or duping - !ruby/struct:SM::Flow::LI label: "*" body: _dump(depth) - returning the empty string. Marshalling strips by default all state information, e.g. instance variables and taint state, from ``the instance''. Providing custom _load(str) and _dump(depth) hooks allows the (partially) resurrections of a previous state of ``the instance''. type: :BULLET constants: [] full_name: Singleton includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: _dump - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: dup name: Singleton superclass: ri/1.8/system/Singleton/dup-i.yaml 0000644 00000000243 15217654533 0012666 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Singleton#dup is_singleton: false name: dup params: () visibility: public ri/1.8/system/Singleton/_dump-i.yaml 0000644 00000000360 15217654533 0013202 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: default marshalling strategy full_name: Singleton#_dump is_singleton: false name: _dump params: (depth=-1) visibility: public ri/1.8/system/Singleton/clone-i.yaml 0000644 00000000354 15217654533 0013201 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: disable build-in copying methods full_name: Singleton#clone is_singleton: false name: clone params: () visibility: public ri/1.8/system/Ping/pingecho-i.yaml 0000644 00000001113 15217654533 0012622 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return true if we can open a connection to the hostname or IP address host on port service (which defaults to the "echo" port) waiting up to timeout seconds. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " require 'ping'\n\n Ping.pingecho "google.com", 10, 80\n" full_name: Ping#pingecho is_singleton: false name: pingecho params: (host, timeout=5, service="echo") visibility: public ri/1.8/system/Ping/cdesc-Ping.yaml 0000644 00000001711 15217654533 0012560 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Ping contains routines to test for the reachability of remote hosts. Currently the only routine implemented is pingecho(). - !ruby/struct:SM::Flow::P body: Ping.pingecho uses a TCP echo (not an ICMP echo) to determine if the remote host is reachable. This is usually adequate to tell that a remote host is available to telnet, ftp, or ssh to. - !ruby/struct:SM::Flow::P body: "Warning: Ping.pingecho may block for a long time if DNS resolution is slow. Requiring 'resolv-replace' allows non-blocking name resolution." - !ruby/struct:SM::Flow::P body: "Usage:" - !ruby/struct:SM::Flow::VERB body: " require 'ping'\n\n puts "'jimmy' is alive and kicking" if Ping.pingecho('jimmy', 10)\n" constants: [] full_name: Ping includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: pingecho name: Ping superclass: ri/1.8/system/Logger/new-c.yaml 0000644 00000002161 15217654533 0012137 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 3 text: Synopsis - !ruby/struct:SM::Flow::VERB body: " Logger.new(name, shift_age = 7, shift_size = 1048576)\n Logger.new(name, shift_age = 'weekly')\n" - !ruby/struct:SM::Flow::H level: 3 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+logdev+:" body: The log device. This is a filename (String) or IO object (typically STDOUT, STDERR, or an open file). - !ruby/struct:SM::Flow::LI label: "+shift_age+:" body: Number of old log files to keep, or frequency of rotation (daily, weekly or monthly). - !ruby/struct:SM::Flow::LI label: "+shift_size+:" body: Maximum logfile size (only applies when shift_age is a number). type: :NOTE - !ruby/struct:SM::Flow::H level: 3 text: Description - !ruby/struct:SM::Flow::P body: Create an instance. full_name: Logger::new is_singleton: true name: new params: (logdev, shift_age = 0, shift_size = 1048576) visibility: public ri/1.8/system/Logger/Severity/cdesc-Severity.yaml 0000644 00000001212 15217654533 0015625 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: Logging severity. constants: - !ruby/object:RI::Constant comment: name: DEBUG value: "0" - !ruby/object:RI::Constant comment: name: INFO value: "1" - !ruby/object:RI::Constant comment: name: WARN value: "2" - !ruby/object:RI::Constant comment: name: ERROR value: "3" - !ruby/object:RI::Constant comment: name: FATAL value: "4" - !ruby/object:RI::Constant comment: name: UNKNOWN value: "5" full_name: Logger::Severity includes: [] instance_methods: [] name: Severity superclass: ri/1.8/system/Logger/%3c%3c-i.yaml 0000644 00000000462 15217654533 0012223 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Dump given message to the log device without any formatting. If no log device exists, return nil. full_name: Logger#<< is_singleton: false name: "<<" params: (msg) visibility: public ri/1.8/system/Logger/warn-i.yaml 0000644 00000000477 15217654533 0012333 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Log a WARN message. - !ruby/struct:SM::Flow::P body: "See #info for more information." full_name: Logger#warn is_singleton: false name: warn params: (progname = nil, &block) visibility: public ri/1.8/system/Logger/error-i.yaml 0000644 00000000503 15217654533 0012503 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Log an ERROR message. - !ruby/struct:SM::Flow::P body: "See #info for more information." full_name: Logger#error is_singleton: false name: error params: (progname = nil, &block) visibility: public ri/1.8/system/Logger/unknown-i.yaml 0000644 00000000577 15217654533 0013064 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Log an UNKNOWN message. This will be printed no matter what the logger level. - !ruby/struct:SM::Flow::P body: "See #info for more information." full_name: Logger#unknown is_singleton: false name: unknown params: (progname = nil, &block) visibility: public ri/1.8/system/Logger/LogDevice/new-c.yaml 0000644 00000000276 15217654533 0014005 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger::LogDevice::new is_singleton: true name: new params: (log = nil, opt = {}) visibility: public ri/1.8/system/Logger/LogDevice/previous_period_end-i.yaml 0000644 00000000317 15217654533 0017262 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger::LogDevice#previous_period_end is_singleton: false name: previous_period_end params: (now) visibility: private ri/1.8/system/Logger/LogDevice/add_log_header-i.yaml 0000644 00000000306 15217654533 0016115 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger::LogDevice#add_log_header is_singleton: false name: add_log_header params: (file) visibility: private ri/1.8/system/Logger/LogDevice/open_logfile-i.yaml 0000644 00000000306 15217654533 0015656 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger::LogDevice#open_logfile is_singleton: false name: open_logfile params: (filename) visibility: private ri/1.8/system/Logger/LogDevice/check_shift_log-i.yaml 0000644 00000000304 15217654533 0016325 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger::LogDevice#check_shift_log is_singleton: false name: check_shift_log params: () visibility: private ri/1.8/system/Logger/LogDevice/close-i.yaml 0000644 00000000257 15217654533 0014326 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger::LogDevice#close is_singleton: false name: close params: () visibility: public ri/1.8/system/Logger/LogDevice/create_logfile-i.yaml 0000644 00000000312 15217654533 0016155 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger::LogDevice#create_logfile is_singleton: false name: create_logfile params: (filename) visibility: private ri/1.8/system/Logger/LogDevice/write-i.yaml 0000644 00000000266 15217654533 0014353 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger::LogDevice#write is_singleton: false name: write params: (message) visibility: public ri/1.8/system/Logger/LogDevice/shift_log_age-i.yaml 0000644 00000000300 15217654533 0016000 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger::LogDevice#shift_log_age is_singleton: false name: shift_log_age params: () visibility: private ri/1.8/system/Logger/LogDevice/shift_log_period-i.yaml 0000644 00000000311 15217654533 0016530 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger::LogDevice#shift_log_period is_singleton: false name: shift_log_period params: (now) visibility: private ri/1.8/system/Logger/LogDevice/eod-i.yaml 0000644 00000000255 15217654533 0013766 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger::LogDevice#eod is_singleton: false name: eod params: (t) visibility: private ri/1.8/system/Logger/LogDevice/LogDeviceMutex/cdesc-LogDeviceMutex.yaml 0000644 00000000421 15217654533 0021613 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Logger::LogDevice::LogDeviceMutex includes: - !ruby/object:RI::IncludedModule name: MonitorMixin instance_methods: [] name: LogDeviceMutex superclass: Object ri/1.8/system/Logger/LogDevice/cdesc-LogDevice.yaml 0000644 00000001727 15217654533 0015716 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: dev rw: R - !ruby/object:RI::Attribute comment: name: filename rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: SiD value: 24 * 60 * 60 full_name: Logger::LogDevice includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: add_log_header - !ruby/object:RI::MethodSummary name: check_shift_log - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: create_logfile - !ruby/object:RI::MethodSummary name: eod - !ruby/object:RI::MethodSummary name: open_logfile - !ruby/object:RI::MethodSummary name: previous_period_end - !ruby/object:RI::MethodSummary name: shift_log_age - !ruby/object:RI::MethodSummary name: shift_log_period - !ruby/object:RI::MethodSummary name: write name: LogDevice superclass: Object ri/1.8/system/Logger/warn%3f-i.yaml 0000644 00000000460 15217654533 0012621 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true iff the current severity level allows for the printing of WARN messages. full_name: Logger#warn? is_singleton: false name: warn? params: () visibility: public ri/1.8/system/Logger/Application/new-c.yaml 0000644 00000001307 15217654533 0014403 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Synopsis - !ruby/struct:SM::Flow::VERB body: " Application.new(appname = '')\n" - !ruby/struct:SM::Flow::H level: 2 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+appname+:" body: Name of the application. type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: "Create an instance. Log device is STDERR by default. This can be changed with #set_log." full_name: Logger::Application::new is_singleton: true name: new params: (appname = nil) visibility: public ri/1.8/system/Logger/Application/cdesc-Application.yaml 0000644 00000003312 15217654533 0016712 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: appname rw: R - !ruby/object:RI::Attribute comment: name: logdev rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Application -- Add logging support to your application. - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "1." body: Define your application class as a sub-class of this class. - !ruby/struct:SM::Flow::LI label: "2." body: Override 'run' method in your class to do many things. - !ruby/struct:SM::Flow::LI label: "3." body: Instantiate it and invoke 'start'. type: :NUMBER - !ruby/struct:SM::Flow::H level: 2 text: Example - !ruby/struct:SM::Flow::VERB body: " class FooApp < Application\n def initialize(foo_app, application_specific, arguments)\n super('FooApp') # Name of the application.\n end\n\n def run\n ...\n log(WARN, 'warning', 'my_method1')\n ...\n @log.error('my_method2') { 'Error!' }\n ...\n end\n end\n\n status = FooApp.new(....).start\n" constants: [] full_name: Logger::Application includes: - !ruby/object:RI::IncludedModule name: Logger::Severity instance_methods: - !ruby/object:RI::MethodSummary name: level= - !ruby/object:RI::MethodSummary name: log - !ruby/object:RI::MethodSummary name: log= - !ruby/object:RI::MethodSummary name: run - !ruby/object:RI::MethodSummary name: set_log - !ruby/object:RI::MethodSummary name: start name: Application superclass: Object ri/1.8/system/Logger/Application/log%3d-i.yaml 0000644 00000000265 15217654533 0014677 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger::Application#log= is_singleton: false name: log= params: (logdev) visibility: public ri/1.8/system/Logger/Application/set_log-i.yaml 0000644 00000000550 15217654533 0015253 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the log device for this application. See the class Logger for an explanation of the arguments. full_name: Logger::Application#set_log is_singleton: false name: set_log params: (logdev, shift_age = 0, shift_size = 1024000) visibility: public ri/1.8/system/Logger/Application/level%3d-i.yaml 0000644 00000000431 15217654533 0015220 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Set the logging threshold, just like Logger#level=. full_name: Logger::Application#level= is_singleton: false name: level= params: (level) visibility: public ri/1.8/system/Logger/Application/run-i.yaml 0000644 00000000256 15217654533 0014426 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger::Application#run is_singleton: false name: run params: () visibility: private ri/1.8/system/Logger/Application/start-i.yaml 0000644 00000000404 15217654533 0014752 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Start the application. Return the status code. full_name: Logger::Application#start is_singleton: false name: start params: () visibility: public ri/1.8/system/Logger/Application/log-i.yaml 0000644 00000000455 15217654533 0014404 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: See Logger#add. This application's appname is used. full_name: Logger::Application#log is_singleton: false name: log params: (severity, message = nil, &block) visibility: public ri/1.8/system/Logger/cdesc-Logger.yaml 0000644 00000024131 15217654533 0013425 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Logging formatter. formatter#call is invoked with 4 arguments; severity, time, progname and msg for each log. Bear in mind that time is a Time and msg is an Object that user passed and it could not be a String. It is expected to return a logdev#write-able Object. Default formatter is used when no formatter is set. name: formatter rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Logging severity threshold (e.g. Logger::INFO). name: level rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Logging program name. name: progname rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Simple logging utility. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "Author:" body: NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> - !ruby/struct:SM::Flow::LI label: "Documentation:" body: NAKAMURA, Hiroshi and Gavin Sinclair - !ruby/struct:SM::Flow::LI label: "License:" body: You can redistribute it and/or modify it under the same terms of Ruby's license; either the dual license version in 2003, or any later version. - !ruby/struct:SM::Flow::LI label: "Revision:" body: "$Id: logger.rb 31806 2011-05-30 02:08:57Z nahi $" type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: The Logger class provides a simple but sophisticated logging utility that anyone can use because it's included in the Ruby 1.8.x standard library. - !ruby/struct:SM::Flow::P body: "The HOWTOs below give a code-based overview of Logger's usage, but the basic concept is as follows. You create a Logger object (output to a file or elsewhere), and use it to log messages. The messages will have varying levels (info, error, etc), reflecting their varying importance. The levels, and their meanings, are:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+FATAL+:" body: an unhandleable error that results in a program crash - !ruby/struct:SM::Flow::LI label: "+ERROR+:" body: a handleable error condition - !ruby/struct:SM::Flow::LI label: "+WARN+:" body: a warning - !ruby/struct:SM::Flow::LI label: "+INFO+:" body: generic (useful) information about system operation - !ruby/struct:SM::Flow::LI label: "+DEBUG+:" body: low-level information for developers type: :NOTE - !ruby/struct:SM::Flow::P body: So each message has a level, and the Logger itself has a level, which acts as a filter, so you can control the amount of information emitted from the logger without having to remove actual messages. - !ruby/struct:SM::Flow::P body: For instance, in a production system, you may have your logger(s) set to INFO (or WARN if you don't want the log files growing large with repetitive information). When you are developing it, though, you probably want to know about the program's internal state, and would set them to DEBUG. - !ruby/struct:SM::Flow::H level: 3 text: Example - !ruby/struct:SM::Flow::P body: "A simple example demonstrates the above explanation:" - !ruby/struct:SM::Flow::VERB body: " log = Logger.new(STDOUT)\n log.level = Logger::WARN\n\n log.debug("Created logger")\n log.info("Program started")\n log.warn("Nothing to do!")\n\n begin\n File.each_line(path) do |line|\n unless line =~ /^(\\w+) = (.*)$/\n log.error("Line in wrong format: #{line}")\n end\n end\n rescue => err\n log.fatal("Caught exception; exiting")\n log.fatal(err)\n end\n" - !ruby/struct:SM::Flow::P body: Because the Logger's level is set to WARN, only the warning, error, and fatal messages are recorded. The debug and info messages are silently discarded. - !ruby/struct:SM::Flow::H level: 3 text: Features - !ruby/struct:SM::Flow::P body: There are several interesting features that Logger provides, like auto-rolling of log files, setting the format of log messages, and specifying a program name in conjunction with the message. The next section shows you how to achieve these things. - !ruby/struct:SM::Flow::H level: 2 text: HOWTOs - !ruby/struct:SM::Flow::H level: 3 text: How to create a logger - !ruby/struct:SM::Flow::P body: The options below give you various choices, in more or less increasing complexity. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "1." body: Create a logger which logs messages to STDERR/STDOUT. - !ruby/struct:SM::Flow::VERB body: " logger = Logger.new(STDERR)\n logger = Logger.new(STDOUT)\n" - !ruby/struct:SM::Flow::LI label: "2." body: Create a logger for the file which has the specified name. - !ruby/struct:SM::Flow::VERB body: " logger = Logger.new('logfile.log')\n" - !ruby/struct:SM::Flow::LI label: "3." body: Create a logger for the specified file. - !ruby/struct:SM::Flow::VERB body: " file = File.open('foo.log', File::WRONLY | File::APPEND)\n # To create new (and to remove old) logfile, add File::CREAT like;\n # file = open('foo.log', File::WRONLY | File::APPEND | File::CREAT)\n logger = Logger.new(file)\n" - !ruby/struct:SM::Flow::LI label: "4." body: Create a logger which ages logfile once it reaches a certain size. Leave 10 "old log files" and each file is about 1,024,000 bytes. - !ruby/struct:SM::Flow::VERB body: " logger = Logger.new('foo.log', 10, 1024000)\n" - !ruby/struct:SM::Flow::LI label: "5." body: Create a logger which ages logfile daily/weekly/monthly. - !ruby/struct:SM::Flow::VERB body: " logger = Logger.new('foo.log', 'daily')\n logger = Logger.new('foo.log', 'weekly')\n logger = Logger.new('foo.log', 'monthly')\n" type: :NUMBER - !ruby/struct:SM::Flow::H level: 3 text: How to log a message - !ruby/struct:SM::Flow::P body: Notice the different methods (fatal, error, info) being used to log messages of various levels. Other methods in this family are warn and debug. add is used below to log a message of an arbitrary (perhaps dynamic) level. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "1." body: Message in block. - !ruby/struct:SM::Flow::VERB body: " logger.fatal { "Argument 'foo' not given." }\n" - !ruby/struct:SM::Flow::LI label: "2." body: Message as a string. - !ruby/struct:SM::Flow::VERB body: " logger.error "Argument #{ @foo } mismatch."\n" - !ruby/struct:SM::Flow::LI label: "3." body: With progname. - !ruby/struct:SM::Flow::VERB body: " logger.info('initialize') { "Initializing..." }\n" - !ruby/struct:SM::Flow::LI label: "4." body: With severity. - !ruby/struct:SM::Flow::VERB body: " logger.add(Logger::FATAL) { 'Fatal error!' }\n" type: :NUMBER - !ruby/struct:SM::Flow::H level: 3 text: How to close a logger - !ruby/struct:SM::Flow::VERB body: " logger.close\n" - !ruby/struct:SM::Flow::H level: 3 text: Setting severity threshold - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "1." body: Original interface. - !ruby/struct:SM::Flow::VERB body: " logger.sev_threshold = Logger::WARN\n" - !ruby/struct:SM::Flow::LI label: "2." body: Log4r (somewhat) compatible interface. - !ruby/struct:SM::Flow::VERB body: " logger.level = Logger::INFO\n\n DEBUG < INFO < WARN < ERROR < FATAL < UNKNOWN\n" type: :NUMBER - !ruby/struct:SM::Flow::H level: 2 text: Format - !ruby/struct:SM::Flow::P body: "Log messages are rendered in the output stream in a certain format. The default format and a sample are shown below:" - !ruby/struct:SM::Flow::P body: "Log format:" - !ruby/struct:SM::Flow::VERB body: " SeverityID, [Date Time mSec #pid] SeverityLabel -- ProgName: message\n" - !ruby/struct:SM::Flow::P body: "Log sample:" - !ruby/struct:SM::Flow::VERB body: " I, [Wed Mar 03 02:34:24 JST 1999 895701 #19074] INFO -- Main: info.\n" - !ruby/struct:SM::Flow::P body: "You may change the date and time format in this manner:" - !ruby/struct:SM::Flow::VERB body: " logger.datetime_format = "%Y-%m-%d %H:%M:%S"\n # e.g. "2004-01-03 00:54:26"\n" - !ruby/struct:SM::Flow::P body: There is currently no supported way to change the overall format, but you may have some luck hacking the Format constant. constants: - !ruby/object:RI::Constant comment: name: VERSION value: "\"1.2.6\"" - !ruby/object:RI::Constant comment: name: ProgName value: "\"#{File.basename(__FILE__)}/#{VERSION}\"" - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Severity label for logging. (max 5 char) name: SEV_LABEL value: "%w(DEBUG INFO WARN ERROR FATAL ANY)" full_name: Logger includes: - !ruby/object:RI::IncludedModule name: Severity instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: datetime_format - !ruby/object:RI::MethodSummary name: datetime_format= - !ruby/object:RI::MethodSummary name: debug - !ruby/object:RI::MethodSummary name: debug? - !ruby/object:RI::MethodSummary name: error - !ruby/object:RI::MethodSummary name: error? - !ruby/object:RI::MethodSummary name: fatal - !ruby/object:RI::MethodSummary name: fatal? - !ruby/object:RI::MethodSummary name: format_message - !ruby/object:RI::MethodSummary name: format_severity - !ruby/object:RI::MethodSummary name: info - !ruby/object:RI::MethodSummary name: info? - !ruby/object:RI::MethodSummary name: log - !ruby/object:RI::MethodSummary name: unknown - !ruby/object:RI::MethodSummary name: warn - !ruby/object:RI::MethodSummary name: warn? name: Logger superclass: Object ri/1.8/system/Logger/datetime_format-i.yaml 0000644 00000000270 15217654533 0014517 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger#datetime_format is_singleton: false name: datetime_format params: () visibility: public ri/1.8/system/Logger/debug%3f-i.yaml 0000644 00000000463 15217654533 0012743 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true iff the current severity level allows for the printing of DEBUG messages. full_name: Logger#debug? is_singleton: false name: debug? params: () visibility: public ri/1.8/system/Logger/close-i.yaml 0000644 00000000342 15217654533 0012460 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Close the logging device. full_name: Logger#close is_singleton: false name: close params: () visibility: public ri/1.8/system/Logger/ShiftingError/cdesc-ShiftingError.yaml 0000644 00000000316 15217654533 0017557 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Logger::ShiftingError includes: [] instance_methods: [] name: ShiftingError superclass: Error ri/1.8/system/Logger/datetime_format%3d-i.yaml 0000644 00000000454 15217654533 0015017 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Logging date-time format (string passed to strftime). full_name: Logger#datetime_format= is_singleton: false name: datetime_format= params: (datetime_format) visibility: public ri/1.8/system/Logger/fatal-i.yaml 0000644 00000000502 15217654533 0012440 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Log a FATAL message. - !ruby/struct:SM::Flow::P body: "See #info for more information." full_name: Logger#fatal is_singleton: false name: fatal params: (progname = nil, &block) visibility: public ri/1.8/system/Logger/info-i.yaml 0000644 00000002076 15217654533 0012314 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Log an INFO message. - !ruby/struct:SM::Flow::P body: The message can come either from the progname argument or the block. If both are provided, then the block is used as the message, and progname is used as the program name. - !ruby/struct:SM::Flow::H level: 3 text: Examples - !ruby/struct:SM::Flow::VERB body: " logger.info("MainApp") { "Received connection from #{ip}" }\n # ...\n logger.info "Waiting for input from user"\n # ...\n logger.info { "User typed #{input}" }\n" - !ruby/struct:SM::Flow::P body: You'll probably stick to the second form above, unless you want to provide a program name (which you can do with Logger#progname= as well). - !ruby/struct:SM::Flow::H level: 3 text: Return - !ruby/struct:SM::Flow::P body: "See #add." full_name: Logger#info is_singleton: false name: info params: (progname = nil, &block) visibility: public ri/1.8/system/Logger/Error/cdesc-Error.yaml 0000644 00000000305 15217654533 0014365 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: Logger::Error includes: [] instance_methods: [] name: Error superclass: RuntimeError ri/1.8/system/Logger/error%3f-i.yaml 0000644 00000000463 15217654533 0013006 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true iff the current severity level allows for the printing of ERROR messages. full_name: Logger#error? is_singleton: false name: error? params: () visibility: public ri/1.8/system/Logger/format_message-i.yaml 0000644 00000000330 15217654533 0014344 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger#format_message is_singleton: false name: format_message params: (severity, datetime, progname, msg) visibility: private ri/1.8/system/Logger/debug-i.yaml 0000644 00000000502 15217654533 0012437 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Log a DEBUG message. - !ruby/struct:SM::Flow::P body: "See #info for more information." full_name: Logger#debug is_singleton: false name: debug params: (progname = nil, &block) visibility: public ri/1.8/system/Logger/Formatter/new-c.yaml 0000644 00000000253 15217654533 0014102 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger::Formatter::new is_singleton: true name: new params: () visibility: public ri/1.8/system/Logger/Formatter/format_datetime-i.yaml 0000644 00000000310 15217654533 0016455 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger::Formatter#format_datetime is_singleton: false name: format_datetime params: (time) visibility: private ri/1.8/system/Logger/Formatter/call-i.yaml 0000644 00000000312 15217654533 0014226 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger::Formatter#call is_singleton: false name: call params: (severity, time, progname, msg) visibility: public ri/1.8/system/Logger/Formatter/msg2str-i.yaml 0000644 00000000267 15217654533 0014725 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger::Formatter#msg2str is_singleton: false name: msg2str params: (msg) visibility: private ri/1.8/system/Logger/Formatter/cdesc-Formatter.yaml 0000644 00000001063 15217654533 0016113 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: datetime_format rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: constants: - !ruby/object:RI::Constant comment: name: Format value: "\"%s, [%s#%d] %5s -- %s: %s\\n\"" full_name: Logger::Formatter includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: call - !ruby/object:RI::MethodSummary name: format_datetime - !ruby/object:RI::MethodSummary name: msg2str name: Formatter superclass: Object ri/1.8/system/Logger/info%3f-i.yaml 0000644 00000000460 15217654533 0012605 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true iff the current severity level allows for the printing of INFO messages. full_name: Logger#info? is_singleton: false name: info? params: () visibility: public ri/1.8/system/Logger/fatal%3f-i.yaml 0000644 00000000463 15217654533 0012744 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true iff the current severity level allows for the printing of FATAL messages. full_name: Logger#fatal? is_singleton: false name: fatal? params: () visibility: public ri/1.8/system/Logger/format_severity-i.yaml 0000644 00000000301 15217654533 0014570 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Logger#format_severity is_singleton: false name: format_severity params: (severity) visibility: private ri/1.8/system/Logger/log-i.yaml 0000644 00000000404 15217654533 0012133 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #add" full_name: Logger#log is_singleton: false name: log params: (severity, message = nil, progname = nil, &block) visibility: public ri/1.8/system/Logger/add-i.yaml 0000644 00000004750 15217654533 0012112 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: log block_params: "" comment: - !ruby/struct:SM::Flow::H level: 3 text: Synopsis - !ruby/struct:SM::Flow::VERB body: " Logger#add(severity, message = nil, progname = nil) { ... }\n" - !ruby/struct:SM::Flow::H level: 3 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+severity+:" body: "Severity. Constants are defined in Logger namespace: DEBUG, INFO, WARN, ERROR, FATAL, or UNKNOWN." - !ruby/struct:SM::Flow::LI label: "+message+:" body: The log message. A String or Exception. - !ruby/struct:SM::Flow::LI label: "+progname+:" body: Program name string. Can be omitted. Treated as a message if no message and block are given. - !ruby/struct:SM::Flow::LI label: "+block+:" body: Can be omitted. Called to get a message string if message is nil. type: :NOTE - !ruby/struct:SM::Flow::H level: 3 text: Return - !ruby/struct:SM::Flow::P body: true if successful, false otherwise. - !ruby/struct:SM::Flow::P body: When the given severity is not high enough (for this particular logger), log no message, and return true. - !ruby/struct:SM::Flow::H level: 3 text: Description - !ruby/struct:SM::Flow::P body: "Log a message if the given severity is high enough. This is the generic logging method. Users will be more inclined to use #debug, #info, #warn, #error, and #fatal." - !ruby/struct:SM::Flow::P body: "Message format: message can be any object, but it has to be converted to a String in order to log it. Generally, inspect is used if the given object is not a String. A special case is an Exception object, which will be printed in detail, including message, class, and backtrace. See #msg2str for the implementation if required." - !ruby/struct:SM::Flow::H level: 3 text: Bugs - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: Logfile is not locked. - !ruby/struct:SM::Flow::LI label: "*" body: Append open does not need to lock file. - !ruby/struct:SM::Flow::LI label: "*" body: But on the OS which supports multi I/O, records possibly be mixed. type: :BULLET full_name: Logger#add is_singleton: false name: add params: (severity, message = nil, progname = nil, &block) {|| ...} visibility: public ri/1.8/system/Finalizer/cdesc-Finalizer.yaml 0000644 00000006320 15217654533 0014635 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: add_dependency - !ruby/object:RI::MethodSummary name: delete_all_by_dependant - !ruby/object:RI::MethodSummary name: delete_all_dependency - !ruby/object:RI::MethodSummary name: delete_by_dependant - !ruby/object:RI::MethodSummary name: delete_dependency - !ruby/object:RI::MethodSummary name: final_of - !ruby/object:RI::MethodSummary name: finalize_all - !ruby/object:RI::MethodSummary name: finalize_all_by_dependant - !ruby/object:RI::MethodSummary name: finalize_all_dependency - !ruby/object:RI::MethodSummary name: finalize_by_dependant - !ruby/object:RI::MethodSummary name: finalize_dependency - !ruby/object:RI::MethodSummary name: safe comment: - !ruby/struct:SM::Flow::P body: "Usage:" - !ruby/struct:SM::Flow::P body: add dependency R_method(obj, dependant) - !ruby/struct:SM::Flow::VERB body: " add(obj, dependant, method = :finalize, *opt)\n add_dependency(obj, dependant, method = :finalize, *opt)\n" - !ruby/struct:SM::Flow::P body: delete dependency R_method(obj, dependant) - !ruby/struct:SM::Flow::VERB body: " delete(obj_or_id, dependant, method = :finalize)\n delete_dependency(obj_or_id, dependant, method = :finalize)\n" - !ruby/struct:SM::Flow::P body: delete dependency R_*(obj, dependant) - !ruby/struct:SM::Flow::VERB body: " delete_all_dependency(obj_or_id, dependant)\n" - !ruby/struct:SM::Flow::P body: delete dependency R_method(*, dependant) - !ruby/struct:SM::Flow::VERB body: " delete_by_dependant(dependant, method = :finalize)\n" - !ruby/struct:SM::Flow::P body: delete dependency R_*(*, dependant) - !ruby/struct:SM::Flow::VERB body: " delete_all_by_dependant(dependant)\n" - !ruby/struct:SM::Flow::P body: delete all dependency R_*(*, *) - !ruby/struct:SM::Flow::VERB body: " delete_all\n" - !ruby/struct:SM::Flow::P body: finalize the dependant connected by dependency R_method(obj, dependtant). - !ruby/struct:SM::Flow::VERB body: " finalize(obj_or_id, dependant, method = :finalize)\n finalize_dependency(obj_or_id, dependant, method = :finalize)\n" - !ruby/struct:SM::Flow::P body: finalize all dependants connected by dependency R_*(obj, dependtant). - !ruby/struct:SM::Flow::VERB body: " finalize_all_dependency(obj_or_id, dependant)\n" - !ruby/struct:SM::Flow::P body: finalize the dependant connected by dependency R_method(*, dependtant). - !ruby/struct:SM::Flow::VERB body: " finalize_by_dependant(dependant, method = :finalize)\n" - !ruby/struct:SM::Flow::P body: finalize all dependants connected by dependency R_*(*, dependant). - !ruby/struct:SM::Flow::VERB body: " finalize_all_by_dependant(dependant)\n" - !ruby/struct:SM::Flow::P body: finalize all dependency registered to the Finalizer. - !ruby/struct:SM::Flow::VERB body: " finalize_all\n" - !ruby/struct:SM::Flow::P body: stop invoking Finalizer on GC. - !ruby/struct:SM::Flow::VERB body: " safe{..}\n" constants: - !ruby/object:RI::Constant comment: name: RCS_ID value: "'-$Id: finalize.rb,v 1.4 1998/02/27 05:34:33 keiju Exp keiju $-'" full_name: Finalizer includes: [] instance_methods: [] name: Finalizer superclass: ri/1.8/system/Finalizer/delete_all_by_dependant-c.yaml 0000644 00000000434 15217654533 0016661 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: delete dependency R_*(*, dependant) full_name: Finalizer::delete_all_by_dependant is_singleton: true name: delete_all_by_dependant params: (dependant) visibility: public ri/1.8/system/Finalizer/safe-c.yaml 0000644 00000000366 15217654533 0012775 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: "" comment: - !ruby/struct:SM::Flow::P body: method to call finalize_* safely. full_name: Finalizer::safe is_singleton: true name: safe params: () {|| ...} visibility: public ri/1.8/system/Finalizer/final_of-c.yaml 0000644 00000000406 15217654533 0013627 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: registering function to ObjectSpace#add_finalizer full_name: Finalizer::final_of is_singleton: true name: final_of params: (id) visibility: private ri/1.8/system/Finalizer/add_dependency-c.yaml 0000644 00000000455 15217654533 0015004 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: add dependency R_method(obj, dependant) full_name: Finalizer::add_dependency is_singleton: true name: add_dependency params: (obj, dependant, method = :finalize, *opt) visibility: public ri/1.8/system/Finalizer/delete_dependency-c.yaml 0000644 00000000457 15217654533 0015520 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: delete dependency R_method(obj, dependant) full_name: Finalizer::delete_dependency is_singleton: true name: delete_dependency params: (id, dependant, method = :finalize) visibility: public ri/1.8/system/Finalizer/delete_by_dependant-c.yaml 0000644 00000000455 15217654533 0016034 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: delete dependency R_method(*, dependant) full_name: Finalizer::delete_by_dependant is_singleton: true name: delete_by_dependant params: (dependant, method = :finalize) visibility: public ri/1.8/system/Finalizer/finalize_by_dependant-c.yaml 0000644 00000000517 15217654533 0016372 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: finalize the dependant connected by dependency R_method(*, dependtant) full_name: Finalizer::finalize_by_dependant is_singleton: true name: finalize_by_dependant params: (dependant, method = :finalize) visibility: public ri/1.8/system/Finalizer/finalize_dependency-c.yaml 0000644 00000000521 15217654533 0016047 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: finalize the depandant connected by dependency R_method(obj, dependtant) full_name: Finalizer::finalize_dependency is_singleton: true name: finalize_dependency params: (id, dependant, method = :finalize) visibility: public ri/1.8/system/Finalizer/finalize_all_by_dependant-c.yaml 0000644 00000000477 15217654533 0017227 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: finalize all dependants connected by dependency R_*(*, dependtant) full_name: Finalizer::finalize_all_by_dependant is_singleton: true name: finalize_all_by_dependant params: (dependant) visibility: public ri/1.8/system/Finalizer/finalize_all_dependency-c.yaml 0000644 00000000501 15217654533 0016675 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: finalize all dependants connected by dependency R_*(obj, dependtant) full_name: Finalizer::finalize_all_dependency is_singleton: true name: finalize_all_dependency params: (id, dependant) visibility: public ri/1.8/system/Finalizer/delete_all_dependency-c.yaml 0000644 00000000436 15217654533 0016345 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: delete dependency R_*(obj, dependant) full_name: Finalizer::delete_all_dependency is_singleton: true name: delete_all_dependency params: (id, dependant) visibility: public ri/1.8/system/Finalizer/finalize_all-c.yaml 0000644 00000000416 15217654533 0014504 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: finalize all dependants registered to the Finalizer. full_name: Finalizer::finalize_all is_singleton: true name: finalize_all params: () visibility: public ri/1.8/system/ExceptionForMatrix/cdesc-ExceptionForMatrix.yaml 0000644 00000000313 15217654533 0020347 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: constants: [] full_name: ExceptionForMatrix includes: [] instance_methods: [] name: ExceptionForMatrix superclass: ri/1.8/system/Exception/new-c.yaml 0000644 00000000465 15217654533 0012663 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Construct a new Exception object, optionally passing in a message. full_name: Exception::new is_singleton: true name: new params: | Exception.new(msg = nil) => exception visibility: public ri/1.8/system/Exception/to_s-i.yaml 0000644 00000000470 15217654533 0013040 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns exception's message (or the name of the exception if no message is set). full_name: Exception#to_s is_singleton: false name: to_s params: | exception.to_s => string visibility: public ri/1.8/system/Exception/message-i.yaml 0000644 00000000735 15217654533 0013524 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the result of invoking exception.to_s. Normally this returns the exception's message or name. By supplying a to_str method, exceptions are agreeing to be used where Strings are expected. full_name: Exception#message is_singleton: false name: message params: | exception.message => string exception.to_str => string visibility: public ri/1.8/system/Exception/yaml_new-c.yaml 0000644 00000000276 15217654533 0013705 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Exception::yaml_new is_singleton: true name: yaml_new params: ( klass, tag, val ) visibility: public ri/1.8/system/Exception/exception-i.yaml 0000644 00000000731 15217654533 0014072 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: With no argument, or if the argument is the same as the receiver, return the receiver. Otherwise, create a new exception object of the same class as the receiver, but with a message equal to string.to_str. full_name: Exception#exception is_singleton: false name: exception params: | exc.exception(string) -> an_exception or exc visibility: public ri/1.8/system/Exception/exception-c.yaml 0000644 00000000731 15217654533 0014064 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: With no argument, or if the argument is the same as the receiver, return the receiver. Otherwise, create a new exception object of the same class as the receiver, but with a message equal to string.to_str. full_name: Exception::exception is_singleton: true name: exception params: | exc.exception(string) -> an_exception or exc visibility: public ri/1.8/system/Exception/inspect-i.yaml 0000644 00000000435 15217654533 0013542 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return this exception's class name an message full_name: Exception#inspect is_singleton: false name: inspect params: | exception.inspect => string visibility: public ri/1.8/system/Exception/set_backtrace-i.yaml 0000644 00000000661 15217654533 0014670 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sets the backtrace information associated with exc. The argument must be an array of String objects in the format described in Exception#backtrace. full_name: Exception#set_backtrace is_singleton: false name: set_backtrace params: | exc.set_backtrace(array) => array visibility: public ri/1.8/system/Exception/cdesc-Exception.yaml 0000644 00000002232 15217654533 0014661 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: exception - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: yaml_new comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods and rescue statements in begin/end blocks. Exception objects carry information about the exception---its type (the exception's class name), an optional descriptive string, and optional traceback information. Programs may subclass Exception to add additional information. constants: [] full_name: Exception includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: backtrace - !ruby/object:RI::MethodSummary name: exception - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: message - !ruby/object:RI::MethodSummary name: set_backtrace - !ruby/object:RI::MethodSummary name: to_s - !ruby/object:RI::MethodSummary name: to_str - !ruby/object:RI::MethodSummary name: to_yaml name: Exception superclass: Object ri/1.8/system/Exception/to_yaml-i.yaml 0000644 00000000266 15217654533 0013543 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: full_name: Exception#to_yaml is_singleton: false name: to_yaml params: ( opts = {} ) visibility: public ri/1.8/system/Exception/to_str-i.yaml 0000644 00000000733 15217654533 0013410 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the result of invoking exception.to_s. Normally this returns the exception's message or name. By supplying a to_str method, exceptions are agreeing to be used where Strings are expected. full_name: Exception#to_str is_singleton: false name: to_str params: | exception.message => string exception.to_str => string visibility: public ri/1.8/system/Exception/backtrace-i.yaml 0000644 00000001434 15217654533 0014014 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns any backtrace associated with the exception. The backtrace is an array of strings, each containing either ``filename:lineNo: in `method''' or ``filename:lineNo.''" - !ruby/struct:SM::Flow::VERB body: " def a\n raise "boom"\n end\n\n def b\n a()\n end\n\n begin\n b()\n rescue => detail\n print detail.backtrace.join("\\n")\n end\n" - !ruby/struct:SM::Flow::P body: produces: - !ruby/struct:SM::Flow::VERB body: " prog.rb:2:in `a'\n prog.rb:6:in `b'\n prog.rb:10\n" full_name: Exception#backtrace is_singleton: false name: backtrace params: | exception.backtrace => array visibility: public ri/1.8/system/SingleForwardable/def_singleton_delegator-i.yaml 0000644 00000001135 15217654533 0020375 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: def_delegator block_params: comment: - !ruby/struct:SM::Flow::P body: Defines a method method which delegates to obj (i.e. it calls the method of the same name in obj). If new_name is provided, it is used as the name for the delegate method. - !ruby/struct:SM::Flow::P body: See the example at forwardable.rb. full_name: SingleForwardable#def_singleton_delegator is_singleton: false name: def_singleton_delegator params: (accessor, method, ali = method) visibility: public ri/1.8/system/SingleForwardable/cdesc-SingleForwardable.yaml 0000644 00000001460 15217654533 0017753 0 ustar 00 --- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: "The SingleForwardable module provides delegation of specified methods to a designated object, using the methods #def_delegator and #def_delegators. This module is similar to Forwardable, but it works on objects themselves, instead of their defining classes." - !ruby/struct:SM::Flow::P body: Also see the example at forwardable.rb. constants: [] full_name: SingleForwardable includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: def_delegator - !ruby/object:RI::MethodSummary name: def_delegators - !ruby/object:RI::MethodSummary name: def_singleton_delegator - !ruby/object:RI::MethodSummary name: def_singleton_delegators name: SingleForwardable superclass: ri/1.8/system/SingleForwardable/def_delegator-i.yaml 0000644 00000000446 15217654533 0016317 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #def_singleton_delegator" full_name: SingleForwardable#def_delegator is_singleton: false name: def_delegator params: (accessor, method, ali = method) visibility: public ri/1.8/system/SingleForwardable/def_singleton_delegators-i.yaml 0000644 00000001464 15217654533 0020565 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: def_delegators block_params: comment: - !ruby/struct:SM::Flow::P body: "Shortcut for defining multiple delegator methods, but with no provision for using a different name. The following two code samples have the same effect:" - !ruby/struct:SM::Flow::VERB body: " single_forwardable.def_delegators :@records, :size, :<<, :map\n\n single_forwardable.def_delegator :@records, :size\n single_forwardable.def_delegator :@records, :<<\n single_forwardable.def_delegator :@records, :map\n" - !ruby/struct:SM::Flow::P body: See the example at forwardable.rb. full_name: SingleForwardable#def_singleton_delegators is_singleton: false name: def_singleton_delegators params: (accessor, *methods) visibility: public ri/1.8/system/SingleForwardable/def_delegators-i.yaml 0000644 00000000435 15217654533 0016500 0 ustar 00 --- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Alias for #def_singleton_delegators" full_name: SingleForwardable#def_delegators is_singleton: false name: def_delegators params: (accessor, *methods) visibility: public doc/alt-ruby18-rubygems/History.txt 0000644 00000164635 15217654533 0013310 0 ustar 00 # coding: UTF-8 === 1.8.29 / 2013-11-23 Bug fixes: * Fixed installation when the LANG environment variable is empty. * Added DigiCert High Assurance EV Root CA to the default SSL certificates for cloudfront. === 1.8.28 / 2013-10-08 Bug fixes: * Added the Verisign Class 3 Public Primary Certification Authority G5 certificate and its intermediary to follow the s3.amazonaws.com certificate change. Fixes #665 by emeyekayee. Fixes #671 by jonforums. * Remove redundant built-in certificates not needed for https://rubygems.org Fixes #654 by Vít Ondruch. * Added test for missing certificates for https://s3.amazonaws.com or https://rubygems.org. Pull request #673 by Hannes Georg. === 1.8.27 / 2013-09-24 Security fixes: * RubyGems 2.1.4 and earlier are vulnerable to excessive CPU usage due to a backtracking in Gem::Version validation. See CVE-2013-4363 for full details including vulnerable APIs. Fixed versions include 2.1.5, 2.0.10, 1.8.27 and 1.8.23.2 (for Ruby 1.9.3). === 1.8.26 / 2013-09-09 Security fixes: * RubyGems 2.0.7 and earlier are vulnerable to excessive CPU usage due to a backtracking in Gem::Version validation. See CVE-2013-4287 for full details including vulnerable APIs. Fixed versions include 2.0.8, 1.8.26 and 1.8.23.1 (for Ruby 1.9.3). Issue #626 by Damir Sharipov. Bug fixes: * Fixed editing of a Makefile with 8-bit characters. Fixes #181 === 1.8.25 / 2013-01-24 * 6 bug fixes: * Added 11627 to setup bin_file location to protect against errors. Fixes #328 by ConradIrwin * Specification#ruby_code didn't handle Requirement with multiple * Fix error on creating a Version object with a frozen string. * Fix incremental index updates * Fix missing load_yaml in YAML-related requirement.rb code. * Manually backport encoding-aware YAML gemspec === 1.8.24 / 2012-04-27 * 1 bug fix: * Install the .pem files properly. Fixes #320 * Remove OpenSSL dependency from the http code path === 1.8.23 / 2012-04-19 This release increases the security used when RubyGems is talking to an https server. If you use a custom RubyGems server over SSL, this release will cause RubyGems to no longer connect unless your SSL cert is globally valid. You can configure SSL certificate usage in RubyGems through the :ssl_ca_cert and :ssl_verify_mode options in ~/.gemrc and /etc/gemrc. The recommended way is to set :ssl_ca_cert to the CA certificate for your server or a certificate bundle containing your CA certification. You may also set :ssl_verify_mode to 0 to completely disable SSL certificate checks, but this is not recommended. * 2 security fixes: * Disallow redirects from https to http * Turn on verification of server SSL certs * 1 minor feature: * Add --clear-sources to fetch * 2 bug fixes: * Use File.identical? to check if two files are the same. * Fixed init_with warning when using psych === 1.8.22 / 2012-04-13 * 4 bug fixes: * Workaround for psych/syck YAML date parsing issue * Don't trust the encoding of ARGV. Fixes #307 * Quiet default warnings about missing spec variables * Read a binary file properly (windows fix) === 1.8.21 / 2012-03-22 * 2 bug fixes: * Add workaround for buggy yaml output from 1.9.2 * Force 1.9.1 to remove it's prelude code. Fixes #305 === 1.8.20 / 2012-03-21 * 4 bug fixes: * Add --force to `gem build` to skip validation. Fixes #297 * Gracefully deal with YAML::PrivateType objects in Marshal'd gemspecs * Treat the source as a proper url base. Fixes #304 * Warn when updating the specs cache fails. Fixes #300 === 1.8.19 / 2012-03-14 * 3 bug fixes: * Handle loading psych vs syck properly. Fixes #298 * Make sure Date objects don't leak in via Marshal * Perform Date => Time coercion on yaml loading. Fixes #266 === 1.8.18 / 2012-03-11 * 4 bug fixes: * Use Psych API to emit more compatible YAML * Download and write inside `gem fetch` directly. Fixes #289 * Honor sysconfdir on 1.8. Fixes #291 * Search everywhere for a spec for `gem spec`. Fixes #288 * Fix Gem.all_load_path. Fixes #171 === 1.8.17 / 2012-02-17 * 2 minor enhancements: * Add MacRuby to the list of special cases for platforms (ferrous26) * Add a default for where to install rubygems itself * 3 bug fixes: * Fixed gem loading issue caused by dependencies not resolving. * Fixed umask error when stdlib is required and unresolved dependencies exist. * Shebang munging would only take one arg after the cmd * Define SUCKAGE better, ie only MRI 1.9.2 * Propagate env-shebang to the pristine command if set for install. === 1.8.16 / 2012-02-12 * 3 bug fixes: * Fix gem specification loading when encoding is not UTF-8. #146 * Allow group writable if umask allows it already. * Uniquify the spec list based on directory order priority === 1.8.15 / 2012-01-06 * 1 bug fix: * Don't eager load yaml, it creates a bad loop. Fixes #256 === 1.8.14 / 2012-01-05 * 2 bug fixes: * Ignore old/bad cache data in Version * Make sure our YAML workarounds are loaded properly. Fixes #250. === 1.8.13 / 2011-12-21 * 1 bug fix: * Check loaded_specs properly when trying to satisfy a dep * 2 minor enhancements: * Remove using #loaded_path? for performance * Remove Zlib workaround for Windows build. === 1.8.12 / 2011-12-02 * Bug fix: * Handle more cases where Syck's DefaultKey showed up in requirements and wasn't cleaned out. === 1.8.11 / 2011-10-03 * Bug fix: * Deprecate was moved to Gem::Deprecate to stop polluting the top-level namespace. === 1.8.10 / 2011-08-25 RubyGems 1.8.10 contains a security fix that prevents malicious gems from executing code when their specification is loaded. See https://github.com/rubygems/rubygems/pull/165 for details. * 5 bug fixes: * RubyGems escapes strings in ruby-format specs using #dump instead of #to_s and %q to prevent code injection. Issue #165 by Postmodern * RubyGems attempt to activate the psych gem now to obtain bugfixes from psych. * Gem.dir has been restored to the front of Gem.path. Fixes remaining problem with Issue #115 * Fixed Syck DefaultKey infecting ruby-format specifications. * `gem uninstall a b` no longer stops if gem "a" is not installed. === 1.8.9 / 2011-08-23 * Bug fixes: * Fixed uninstalling multiple gems using `gem uninstall` * Gem.use_paths splatted to take multiple paths! Issue #148 === 1.8.8 / 2011-08-11 * Bug fix: * The encoding of a gem's YAML spec is now UTF-8. Issue #149 === 1.8.7 / 2011-08-04 * Bug fixes: * Added missing require for `gem uninstall --format-executable` * The correct name of the executable being uninstalled is now displayed with --format-executable * Fixed `gem unpack uninstalled_gem` default version picker * RubyGems no longer claims a nonexistent gem can be uninstalled * `gem which` no longer claims directories are requirable files * `gem cleanup` continues cleaning up gems if one can't be uninstalled due to permissions. Issue #82 * Gem repository directories are no longer created world-writable. Patch by Sakuro OZAWA. Ruby Bug #4930 === 1.8.6 / 2011-07-25 * 1 minor enhancement: * Add autorequires and delay startup of RubyGems until require is called. See Ruby bug #4962 * 9 bug fixes: * Restore behavior of Gem::Specification#loaded? Ruby Bug #5032 * Clean up SourceIndex.add_specs to not be so damn noisy. (tadman) * Added missing APPLE_GEM_HOME in paths. * Extend YAML::Syck::DefaultKey fixing to `marshal_dump` as well. * Fix #29216: check correct bin_dir in check_that_user_bin_dir_is_in_path. * Revert Gem.latest_load_paths to working order (PathSupport revert). * Restore normalization of GEM_HOME. * Handle the Syck DefaultKey problem once and for all. * Fix SystemStackError occurring with "gem list -r -a" on 1.9. === 1.8.5 / 2011-05-31 * 2 minor enhancement: * The -u option to 'update local source cache' is official deprecated. * Remove has_rdoc deprecations from Specification. * 2 bug fixes: * Handle bad specs more gracefully. * Reset any Gem paths changed in the installer. === 1.8.4 / 2011-05-25 * 1 minor enhancement: * Removed default_executable deprecations from Specification. === 1.8.3 / 2011-05-19 * 4 bug fixes: * Fix independent testing of test_gem_package_tar_output. Ruby Bug #4686 by Shota Fukumori * Fix test failures for systems with separate ruby versions. Ruby Bug #3808 by Jeremy Evans * Fixed some bad calls left behind after rolling out some refactorings. * Syck has a parse error on (good) times output from Psych. (dazuma, et al) === 1.8.2 / 2011-05-11 * 2 minor enhancements: * Moved #outdated from OutdatedCommand to Specification (for Isolate). * Print out a warning about missing executables. * 3 bug fixes: * Added missing requires to fix various upgrade issues. * `gem pristine` respects multiple gem repositories. * setup.rb now execs with --disable-gems when possible === 1.8.1 / 2011-05-05 * 1 minor enhancement: * Added Gem::Requirement#specific? and Gem::Dependency#specific? * 4 bug fixes: * Typo on Indexer rendered it useless on Windows * gem dep can fetch remote dependencies for non-latest gems again. * gem uninstall with multiple versions no longer crashes with ArgumentError * Always use binary mode for File.open to keep Windows happy === 1.8.0 / 2011-04-34 This release focused on properly encapsulating functionality. Most of this work focused on moving functionality out of Gem::SourceIndex and Gem::GemPathSearcher into Gem::Specification where it belongs. After installing RubyGems 1.8.0 you will see deprecations when loading your exsting gems. Run `gem pristine --all --no-extensions` to regenerate your gem specifications safely. Currently RubyGems does not save the build arguments used to build gems with extensions. You will need to run `gem pristine gem_with_extension -- --build-arg` to regenerate a gem with an extension where it requires special build arguments. * 24(+) Deprecations (WOOT!): * DependencyList.from_source_index deprecated the source_index argument. * Deprecated Dependency.new(/regex/). * Deprecated Gem.searcher. * Deprecated Gem.source_index and Gem.available? * Deprecated Gem: activate_dep, activate_spec, activate, report_activate_error, and required_location. * Deprecated Gem::all_partials * Deprecated Gem::cache_dir * Deprecated Gem::cache_gem * Deprecated Gem::default_system_source_cache_dir * Deprecated Gem::default_user_source_cache_dir * Deprecated Platform#empty? * Deprecated Specification.cache_gem * Deprecated Specification.installation_path * Deprecated Specification.loaded, loaded?, and loaded= * Deprecated all of Gem::SourceIndex. * Deprecated all of Gem::GemPathSearcher. * Deprecated Gem::Specification#default_executable. * 2 major enhancements: * Gem::SourceIndex functionality has been moved to Gem::Specification. Gem::SourceIndex is completely disconnected from Gem::Specification * Refactored GemPathSearcher entirely out. RIPMF * 41 minor enhancements: * Added CommandManager#unregister_command * Added Dependency#matching_specs + to_specs. * Added Dependency#to_spec * Added Gem.pre_reset_hook/s and post_reset_hook/s. * Added GemCommand.reset to reinitialize the singleton * Added Specification#activate. * Added Specification#activated, activated=, and activated? * Added Specification#base_dir. * Added Specification#bin_dir and bin_file. * Added Specification#cache_dir and cache_file. Aliased cache_gem. * Added Specification#doc_dir and ri_dir. * Added Specification#find(name_or_dep, *requirements). * Added Specification#gem_dir and gems_dir. * Added Specification#spec_dir and spec_file. * Added Specification.add_spec, add_specs, and remove_spec. * Added Specification.all=. If you use this, we will light you on fire. * Added Specification.all_names. * Added Specification.dirs and dirs=. dirs= resets. * Added Specification.find_all_by_name(name, *reqs) * Added Specification.latest_specs. SO TINY! * Added TestCase#all_spec_names to help clean up tests * Added TestCase#assert_path_exists and refute_path_exists. Will move to minitest. * Gem.sources no longer tries to load sources gem. Only uses default_sources. * Installer no longer accepts a source_index option. * More low-level integration. * Removed Gem::FileOperations since it is a dummy class * Removed a comment because I am dumb * Removed pkgs/sources/lib/sources.rb * Revamped indexer to mostly not use SourceIndex (legacy index requires it). * Rewrote our last functional test suite to be happy and fast * RubyGems is now under the Ruby License or the MIT license * Specification#== now only checks name, version, and platform. * Specification#authors= now forcefully flattens contents (bad rspec! no cookie!) * Specification#eql? checks all fields. * Specification#installation_path no longer raises if it hasn't been activated. * Specification#validate now ensures that authors is not empty. * TestCase.util_setup_spec_fetcher no longer returns a SourceIndex. * Uninstaller no longer passes around SourceIndex instances * Warn on loading bad spec array values (ntlm-http gem has nil in its cert chain) * `gem pristine` now accepts --no-executables to skip restoring gems with extensions. * `gem pristine` can now restore multiple gems. * 6 bug fixes: * DependencyInstaller passed around a source_index instance but used Gem.source_index. * Fixed Platform#== and #hash so instances may be used as hash keys. * Fixed broken Specification#original_platform. It should never be nil. * Gem::Text#format_text now strips trailing whitespace * Normalize LOAD_PATH with File.expand_path * `gem build` errors should exit 1. * `gem pristine` can now restore non-latest gems where the cached gem was removed. === 1.7.1 / 2011-03-32 * 1 bug fix: * Fixed missing file in Manifest.txt. (Also a bug in hoe was fixed where `rake check_manifest` showing a diff would not exit with an error.) === 1.7.0 / 2011-03-32 * 16 Deprecations (woot!) * Deprecated Gem.all_load_paths, latest_load_paths, promote_load_path, and cache. * Deprecated RemoteFetcher#open_uri_or_path. * Deprecated SourceIndex#all_gems. * Deprecated SourceIndex#initialize(hash_of_specs). * Deprecated SourceIndex.from_installed_gems, from_gems_in, and load_specification. * Deprecated Specification#has_rdoc, default_executable, and test_suite_file(=). * Deprecated Specification#has_rdoc= and default_executable= * 26 minor enhancements: * Added stupid simple deprecation module. * Added --spec option to `gem unpack` to output a gem's original metadata * Added packaging option to Specification#validate * Gem.bin_path requires the exec_name argument. * Read from cached specs if fetch fails for some reason * Refactored Specification#assign_defaults into #initialize. * RemoteFetcher#fetch_path now dispatches dynamically to 'fetch_' * Removed Specification @@gather. * Removed Specification.attribute. * Removed Specification.attribute_alias_singular. * Removed Specification.attribute_defaults. * Removed Specification.attributes * Removed Specification.overwrite_accessor. * Removed Specification.read_only. * Removed Specification.required_attribute. * Removed Specification::SPECIFICATION_VERSION_HISTORY and turned into rdoc * Removed blanket rescue in default_executable. Hope it doesn't blow up! :P * Removed nearly all metaprogramming from Specification. Yay for attr_accessor! * SourceIndex#initialize changed to prefer an array of spec dirs, defaulting to none. * SourceIndex.new is now the preferred way to create SourceIndex instances. *gasp* * Specification#validate now checks that array attribs are indeed arrays. * Specification.default_value is now an instance method. * Switched Specification::TODAY to be proper midnight @ UTC * Update Gem::RemoteFetcher\'s User-Agent to handle RUBY_ENGINE and RUBY_REVISION when patchlevel is -1 * UpdateCommand#gems_to_update now returns (name, version) pairs. * UpdateCommand#which_to_update now takes an optional system argument. * 11 bug fixes: * Added missing remote fetcher require to pristine command (aarnell) * Building gems now checks to ensure all required fields are non-nil * Fix option parser when summary is nil. * Fixed `gem contents` to work with the lightweight specifications * Fixed `gem update --system x.y.z` where x.y.z == latest version. (MGPalmer) * Fixed gem contents sorting and tests. (MGPalmer) * Fixed intermittant problem in `gem fetch` with --platform specified (quix) * Fixed lightweight specifications so `gem rdoc` will generate proper documentation * MockGemUI#terminate_interaction should not raise Gem::SystemExitException. (MGPalmer) * RubyGems now raises a better error for broken .gem files. Bug #29067 by Elias Baixas * `gem update` now uniq's command line arguments. === 1.6.2 / 2011-03-08 Bug Fixes: * require of an activated gem could cause activation conflicts. Fixes Bug #29056 by Dave Verwer. * `gem outdated` now works with up-to-date prerelease gems. === 1.6.1 / 2011-03-03 Bug Fixes: * Installation no longer fails when a dependency from a version that won't be installed is unsatisfied. * README.rdoc now shows how to file tickets and get help. Pull Request #40 by Aaron Patterson. * Gem files are cached correctly again. Patch #29051 by Mamoru Tasaka. * Tests now pass with non-022 umask. Patch #29050 by Mamoru Tasaka. === 1.6.0 / 2011-02-29 4 Deprecations: * RubyGems no longer requires 'thread'. Rails < 3 will need to add require 'thread' to their applications. * Gem.cache is deprecated. Use Gem.source_index. * RbConfig.datadir is deprecated. Use Gem.datadir. * Gem::LoadError#version_requirements has been removed. Use Gem::LoadError#requirement. 2 Major Enhancements: * Rewrote how Gem::activate (gem and require) resolves dependencies. * Gem::LoadError#version_requirement has been removed. Use Gem::LoadError#requirement. 17 Minor Enhancments: * Added --key to `gem push` for setting alternate API keys. * Added --format-executable support to gem uninstall. * Added Gem::DependencyList#clear. * Added Gem::DependencyList#remove_specs_unsatisfied_by * Added Gem.latest_spec_for, latest_version_for, and latest_rubygems_version. * Added Gem::Dependency#merge which merges requirements for two dependencies. * Added Gem::TestCase#util_spec for faster tests. * Added Gem::Specification#dependent_specs. * Added Gem::TestCase#new_spec and Gem::TestCase#install_specs. * Added flag to include prerelease gems in Gem::SourceIndex#latest_specs. * Gem.cache_dir always references the proper cache dir. Pass true to support a user path. * Gem.cache_gem, given a filename always references the cache gem. Pass true to support a user path. * Added Gem::Specification#conflicts * Removed rdoc gem/require from test_case.rb. * Rubygems will no longer let you push if you're using beta or unreleased rubygems. * Save RAM / GC churn by removing spec.files and rdoc options from locally cached gem specifications. * SpecFetcher.fetch_spec can now take a string source_uri. 10 Bug Fixes: * Added missing require of Gem::RemoteFetcher to the unpack command. * RubyGems now completely removes a previous install when reinstalling. * Fixed Gem::Installer#generate_bin to only chmod files that exist. * Fixed handling of Windows style file:/// uris. * Fixed requires in tests. (shota) * Fixed script generation on Windows. * Fixed test issues if you have older rubygems installed. * Gem::DependencyInstaller tests use Gem::Security, add the missing require. * Gem::Security used FileUtils but didn't require it. Reported by Elia Schito. * Gem::Uninstaller now respects --format-executable. === 1.5.3 / 2011-02-26 Bug Fixes: * Fix for a bug in Syck which causes install failures for gems packaged with Psych. Bug #28965 by Aaron Patterson. === 1.5.2 / 2011-02-10 Bug Fixes: * Fixed gem update --system. RubyGems can now update itself again. === 1.5.1 / 2011-02-09 ==== NOTE: `gem update --system` is broken. See UPGRADING.rdoc. Minor Enhancement: * Added ability to do gem update --system X.Y.Z. Bug Fixes: * Scrub !!null YAML from 1.9.2 (install and build). * Added missing requires for user_interaction. * Wrote option processing tests for gem update. * Updated upgrading doco for new gem update --system option. * Fixed SilentUI for cygwin; try /dev/null first then fall back to NUL. * RubyGems now enforces ruby 1.8.7 or newer. === 1.5.0 / 2011-01-31 ==== NOTE: `gem update --system` is broken. See UPGRADING.rdoc. Major Enhancements: * Finally fixed all known 1.9.x issues. Upgrading is now possible! * Merged huge 1.3.7/ruby-core changes to master. Minor Enhancements: * Added UPGRADING.rdoc to help deal with 1.9 issues. * Gem::Format now gives better errors for corrupt gem files and includes paths * Pre-install hooks can now abort gem installation by returning false * Move shareable TestCase classes to lib/ to help plugin authors with tests. * Add post-build hooks that can cancel the gem install * Always require custom_require now that require_gem is gone * Added GemInstaller accessors for @options so plugins can reference them. * Optimized Gem.find_files. ~10% faster than 1.4.2. ~40% faster than ruby 1.9. * Gem::SilentUI now behaves like Gem::StreamUI for asking questions. Patch by Erik Hollensbe. Bug Fixes: * `gem update` was implicitly doing --system. * 1.9.3: Fixed encoding errors causing gem installs to die during rdoc phase. * Add RubyForge URL to README. Closes #28825 * 1.9.3: Use chdir {} when building extensions to prevent warnings. Fixes #4337 * 1.9.2: Fix circular require warning. * Make requiring openssl even lazier at request of NaHi * `gem unpack` will now download the gem if it is not in the cache. Patch by Erik Hollensbe. * rubygems-update lists its development dependencies again === 1.4.2 / 2011-01-06 Bug fixes: * Gem::Versions: "1.b1" != "1.b.1", but "1.b1" eql? "1.b.1". Fixes gem indexing. * Fixed Gem.find_files. * Removed otherwise unused #find_all_dot_rb. Only 6 days old and hella buggy. === 1.4.1 / 2010-12-31 Since apparently nobody reads my emails, blog posts or the README: DO NOT UPDATE RUBYGEMS ON RUBY 1.9! See UPGRADING.rdoc for details. Bug fix: * Specification#load was untainting a frozen string (via `gem build *.spec`) === 1.4.0 / 2010-12-30 NOTE: In order to better maintain rubygems and to get it in sync with the world (eg, 1.9's 1.3.7 is different from our 1.3.7), rubygems is switching to a 4-6 week release schedule. This release is the precursor to that process and as such may be a bit on the wild side! You have been warned! NOTE: We've switched to git/github. See README.rdoc for details. New features: * Added --launch option to `gem server`. (gthiesfeld) * Added fuzzy name matching on install failures. (gstark/presidentbeef) * Allow searching w/ file extensions: gem which fileutils.rb * Progress indicator during download (Ryan Melton) * Speed up Gem::Version#<=> by 2-3x in common cases. (raggi) * --source is now additive with your current sources. Use --clear-sources first to maintain previous behavior. Bug fixes: * Dependency "~>"s now respect lower-bound prerelease versions. * Ensure the gem directories exist on download. * Expand Windows user home candidates for Ruby 1.8. Bug #28371 & #28494 * Fix find_files to order by version. * Fix ivar typo. [Josh Peek] * Normalized requires and made many of them lazy. Do not depend on rubygems to require stdlib stuff for you. (raggi/tmm1) * Treat 1.0.a10 like 1.0.a.10 for sorting, etc. Fixes #27903. (dchelimsky) === 1.3.7 / 2010-05-13 NOTE: http://rubygems.org is now the default source for downloading gems. You may have sources set via ~/.gemrc, so you should replace http://gems.rubyforge.org with http://rubygems.org http://gems.rubyforge.org will continue to work for the forseeable future. New features: * `gem` commands * `gem install` and `gem fetch` now report alternate platforms when a matching one couldn't be found. * `gem contents` --prefix is now the default as specified in --help. Bug #27211 by Mamoru Tasaka. * `gem fetch` can fetch of old versions again. Bug #27960 by Eric Hankins. * `gem query` and friends output now lists platforms. Bug #27856 by Greg Hazel. * `gem server` now allows specification of multiple gem dirs for documentation. Bug #27573 by Yuki Sonoda. * `gem unpack` can unpack gems again. Bug #27872 by Timothy Jones. * `gem unpack` now unpacks remote gems. * --user-install is no longer the default. If you really liked it, see Gem::ConfigFile to learn how to set it by default. (This change was made in 1.3.6) * RubyGems now has platform support for IronRuby. Patch #27951 by Will Green. Bug fixes: * Require rubygems/custom_require if --disable-gem was set. Bug #27700 by Roger Pack. * RubyGems now protects against exceptions being raised by plugins. * rubygems/builder now requires user_interaction. Ruby Bug #1040 by Phillip Toland. * Gem::Dependency support #version_requirements= with a warning. Fix for old Rails versions. Bug #27868 by Wei Jen Lu. * Gem::PackageTask depends on the package dir like the other rake package tasks so dependencies can be hooked up correctly. === 1.3.6 / 2010-02-17 New features: * `gem` commands * Added `gem push` and `gem owner` for interacting with modern/Gemcutter sources * `gem dep` now supports --prerelease. * `gem fetch` now supports --prerelease. * `gem server` now supports --bind. Patch #27357 by Bruno Michel. * `gem rdoc` no longer overwrites built documentation. Use --overwrite force rebuilding. Patch #25982 by Akinori MUSHA. * Captial letters are now allowed in prerelease versions. Bug fixes: * Development deps are no longer added to rubygems-update gem so older versions can update sucessfully. * Installer bugs: * Prerelease gems can now depend on non-prerelease gems. * Development dependencies are ignored unless explicitly needed. Bug #27608 by Roger Pack. * `gem` commands * `gem which` now fails if no paths were found. Adapted patch #27681 by Caio Chassot. * `gem server` no longer has invalid markup. Bug #27045 by Eric Young. * `gem list` and friends show both prerelease and regular gems when --prerelease --all is given * Gem::Format no longer crashes on empty files. Bug #27292 by Ian Ragsdale. * Gem::GemPathSearcher handles nil require_paths. Patch #27334 by Roger Pack. * Gem::RemoteFetcher no longer copies the file if it is where we want it. Patch #27409 by Jakub Šťastný. Deprecation Notices: * lib/rubygems/timer.rb has been removed. * Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. * Bulk index update is no longer supported. * Gem::manage_gems was removed in 1.3.3. * Time::today was removed in 1.3.3. === 1.3.5 / 2009-07-21 Bug fixes: * Fix use of prerelease gems. * Gem.bin_path no longer escapes path with spaces. Bug #25935 and #26458. Deprecation Notices: * Bulk index update is no longer supported (the code currently remains, but not the tests) * Gem::manage_gems was removed in 1.3.3. * Time::today was removed in 1.3.3. === 1.3.4 / 2009-05-03 Bug Fixes: * Fixed various warnings * Gem::ruby_version works correctly for 1.8 branch and trunk * Prerelease gems now show up in `gem list` and can be used * Fixed option name for `gem setup --format-executable` * RubyGems now matches Ruby > 1.9.1 gem paths * Gem::RemoteFetcher#download now works for explicit Windows paths across drives. Bug #25882 by Lars Christensen * Fix typo in Gem::Requirement#parse. Bug #26000 by Mike Gunderloy. Deprecation Notices: * Bulk index update is no longer supported (the code currently remains, but not the tests) * Gem::manage_gems was removed in 1.3.3. * Time::today was removed in 1.3.3. === 1.3.3 / 2009-05-04 New Features: * `gem server` allows port names (from /etc/services) with --port. * `gem server` now has search that jumps to RDoc. Patch #22959 by Vladimir Dobriakov. * `gem spec` can retrieve single fields from a spec (like `gem spec rake authors`). * Gem::Specification#has_rdoc= is deprecated and ignored (defaults to true) * RDoc is now generated regardless of Gem::Specification#has_rdoc? Bug Fixes: * `gem clean` now cleans up --user-install gems. Bug #25516 by Brett Eisenberg. * Gem.bin_path now escapes paths with spaces. * Rake extension builder uses explicit correctly loads rubygems when invoking rake. * Prerelease versions now match "~>" correctly. Patch #25759 by Yossef Mendelssohn. * Check bindir for executables, not root when validating. Bug reported by David Chelimsky. * Remove Time.today, no way to override it before RubyGems loads. Bug #25564 by Emanuele Vicentini * Raise Gem::Exception for #installation_path when not installed. Bug #25741 by Daniel Berger. * Don't raise in Gem::Specification#validate when homepage is nil. Bug #25677 by Mike Burrows. * Uninstall executables from the correct directory. Bug #25555 by Brett Eisenberg. * Raise Gem::LoadError if Kernel#gem fails due to previously-loaded gem. Bug reported by Alf Mikula. Deprecation Notices: * Gem::manage_gems has been removed. * Time::today has been removed early. There was no way to make it warn and be easy to override with user code. === 1.3.2 / 2009-04-15 Select New Features: * RubyGems now loads plugins from rubygems_plugin.rb in installed gems. This can be used to add commands (See Gem::CommandManager) or add install/uninstall hooks (See Gem::Installer and Gem::Uninstaller). * Gem::Version now understands prerelease versions using letters. (eg. '1.2.1.b') Thanks to Josh Susser, Alex Vollmer and Phil Hagelberg. * RubyGems now includes a Rake task for creating gems which replaces rake's Rake::GemPackageTask. See Gem::PackageTask. * Gem::find_files now returns paths in $LOAD_PATH. * Added Gem::promote_load_path for use with Gem::find_files * Added Gem::bin_path to make finding executables easier. Patch #24114 by James Tucker. * Various improvements to build arguments for installing gems. * `gem contents` added --all and --no-prefix. * Gem::Specification * #validate strips directories and errors on not-files. * #description no longer removes newlines. * #name must be a String. * FIXME and TODO are no longer allowed in various fields. * Added support for a license attribute. Feature #11041 (partial). * Removed Gem::Specification::list, too much process growth. Bug #23668 by Steve Purcell. * `gem generate_index` * Can now generate an RSS feed. * Modern indicies can now be updated incrementally. * Legacy indicies can be updated separately from modern. Select Bugs Fixed: * Better gem activation error message. Patch #23082. * Kernel methods are now private. Patch #20801 by James M. Lawrence. * Fixed various usability issues with `gem check`. * `gem update` now rescues InstallError and continues. Bug #19268 by Gabriel Wilkins. * Allow 'https', 'file' as a valid schemes for --source. Patch #22485. * `gem install` * Now removes existing path before installing. Bug #22837. * Uses Gem::bin_path in executable stubs to work around Kernel#load bug in 1.9. * Correctly handle build args (after --) via the API. Bug #23210. * --user-install * `gem install --no-user-install` now works. Patch #23573 by Alf Mikula. * `gem uninstall` can now uninstall from ~/.gem. Bug #23760 by Roger Pack. * setup.rb * Clarify RubyGems RDoc installation location. Bug #22656 by Gian Marco Gherardi. * Allow setup to run from read-only location. Patch #21862 by Luis Herrera. * Fixed overwriting ruby executable when BASERUBY was not set. Bug #24958 by Michael Soulier. * Ensure we're in a RubyGems dir when installing. * Deal with extraneous quotation mark when autogenerating .bat file on MS Windows. Bug #22712. Deprecation Notices: * Gem::manage_gems has been removed. * Time::today will be removed in RubyGems 1.4. Special thanks to Chad Wooley for backwards compatibility testing and Luis Lavena and Daniel Berger for continuing windows support. === 1.3.1 / 2008-10-28 Bugs fixed: * Disregard ownership of ~ under Windows while creating ~/.gem. Fixes issues related to no uid support under Windows. * Fix requires for Gem::inflate, Gem::deflate, etc. * Make Gem.dir respect :gemhome value from config. (Note: this feature may be removed since it is hard to implement on 1.9.) * Kernel methods are now private. Patch #20801 by James M. Lawrence. * Gem::location_of_caller now behaves on Windows. Patch by Daniel Berger. * Silence PATH warning. Deprecation Notices: * Gem::manage_gems will be removed on or after March 2009. === 1.3.0 / 2008-09-25 New features: * RubyGems doesn't print LOCAL/REMOTE titles for `gem query` and friends if stdout is not a TTY, except with --both. * Added Gem.find_files, allows a gem to discover features provided by other gems. * Added pre/post (un)install hooks for packagers of RubyGems. (Not for gems themselves). * RubyGems now installs gems into ~/.gem if GEM_HOME is not writable. Use --no-user-install command-line switch to disable this behavior. * Fetching specs for update now uses If-Modified-Since requests. * RubyGems now updates the ri cache when the rdoc gem is installed and documentation is generated. Deprecation Notices: * Gem::manage_gems now warns when called. It will be removed on or after March 2009. Bugs Fixed: * RubyGems 1.3.0+ now updates when no previous rubygems-update is installed. Bug #20775 by Hemant Kumar. * RubyGems now uses the regexp we already have for `gem list --installed`. Bug #20876 by Nick Hoffman. * Platform is now forced to Gem::Platform::RUBY when nil or blank in the indexer. Fixes various uninstallable gems. * Handle EINVAL on seek. Based on patch in bug #20791 by Neil Wilson. * Fix HTTPS support. Patch #21072 by Alex Arnell. * RubyGems now loads all cache files even if latest has been loaded. Bug #20776 by Uwe Kubosch. * RubyGems checks for support of development dependencies for #to_ruby. Bug #20778 by Evan Weaver. * Now specifications from the future can be loaded. * Binary script uninstallation fixed. Bug #21234 by Neil Wilson. * Uninstallation with -i fixed. Bug #20812 by John Clayton. * Gem::Uninstaller#remove_all now calls Gem::Uninstaller#uninstall_gem so hooks get called. Bug #21242 by Neil Wilson. * Gem.ruby now properly escaped on windows. Fixes problem with extension compilation. * `gem lock --strict` works again. Patch #21814 by Sven Engelhardt. * Platform detection for Solaris was improved. Patch #21911 by Bob Remeika. Other Changes Include: * `gem help install` now describes _version_ argument to executable stubs * `gem help environment` describes environment variables and ~/.gemrc and /etc/gemrc * On-disk gemspecs are now read in UTF-8 and written with a UTF-8 magic comment * Rakefile * If the SETUP_OPTIONS environment variable is set, pass its contents as arguments to setup.rb * lib/rubygems/platform.rb * Remove deprecated constant warnings and really deprecate them. (WIN32, etc). * lib/rubygems/remote_fetcher.rb * Now uses ~/.gem/cache if the cache dir in GEM_HOME is not writable. * lib/rubygems/source_index.rb * Deprecate options to 'search' other than Gem::Dependency instances and issue warning until November 2008. * setup.rb * --destdir folder structure now built using Pathname, so it works for Windows platforms. * test/* * Fixes to run tests when under test/rubygems/. Patch by Yusuke ENDOH [ruby-core:17353]. * test/test_ext_configure_builder.rb * Locale-free patch by Yusuke Endoh [ruby-core:17444]. === 1.2.0 / 2008-06-21 New features: * RubyGems no longer performs bulk updates and instead only fetches the gemspec files it needs. Alternate sources will need to upgrade to RubyGems 1.2 to allow RubyGems to take advantage of the new metadata updater. If a pre 1.2 remote source is in the sources list, RubyGems will revert to the bulk update code for compatibility. * RubyGems now has runtime and development dependency types. Use #add_development_dependency and #add_runtime_dependency. All typeless dependencies are considered to be runtime dependencies. * RubyGems will now require rubygems/defaults/operating_system.rb and rubygems/defaults/#{RBX_ENGINE}.rb if they exist. This allows packagers and ruby implementers to add custom behavior to RubyGems via these files. (If the RubyGems API is insufficient, please suggest improvements via the RubyGems list.) * /etc/gemrc (and windows equivalent) for global settings * setup.rb now handles --vendor and --destdir for packagers * `gem stale` command that lists gems by last access time Bugs Fixed: * File modes from gems are now honored, patch #19737 * Marshal Gem::Specification objects from the future can now be loaded. * A trailing / is now added to remote sources when missing, bug #20134 * Gems with legacy platforms will now be correctly uninstalled, patch #19877 * `gem install --no-wrappers` followed by `gem install --wrappers` no longer overwrites executables * `gem pristine` now forces reinstallation of gems, bug #20387 * RubyGems gracefully handles ^C while loading .gemspec files from disk, bug #20523 * Paths are expanded in more places, bug #19317, bug #19896 * Gem::DependencyInstaller resets installed gems every install, bug #19444 * Gem.default_path is now honored if GEM_PATH is not set, patch #19502 Other Changes Include: * setup.rb * stub files created by RubyGems 0.7.x and older are no longer removed. When upgrading from these ancient versions, upgrade to 1.1.x first to clean up stubs. * RDoc is no longer required until necessary, patch #20414 * `gem server` * Now completely matches the output of `gem generate_index` and has correct content types * Refreshes from source directories for every hit. The server will no longer need to be restarted after installing gems. * `gem query --details` and friends now display author, homepage, rubyforge url and installed location * `gem install` without -i no longer reinstalls dependencies if they are in GEM_PATH but not in GEM_HOME * Gem::RemoteFetcher now performs persistent connections for HEAD requests, bug #7973 === 1.1.1 / 2008-04-11 Bugs Fixed: * Gem.prefix now returns non-nil only when RubyGems was installed outside sitelibdir or libdir. * The `gem server` gem list now correctly links to gem details. * `gem update --system` now passes --no-format-executable to setup.rb. * Gem::SourceIndex#refresh! now works with multiple gem repositories. * Downloaded gems now go into --install-dir's cache directory. * Various fixes to downloading gem metadata. * `gem install --force` now ignores network errors too. * `gem pristine` now rebuilds extensions. * `gem update --system` now works on virgin Apple ruby. * Gem::RemoteFetcher handles Errno::ECONNABORTED. * Printing of release notes fixed. === 1.1.0 / 2008-03-29 New features: * RubyGems now uses persistent connections on index updates. Index updates are much faster now. * RubyGems only updates from a latest index by default, cutting candidate gems for updates to roughly 1/4 (at present). Index updates are even faster still. * `gem list -r` may only show the latest version of a gem, add --all to see all gems. * `gem spec` now extracts specifications from .gem files. * `gem query --installed` to aid automation of checking for gems. Bugs Fixed: * RubyGems works with both Config and RbConfig now. * Executables are now cleaned upon uninstall. * You can now uninstall from a particular directory. * Updating from non-default sources fixed. * Executable stubs now use ruby install name in shebang. * `gem unpack` checks every directory in Gem.path now. * `gem install` now exits with non-zero exit code when appropriate. * `gem update` only updates gems that need updates. * `gem update` doesn't force remote-only updates. * `gem update` handles dependencies properly when updating. * Gems are now loaded in Gem.path order. * Gem stub scripts on windows now work outside Gem.bindir. * `gem sources -r` now works without network access. Other Changes Include: * RubyGems now requires Ruby > 1.8.3. * Release notes are now printed upon installation. * `gem env path` now prints a usable path. * `gem install` reverts to local-only installation upon network error. * Tar handling code refactoring and cleanup. * Gem::DependencyInstaller's API has changed. For a full list of changes to RubyGems, see the ChangeLog file. === 1.0.1 / 2007-12-20 Bugs Fixed: * Installation on Ruby 1.8.3 through 1.8.5 fixed * `gem build` on 1.8.3 fixed Other Changes Include: * Since RubyGems 0.9.5, RubyGems is no longer supported on Ruby 1.8.2 or older, this is official in RubyGems 1.0.1. === 1.0.0 / 2007-12-20 Major New Features Include: * RubyGems warns about various problems with gemspecs during gem building * More-consistent versioning for the RubyGems software Other Changes Include: * Fixed various bugs and problems with installing gems on Windows * Fixed using `gem server` for installing gems * Various operations are even more verbose with --verbose * Built gems are now backwards compatible with 0.9.4 * Improved detection of RUBYOPT loading rubygems * `ruby setup.rb` now has a --help option * Gem::Specification#bindir is now respected on installation * Executable stubs can now be installed to match ruby's name, so if ruby is installed as 'ruby18', foo_exec will be installed as 'foo_exec18' * `gem unpack` can now unpack into a specific directory with --target * OpenSSL is no longer required by default Deprecations and Deletions: * Kernel#require_gem has been removed * Executables without a shebang will not be wrapped in a future version, this may cause such executables to fail to operate on installation * Gem::Platform constants other than RUBY and CURRENT have been removed * Gem::RemoteInstaller was removed * Gem::Specification#test_suite_file and #test_suite_file= are deprecated in favor of #test_file and #test_file= * Gem::Specification#autorequire= has been deprecated * Time::today will be removed in a future version === 0.9.5 / 2007-11-19 Major New Features Include: * Platform support * Automatic installation of platform gems * New bandwidth and memory friendlier index file format * "Offline" mode (--no-update-sources) * Bulk update threshold can be specified (-B, --bulk-threshold) * New `gem fetch` command * `gem` now has "really verbose" output when you specify -v * Improved stubs and `gem.bat` on mswin, including better compatiblity with the One-Click Installer. Other Changes Include: * Time::today is deprecated and will be removed at a future date * Gem::manage_gems is deprecated and will be removed at a future date * `gem install --include-dependencies` (-y) is now deprecated since it is the default, use --ignore-dependencies to turn off automatic dependency installation * Multi-version diamond dependencies only are installed once * Processing a YAML bulk index update takes less memory * `gem install -i` makes sure all depenencies are installed * `gem update --system` reinstalls into the prefix it was originally installed in * `gem update --system` respects --no-rdoc and --no-ri flags * HTTP basic authentication support for proxies * Gem::Specification#platforms should no longer be a String, use Gem::Platform::CURRENT when building binary gems instead * `gem env` has more diagnostic information * require 'rubygems' loads less code * sources.gem is gone, RubyGems now uses built-in defaults * `gem install --source` will no longer add --source by default, use `gem sources --add` to make it a permanent extra source * `gem query` (list) no longer prints details by default * Exact gem names are matched in various places * mkrf extensions are now supported * A gem can depend on a specific RubyGems version * `gem_server` is now `gem server` * `gemlock` is now `gem lock` * `gem_mirror` is now `gem mirror` * `gemwhich` is now `gem which` * `gemri` is no longer included with RubyGems * `index_gem_repository.rb` is now `gem generate_index` * `gem` performs more validation of parameters * Custom rdoc styles are now supported * Gem indexer no longer removes quick index during index creation * Kernel#require only rescues a LoadError for the file being required now * `gem dependencies` can now display some information for remote gems * Updating RubyGems now works with RUBYOPT=-rubygems Special thanks to: * Daniel Berger * Luis Lavena * Tom Copeland * Wilson Bilkovich === 0.9.4 / 2007-05-23 If you are experiencing problems with the source index (e.g. strange "No Method" errors), or problems with zlib (e.g. "Buffer Error" messsage), we recommend upgrading to RubyGems 0.9.4. Bug Fixes Include: * Several people have been experiencing problems with no method errors on the source index cache. The source index cache is now a bit more self healing. Furthermore, if the source index cache is irreparable, then it is automatically dropped and reloaded. * The source cache files may now be dropped with the "gem sources --clear-all" command. (This command may require root is the system source cache is in a root protected area). * Several sub-commands were accidently dropped from the "gem" command. These commands have been restored. === 0.9.3 / 2007-05-10 Bug Fixes Include: The ZLib library on Windows will occasionally complains about a buffer error when unpacking gems. The Gems software has a workaround for that problem, but the workaround was only enabled for versions of ZLib 1.2.1 or earlier. We have received several reports of the error occuring with ZLib 1.2.3, so we have permanently enabled the work around on all versions. === 0.9.2 / 2007-02-05 Bug Fixes Include: * The "unpack" command now works properly. * User name and password are now passed properly to the authenticating proxy when downloading gems. === 0.9.1 / 2007-01-16 See ChangeLog === 0.9.0 / 2006-06-28 Finally, the much anticipated RubyGems version 0.9.0 is now available. This release includes a number of new features and bug fixes. The number one change is that we can now download the gem index incrementally. This will greatly speed up the gem command when only a few gems are out of date. Major Enhancments include: * The gem index is now downloaded incrementally, only updating entries that are out of date. If more than 50 entries are out of date, we revert back to a bulk download. * Several patches related to allowing RubyGems to work with authenticating proxies (from Danie Roux and Anatol Pomozov). Just put the user and password in the proxy URL (e.g. -p http://user:password@proxy.address.com:8080) or use the HTTP_PROXY_USER and HTTP_PROXY_PASS environment variables. * The gem unpack command can now accept a file path rather than just a install gem name. * Both RI and RDOC documents are now generated by default. * A gemri command is included to read gem RI docs (only needed for Ruby 1.8.4 or earlier). Minor enhancements include: * Verison 0.0.0 is now a valid gem version. * Better detection of missing SSL functionality. * SSL is not required if the security policy does not require signature checking. * Rake built extensions are now supported (Tilman Sauerbeck). * Several autorequire bug fixes. * --traceback is now an alias for --backtrace (I can never remember which one it is). * SAFE=1 compatibility fixes. * .rbw is now a supported suffix for RubyGem's custom require. * Several Ruby 1.9 compatibility fixes (Eric Hodel). Bug Fixes: * Added dashes to gemspecs generated in Ruby 1.8.3. This solves some cross-Ruby version compatibility issues. * Fixed bug where the wrong executables could be uninstalled (Eric Hodel). * Fixed bug where gem unpack occasionally unpacked the wrong gem. * Fixed bug where a fatal error occured when permissions on .gemrc were too restrictive (reported by Luca Pireddu). * Fixed prefix handling for native expressions (patch by Aaron Patterson). * Fixed several Upgrade => Update typos. === 0.8.11 / 2005-07-13 * -y is a synonym for --include-dependencies. * Better handling of errors in the top level rescue clause. * Package list command (e.g. gem inspect GEM). * .gemrc now allows cvsrc-like options to set defaults per subcommand. * The autorequire gem spec field will now accept a list. * Substituted Time for Date in specs, increasing performance dramatically. * Fixed reported bug of gem directories ending in "-" (reported by Erik Hatcher). * Fixed but in installer that caused dependency installation to not work. * Added Paul Duncan's gem signing patch. * Added Mark Hubbart's Framework patch (for better integration with OS X). * Added David Glasser's install-from-mirror patch. * Additional internal structural cleanup and test reorganization. === 0.8.10 / 2005-03-27 * In multi-user environments, it is common to supply mulitple versions of gems (for example Rails), allowing individual users to select the version of the gem they desire. This allows a user to be insulated from updates to that gem. RubyGems 0.8.10 fixes a problem where gems could occasionally become confused about the current versions of libraries selected by the user. * The other annoying bug is that if there are any existing rubygems-update gems installed, then the "gem update --system" command will download a new update, but install the latest update prior to the download. === 0.8.9 Never released === 0.8.8 / 2005-03-14 * Moved the master definition of class Requirement back under version. Kept the body of Requirement under Gem. === 0.8.7 / 2005-03-14 Even though it has only been a few weeks since that last release, there are quite a number of new features in 0.8.7. A complete list of new features will be given below, but here is a summary of the hot items. * The bug that prevented some users from installing rails has been squashed. A big thanks to Bill Guindon (aGorilla) for helping track that one down. There are several new commands available on the gem command: * gem cleanup GEMNAME -- Cleanup (uninstall) all the old versions of gem. If the gem name is omitted, the entire repository is cleaned. * gem dependency GEMNAME -- Show the dependencies for the named gems. This is really helpful when trying to figure out what gem needs what other gem. There changes to the existing commands as well. * gem uninstall is much smarter about removing gems from the repository. Lists of gems are now uninstalled in proper dependency order (ie. if A depends on B, A is uninstalled first). Also, warnings about broken dependencies occur only when removing the *last* gem that supports a dependency is removed. Both gem install and gem uninstall support some new command line options that can reduce the amount of yes/no queries given the user. For install we have: * --ignore-dependencies -- Only install requests gems, no dependendecies are automatically installed. * --include-dependencies -- Automatically install dependencies, without confirmation. For gem uninstall, the new options are: * --all -- Uninstall all matching gems without confirmation. * --ignore-dependencies -- Uninstall, even if dependencies are broken. * --executables -- Remove executables without confirmation Under general cleanup, gems will not, by default, run RDoc on packages that do not have the RDoc flag set. And finally there is a new library file 'gemconfigure' to aid in writing version sensitive applications (without undue dependencies on RubyGems); and 'gemwhich', a short script to locate libraries in the file system. You can read more about them here: * gemconfigure: http://docs.rubygems.org/read/chapter/4#page73 * gemwhich: http://docs.rubygems.org/read/chapter/17 === 0.8.6 / 2005-02-27 * Fixed a small bug with shebang construction === 0.8.5 / 2005-02-26 Do you know how you used to dread getting the following message while installing gems? Updating Gem source index for: http://gems.rubyforge.org It could take up to 30 seconds (on my machine, even worse on others) for that crazy source index to update. This latest release of RubyGems speeds that wait time up considerably. The following table gives the following times for installing RedCloth with a required source index update on three system we had available to us. No RDoc generation was included in the following times. RubyGems Linux Mac OSX Windows 0.8.4 33 secs 73 secs 58 secs 0.8.5 8 secs 14 secs 21 secs The new caching code is at least 3x faster than previous versions. Woo Hoo! === 0.8.4 / 2005-01-01 * Rubygems 0.8.3's installer was broken unless you already had an older version of RubyGems installed. That's fixed. * Change in the way Gem::Specification internally deals with lazy attributes and defaults, bringing (with some loadpath_manager changes) a fairly significant increase in speed. * Support for lower-cased Gem file names (for you, Paul Duncan :) * Erik Veenstra's patch for making Gem versions sortable. === 0.8.3 / 2004-12-07 No real earth shattering news here, but there were a number of really annoying issues involving other libraries that RubyGems depends upon. 0.8.3 contains some workarounds for these issues. In particular: * Added workaround for the null byte in Dir string issue. (see http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/121702). (Thanks to Mauricio Fernández for the quick response on this one). * Added workaround for old version of Zlib on windows that caused Ruwiki to fail to install. (see http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/121770) * Added workaround for large YAML file issues. (We dynamically cut down the size of the source index YAML file and seem to have worked around immediate issues. There has been some minor usability enhancements and changes ... * A user specific source index cache can be used when the site-wide cache is unwritable (i.e. because you are running as a non-admin). This *greatly* speeds up gem commands run in non-admin mode when the site-wide cache is out of date. * The gem command now used an HTTP HEAD command to detect if the server's source index needs to be downloaed. * gem check gemname --test will run unit tests on installed gems that have unit tests. * Multiple gem names are allowed on the gem install command line. This means you can do: gem install rake rails needle postgres-pr pimki (Ok, you get the idea) * Multiple authors my be specified in a Gem spec. * Switched to using setup.rb (rather than a custom install script) for the installation of RubyGems itself. If you have installed RubyGems before, double check the installation instructions and make sure you use setup.rb instead of install.rb. * Ryan Davis has provided a patch so you can use an env variable (GEM_SKIP), to tell loadpath_manager not to load gems of those names. This was useful for him while testing libs that he had in development. === 0.8.1 / 2004-09-17 * Quick release to capture some bug fixes. === 0.8.0 / 2004-09-15 * Remove need for library stubs. Set the RUBYOPT environment variable to include "rrubygems", and a normal require will find gem files. Continue to use 'require_gem gem_name, version' to specify gem versions. * Deprecated "test_suite_file" gemspec attribute in favor of "test_files" array. * Generates rdoc by default on installs. * Adopted tar/gzip file format, thanks to Mauricio Fernandez. * "gem rdoc" allows generation of rdoc after gem installation (will add a "gem test" * Application stubs can now accept an optional parameter of _VERSION_ that will run an arbitrary version of the application requested. * Various bug fixes * Various platform-independency improvements * "gem spec --all" displays spec info for all installed version of a given gem. * Dynamic caching of sources * Support for user-definable sources on the command line (thanks Assaph Mehr) * More intelligent support for platform-dependent gems. Use Platform::CURRENT when building a gem to set its platform to the one you're building on. Installation displays a choice of platform-dependent gems, allowing the user to pick. * Added "gem unpack" for "unpacking" a gem to the current directory === 0.7.0 / 2004-07-09 See ChangeLog === 0.6.1 / 2004-06-08 See ChangeLog === 0.6.0 / 2004-06-08 * Collapse output of --search and --list (and gem_server) operations so that each gem is listed only once, with each of its versions listed on the same line. * bin/gem: new --upgrade-all option allows one to upgrade every installed gem * new #required_ruby_version attribute added to gem specification for specifying a dependency on which version of ruby the gem needs. Format it accepts is the same as the Gem::Version::Requirement format: spec.required_ruby_version = "> 1.8.0" * --install-stub defaults to true, so library stubs are created === 0.5.0 / 2004-06-06 * Jim added the ability to specify version constraints to avoid API incompatibilities. This has been the subject of much debate for the past couple of months, with many ideas and code contributed by Eivind Eklund and Mauricio Fernandez. The following set of assertions shows how it works: assert_inadequate("1.3", "~> 1.4") assert_adequate( "1.4", "~> 1.4") assert_adequate( "1.5", "~> 1.4") assert_inadequate("2.0", "~> 1.4") # This one is key--the new operator # disallows major version number # differences. * Group gem search output when multiple versions exist for a given gem: activerecord (0.7.8, 0.7.7, 0.7.6, 0.7.5) Implements the ActiveRecord pattern for ORM. * Add arbitrary RDoc-able files via gemspec (not just Ruby source files) for people who have, for example, README.rdoc in their distributions. Add to gemspec via: spec.extra_rdoc_files = ["list", "of", "files"]. Ruby files are automatically included. * Some small bug fixes === 0.4.0 / 2004-05-30 * Minor bug fixes including Windows compatability issues === 0.3.0 / 2004-04-30 * Cleanup of command-line arguments and handling. Most commands accept a --local or --remote modifier. * Creation of Application Gems (packages that include executable programs). See http://rubygems.rubyforge.org/wiki/wiki.pl?DeveloperGuide for information on how to use it. * Basic functionality for installing binary gems from source (:extensions property of gem specification holds an array of paths to extconf.rb files to be used for compilation) * Install library "stub" allowing a normal 'require' to work (which then does the rubygems require and 'require_gem' * --run-tests runs the test suite specified by the "test_suite_file" property of a gem specification * HTTP Proxy support works. Rewrite of HTTP code. * Unit and functional tests added (see Rakefile). * Prompt before remote-installing dependencies during gem installation. * Config file for storing preferences for 'gem' command usage. * Generally improved error messages (still more work to do) * Rearranged gem directory structure for cleanliness. === 0.2.0 / 2004-03-14 * Initial public release doc/alt-ruby18-rubygems/MIT.txt 0000644 00000002100 15217654533 0012252 0 ustar 00 Copyright (c) Chad Fowler, Rich Kilmer, Jim Weirich and others. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. doc/alt-ruby18-rubygems/README.rdoc 0000644 00000002710 15217654533 0012675 0 ustar 00 = RubyGems * http://rubygems.org * http://docs.rubygems.org * http://help.rubygems.org * http://github.com/rubygems * http://rubyforge.org/projects/rubygems == DESCRIPTION RubyGems is a package management framework for Ruby. This gem is an update for the RubyGems software. You must have an installation of RubyGems before this update can be applied. See Gem for information on RubyGems (or `ri Gem`) To upgrade to the latest RubyGems, run: $ gem update --system # you might need to be an administrator or root See UPGRADING.rdoc for more details and alternative instructions. ----- If you don't have RubyGems installed, your can still do it manually: * Download from: https://rubygems.org/pages/download * Unpack into a directory and cd there * Install with: ruby setup.rb # you may need admin/root privilege For more details and other options, see: ruby setup.rb --help == GETTING HELP === Support Requests Are you unsure of how to use RubyGems? Do you think you've found a bug and you're not sure? If that is the case, the best place for you is to file a support request at {help.rubygems.org}[http://help.rubygems.org]. === Filing Tickets You're sure you've found a bug! But where do you let us know? The best place for letting the RubyGems team know about bugs you've found is {on the rubygems tracker at rubyforge}[http://rubyforge.org/tracker/?group_id=126]. === Bundler Compatibility See http://gembundler.com/compatibility for known issues. doc/alt-ruby18-rubygems/LICENSE.txt 0000644 00000004634 15217654533 0012721 0 ustar 00 RubyGems is copyrighted free software by Chad Fowler, Rich Kilmer, Jim Weirich and others. You can redistribute it and/or modify it under either the terms of the MIT license (see the file MIT.txt), or the conditions below: 1. You may make and give away verbatim copies of the source form of the software without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers. 2. You may modify your copy of the software in any way, provided that you do at least ONE of the following: a. place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or by allowing the author to include your modifications in the software. b. use the modified software only within your corporation or organization. c. give non-standard executables non-standard names, with instructions on where to get the original software distribution. d. make other distribution arrangements with the author. 3. You may distribute the software in object code or executable form, provided that you do at least ONE of the following: a. distribute the executables and library files of the software, together with instructions (in the manual page or equivalent) on where to get the original distribution. b. accompany the distribution with the machine-readable source of the software. c. give non-standard executables non-standard names, with instructions on where to get the original software distribution. d. make other distribution arrangements with the author. 4. You may modify and include the part of the software into any other software (possibly commercial). But some files in the distribution are not written by the author, so that they are not under these terms. For the list of those files and their copying conditions, see the file LEGAL. 5. The scripts and library files supplied as input to or produced as output from the software do not automatically fall under the copyright of the software, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this software. 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. doc/alt-ruby18/NEWS 0000644 00000033256 15217654533 0007744 0 ustar 00 = NEWS This document is a list of user visible feature changes made between releases except for bug fixes. Note that each entry is kept so brief that no reason behind or reference information is supplied with. For a full list of changes with all sufficient information, see the ChangeLog file. * REXML * REXML::Document.entity_expansion_limit= New method to set the entity expansion limit. By default the limit is set to 10000. See the following URL for details. http://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml/ == Changes since the 1.8.6 release === Configuration changes * vendor_ruby directory A new library directory named `vendor_ruby' is introduced in addition to `site_ruby'. The idea is to separate libraries installed by the package system (`vendor') from manually (`site') installed libraries preventing the former from getting overwritten by the latter, while preserving the user option to override vendor libraries with site libraries. (`site_ruby' takes precedence over `vendor_ruby') If you are a package maintainer, make each library package configure the library passing the `--vendor' option to `extconf.rb' so that the library files will get installed under `vendor_ruby'. You can change the directory locations using configure options such as `--with-sitedir=DIR' and `--with-vendordir=DIR'. === Global constants * new constants * RUBY_COPYRIGHT * RUBY_DESCRIPTION === Library updates (outstanding ones only) * new library * securerandom * builtin classes * Array#flatten * Array#flatten! Takes an optional argument that determines the level of recursion to flatten. * Array#eql? * Array#hash * Array#== * Array#<=> Handle recursive data properly. * Array#index * Array#rindex Take a block instead of an argument. * Array#collect! * Array#map! * Array#each * Array#each_index * Array#reverse_each * Array#reject * Array#reject! * Array#delete_if * Array#select Return an enumerator if no block is given. Note that #map and #collect still return an array unlike Ruby 1.9 to keep compatibility. * Array#pop * Array#shift Take an optional argument specifying the number of elements to remove. * Array#choice * Array#combination * Array#cycle * Array#drop * Array#drop_while * Array#permutation * Array#product * Array#shuffle * Array#shuffle! * Array#take, * Array#take_while New methods. * Binding#eval New method. * Dir#each * Dir#foreach Return an enumerator if no block is given. * Enumerable::Enumerator New class for various enumeration defined by the enumerator library. * Enumerable#each_slice * Enumerable#each_cons * Object#to_enum * Object#enum_for New methods for various enumeration defined by the enumerator library. * Enumerable#count * Enumerable#cycle * Enumerable#drop * Enumerable#drop_while * Enumerable#find_index * Enumerable#first * Enumerable#group_by * Enumerable#max_by * Enumerable#min_by * Enumerable#minmax * Enumerable#minmax_by * Enumerable#none? * Enumerable#one? * Enumerable#take * Enumerable#take_while New methods. * Enumerable#find * Enumerable#find_all * Enumerable#partition * Enumerable#reject * Enumerable#select * Enumerable#sort_by Return an enumerator if no block is given. Note that #map and #collect still return an array unlike Ruby 1.9 to keep compatibility. * Enumerable#inject Accepts a binary operator instead of a block. * Enumerable#reduce New alias to #inject. * Enumerable#to_a Can take optional arguments and pass them to #each. * Hash#eql? * Hash#hash * Hash#== Handle recursive data properly. * Hash#delete_if * Hash#each * Hash#each_key * Hash#each_pair * Hash#each_value * Hash#reject! * Hash#select * ENV.delete_if * ENV.each * ENV.each_key * ENV.each_pair * ENV.each_value * ENV.reject! * ENV.select Return an enumerator if no block is given. * GC.stress * GC.stress= New methods. * Integer#ord * Integer#odd? * Integer#even? * Integer#pred New methods. * Integer#downto * Integer#times * Integer#upto Return an enumerator if no block is given. * IO#each * IO#each_line * IO#each_byte * IO.foreach * ARGF.each * ARGF.each_line * ARGF.each_byte Return an enumerator if no block is given. * IO#bytes * IO#chars * IO#each_char * IO#getbyte * IO#lines * IO#readbyte * ARGF.bytes * ARGF.chars * ARGF.each_char * ARGF.getbyte * ARGF.lines * ARGF.readbyte New methods. * Method#name * Method#owner * Method#receiver * UnboundMethod#name * UnboundMethod#owner New methods. * Module#class_exec * Module#module_exec New methods. * Numeric#step Return an enumerator if no block is given. * Object#instance_exec * Object#tap New methods. * ObjectSpace.each_object Return an enumerator if no block is given. * Process.exec implemented. * Range#each * Range#step Return an enumerator if no block is given. * Regexp.union accepts an array of patterns. * String#bytes New method * String#bytesize New method, returning the size in bytes. (alias length and size) * String#chars * String#each_char * String#lines * String#partition * String#rpartition * String#start_with? * String#end_with? New methods. These are $KCODE aware unlike #index, #rindex and #include?. * String#each_byte * String#each * String#each_line * String#gsub(pattern) Return an enumerator if no block is given. * String#upto An optional second argument is added to specify if the last value should be included. * StopIteration New exception class that causes Kernel#loop to stop iteration when raised. * Struct#each * Struct#each_pair Return an enumerator if no block is given. * Symbol#to_proc New method. * __method__ New global function that returns the name of the current method as a Symbol. * enumerator * Enumerator is now a built-in module. The #next and #rewind methods are implemented using the "generator" library. Use with care and be aware of the performance loss. * ipaddr * New methods * IPAddr#<=> * IPAddr#succ IPAddr objects are now comparable and enumerable having these methods. This also means that it is possible to have a Range object between two IPAddr objects. * IPAddr#to_range A new method to create a Range object for the (network) address. * Type coercion support * IPAddr#& * IPAddr#| * IPAddr#== * IPAddr#include? These methods now accept a string or an integer instead of an IPAddr object as the argument. * net/smtp * Support SSL/TLS. * openssl * New classes * OpenSSL::PKey::EC * OpenSSL::PKey::EC::Group * OpenSSL::PKey::EC::Point * OpenSSL::PKey::PKCS5 * OpenSSL::SSL::Session * Documentation! * Various new methods (see documentation). * Remove redundant module namespace in Cipher, Digest, PKCS7, PKCS12. Compatibility classes are provided which will be removed in Ruby 1.9. * shellwords * Add methods for escaping shell-unsafe characters: * Shellwords.join * Shellwords.escape * Array#shelljoin * String#shellescape * Add shorthand methods: * Shellwords.split (alias shellwords) * String#shellsplit * stringio * StringIO#getbyte * StringIO#readbyte New methods. (aliases for compatibility with 1.9) * StringIO#each_char * StringIO#chars New methods. * StringIO#each * StringIO#each_line * StringIO#each_byte Return an enumerator if no block is given. * tempfile * Tempfile.open and Tempfile.new now accept a suffix for the temporary file to be created. To specify a suffix, pass an array of [basename, suffix] as the first argument. Tempfile.open(['image', 'jpg']) { |tempfile| ... } * tmpdir * New method: * Dir.mktmpdir * uri * added LDAPS scheme. * Change for RFC3986: * FTP * URI('ftp://example.com/foo').path #=> 'foo' * URI('ftp://example.com/%2Ffoo').path #=> '/foo' * URI::FTP.build([nil, 'example.com', nil, '/foo', 'i').to_s #=> 'ftp://example.com/%2Ffoo;type=i' * URI merge * URI('http://a/b/c/d;p?q').merge('?y') == URI('http://a/b/c/d;p?y') * URI('http://a/b/c/d;p?q').merge('/./g') == URI('http://a/g') * URI('http://a/b/c/d;p?q').merge('/../g') == URI('http://a/g') * URI('http://a/b/c/d;p?q').merge('../../../g') == URI('http://a/g') * URI('http://a/b/c/d;p?q').merge('../../../../g') == URI('http://a/g') * rss * 0.1.6 -> 0.2.4 * Fix image module URI * Atom support * ITunes module support * Slash module support * content:encoded with RSS 2.0 support === Interpreter Implementation * passing a block to a Proc [experimental] This implementation in current shape is known to be buggy/broken, especially with nested block invocation. Take this as an experimental feature. * stack trace On non-SystemStackError exception, full stack trace is shown. === Compatibility issues (excluding feature bug fixes) * String#slice! had some unintentional bugs and they have been fixed because either they disagreed with documentation or their respective behavior of #slice. Unfortunately, this causes some incompatibilities in the following (somewhat rare) cases. * #slice! no longer expands the array when an out-of-boundary value is given. # Ruby 1.8.6 a = [1,2] a.slice!(4,0) #=> nil a #=> [1,2,nil,nil] # Ruby 1.8.7 a = [1,2] a.slice!(4,0) #=> nil a #=> [1,2] * #slice! no longer raises an exception but returns nil when a negative length or out-of-boundary negative position is given. # Ruby 1.8.6 a = [1,2] a.slice!(1,-1) #=> (raises IndexError) a.slice!(-5,1) #=> (raises IndexError) # Ruby 1.8.7 a = [1,2] a.slice!(1,-1) #=> nil a.slice!(-5,1) #=> nil * String#to_i, String#hex and String#oct no longer accept a sequence of underscores (`__') as part of a number. # Ruby 1.8.6 '1__0'.to_i #=> 10 '1__0'.to_i(2) #=> 2 # 0b10 '1__0'.oct #=> 8 # 010 '1__0'.hex #=> 16 # 0x10 # Ruby 1.8.7 '1__0'.to_i #=> 1 '1__0'.to_i(2) #=> 1 '1__0'.oct #=> 1 '1__0'.hex #=> 1 The old behavior was inconsistent with Ruby syntax and considered as a bug. * date * Date.parse '##.##.##' (where each '#' is a digit) is now taken as 'YY.MM.DD' instead of 'MM.DD.YY'. While the change may confuse you, you can always use Date.strptime() when you know what you are dealing with. * stringio * StringIO#each_byte The return value changed from nil to self. This is what the document says and the same as each_line() does. * tempfile * The file name format has changed. No dots are included by default in temporary file names any more. See above for how to specify a suffix. * uri * See above for details. == Changes since the 1.8.5 release === New platforms/build tools support * IA64 HP-UX * Visual C++ 8 SP1 * autoconf 2.6x === Global constants * RUBY_PATCHLEVEL New constant since 1.8.5-p1. === Library updates (outstanding ones only) * builtin classes * New method: Kernel#instance_variable_defined? * New method: Module#class_variable_defined? * New feature: Dir::glob() can now take an array of glob patterns. * date * Updated based on date2 4.0.3. * digest * New internal APIs for C and Ruby. * Support for autoloading. require 'digest' # autoloads digest/md5 md = Digest::MD5.digest("string") * New digest class methods: file * New digest instance methods: clone, reset, new, inspect, digest_length (alias size or length), block_length() * New library: digest/bubblebabble * New function: Digest(name) * fileutils * New option for FileUtils.cp_r(): :remove_destination * nkf * Updated based on nkf as of 2007-01-28. * thread * Replaced with much faster mutex implementation in C. The former implementation, which is slow but considered to be stable, is available with a configure option `--disable-fastthread'. * tk * Updated Tile extension support based on Tile 0.7.8. * Support --without-X11 configure option for non-X11 versions of Tcl/Tk (e.g. Tcl/Tk Aqua). * New sample script: irbtkw.rbw -- IRB on Ruby/Tk. It has no trouble about STDIN blocking on Windows. * webrick * New method: WEBrick::Cookie.parse_set_cookies() === Compatibility issues (excluding feature bug fixes) * builtin classes * String#intern now raises SecurityError when $SAFE level is greater than zero. * date * Time#to_date and Time#to_datetime are added as private methods. They cause name conflict error in ActiveSupport 1.4.1 and prior, which comes with Rails 1.2.2 and prior. Updating ActiveSupport and/or Rails to the latest versions fixes the problem. * digest * The constructor does no longer take an initial string to feed. The following examples show how to migrate: # Before md = Digest::MD5.new("string") # After (works with any version) md = Digest::MD5.new.update("string") # Before hd = Digest::MD5.new("string").hexdigest # After (works with any version) hd = Digest::MD5.hexdigest("string") * fileutils * A minor implementation change breaks Rake <=0.7.1. Updating Rake to 0.7.2 or higher fixes the problem. * tk * Tk::X_Scrollable (Y_Scrollable) is renamed to Tk::XScrollable (YScrollable). Tk::X_Scrollable (Y_Scrollable) is still available, but it is an alias name. doc/alt-ruby18/README.EXT 0000644 00000077064 15217654533 0010571 0 ustar 00 .\" README.EXT - -*- Text -*- created at: Mon Aug 7 16:45:54 JST 1995 This document explains how to make extension libraries for Ruby. 1. Basic knowledge In C, variables have types and data do not have types. In contrast, Ruby variables do not have a static type, and data themselves have types, so data will need to be converted between the languages. Data in Ruby are represented by the C type `VALUE'. Each VALUE data has its data-type. To retrieve C data from a VALUE, you need to: (1) Identify the VALUE's data type (2) Convert the VALUE into C data Converting to the wrong data type may cause serious problems. 1.1 Data-types The Ruby interpreter has the following data types: T_NIL nil T_OBJECT ordinary object T_CLASS class T_MODULE module T_FLOAT floating point number T_STRING string T_REGEXP regular expression T_ARRAY array T_FIXNUM Fixnum(31bit integer) T_HASH associative array T_STRUCT (Ruby) structure T_BIGNUM multi precision integer T_FILE IO T_TRUE true T_FALSE false T_DATA data T_SYMBOL symbol In addition, there are several other types used internally: T_ICLASS T_MATCH T_UNDEF T_VARMAP T_SCOPE T_NODE Most of the types are represented by C structures. 1.2 Check Data Type of the VALUE The macro TYPE() defined in ruby.h shows the data type of the VALUE. TYPE() returns the constant number T_XXXX described above. To handle data types, your code will look something like this: switch (TYPE(obj)) { case T_FIXNUM: /* process Fixnum */ break; case T_STRING: /* process String */ break; case T_ARRAY: /* process Array */ break; default: /* raise exception */ rb_raise(rb_eTypeError, "not valid value"); break; } There is the data-type check function void Check_Type(VALUE value, int type) which raises an exception if the VALUE does not have the type specified. There are also faster check macros for fixnums and nil. FIXNUM_P(obj) NIL_P(obj) 1.3 Convert VALUE into C data The data for type T_NIL, T_FALSE, T_TRUE are nil, true, false respectively. They are singletons for the data type. The T_FIXNUM data is a 31bit length fixed integer (63bit length on some machines), which can be converted to a C integer by using the FIX2INT() macro. There is also NUM2INT() which converts any Ruby numbers into C integers. The NUM2INT() macro includes a type check, so an exception will be raised if the conversion failed. NUM2DBL() can be used to retrieve the double float value in the same way. In version 1.7 or later it is recommended that you use the new macros StringValue() and StringValuePtr() to get a char* from a VALUE. StringValue(var) replaces var's value with the result of "var.to_str()". StringValuePtr(var) does same replacement and returns char* representation of var. These macros will skip the replacement if var is a String. Notice that the macros take only the lvalue as their argument, to change the value of var in place. In version 1.6 or earlier, STR2CSTR() was used to do the same thing but now it is deprecated in version 1.7, because STR2CSTR() has a risk of a dangling pointer problem in the to_str() impliclit conversion. Other data types have corresponding C structures, e.g. struct RArray for T_ARRAY etc. The VALUE of the type which has the corresponding structure can be cast to retrieve the pointer to the struct. The casting macro will be of the form RXXXX for each data type; for instance, RARRAY(obj). See "ruby.h". For example, `RSTRING(str)->len' is the way to get the size of the Ruby String object. The allocated region can be accessed by `RSTRING(str)->ptr'. For arrays, use `RARRAY(ary)->len' and `RARRAY(ary)->ptr' respectively. Notice: Do not change the value of the structure directly, unless you are responsible for the result. This ends up being the cause of interesting bugs. 1.4 Convert C data into VALUE To convert C data to Ruby values: * FIXNUM left shift 1 bit, and turn on LSB. * Other pointer values cast to VALUE. You can determine whether a VALUE is pointer or not by checking its LSB. Notice Ruby does not allow arbitrary pointer values to be a VALUE. They should be pointers to the structures which Ruby knows about. The known structures are defined in . To convert C numbers to Ruby values, use these macros. INT2FIX() for integers within 31bits. INT2NUM() for arbitrary sized integer. INT2NUM() converts an integer into a Bignum if it is out of the FIXNUM range, but is a bit slower. 1.5 Manipulating Ruby data As I already mentioned, it is not recommended to modify an object's internal structure. To manipulate objects, use the functions supplied by the Ruby interpreter. Some (not all) of the useful functions are listed below: String functions rb_str_new(const char *ptr, long len) Creates a new Ruby string. rb_str_new2(const char *ptr) Creates a new Ruby string from a C string. This is equivalent to rb_str_new(ptr, strlen(ptr)). rb_tainted_str_new(const char *ptr, long len) Creates a new tainted Ruby string. Strings from external data sources should be tainted. rb_tainted_str_new2(const char *ptr) Creates a new tainted Ruby string from a C string. rb_str_cat(VALUE str, const char *ptr, long len) Appends len bytes of data from ptr to the Ruby string. Array functions rb_ary_new() Creates an array with no elements. rb_ary_new2(long len) Creates an array with no elements, allocating internal buffer for len elements. rb_ary_new3(long n, ...) Creates an n-element array from the arguments. rb_ary_new4(long n, VALUE *elts) Creates an n-element array from a C array. rb_ary_push(VALUE ary, VALUE val) rb_ary_pop(VALUE ary) rb_ary_shift(VALUE ary) rb_ary_unshift(VALUE ary, VALUE val) Array operations. The first argument to each functions must be an array. They may dump core if other types are given. 2. Extending Ruby with C 2.1 Addding new features to Ruby You can add new features (classes, methods, etc.) to the Ruby interpreter. Ruby provides APIs for defining the following things: * Classes, Modules * Methods, Singleton Methods * Constants 2.1.1 Class/module definition To define a class or module, use the functions below: VALUE rb_define_class(const char *name, VALUE super) VALUE rb_define_module(const char *name) These functions return the newly created class or module. You may want to save this reference into a variable to use later. To define nested classes or modules, use the functions below: VALUE rb_define_class_under(VALUE outer, const char *name, VALUE super) VALUE rb_define_module_under(VALUE outer, const char *name) 2.1.2 Method/singleton method definition To define methods or singleton methods, use these functions: void rb_define_method(VALUE klass, const char *name, VALUE (*func)(), int argc) void rb_define_singleton_method(VALUE object, const char *name, VALUE (*func)(), int argc) The `argc' represents the number of the arguments to the C function, which must be less than 17. But I doubt you'll need that many. If `argc' is negative, it specifies the calling sequence, not number of the arguments. If argc is -1, the function will be called as: VALUE func(int argc, VALUE *argv, VALUE obj) where argc is the actual number of arguments, argv is the C array of the arguments, and obj is the receiver. If argc is -2, the arguments are passed in a Ruby array. The function will be called like: VALUE func(VALUE obj, VALUE args) where obj is the receiver, and args is the Ruby array containing actual arguments. There are two more functions to define methods. One is to define private methods: void rb_define_private_method(VALUE klass, const char *name, VALUE (*func)(), int argc) The other is to define module functions, which are private AND singleton methods of the module. For example, sqrt is the module function defined in Math module. It can be called in the following way: Math.sqrt(4) or include Math sqrt(4) To define module functions, use: void rb_define_module_function(VALUE module, const char *name, VALUE (*func)(), int argc) Oh, in addition, function-like methods, which are private methods defined in the Kernel module, can be defined using: void rb_define_global_function(const char *name, VALUE (*func)(), int argc) To define an alias for the method, void rb_define_alias(VALUE module, const char* new, const char* old); To define and undefine the `allocate' class method, void rb_define_alloc_func(VALUE klass, VALUE (*func)(VALUE klass)); void rb_undef_alloc_func(VALUE klass); func have to take the klass as the argument and return a newly allocated instance. This instance should be empty as possible, without any expensive (including external) resources. 2.1.3 Constant definition We have 2 functions to define constants: void rb_define_const(VALUE klass, const char *name, VALUE val) void rb_define_global_const(const char *name, VALUE val) The former is to define a constant under specified class/module. The latter is to define a global constant. 2.2 Use Ruby features from C There are several ways to invoke Ruby's features from C code. 2.2.1 Evaluate Ruby Programs in a String The easiest way to use Ruby's functionality from a C program is to evaluate the string as Ruby program. This function will do the job: VALUE rb_eval_string(const char *str) Evaluation is done under the current context, thus current local variables of the innermost method (which is defined by Ruby) can be accessed. 2.2.2 ID or Symbol You can invoke methods directly, without parsing the string. First I need to explain about ID. ID is the integer number to represent Ruby's identifiers such as variable names. The Ruby data type corresponding to ID is Symbol. It can be accessed from Ruby in the form: :Identifier You can get the ID value from a string within C code by using rb_intern(const char *name) You can retrieve ID from Ruby object (Symbol or String) given as an argument by using rb_to_id(VALUE symbol) You can convert C ID to Ruby Symbol by using VALUE ID2SYM(ID id) and to convert Ruby Symbol object to ID, use ID SYM2ID(VALUE symbol) 2.2.3 Invoke Ruby method from C To invoke methods directly, you can use the function below VALUE rb_funcall(VALUE recv, ID mid, int argc, ...) This function invokes a method on the recv, with the method name specified by the symbol mid. 2.2.4 Accessing the variables and constants You can access class variables and instance variables using access functions. Also, global variables can be shared between both environments. There's no way to access Ruby's local variables. The functions to access/modify instance variables are below: VALUE rb_ivar_get(VALUE obj, ID id) VALUE rb_ivar_set(VALUE obj, ID id, VALUE val) id must be the symbol, which can be retrieved by rb_intern(). To access the constants of the class/module: VALUE rb_const_get(VALUE obj, ID id) See 2.1.3 for defining new constant. 3. Information sharing between Ruby and C 3.1 Ruby constants that C can be accessed from C The following Ruby constants can be referred from C. Qtrue Qfalse Boolean values. Qfalse is false in C also (i.e. 0). Qnil Ruby nil in C scope. 3.2 Global variables shared between C and Ruby Information can be shared between the two environments using shared global variables. To define them, you can use functions listed below: void rb_define_variable(const char *name, VALUE *var) This function defines the variable which is shared by both environments. The value of the global variable pointed to by `var' can be accessed through Ruby's global variable named `name'. You can define read-only (from Ruby, of course) variables using the function below. void rb_define_readonly_variable(const char *name, VALUE *var) You can defined hooked variables. The accessor functions (getter and setter) are called on access to the hooked variables. void rb_define_hooked_variable(constchar *name, VALUE *var, VALUE (*getter)(), void (*setter)()) If you need to supply either setter or getter, just supply 0 for the hook you don't need. If both hooks are 0, rb_define_hooked_variable() works just like rb_define_variable(). void rb_define_virtual_variable(const char *name, VALUE (*getter)(), void (*setter)()) This function defines a Ruby global variable without a corresponding C variable. The value of the variable will be set/get only by hooks. The prototypes of the getter and setter functions are as follows: (*getter)(ID id, void *data, struct global_entry* entry); (*setter)(VALUE val, ID id, void *data, struct global_entry* entry); 3.3 Encapsulate C data into a Ruby object To wrap and objectify a C pointer as a Ruby object (so called DATA), use Data_Wrap_Struct(). Data_Wrap_Struct(klass, mark, free, ptr) Data_Wrap_Struct() returns a created DATA object. The klass argument is the class for the DATA object. The mark argument is the function to mark Ruby objects pointed by this data. The free argument is the function to free the pointer allocation. If this is -1, the pointer will be just freed. The functions mark and free will be called from garbage collector. You can allocate and wrap the structure in one step. Data_Make_Struct(klass, type, mark, free, sval) This macro returns an allocated Data object, wrapping the pointer to the structure, which is also allocated. This macro works like: (sval = ALLOC(type), Data_Wrap_Struct(klass, mark, free, sval)) Arguments klass, mark, and free work like their counterparts in Data_Wrap_Struct(). A pointer to the allocated structure will be assigned to sval, which should be a pointer of the type specified. To retrieve the C pointer from the Data object, use the macro Data_Get_Struct(). Data_Get_Struct(obj, type, sval) A pointer to the structure will be assigned to the variable sval. See the example below for details. 4. Example - Creating dbm extension OK, here's the example of making an extension library. This is the extension to access DBMs. The full source is included in the ext/ directory in the Ruby's source tree. (1) make the directory % mkdir ext/dbm Make a directory for the extension library under ext directory. (2) design the library You need to design the library features, before making it. (3) write C code. You need to write C code for your extension library. If your library has only one source file, choosing ``LIBRARY.c'' as a file name is preferred. On the other hand, in case your library has multiple source files, avoid choosing ``LIBRARY.c'' for a file name. It may conflict with an intermediate file ``LIBRARY.o'' on some platforms. Ruby will execute the initializing function named ``Init_LIBRARY'' in the library. For example, ``Init_dbm()'' will be executed when loading the library. Here's the example of an initializing function. -- Init_dbm() { /* define DBM class */ cDBM = rb_define_class("DBM", rb_cObject); /* DBM includes Enumerate module */ rb_include_module(cDBM, rb_mEnumerable); /* DBM has class method open(): arguments are received as C array */ rb_define_singleton_method(cDBM, "open", fdbm_s_open, -1); /* DBM instance method close(): no args */ rb_define_method(cDBM, "close", fdbm_close, 0); /* DBM instance method []: 1 argument */ rb_define_method(cDBM, "[]", fdbm_fetch, 1); : /* ID for a instance variable to store DBM data */ id_dbm = rb_intern("dbm"); } -- The dbm extension wraps the dbm struct in the C environment using Data_Make_Struct. -- struct dbmdata { int di_size; DBM *di_dbm; }; obj = Data_Make_Struct(klass, struct dbmdata, 0, free_dbm, dbmp); -- This code wraps the dbmdata structure into a Ruby object. We avoid wrapping DBM* directly, because we want to cache size information. To retrieve the dbmdata structure from a Ruby object, we define the following macro: -- #define GetDBM(obj, dbmp) {\ Data_Get_Struct(obj, struct dbmdata, dbmp);\ if (dbmp->di_dbm == 0) closed_dbm();\ } -- This sort of complicated macro does the retrieving and close checking for the DBM. There are three kinds of way to receive method arguments. First, methods with a fixed number of arguments receive arguments like this: -- static VALUE fdbm_delete(obj, keystr) VALUE obj, keystr; { : } -- The first argument of the C function is the self, the rest are the arguments to the method. Second, methods with an arbitrary number of arguments receive arguments like this: -- static VALUE fdbm_s_open(argc, argv, klass) int argc; VALUE *argv; VALUE klass; { : if (rb_scan_args(argc, argv, "11", &file, &vmode) == 1) { mode = 0666; /* default value */ } : } -- The first argument is the number of method arguments, the second argument is the C array of the method arguments, and the third argument is the receiver of the method. You can use the function rb_scan_args() to check and retrieve the arguments. For example, "11" means that the method requires at least one argument, and at most receives two arguments. Methods with an arbitrary number of arguments can receive arguments by Ruby's array, like this: -- static VALUE fdbm_indexes(obj, args) VALUE obj, args; { : } -- The first argument is the receiver, the second one is the Ruby array which contains the arguments to the method. ** Notice GC should know about global variables which refer to Ruby's objects, but are not exported to the Ruby world. You need to protect them by void rb_global_variable(VALUE *var) (4) prepare extconf.rb If the file named extconf.rb exists, it will be executed to generate Makefile. extconf.rb is the file for checking compilation conditions etc. You need to put require 'mkmf' at the top of the file. You can use the functions below to check various conditions. have_library(lib, func): check whether library containing function exists. have_func(func, header): check whether function exists have_header(header): check whether header file exists create_makefile(target): generate Makefile The value of the variables below will affect the Makefile. $CFLAGS: included in CFLAGS make variable (such as -O) $CPPFLAGS: included in CPPFLAGS make variable (such as -I, -D) $LDFLAGS: included in LDFLAGS make variable (such as -L) $objs: list of object file names Normally, the object files list is automatically generated by searching source files, but you must define them explicitly if any sources will be generated while building. If a compilation condition is not fulfilled, you should not call ``create_makefile''. The Makefile will not be generated, compilation will not be done. (5) prepare depend (optional) If the file named depend exists, Makefile will include that file to check dependencies. You can make this file by invoking % gcc -MM *.c > depend It's harmless. Prepare it. (6) generate Makefile Try generating the Makefile by: ruby extconf.rb If the library should be installed under vendor_ruby directory instead of site_ruby directory, use --vendor option as follows. ruby extconf.rb --vendor You don't need this step if you put the extension library under the ext directory of the ruby source tree. In that case, compilation of the interpreter will do this step for you. (7) make Type make to compile your extension. You don't need this step either if you have put the extension library under the ext directory of the ruby source tree. (8) debug You may need to rb_debug the extension. Extensions can be linked statically by adding the directory name in the ext/Setup file so that you can inspect the extension with the debugger. (9) done, now you have the extension library You can do anything you want with your library. The author of Ruby will not claim any restrictions on your code depending on the Ruby API. Feel free to use, modify, distribute or sell your program. Appendix A. Ruby source files overview ruby language core class.c error.c eval.c gc.c object.c parse.y variable.c utility functions dln.c regex.c st.c util.c ruby interpreter implementation dmyext.c inits.c main.c ruby.c version.c class library array.c bignum.c compar.c dir.c enum.c file.c hash.c io.c marshal.c math.c numeric.c pack.c prec.c process.c random.c range.c re.c signal.c sprintf.c string.c struct.c time.c Appendix B. Ruby extension API reference ** Types VALUE The type for the Ruby object. Actual structures are defined in ruby.h, such as struct RString, etc. To refer the values in structures, use casting macros like RSTRING(obj). ** Variables and constants Qnil const: nil object Qtrue const: true object(default true value) Qfalse const: false object ** C pointer wrapping Data_Wrap_Struct(VALUE klass, void (*mark)(), void (*free)(), void *sval) Wrap a C pointer into a Ruby object. If object has references to other Ruby objects, they should be marked by using the mark function during the GC process. Otherwise, mark should be 0. When this object is no longer referred by anywhere, the pointer will be discarded by free function. Data_Make_Struct(klass, type, mark, free, sval) This macro allocates memory using malloc(), assigns it to the variable sval, and returns the DATA encapsulating the pointer to memory region. Data_Get_Struct(data, type, sval) This macro retrieves the pointer value from DATA, and assigns it to the variable sval. ** Checking data types TYPE(value) FIXNUM_P(value) NIL_P(value) void Check_Type(VALUE value, int type) void Check_SafeStr(VALUE value) ** Data type conversion FIX2INT(value) INT2FIX(i) NUM2INT(value) INT2NUM(i) NUM2DBL(value) rb_float_new(f) StringValue(value) StringValuePtr(value) StringValueCStr(value) rb_str_new2(s) ** defining class/module VALUE rb_define_class(const char *name, VALUE super) Defines a new Ruby class as a subclass of super. VALUE rb_define_class_under(VALUE module, const char *name, VALUE super) Creates a new Ruby class as a subclass of super, under the module's namespace. VALUE rb_define_module(const char *name) Defines a new Ruby module. VALUE rb_define_module_under(VALUE module, const char *name) Defines a new Ruby module under the module's namespace. void rb_include_module(VALUE klass, VALUE module) Includes module into class. If class already includes it, just ignored. void rb_extend_object(VALUE object, VALUE module) Extend the object with the module's attributes. ** Defining Global Variables void rb_define_variable(const char *name, VALUE *var) Defines a global variable which is shared between C and Ruby. If name contains a character which is not allowed to be part of the symbol, it can't be seen from Ruby programs. void rb_define_readonly_variable(const char *name, VALUE *var) Defines a read-only global variable. Works just like rb_define_variable(), except the defined variable is read-only. void rb_define_virtual_variable(const char *name, VALUE (*getter)(), VALUE (*setter)()) Defines a virtual variable, whose behavior is defined by a pair of C functions. The getter function is called when the variable is referenced. The setter function is called when the variable is set to a value. The prototype for getter/setter functions are: VALUE getter(ID id) void setter(VALUE val, ID id) The getter function must return the value for the access. void rb_define_hooked_variable(const char *name, VALUE *var, VALUE (*getter)(), VALUE (*setter)()) Defines hooked variable. It's a virtual variable with a C variable. The getter is called as VALUE getter(ID id, VALUE *var) returning a new value. The setter is called as void setter(VALUE val, ID id, VALUE *var) GC requires C global variables which hold Ruby values to be marked. void rb_global_variable(VALUE *var) Tells GC to protect these variables. ** Constant Definition void rb_define_const(VALUE klass, const char *name, VALUE val) Defines a new constant under the class/module. void rb_define_global_const(const char *name, VALUE val) Defines a global constant. This is just the same as rb_define_const(cKernal, name, val) ** Method Definition rb_define_method(VALUE klass, const char *name, VALUE (*func)(), int argc) Defines a method for the class. func is the function pointer. argc is the number of arguments. if argc is -1, the function will receive 3 arguments: argc, argv, and self. if argc is -2, the function will receive 2 arguments, self and args, where args is a Ruby array of the method arguments. rb_define_private_method(VALUE klass, const char *name, VALUE (*func)(), int argc) Defines a private method for the class. Arguments are same as rb_define_method(). rb_define_singleton_method(VALUE klass, const char *name, VALUE (*func)(), int argc) Defines a singleton method. Arguments are same as rb_define_method(). rb_scan_args(int argc, VALUE *argv, const char *fmt, ...) Retrieve argument from argc, argv. The fmt is the format string for the arguments, such as "12" for 1 non-optional argument, 2 optional arguments. If `*' appears at the end of fmt, it means the rest of the arguments are assigned to the corresponding variable, packed in an array. ** Invoking Ruby method VALUE rb_funcall(VALUE recv, ID mid, int narg, ...) Invokes a method. To retrieve mid from a method name, use rb_intern(). VALUE rb_funcall2(VALUE recv, ID mid, int argc, VALUE *argv) Invokes a method, passing arguments by an array of values. VALUE rb_eval_string(const char *str) Compiles and executes the string as a Ruby program. ID rb_intern(const char *name) Returns ID corresponding to the name. char *rb_id2name(ID id) Returns the name corresponding ID. char *rb_class2name(VALUE klass) Returns the name of the class. int rb_respond_to(VALUE object, ID id) Returns true if the object responds to the message specified by id. ** Instance Variables VALUE rb_iv_get(VALUE obj, const char *name) Retrieve the value of the instance variable. If the name is not prefixed by `@', that variable shall be inaccessible from Ruby. VALUE rb_iv_set(VALUE obj, const char *name, VALUE val) Sets the value of the instance variable. ** Control Structure VALUE rb_iterate(VALUE (*func1)(), void *arg1, VALUE (*func2)(), void *arg2) Calls the function func1, supplying func2 as the block. func1 will be called with the argument arg1. func2 receives the value from yield as the first argument, arg2 as the second argument. VALUE rb_yield(VALUE val) Evaluates the block with value val. VALUE rb_rescue(VALUE (*func1)(), void *arg1, VALUE (*func2)(), void *arg2) Calls the function func1, with arg1 as the argument. If an exception occurs during func1, it calls func2 with arg2 as the argument. The return value of rb_rescue() is the return value from func1 if no exception occurs, from func2 otherwise. VALUE rb_ensure(VALUE (*func1)(), void *arg1, void (*func2)(), void *arg2) Calls the function func1 with arg1 as the argument, then calls func2 with arg2 if execution terminated. The return value from rb_ensure() is that of func1. ** Exceptions and Errors void rb_warn(const char *fmt, ...) Prints a warning message according to a printf-like format. void rb_warning(const char *fmt, ...) Prints a warning message according to a printf-like format, if $VERBOSE is true. void rb_raise(rb_eRuntimeError, const char *fmt, ...) Raises RuntimeError. The fmt is a format string just like printf(). void rb_raise(VALUE exception, const char *fmt, ...) Raises a class exception. The fmt is a format string just like printf(). void rb_fatal(const char *fmt, ...) Raises a fatal error, terminates the interpreter. No exception handling will be done for fatal errors, but ensure blocks will be executed. void rb_bug(const char *fmt, ...) Terminates the interpreter immediately. This function should be called under the situation caused by the bug in the interpreter. No exception handling nor ensure execution will be done. ** Initialize and Start the Interpreter The embedding API functions are below (not needed for extension libraries): void ruby_init() Initializes the interpreter. void ruby_options(int argc, char **argv) Process command line arguments for the interpreter. void ruby_run() Starts execution of the interpreter. void ruby_script(char *name) Specifies the name of the script ($0). ** Hooks for the Interpreter Events void rb_add_event_hook(rb_event_hook_func_t func, rb_event_t events) Adds a hook function for the specified interpreter events. events should be Or'ed value of: RUBY_EVENT_LINE RUBY_EVENT_CLASS RUBY_EVENT_END RUBY_EVENT_CALL RUBY_EVENT_RETURN RUBY_EVENT_C_CALL RUBY_EVENT_C_RETURN RUBY_EVENT_RAISE RUBY_EVENT_ALL The definition of rb_event_hook_func_t is below: typedef void (*rb_event_hook_func_t)(rb_event_t event, NODE *node, VALUE self, ID id, VALUE klass) int rb_remove_event_hook(rb_event_hook_func_t func) Removes the specified hook function. Appendix C. Functions Available in extconf.rb These functions are available in extconf.rb: have_macro(macro, headers) Checks whether macro is defined with header. Returns true if the macro is defined. have_library(lib, func) Checks whether the library exists, containing the specified function. Returns true if the library exists. find_library(lib, func, path...) Checks whether a library which contains the specified function exists in path. Returns true if the library exists. have_func(func, header) Checks whether func exists with header. Returns true if the function exists. To check functions in an additional library, you need to check that library first using have_library(). have_var(var, header) Checks whether var exists with header. Returns true if the variable exists. To check variables in an additional library, you need to check that library first using have_library(). have_header(header) Checks whether header exists. Returns true if the header file exists. find_header(header, path...) Checks whether header exists in path. Returns true if the header file exists. have_struct_member(type, member, header) Checks whether type has member with header. Returns true if the type is defined and has the member. have_type(type, header, opt) Checks whether type is defined with header. Returns true if the type is defined. check_sizeof(type, header) Checks the size of type in char with header. Returns the size if the type is defined, otherwise nil. create_makefile(target) Generates the Makefile for the extension library. If you don't invoke this method, the compilation will not be done. find_executable(bin, path) Finds command in path, which is File::PATH_SEPARATOR-separated list of directories. If path is nil or omitted, environment varialbe PATH will be used. Returns the path name of the command if it is found, otherwise nil. with_config(withval[, default=nil]) Parses the command line options and returns the value specified by --with-. enable_config(config, *defaults) disable_config(config, *defaults) Parses the command line options for boolean. Returns true if --enable- is given, or false if --disable- is given. Otherwise, yields defaults to the given block and returns the result if it is called with a block, or returns defaults. dir_config(target[, default_dir]) dir_config(target[, default_include, default_lib]) Parses the command line options and adds the directories specified by --with--dir, --with--include, and/or --with--lib to $CFLAGS and/or $LDFLAGS. --with--dir=/path is equivalent to --with--include=/path/include --with--lib=/path/lib. Returns an array of the added directories ([include_dir, lib_dir]). pkg_config(pkg) Obtains the information for pkg by pkg-config command. The actual command name can be overriden by --with-pkg-config command line option. /* * Local variables: * fill-column: 70 * end: */ doc/alt-ruby18/README 0000644 00000006223 15217654533 0010117 0 ustar 00 * What's Ruby Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, and extensible. * Features of Ruby + Simple Syntax + *Normal* Object-Oriented features(ex. class, method calls) + *Advanced* Object-Oriented features(ex. Mix-in, Singleton-method) + Operator Overloading + Exception Handling + Iterators and Closures + Garbage Collection + Dynamic Loading of Object files(on some architecture) + Highly Portable(works on many UNIX machines, and on DOS, Windows, Mac, BeOS etc.) * How to get Ruby The Ruby distribution files can be found in the following FTP site: ftp://ftp.ruby-lang.org/pub/ruby/ The latest source code of this version series can be checked out through SVN with the following command: $ svn co http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8/ The trunk of the Ruby source tree can be checked out with the following command: $ svn co http://svn.ruby-lang.org/repos/ruby/trunk/ ruby There are some other branches under development. Try the following command and see the list of branches: $ svn ls http://svn.ruby-lang.org/repos/ruby/branches/ * Ruby home-page The URL of the Ruby home-page is: http://www.ruby-lang.org/ * Mailing list There is a mailing list to talk about Ruby. To subscribe this list, please send the following phrase subscribe YourFirstName YourFamilyName e.g. subscribe Joseph Smith in the mail body (not subject) to the address . * How to compile and install This is what you need to do to compile and install Ruby: 1. If ./configure does not exist or is older than configure.in, run autoconf to (re)generate configure. 2. Run ./configure, which will generate config.h and Makefile. Some C compiler flags may be added by default depending on your environment. Specify optflags=.. and warnflags=.. as necessary to override them. 3. Edit defines.h if you need. Usually this step will not be needed. 4. Remove comment mark(#) before the module names from ext/Setup (or add module names if not present), if you want to link modules statically. If you don't want to compile non static extension modules (probably on architectures which does not allow dynamic loading), remove comment mark from the line "#option nodynamic" in ext/Setup. 5. Run make. 6. Optionally, run 'make test' to check whether the compiled Ruby interpreter works well. If you see the message "test succeeded", your ruby works as it should (hopefully). 7. Run 'make install' You may have to be a super user to install ruby. If you fail to compile ruby, please send the detailed error report with the error log and machine/OS type, to help others. * Copying See the file COPYING. * The Author Feel free to send comments and bug reports to the author. Here is the author's latest mail address: matz@netlab.jp ------------------------------------------------------- created at: Thu Aug 3 11:57:36 JST 1995 Local variables: mode: indented-text end: doc/alt-ruby18/README.EXT.ja 0000644 00000105065 15217654533 0011153 0 ustar 00 .\" README.EXT.ja - -*- Text -*- created at: Mon Aug 7 16:45:54 JST 1995 Rubyγĥ饤֥κޤ 1μ CѿˤϷꡤǡˤϷޤǤ顤 ȤХݥintѿȡͤȤƼ 갷ޤդRubyѿˤϷʤǡ˷ ΰ㤤ΤᡤCRubyߤѴʤСߤ ǡǤޤ RubyΥǡVALUEȤCηɽޤVALUEΥǡ ϤΥǡפʬΤäƤޤΥǡפ Τϥǡ(֥)μºݤι¤̣ƤơRuby Υ饹ȤϤޤäΤǤ VALUECˤȤäựΤǡФˤ (1) VALUEΥǡפΤ (2) VALUECΥǡѴ ξɬפǤ(1)˺ȴְäǡѴԤ ơǰץबcore dumpޤ 1.1 ǡ Rubyˤϥ桼ȤǽΤʲΥפޤ T_NIL nil T_OBJECT ̾Υ֥ T_CLASS 饹 T_MODULE ⥸塼 T_FLOAT ư T_STRING ʸ T_REGEXP ɽ T_ARRAY T_FIXNUM Fixnum(31bitĹ) T_HASH Ϣ T_STRUCT (Ruby)¤ T_BIGNUM ¿Ĺ T_FILE T_TRUE T_FALSE T_DATA ǡ T_SYMBOL ܥ ¾ѤƤʲΥפޤ T_ICLASS T_MATCH T_UNDEF T_VARMAP T_SCOPE T_NODE ۤȤɤΥפCι¤ΤǼƤޤ 1.2 VALUEΥǡפå ruby.hǤTYPE()ȤޥƤơVALUEΥǡ פΤ뤳ȤޤTYPE()ޥϾǾҲ𤷤T_XXXX η֤ޤVALUEΥǡפ˱ƽ ˤϡTYPE()ͤʬ뤳Ȥˤʤޤ switch (TYPE(obj)) { case T_FIXNUM: /* FIXNUMν */ break; case T_STRING: /* ʸν */ break; case T_ARRAY: /* ν */ break; default: /* 㳰ȯ */ rb_raise(rb_eTypeError, "not valid value"); break; } ȥǡפåơʤ㳰ȯ ؿѰդƤޤ void Check_Type(VALUE value, int type) δؿvaluetype̵С㳰ȯޤ Ϳ줿VALUEΥǡפɤå 뤿ˤϡδؿȤޤ FIXNUMNIL˴ؤƤϤ®Ƚ̥ޥѰդƤޤ FIXNUM_P(obj) NIL_P(obj) 1.3 VALUECΥǡѴ ǡפT_NIL, T_FALSE, T_TRUEǤǡϤ줾 nil, false, trueǤΥǡפΥ֥ȤϤҤ ĤĤ¸ߤޤ ǡפT_FIXNUMλ31bitΥ FIXNUMCѴ뤿ˤϥޥFIX2INT()פ ޤ줫顤FIXNUM˸¤餺RubyΥǡѴ NUM2INT()פȤޥޤΥޥϥǡ פΥå̵ǻȤޤ(ѴǤʤˤ㳰 ȯ)Ʊͤ˥å̵ǻȤѴޥdouble ФNUM2DBL()פޤ char* Ф硢version 1.6 ǤϡSTR2CSTR()פ ޥȤäƤޤ to_str() ˤۤ Ѵ̤ GC ǽ뤿ᡢversion 1.7 ʹߤǤ obsolete Ȥʤꡢ StringValue() StringValuePtr() Ȥ侩ƤޤStringValue(var) var String Ǥв⤻Ǥʤ var var.to_str() η̤ ֤ޥStringValuePtr(var) Ʊͤ var ֤ Ƥ var ʸɽФ char* ֤ޥǤvar Ƥľ֤Τǡvar lvalue Ǥɬפ ޤ ʳΥǡפбCι¤Τޤб 빽¤ΤΤVALUEϤΤޤޥ㥹(Ѵ)й¤Τ ݥѴǤޤ ¤Τϡstruct RXxxxxפȤ̾ruby.hƤ 㤨ʸϡstruct RStringפǤºݤ˻Ȥǽ Τʸ餤Ȼפޤ ruby.hǤϹ¤Τإ㥹ȤޥRXXXXX()(ʸ ˤ)Ȥ̾Ƥޤ(: RSTRING()) 㤨СʸstrĹ뤿ˤϡRSTRING(str)->lenפ ʸstrchar*Ȥ뤿ˤϡRSTRING(str)->ptr Ȥޤξˤϡ줾RARRAY(ary)->lenס RARRAY(ary)->ptrפȤʤޤ Rubyι¤Τľܥ˵ĤʤФʤʤ Ȥϡʸι¤ΤȤϻȤǡľѹ ʤȤǤľѹ硤֥ȤƤ Ȥʤʤäơפ̥Хθˤʤޤ 1.4 CΥǡVALUEѴ VALUEμºݤι¤ * FIXNUMξ 1bitեȤơLSBΩƤ롥 * ¾Υݥξ ΤޤVALUE˥㥹Ȥ롥 ȤʤäƤޤäơLSBåVALUEFIXNUM 狼櫓Ǥ(ݥLSBΩäƤʤȤꤷ ) Ǥ顤FIXNUMʳRubyΥ֥Ȥι¤ΤñVALUE ˥㥹ȤVALUEѴޤǤդι¤ ΤVALUE˥㥹Ƚ櫓ǤϤޤ㥹Ȥ RubyΤäƤ빽¤(ruby.hƤstruct RXxxx Τ)Ǥ FIXNUM˴ؤƤѴޥͳɬפޤC VALUEѴޥϰʲΤΤޤɬפ˱ ƻȤʬƤ INT2FIX() Ȥ31bit˼ޤ뼫 INT2NUM() ǤդVALUE INT2NUM()FIXNUMϰϤ˼ޤʤ硤BignumѴ Ƥޤ(٤) 1.5 RubyΥǡ Ҥ٤̤ꡤRubyι¤ΤƤι ԤȤϴޤǡRubyΥǡˤ RubyѰդƤؿѤƤ ǤϤäȤȤǤʸ/ ؿޤ(ǤϤʤǤ) ʸФؿ rb_str_new(const char *ptr, long len) Rubyʸ롥 rb_str_new2(const char *ptr) CʸRubyʸ롥δؿεǽ rb_str_new(ptr, strlen(ptr))ƱǤ롥 rb_tainted_str_new(const char *ptr, long len) ޡղä줿Rubyʸ롥 Υǡ˴Ťʸˤϱޡղä٤ Ǥ롥 rb_tainted_str_new2(const char *ptr) Cʸޡղä줿Rubyʸ롥 rb_str_cat(VALUE str, const char *ptr, long len) RubyʸstrlenХȤʸptrɲä롥 Фؿ rb_ary_new() Ǥ0롥 rb_ary_new2(long len) Ǥ0롥lenʬΰ餫 ƤƤ rb_ary_new3(long n, ...) ǻꤷnǤޤ롥 rb_ary_new4(long n, VALUE *elts) ͿnǤ롥 rb_ary_push(VALUE ary, VALUE val) rb_ary_pop(VALUE ary) rb_ary_shift(VALUE ary) rb_ary_unshift(VALUE ary, VALUE val) ArrayƱ̾ΥåɤƱƯؿ1ɬ ǤʤФʤʤ 2RubyεǽȤ ŪRubyǽ뤳ȤCǤޤRubyΤΤCǵ ҤƤǤ顤ȤʤǤɡ Rubyγĥ˻ȤȤ¿ͽ¬뵡ǽ濴˾ 𤷤ޤ 2.1 Ruby˵ǽɲä RubyƤؿȤRubyץ˿ǽ ɲä뤳ȤǤޤRubyǤϰʲεǽɲäؿ Ƥޤ * 饹⥸塼 * åɡðۥåɤʤ * ǤϽ˾Ҳ𤷤ޤ 2.1.1 饹/⥸塼 饹⥸塼뤿ˤϡʲδؿȤޤ VALUE rb_define_class(const char *name, VALUE super) VALUE rb_define_module(const char *name) δؿϿ줿饹⥸塼֤ޤ åɤˤͤɬפʤΤǡۤȤɤξ ͤѿ˳ǼƤɬפǤ礦 饹⥸塼¾Υ饹˥ͥȤ ϰʲδؿȤޤ VALUE rb_define_class_under(VALUE outer, const char *name, VALUE super) VALUE rb_define_module_under(VALUE outer, const char *name) 2.1.2 å/ðۥå åɤðۥåɤˤϰʲδؿȤޤ void rb_define_method(VALUE klass, const char *name, VALUE (*func)(), int argc) void rb_define_singleton_method(VALUE object, const char *name, VALUE (*func)(), int argc) ǰΤȡðۥåɡפȤϡΥ֥ ȤФƤͭʥåɤǤRubyǤϤ褯Smalltalkˤ 륯饹åɤȤơ饹ФðۥåɤȤ ޤ δؿ argcȤCδؿϤο( )ޤargc0ʾλϴؿ˰Ϥο ̣ޤ16İʾΰϻȤޤ(פޤ͡ ʤ)ºݤδؿˤƬΰȤselfͿޤ ǡꤷ1¿ĤȤˤʤޤ argcλϰοǤϤʤꤷȤˤʤޤ argc-1λϰϤޤargc-2λϰ RubyȤϤޤ åɤؿϤ⤦ĤޤҤȤĤprivate åɤؿǡrb_define_method()ƱǤ void rb_define_private_method(VALUE klass, const char *name, VALUE (*func)(), int argc) privateåɤȤϴؿǤƤӽФȤνʤ ɤǤ ⤦ҤȤĤϥ⥸塼ؿΤǤ⥸塼ؿ Ȥϥ⥸塼ðۥåɤǤꡤƱprivateåɤ ⤢ΤǤMath⥸塼sqrt()ʤɤ ޤΥåɤ Math.sqrt(4) ȤǤ include Math sqrt(4) ȤǤȤޤ⥸塼ؿؿϰʲ ̤Ǥ void rb_define_module_function(VALUE module, const char *name, VALUE (*func)(), int argc) ؿŪå(Kernel⥸塼private method)뤿 δؿϰʲ̤Ǥ void rb_define_global_function(const char *name, VALUE (*func)(), int argc) åɤ̾뤿δؿϰʲ̤Ǥ void rb_define_alias(VALUE module, const char* new, const char* old); 饹åallocateꤹ뤿δؿ ʲ̤Ǥ void rb_define_alloc_func(VALUE klass, VALUE (*func)(VALUE klass)); void rb_undef_alloc_func(VALUE klass); funcϥ饹ȤƼäơƤ줿 ֤ʤƤϤʤޤΥϡ ʤɤޤޤʤǤֶפΤޤޤˤƤۤ 褤Ǥ礦 2.1.3 ĥ饤֥꤬ɬפϤ餫Ƥɤ Ǥ礦ؿĤޤ void rb_define_const(VALUE klass, const char *name, VALUE val) void rb_define_global_const(const char *name, VALUE val) ԤΥ饹/⥸塼°Ρ ԤϥХΤǤ 2.2 RubyεǽCƤӽФ ˡ1.5 RubyΥǡ٤ǰҲ𤷤褦ʴؿ ȤСRubyεǽ¸ƤؿľܸƤӽФȤ ޤ # Τ褦ʴؿΰɽϤޤΤȤޤ # 뤷ʤǤ͡ ʳˤRubyεǽƤӽФˡϤĤޤ 2.2.1 RubyΥץeval CRubyεǽƤӽФäȤñˡȤơʸ Ϳ줿RubyΥץɾʲδؿޤ VALUE rb_eval_string(const char *str) ɾϸߤδĶǹԤޤĤޤꡤߤΥѿ ʤɤѤޤ 2.2.2 IDޤϥܥ CʸͳRubyΥåɤƤӽФȤǤ ˡRubyץǥåɤѿ̾ꤹ ˻ȤƤIDˤĤƤޤ礦 IDȤѿ̾å̾ɽǤRubyǤIDб ֥ȤȤƥܥ(Symbol)ꡤ :̻ ǥǤޤC餳뤿ˤϴؿ rb_intern(const char *name) ȤޤRubyȤͿ줿ܥ(ޤʸ )IDѴˤϰʲδؿȤޤ rb_to_id(VALUE symbol) ID饷ܥ뤿ˤϰʲΥޥȤޤ VALUE ID2SYM(ID id) ܥ뤫ID뤿ˤϰʲΥޥȤޤ ID SYM2ID(VALUE symbol) 2.2.3 CRubyΥåɤƤӽФ CʸͳRubyΥåɤƤӽФˤϰʲ δؿȤޤ VALUE rb_funcall(VALUE recv, ID mid, int argc, ...) δؿϥ֥recvmidǻꤵåɤƤӽ ޤ¾˰λλ㤦ʲδؿ⤢ޤ VALUE rb_funcall2(VALUE recv, ID mid, int argc, VALUE *argv) VALUE rb_apply(VALUE recv, ID mid, VALUE args) applyˤϰȤRubyͿޤ 2.2.4 ѿ// CؿȤäƻȡǤΤϡ ǤѿϰΤΤCѿȤƥǤ ޤѿȤˡϸƤޤ ֥ȤΥѿȡؿϰʲ Ǥ VALUE rb_ivar_get(VALUE obj, ID id) VALUE rb_ivar_set(VALUE obj, ID id, VALUE val) idrb_intern()ΤȤäƤ ȤˤϰʲδؿȤäƤ VALUE rb_const_get(VALUE obj, ID id) 뤿ˤϡ2.1.3 ٤ǾҲ ƤؿȤäƤ 3RubyCȤξͭ CRubyδ֤ǾͭˡˤĤƲ⤷ޤ 3.1 C黲ȤǤRuby ʲRubyCΥ٥뤫黲ȤǤޤ Qtrue Qfalse ͡QfalseCǤȤߤʤޤ(Ĥޤ0) Qnil C줫鸫nilס 3.2 CRubyǶͭѿ CRubyѿȤäƾͭǤޤͭǤ ѿˤϤĤμबޤΤʤǤäȤɤȤ ȻפΤrb_define_variable()Ǥ void rb_define_variable(const char *name, VALUE *var) δؿRubyCȤǶͭѿޤѿ̾ `$'ǻϤޤʤˤϼưŪɲäޤѿͤ ȼưŪRubyбѿͤѤޤ ޤRuby¦ϹǤʤѿ⤢ޤread only ѿϰʲδؿޤ void rb_define_readonly_variable(const char *name, VALUE *var) ѿ¾hookĤѿǤޤhookդ ѿϰʲδؿѤޤhookդѿ ͤλȤhookǹԤɬפޤ void rb_define_hooked_variable(const char *name, VALUE *var, VALUE (*getter)(), void (*setter)()) δؿCδؿˤähookΤĤ줿ѿ ѿȤ줿ˤϴؿgetterѿͤåȤ ˤϴؿsetterƤФ롥hookꤷʤgetter setter0ꤷޤ # gettersetter0ʤrb_define_variable()Ʊˤʤ롥 줫顤CδؿˤäƼ¸Rubyѿ ؿޤ void rb_define_virtual_variable(const char *name, VALUE (*getter)(), void (*setter)()) δؿˤä줿RubyѿȤ줿ˤ getterѿͤåȤ줿ˤsetterƤФޤ gettersetterλͤϰʲ̤Ǥ (*getter)(ID id, void *data, struct global_entry* entry); (*setter)(VALUE val, ID id, void *data, struct global_entry* entry); 3.3 CΥǡRuby֥Ȥˤ C줿ǡ(¤)RubyΥ֥ȤȤ 갷礬ꤨޤΤ褦ʾˤϡDataȤ Ruby֥ȤCι¤(ؤΥݥ)ळȤRuby ֥ȤȤƼ갷褦ˤʤޤ Data֥Ȥƹ¤ΤRuby֥Ȥ˥ץ 뤿ˤϡʲΥޥȤޤ Data_Wrap_Struct(klass, mark, free, ptr) Υޥͤ줿Data֥ȤǤ klassϤData֥ȤΥ饹Ǥptrϥץ벽 Cι¤ΤؤΥݥǤmarkϤι¤ΤRubyΥ֥ ȤؤλȤ˻ȤؿǤΤ褦ʻȤޤޤʤ ˤ0ꤷޤ # Τ褦ʻȤϴޤ freeϤι¤Τ⤦פˤʤä˸ƤФؿǤ ؿ١쥯ƤФޤ줬-1ξϡñ ˳ޤ Cι¤ΤγData֥ȤƱ˹Ԥޥ ưʲΤΤƤޤ Data_Make_Struct(klass, type, mark, free, sval) Υޥͤ줿Data֥ȤǤ klass, mark, freeData_Wrap_StructƱƯޤtype ϳƤC¤ΤηǤƤ줿¤Τѿsval ޤѿη (type*) Ǥɬפޤ Data֥ȤݥФΤϰʲΥޥѤ ޤ Data_Get_Struct(obj, type, sval) Cι¤ΤؤΥݥѿsvalޤ DataλȤϤäʬˤΤǡ ȤƤ 4 - dbmѥå ޤǤǤȤꤢĥ饤֥ϺϤǤ Rubyextǥ쥯ȥˤǤ˴ޤޤƤdbm饤֥ ʳŪޤ (1) ǥ쥯ȥ % mkdir ext/dbm Ruby 1.1ǤդΥǥ쥯ȥǥʥߥå饤֥ 뤳ȤǤ褦ˤʤޤRubyŪ˥ RubyŸǥ쥯ȥβextǥ쥯ȥ˳ĥ 饤֥ѤΥǥ쥯ȥɬפޤ̾Ŭ ǹޤ (2) ߷פ ޤʤǤɡɤǽ¸뤫ɤޤ פɬפޤɤʥ饹Ĥ뤫Υ饹ˤ ɤʥåɤ뤫饹ʤɤˤĤ߷ ޤ (3) Cɤ ĥ饤֥ΤȤʤCΥޤCΥ ҤȤĤλˤϡ֥饤֥̾.cפ֤ɤǤ礦C Υʣξˤϵդˡ֥饤֥̾.cפȤե ̾ɬפޤ֥ȥեȥ⥸塼 Ū֥饤֥̾.oפȤե Ȥͤ뤫Ǥ Rubyϳĥ饤֥ɤˡInit_饤֥̾פ ؿưŪ˼¹Ԥޤdbm饤֥ξInit_dbm Ǥδؿǥ饹⥸塼롤åɡʤɤ Ԥޤdbm.cѤޤ -- Init_dbm() { /* DBM饹 */ cDBM = rb_define_class("DBM", rb_cObject); /* DBMEnumerate⥸塼롼ɤ */ rb_include_module(cDBM, rb_mEnumerable); /* DBM饹Υ饹åopen(): CǼ */ rb_define_singleton_method(cDBM, "open", fdbm_s_open, -1); /* DBM饹Υåclose(): Ϥʤ */ rb_define_method(cDBM, "close", fdbm_close, 0); /* DBM饹Υå[]: 1 */ rb_define_method(cDBM, "[]", fdbm_fetch, 1); : /* DBMǡǼ륤ѿ̾ΤID */ id_dbm = rb_intern("dbm"); } -- DBM饤֥dbmΥǡб륪֥ȤˤʤϤ 顤CdbmRuby˼ɬפޤ dbm.cǤData_Make_StructʲΤ褦˻ȤäƤޤ -- struct dbmdata { int di_size; DBM *di_dbm; }; obj = Data_Make_Struct(klass, struct dbmdata, 0, free_dbm, dbmp); -- Ǥdbmstruct¤ΤؤΥݥData˥ץ벽Ƥ ޤDBM*ľܥץ벽ʤΤclose()ν ƤΤȤǤ Data֥Ȥdbmstruct¤ΤΥݥФ ˰ʲΥޥȤäƤޤ -- #define GetDBM(obj, dbmp) {\ Data_Get_Struct(obj, struct dbmdata, dbmp);\ if (dbmp->di_dbm == 0) closed_dbm();\ } -- äʣʥޥǤפdbmdata¤ΤΥݥ μФȡcloseƤ뤫ɤΥåޤȤƤ Ǥ DBM饹ˤϤåɤޤʬह3 μޤҤȤĤϰοΤΤǡ ƤdeleteåɤޤdeleteåɤƤ fdbm_delete()ϤΤ褦ˤʤäƤޤ -- static VALUE fdbm_delete(obj, keystr) VALUE obj, keystr; { : } -- οΥפ1self2ʹߤå ΰȤʤޤ οΤΤCǼΤRubyǼ ΤȤޤdbm饤֥ǡCǼ DBMΥ饹åɤǤopen()ǤƤ fdbm_s_open()ϤʤäƤޤ -- static VALUE fdbm_s_open(argc, argv, klass) int argc; VALUE *argv; VALUE klass; { : if (rb_scan_args(argc, argv, "11", &file, &vmode) == 1) { mode = 0666; /* default value */ } : } -- Υפδؿ1Ϳ줿ο2Ϳ 줿äƤˤʤޤself3ȤͿ ޤ Ϳ줿Ϥ뤿δؿopen()ǤȤ Ƥrb_scan_args()Ǥ3˻ꤷեޥåȤ 4ѿʹߤ˻ꤷѿͤƤޤ եޥåȤϡ1ʸܤάǤʤο2ʸܤ άǤο3ʸܤб̵꤬ޤΰ 뤫ɤ"*"Ǥ2ʸܤ3ʸܤϾάǤ dbm.cǤϡեޥåȤ"11"Ǥ顤Ϻ1 ǡ2ĤޤǵȤ̣ˤʤޤάƤ ѿͤnil(CΥ٥ǤQnil)ˤʤޤ RubyǰΤindexesޤϤ Ǥ -- static VALUE fdbm_indexes(obj, args) VALUE obj, args; { : } -- 1self2RubyǤ ** ջ RubyȶͭϤʤRubyΥ֥ȤǼǽΤ CѿϰʲδؿȤäRubyץѿ¸ ƤƤǤʤGCǥȥ֥ޤ void rb_global_variable(VALUE *var) (4) extconf.rbѰդ Makefileοˤʤextconf.rbȤե ޤextconf.rbϥ饤֥ΥѥɬפʾΥ ʤɤԤȤŪǤޤ require 'mkmf' extconf.rbƬ֤ޤextconf.rbǤϰʲRuby ȤȤޤ have_library(lib, func): 饤֥¸ߥå have_func(func, header): ؿ¸ߥå have_header(header): إåե¸ߥå create_makefile(target): Makefile ʲѿȤȤǤޤ $CFLAGS: ѥɲŪ˻ꤹե饰(-Oʤ) $CPPFLAGS: ץץåɲŪ˻ꤹե饰(-I-Dʤ) $LDFLAGS: ɲŪ˻ꤹե饰(-Lʤ) $objs: 륪֥ȥե̾Υꥹ ֥ȥեΥꥹȤϡ̾ϥե ƼưŪޤmakeǥ褦 Ū˻ꤹɬפޤ 饤֥ѥ뤹郎·鷺Υ饤֥ ѥ뤷ʤˤcreate_makefileƤФʤMakefile 줺ѥԤޤ (5) dependѰդ ⤷ǥ쥯ȥdependȤե뤬¸ߤС Makefile¸طåƤޤ % gcc -MM *.c > depend ʤɤǺ뤳Ȥޤä»̵Ǥ礦 (6) Makefile Makefileºݤ뤿ˤ ruby extconf.rb Ȥޤextconf.rb require 'mkmf' ιԤʤˤϥ顼 ˤʤޤΤǡɲä ruby -r mkmf extconf.rb ȤƤ site_ruby ǥ쥯ȥǤʤ vendor_ruby ǥ쥯ȥ˥ȡ뤹ˤ ʲΤ褦 --vendor ץäƤ ruby extconf.rb --vendor ǥ쥯ȥextʲѰդˤRubyΤmakeλ ưŪMakefileޤΤǡΥƥåפפǤ (7) make ưŪ饤֥ˤϤξmakeƤ ɬפǤ make install ǥȡ뤵ޤ extʲ˥ǥ쥯ȥѰդϡRubyΥǥ쥯ȥ make¹ԤMakefilemakeɬפˤäƤϤΥ 塼RubyؤΥޤǼưŪ˼¹ԤƤޤ extconf.rbʤɤMakefileκɬפʻϤ Rubyǥ쥯ȥmakeƤ ĥ饤֥make installRuby饤֥Υǥ쥯ȥ ˥ԡޤ⤷ĥ饤֥ȶĴƻȤRubyǵ Ҥ줿ץबꡤRuby饤֥֤ˤϡ ĥ饤֥ѤΥǥ쥯ȥβ lib Ȥǥ쥯ȥ ꡤ ĥ .rb Υե֤ƤƱ˥ ȡ뤵ޤ (8) ǥХå ޤǥХåʤưʤǤ礦͡ext/Setup˥ǥ ȥ̾Ū˥ΤǥǥХåȤ褦ˤ ޤʬѥ뤬٤ʤޤɡ (9) Ǥ ϤäȤʤꡤʤꡤʤꡤͳˤ ȤRubyκԤϳĥ饤֥˴ؤưڤθ ĥޤ Appendix A. RubyΥɤʬ RubyΥϤĤʬह뤳ȤޤΤ 饤֥ʬϴŪ˳ĥ饤֥Ʊˤʤ ƤޤΥϺޤǤǤۤȤǤ פޤ RubyΥ class.c error.c eval.c gc.c object.c parse.y variable.c 桼ƥƥؿ dln.c regex.c st.c util.c Rubyޥɤμ dmyext.c inits.c main.c ruby.c version.c 饹饤֥ array.c bignum.c compar.c dir.c enum.c file.c hash.c io.c marshal.c math.c numeric.c pack.c prec.c process.c random.c range.c re.c signal.c sprintf.c string.c struct.c time.c Appendix B. ĥѴؿե C줫RubyεǽѤAPIϰʲ̤Ǥ롥 ** VALUE Ruby֥Ȥɽ뷿ɬפ˱ƥ㥹ȤѤ롥 Ȥ߹߷ɽCηruby.h˵ҤƤRǻϤޤ빽¤ ΤǤ롥VALUE˥㥹Ȥ뤿RǻϤޤ빽¤ ̾ʸˤ̾ΥޥѰդƤ롥 ** ѿ Qnil : nil֥ Qtrue : true֥(Υǥե) Qfalse : false֥ ** CǡΥץ벽 Data_Wrap_Struct(VALUE klass, void (*mark)(), void (*free)(), void *sval) CǤդΥݥץ벽Ruby֥Ȥ֤ ΥݥRuby饢ʤʤäfreeǻꤷ ؿƤФ롥ޤΥݥλؤǡ¾Ruby ȤؤƤ硤mark˻ꤹؿǥޡɬ 롥 Data_Make_Struct(klass, type, mark, free, sval) typeΥmallocѿsval塤ץ 벽ǡ֤ޥ Data_Get_Struct(data, type, sval) datatypeΥݥФѿsvalޥ ** å TYPE(value) FIXNUM_P(value) NIL_P(value) void Check_Type(VALUE value, int type) void Check_SafeStr(VALUE value) ** Ѵ FIX2INT(value) INT2FIX(i) NUM2INT(value) INT2NUM(i) NUM2DBL(value) rb_float_new(f) StringValue(value) StringValuePtr(value) StringValueCStr(value) rb_str_new2(s) ** 饹/⥸塼 VALUE rb_define_class(const char *name, VALUE super) superΥ֥饹ȤƿRuby饹롥 VALUE rb_define_class_under(VALUE module, const char *name, VALUE super) superΥ֥饹ȤƿRuby饹module Ȥ롥 VALUE rb_define_module(const char *name) Ruby⥸塼롥 VALUE rb_define_module_under(VALUE module, const char *name) Ruby⥸塼moduleȤ롥 void rb_include_module(VALUE klass, VALUE module) ⥸塼롼ɤ롥classǤmodule 롼ɤƤˤϲ⤷ʤ(¿ť롼ɤζػ) void rb_extend_object(VALUE object, VALUE module) ֥Ȥ⥸塼(Ƥå)dzĥ롥 ** ѿ void rb_define_variable(const char *name, VALUE *var) RubyCȤǶͭ륰Хѿ롥ѿ̾`$' ϤޤʤˤϼưŪɲä롥nameȤRubyμ̻ ȤƵʤʸ(㤨` ')ޤˤRubyץ फϸʤʤ롥 void rb_define_readonly_variable(const char *name, VALUE *var) RubyCȤǶͭread onlyΥХѿ롥 read onlyǤ뤳Ȱʳrb_define_variable()Ʊ void rb_define_virtual_variable(const char *name, VALUE (*getter)(), void (*setter)()) ؿˤäƼ¸Rubyѿ롥ѿȤ줿 ˤgetterѿͤåȤ줿ˤsetterƤФ 롥 void rb_define_hooked_variable(const char *name, VALUE *var, VALUE (*getter)(), void (*setter)()) ؿˤähookΤĤ줿Хѿ롥ѿ Ȥ줿ˤgetterؿͤåȤ줿ˤ setterƤФ롥gettersetter0ꤷˤhook ꤷʤΤƱˤʤ롥 void rb_global_variable(VALUE *var) GCΤᡤRubyץफϥʤ, Ruby Ȥޤѿޡ롥 ** void rb_define_const(VALUE klass, const char *name, VALUE val) 롥 void rb_define_global_const(const char *name, VALUE val) 롥 rb_define_const(rb_cObject, name, val) Ʊ̣ ** å rb_define_method(VALUE klass, const char *name, VALUE (*func)(), int argc) åɤ롥argcselfοargc-1λ, ؿˤϰο(selfޤޤʤ)1, 2 ȤͿ(3self)argc-2λ, 1self, 2args(argsϰޤRuby) Ϳ롥 rb_define_private_method(VALUE klass, const char *name, VALUE (*func)(), int argc) privateåɤ롥rb_define_method()Ʊ rb_define_singleton_method(VALUE klass, const char *name, VALUE (*func)(), int argc) ðۥåɤ롥rb_define_method()Ʊ rb_scan_args(int argc, VALUE *argv, const char *fmt, ...) argc, argvͿ줿ʬ롥fmtɬܰο, ղðο, Ĥΰ뤫ꤹʸ, " *"ȤǤ롥 2 ܤο"*"Ϥ줾ά ǽǤ롥ɬܰĤʤ0ꤹ롥3 ߤѿؤΥݥ, Ǥѿ˳Ǽ롥 ղðбͿƤʤѿQnil 롥 ** RubyåɸƤӽФ VALUE rb_funcall(VALUE recv, ID mid, int narg, ...) åɸƤӽФʸmid뤿ˤrb_intern() Ȥ VALUE rb_funcall2(VALUE recv, ID mid, int argc, VALUE *argv) åɸƤӽФargc, argvϤ VALUE rb_eval_string(const char *str) ʸRubyץȤȤƥѥ롦¹Ԥ롥 ID rb_intern(const char *name) ʸбID֤ char *rb_id2name(ID id) IDбʸ֤(ǥХå) char *rb_class2name(VALUE klass) 饹֤̾(ǥХå)饹̾ʤˤ, ̤ä̾ĥ饹֤̾ int rb_respond_to(VALUE obj, ID id) objidǼåɤĤɤ֤ ** ѿ VALUE rb_iv_get(VALUE obj, const char *name) objΥѿͤ롥`@'ǻϤޤʤ ѿ Rubyץफ饢Ǥʤֱ줿ץ ѿˤʤ롥ʸ̾ĥ饹(ޤ ⥸塼)ΥѿȤƼƤ롥 VALUE rb_iv_set(VALUE obj, const char *name, VALUE val) objΥѿval˥åȤ롥 ** 湽¤ VALUE rb_iterate(VALUE (*func1)(), VALUE arg1, VALUE (*func2)(), VALUE arg2) func2֥åȤꤷ, func1ƥ졼ȤƸƤ֡ func1ˤ arg1ȤϤ, func2ˤ1˥ƥ졼 Ϳ줿, 2arg2Ϥ롥 VALUE rb_yield(VALUE val) valͤȤƥƥ졼֥åƤӽФ VALUE rb_rescue(VALUE (*func1)(), VALUE arg1, VALUE (*func2)(), VALUE arg2) ؿfunc1arg1˸ƤӽФfunc1μ¹㳰ȯ ˤ func2arg2ȤƸƤ֡ͤ㳰ȯ ʤäfunc1, 㳰ȯˤfunc2 ͤǤ롥 VALUE rb_ensure(VALUE (*func1)(), VALUE arg1, void (*func2)(), VALUE arg2) ؿfunc1arg1ȤƼ¹Ԥ, ¹Խλ(Ȥ㳰 ȯƤ) func2arg2ȤƼ¹Ԥ롥ͤfunc1 ͤǤ(㳰ȯʤ) ** 㳰顼 void rb_warning(const char *fmt, ...) rb_verboseɸ२顼Ϥ˷ٹɽ롥 printf()Ʊ void rb_raise(rb_eRuntimeError, const char *fmt, ...) RuntimeError㳰ȯ롥printf()Ʊ void rb_raise(VALUE exception, const char *fmt, ...) exceptionǻꤷ㳰ȯ롥fmtʲΰ printf()Ʊ void rb_fatal(const char *fmt, ...) ̿Ū㳰ȯ롥̾㳰ϹԤʤ줺, ץλ(ensureǻꤵ줿ɤϽλ ¹Ԥ) void rb_bug(const char *fmt, ...) ץʤɥץΥХǤȯϤΤʤ λƤ֡ץϥפľ˽λ롥 㳰ϰڹԤʤʤ ** Rubyν¹ RubyץꥱˤϰʲΥե Ȥ̾γĥ饤֥ˤɬפʤ void ruby_init() RubyץνԤʤ void ruby_options(int argc, char **argv) RubyץΥޥɥ饤νԤʤ void ruby_run() Rubyץ¹Ԥ롥 void ruby_script(char *name) RubyΥץ̾($0)ꤹ롥 Appendix C. extconf.rbǻȤؿ extconf.rbǤѲǽʥѥåδؿϰ ̤Ǥ롥 have_macro(macro, headers) إåեheader롼ɤƥޥmacro Ƥ뤫ɤå롥ޥƤtrue ֤ have_library(lib, func) ؿfuncƤ饤֥lib¸ߤå롥 饤֥꤬¸ߤtrue֤ find_library(lib, func, path...) ؿfuncƤ饤֥lib¸ߤ -Lpath ɲ ʤå롥饤֥꤬դätrue֤ have_func(func, header) إåեheader롼ɤƴؿfunc¸ߤ 롥funcɸǤϥʤ饤֥ΤΤǤ ˤhave_libraryǤΥ饤֥åƤ ؿ¸ߤtrue֤ have_var(var, header) إåեheader롼ɤѿvar¸ߤ 롥varɸǤϥʤ饤֥ΤΤǤ ˤhave_libraryǤΥ饤֥åƤ ѿ¸ߤtrue֤ have_header(header) إåե¸ߤå롥إåե뤬¸ߤ true֤ find_header(header, path...) إåեheader¸ߤ -Ipath ɲäʤå 롥إåե뤬դätrue֤ have_struct_member(type, member, header) إåեheader롼ɤƷtype˥member ¸ߤ뤫å롥typeƤơmember Ĥtrue֤ have_type(type, header, opt) إåեheader롼ɤƷtype¸ߤ뤫 å롥typeƤtrue֤ check_sizeof(type, header) إåեheader롼ɤƷtypecharñ̥ Ĵ٤롥typeƤΥ֤ ƤʤȤnil֤ create_makefile(target) ĥ饤֥ѤMakefile롥δؿƤФʤ ФΥ饤֥ϥѥ뤵ʤtargetϥ⥸塼̾ ɽ find_executable(command, path) ޥcommandFile::PATH_SEPARATORǶڤ줿ѥ̾ ꥹpathõpathnilޤϾά줿ϡĶ ѿPATHͤѤ롥¹ԲǽʥޥɤĤä ϥѥޤե̾Ĥʤänil֤ with_config(withval[, default=nil]) ޥɥ饤--with-ǻꤵ줿ץͤ롥 enable_config(config, *defaults) disable_config(config, *defaults) ޥɥ饤--enable-ޤ --disable-ǻꤵ줿ͤ롥 --enable-ꤵƤtrue --disable-ꤵƤfalse֤ ɤꤵƤʤϡ֥åĤǸƤӽФƤ *defaultsyield̡֥åʤʤ*defaults֤ dir_config(target[, default_dir]) dir_config(target[, default_include, default_lib]) ޥɥ饤--with--dir, --with--include, --with--libΤ줫ǻꤵǥ쥯ȥ $CFLAGS $LDFLAGS ɲä롥--with--dir=/path --with--include=/path/include --with--lib=/path/lib Ǥ롥ɲä줿 include ǥ쥯ȥ lib ǥ쥯ȥ ֤ ([include_dir, lib_dir]) pkg_config(pkg) pkg-configޥɤѥåpkgξ롥 pkg-configμºݤΥޥ̾ϡ--with-pkg-configޥ 饤ץǻǽ /* * Local variables: * fill-column: 60 * end: */ doc/alt-ruby18/LEGAL 0000644 00000042117 15217654533 0010010 0 ustar 00 LEGAL NOTICE INFORMATION ------------------------ All the files in this distribution are covered under either the Ruby's license (see the file COPYING) or public-domain except some files mentioned below. regex.[ch]: These files are under LGPL. Treat them as LGPL says. (See the file LGPL for details) Extended regular expression matching and search library. Copyright (C) 1993, 94, 95, 96, 97, 98 Free Software Foundation, Inc. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with the GNU C Library; see the file LGPL. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ Multi-byte extension added May, 1993 by t^2 (Takahiro Tanimoto) Last change: May 21, 1993 by t^2 removed gapped buffer support, multiple syntax support by matz Perl5 extension added by matz UTF-8 extension added Jan 16 1999 by Yoshida Masato configure: This file is free software. Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. config.guess: config.sub: As long as you distribute these files with the file configure, they are covered under the Ruby's license. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. As a special exception to the GNU General Public License, if you distribute this file as part of a program that contains a configuration script generated by Autoconf, you may include it under the same distribution terms that you use for the rest of that program. parse.c: This file is licensed under the GPL, but is incorporated into Ruby and redistributed under the terms of the Ruby license, as permitted by the exception to the GPL below. Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work under terms of your choice, so long as that work isn't itself a parser generator using the skeleton or a modified version thereof as a parser skeleton. Alternatively, if you modify or redistribute the parser skeleton itself, you may (at your option) remove this special exception, which will cause the skeleton and the resulting Bison output files to be licensed under the GNU General Public License without this special exception. This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ util.c (partly): win32/win32.[ch]: You can apply the Artistic License to these files. (or GPL, alternatively) Copyright (c) 1993, Intergraph Corporation You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the perl README file. random.c This file is under the new-style BSD license. A C-program for MT19937, with initialization improved 2002/2/10. Coded by Takuji Nishimura and Makoto Matsumoto. This is a faster version by taking Shawn Cokus's optimization, Matthe Bellew's simplification, Isaku Wada's real version. Before using, initialize the state by using init_genrand(seed) or init_by_array(init_key, key_length). Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The names of its contributors may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Any feedback is very welcome. http://www.math.keio.ac.jp/matumoto/emt.html email: matumoto@math.keio.ac.jp st.[ch]: x68/*: missing/alloca.c: missing/dup2.c: missing/finite.c: missing/hypot.c: missing/isinf.c: missing/isnan.c: missing/memcmp.c: missing/memmove.c: missing/strcasecmp.c: missing/strchr.c: missing/streror.c: missing/strftime.c: missing/strncasecmp.c: missing/strstr.c: missing/strtol.c: ext/digest/sha1/sha1.[ch]: These files are all under public domain. missing/strtod.c: This file will not be used on most platforms depending on how the configure script results. In any case you must not receive any fee with the file itself. Copyright (c) 1988-1993 The Regents of the University of California. Copyright (c) 1994 Sun Microsystems, Inc. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies. The University of California makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. missing/strtoul.c: This file will not be used on most platforms depending on how the configure script results. In any case you must not receive any fee with the file itself. Copyright 1988 Regents of the University of California Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies. The University of California makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. missing/erf.c: missing/crypt.c: missing/vsnprintf.c: This file is under the old-style BSD license. Note that the paragraph 3 below is now null and void. Copyright (c) 1990, 1993 The Regents of the University of California. All rights reserved. This code is derived from software contributed to Berkeley by Chris Torek. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. IMPORTANT NOTE: -------------- From ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change paragraph 3 above is now null and void. ext/digest/md5/md5.[ch]: These files are under the following license. Ruby uses modified versions of them. Copyright (C) 1999, 2000 Aladdin Enterprises. All rights reserved. This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. L. Peter Deutsch ghost@aladdin.com ext/digest/rmd160/rmd160.[ch]: These files have the following copyright information, and by the author we are allowed to use it under the new-style BSD license. AUTHOR: Antoon Bosselaers, ESAT-COSIC (Arranged for libc by Todd C. Miller) DATE: 1 March 1996 Copyright (c) Katholieke Universiteit Leuven 1996, All Rights Reserved ext/digest/rmd160/rmd160hl.c: ext/digest/sha1/sha1hl.c: These files are under the beer-ware license. "THE BEER-WARE LICENSE" (Revision 42): wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp ext/digest/sha2/sha2.[ch]: ext/digest/sha2/sha2hl.c: These files are under the new-style BSD license. Copyright 2000 Aaron D. Gifford. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTOR(S) ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ext/nkf/nkf-utf8/config.h: ext/nkf/nkf-utf8/nkf.c: ext/nkf/nkf-utf8/utf8tbl.c: These files are under the following license. So to speak, it is copyrighted semi-public-domain software. Copyright (C) 1987, Fujitsu LTD. (Itaru ICHIKAWA) Everyone is permitted to do anything on this program including copying, modifying, improving, as long as you don't try to pretend that you wrote it. i.e., the above copyright notice has to appear in all copies. Binary distribution requires original version messages. You don't have to ask before copying, redistribution or publishing. THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE. ext/socket/addrinfo.h: ext/socket/getaddrinfo.c: ext/socket/getnameinfo.c: These files are under the new-style BSD license. Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the project nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ext/win32ole/win32ole.c: You can apply the Artistic License to this file. (or GPL, alternatively) (c) 1995 Microsoft Corporation. All rights reserved. Developed by ActiveWare Internet Corp., http://www.ActiveWare.com Other modifications Copyright (c) 1997, 1998 by Gurusamy Sarathy and Jan Dubois You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the README file of the Perl distribution. doc/alt-ruby18/COPYING 0000644 00000004707 15217654533 0010277 0 ustar 00 Ruby is copyrighted free software by Yukihiro Matsumoto . You can redistribute it and/or modify it under either the terms of the GPL version 2 (see the file GPL), or the conditions below: 1. You may make and give away verbatim copies of the source form of the software without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers. 2. You may modify your copy of the software in any way, provided that you do at least ONE of the following: a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or by allowing the author to include your modifications in the software. b) use the modified software only within your corporation or organization. c) give non-standard binaries non-standard names, with instructions on where to get the original software distribution. d) make other distribution arrangements with the author. 3. You may distribute the software in object code or binary form, provided that you do at least ONE of the following: a) distribute the binaries and library files of the software, together with instructions (in the manual page or equivalent) on where to get the original distribution. b) accompany the distribution with the machine-readable source of the software. c) give non-standard binaries non-standard names, with instructions on where to get the original software distribution. d) make other distribution arrangements with the author. 4. You may modify and include the part of the software into any other software (possibly commercial). But some files in the distribution are not written by the author, so that they are not under these terms. For the list of those files and their copying conditions, see the file LEGAL. 5. The scripts and library files supplied as input to or produced as output from the software do not automatically fall under the copyright of the software, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this software. 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. doc/alt-ruby18/GPL 0000644 00000043131 15217654533 0007603 0 ustar 00 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. doc/alt-ruby18/LGPL 0000644 00000063476 15217654533 0007735 0 ustar 00 GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. , 1 April 1990 Ty Coon, President of Vice That's all there is to it! doc/alt-ruby18/README.ja 0000644 00000010355 15217654533 0010511 0 ustar 00 * RubyȤ Rubyϥץ뤫ĶϤʥ֥ȻظץȸǤ RubyϺǽ餫ʥ֥ȻظȤ߷פƤ 顤֥Ȼظץߥڤ˹Ԥ ̾μ³ΥץߥǽǤ RubyϥƥȽطǽϤʤɤͥ졤PerlƱ餤 Ǥ˥ץʸˡȡ㳰䥤ƥ졼ʤɤε ˤäơʬ䤹ץߥޤ * RubyĹ + ץʸˡ + ̤Υ֥Ȼظǽ(饹åɥʤ) + üʥ֥Ȼظǽ(Mixin, ðۥåɤʤ) + 黻ҥС + 㳰ǽ + ƥ졼ȥ + ١쥯 + ʥߥåǥ (ƥˤ) + ܿ⤤¿UNIXưǤʤDOSWindows MacBeOSʤɤξǤư * ˡ ** FTP ʲξˤƤޤ ftp://ftp.ruby-lang.org/pub/ruby/ ** Subversion ܥ֥RubyκǿΥɤϼΥޥɤǼǤޤ $ svn co http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8/ ȯüΥɤϼΥޥɤǼǤޤ $ svn co http://svn.ruby-lang.org/repos/ruby/trunk/ ruby ¾˳ȯΥ֥ΰϼΥޥɤǸޤ $ svn ls http://svn.ruby-lang.org/repos/ruby/branches/ * ۡڡ RubyΥۡڡURL http://www.ruby-lang.org/ Ǥ * ꥹ RubyΥꥹȤޤô˾ ruby-list-ctl@ruby-lang.org ޤʸ subscribe YourFirstName YourFamilyName ȽäƲ RubyȯԸꥹȤ⤢ޤǤrubyΥ λͳĥʤɼˤĤƵƤޤ ô˾ ruby-dev-ctl@ruby-lang.org ޤruby-listƱͤˡǥ뤷Ƥ Rubyĥ⥸塼ˤĤä礦ruby-extꥹȤ شطˤĤä礦ruby-mathꥹȤ Ѹä礦ruby-talkꥹȤ⤢ޤˡ ϤɤƱǤ * ѥ롦ȡ ʲμǹԤäƤ 1. ⤷configureե뤬Ĥʤ⤷ configure.inŤ褦ʤ顢autoconf¹Ԥ configure 2. configure¹ԤMakefileʤɤ ĶˤäƤϥǥեȤCѥѥץդ ޤconfigureץ optflags=.. warnflags=.. ǾǤޤ 3. (ɬפʤ)defines.hԽ ¿ʬɬ̵Ȼפޤ 4. (ɬפʤ)ext/SetupŪ˥ĥ⥸塼 ꤹ ext/Setup˵Ҥ⥸塼Ū˥ޤ ʥߥåǥݡȤƤʤƥ ǤSetup1ܤΡoption nodynamicפȤԤΥ ȤɬפޤޤΥƥ ĥ⥸塼Ѥ뤿ˤϡ餫Ū˥ Ƥɬפޤ 5. make¹Ԥƥѥ뤹 6. make testǥƥȤԤ test succeededפɽǤƥ ƤⴰݾڤƤǤϤޤ 7. make install rootǺȤɬפ뤫⤷ޤ ⤷ѥ˥顼ȯˤϥ顼Υȥ OSμޤǤܤݡȤԤäƤ ¾Τˤʤޤ * ܿ UNIXǤconfigureۤȤɤκۤۼƤϤ פ̸Ȥä(˰㤤ʤ)Ԥˤ ȤݡȤСǤ뤫Τޤ ƥˤäȤ¸ΤGCǤRubyGCо Υƥ㤬setjmp()ˤäƤΥ쥸 jmp_buf Ǽ뤳Ȥȡjmp_bufȥå32bit饤Ȥ 뤳ȤꤷƤޤäԤΩʤб ˺Ǥ礦ԤβŪñǡgc.cǥå ޡƤʬ˥饤ȤΥХȿ餷ƥޡ 륳ɤɲäǺѤߤޤdefined(THINK_C)פ ƤʬͤˤƤ # ºݤˤRubyThink CǤϥѥǤޤ 쥸ɥCPUǤϡ쥸ɥ ˥եå夹륢֥饳ɤɲäɬפ뤫 ޤ * ۾ COPYING.jaեȤƤ * ȡХݡȤ¾ matz@netlab.jp ޤǡ ------------------------------------------------------- created at: Thu Aug 3 11:57:36 JST 1995 Local variables: mode: indented-text end: doc/alt-ruby18/COPYING.ja 0000644 00000004055 15217654533 0010664 0 ustar 00 $BK\%W%m%0%i%`$O%U%j!<%=%U%H%&%'%"$G$9!%(BGPL(the GNU General Public License)$B$^$?$O0J2<$K<($9>r7o$GK\%W%m%0%i%`$r:FG[I[$G(B $B$-$^$9!%(BGPL$B$K$D$$$F$O(BGPL$B%U%!%$%k$r;2>H$7$F2<$5$$!%(B 1. $BJ#@=$O@)8B$J$/<+M3$G$9!%(B 2. $B0J2<$N>r7o$N$$$:$l$+$rK~$?$9;~$KK\%W%m%0%i%`$N%=!<%9$r(B $B<+M3$KJQ99$G$-$^$9!%(B (a) $B%M%C%H%K%e!<%:$K%]%9%H$7$?$j!$:nA0$rJQ99$9$k!%(B $B$=$N%=%U%H%&%'%"$rG[I[$9$k;~$K$OJQ99A0$NK\%W%m%0%i(B $B%`$bF1;~$KG[I[$9$k!%$^$?$OJQ99A0$NK\%W%m%0%i%`$N%=!<(B $B%9$NF~$NJQ99>r7o$r:nr7o$N$$$:$l$+$rK~$?$9;~$KK\%W%m%0%i%`$r%3%s%Q%$(B $B%k$7$?%*%V%8%'%/%H%3!<%I$dA0$rJQ99$7$?$&$(!$%*%j%8%J(B $B%k$N%=!<%9%3!<%I$NF~$NG[I[>r7o$r:n$N%W%m%0%i%`$X$N0zMQ$O$$$+$J$kL\E*$G$"$l<+M3$G$9!%$?(B $B$@$7!$K\%W%m%0%i%`$K4^$^$l$kB>$N:n$l$N:nl9g$,$"$j$^$9!%(B $B$=$l$i%U%!%$%k$N0lMw$H$=$l$>$l$NG[I[>r7o$J$I$KIU$$$F$O(B LEGAL$B%U%!%$%k$r;2>H$7$F$/$@$5$$!%(B 5. $BK\%W%m%0%i%`$X$NF~NO$H$J$k%9%/%j%W%H$*$h$S!$K\%W%m%0%i(B $B%`$+$i$N=PNO$N8"Mx$OK\%W%m%0%i%`$N:n(B $B$l$NF~=PNO$r@8@.$7$??M$KB0$7$^$9!%$^$?!$K\%W%m%0%i%`$K(B $BAH$_9~$^$l$k$?$a$N3HD%%i%$%V%i%j$K$D$$$F$bF1MM$G$9!%(B 6. $BK\%W%m%0%i%`$OL5J]>Z$G$9!%:n
[Validate]
[Source]
%sourcecode%
%code%
*
**
?
[set]
{p,q}
\\