Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/filestr.rb
Overview
Extend String with capability to convert itself to FileStr.
Direct Known Subclasses
Class Method Summary collapse
-
.fileStr ⇒ Object
Use FileStr method directly in String.
Instance Method Summary collapse
-
#toFileStr ⇒ Object
(also: #to_fs, #fs)
Convert String to FileStr object.
Class Method Details
Instance Method Details
#toFileStr ⇒ Object Also known as: to_fs, fs
Convert String to FileStr object.
218 219 220 |
# File 'lib/filestr.rb', line 218 def toFileStr FileStr.new( self ) end |