new

new() Class Public methods

secure=

secure=(val) Instance Public methods Set whether the Cookie is a secure cookie or not. val must be a boolean.

to_f

big.to_f â float Instance Public methods Converts big to a Float. If big doesn't fit in a Float, the result is infinity.

configure

configure(slot, value=None) Instance Public methods

to_d

r.to_d(precision) â bigdecimal Instance Public methods Converts a Rational to a BigDecimal. The required precision parameter is used to determine the amount of significant digits for the result. See BigDecimal#div for more information, as it is used along with the denominator and the precision for parameters. r = (22/7.0).to_r # => (7077085128725065/2251799813685248) r.to_d(3) # => #<BigDecimal:1a44d08,'0.314E1',18(36)>

success?

success?(code) Class Public methods Is code a successful status?

package_version

package_version() Class Public methods

each

asn1_ary.each { |asn1| block } => asn1_ary Instance Public methods Calls block once for each element in self, passing that element as parameter asn1. If no block is given, an enumerator is returned instead. Example asn1_ary.each do |asn1| puts asn1 end

close

strio.close â nil Instance Public methods Closes strio. The strio is unavailable for any further data operations; an IOError is raised if such an attempt is made.

&lt;=&gt;

string other_string â -1, 0, +1 or nil Instance Public methods ComparisonâReturns -1, 0, +1 or nil depending on whether string is less than, equal to, or greater than other_string. nil is returned if the two values are incomparable. 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. <=> is the basis for the methods <, <=, >, >=, and betwe