Same as IO
.
Returns serialized iseq binary format data as a String
object. A corresponding iseq object is created by RubyVM::InstructionSequence.load_from_binary()
method.
String
extra_data will be saved with binary data. You can access this data with RubyVM::InstructionSequence.load_from_binary_extra_data(binary)
.
Note that the translated binary data is not portable. You can not move this binary data to another machine. You can not use the binary data which is created by another version/another architecture of Ruby.
Returns a Ruby code representation of this specification, such that it can be eval’ed and reconstruct the same specification later. Attributes that still have their default values are omitted.
Returns self
Returns the row as a CSV
String
. Headers are not used. Equivalent to:
csv_row.fields.to_csv( options )
Returns the table as a complete CSV
String
. Headers will be listed first, then all of the field rows.
This method assumes you want the Table.headers()
, unless you explicitly pass :write_headers => false
.
Convert an object reference id to an object.
This implementation looks up the reference id in the local object space and returns the object it refers to.
Convert an object into a reference id.
This implementation returns the object’s __id__ in the local object space.
Convert a dRuby reference to the local object it refers to.
Convert a local object to a dRuby reference.
Convert an object reference id to an object.
This implementation looks up the reference id in the local object space and returns the object it refers to.
Convert an object into a reference id.
This implementation returns the object’s __id__ in the local object space.
Returns [eigenvector_matrix, eigenvalue_matrix
, eigenvector_matrix_inv
]
Returns L
, U
, P
in an array
Turns this IPv4
address into a Resolv::DNS::Name
.
Turns this IPv6
address into a Resolv::DNS::Name
.
Returns this attribute out as XML
source, expanding the name
a = Attribute.new( "x", "y" ) a.to_string # -> "x='y'" b = Attribute.new( "ns:x", "y" ) b.to_string # -> "ns:x='y'"
Attempt to convert rss to a URI
, but just return it if there’s a ::URI::Error