Method: FileStr.extend

Defined in:
lib/filestr.rb

.extend(klass = String) ⇒ Object

Extend a class (String) with FileStr features.

Parameters:

  • klass (Constant) (defaults to: String)

    Class to extend.



78
79
80
# File 'lib/filestr.rb', line 78

def FileStr.extend( klass = String )
    klass.send( :include, FileStrModule )
end