class String |
Parent: Object |
|
Methods:to_l |
|
Sample Code:stringtests.rb |
|
Instance Methods |
to_l |
The to_l method is used to parse a string and returns a length value. |
Syntax: |
length = str.to_l |
Arguments: |
|
Return Value: |
length - a length value in current units if successful |
Comments: |
|
Example: |
teststring
= "3.2m" |