Class: Pathname
- Inherits:
-
Object
- Object
- Pathname
- Defined in:
- lib/henshin/ext.rb
Instance Method Summary collapse
-
#extension ⇒ String
Gets just the extension of the pathname.
Instance Method Details
#extension ⇒ String
Gets just the extension of the pathname
51 52 53 |
# File 'lib/henshin/ext.rb', line 51 def extension self.extname[1..-1] end |