Method: String#noext
- Defined in:
- lib/el4r/el4r-sub.rb
#noext ⇒ Object
Returns a string which is stripped the filename’s extension.
623 624 625 |
# File 'lib/el4r/el4r-sub.rb', line 623 def noext sub(/\.[^\.]+$/,'') end |
Returns a string which is stripped the filename’s extension.
623 624 625 |
# File 'lib/el4r/el4r-sub.rb', line 623 def noext sub(/\.[^\.]+$/,'') end |