Module: Cinnabar::StrToPath::Mixin
- Defined in:
- lib/cinnabar/path.rb
Overview
Note:
Side effect: this will affect all strings in the process, including third-party code. If you want scoped behavior, prefer Refin.
This is a "mixin switch": include Cinnabar::StrToPath::Mixin will modify
String for the entire process (i.e., a monkey patch).
Class Method Summary collapse
-
.included(_host) ⇒ void
Hook invoked when this module is included.
Class Method Details
.included(_host) ⇒ void
This method returns an undefined value.
Hook invoked when this module is included.
74 |
# File 'lib/cinnabar/path.rb', line 74 def self.included(_host) = ::String.include Ext |