Class: Roar::Rails::Formats::Path
- Inherits:
-
String
- Object
- String
- Roar::Rails::Formats::Path
- Defined in:
- lib/roar/rails/formats.rb
Instance Method Summary collapse
Instance Method Details
#namespace ⇒ Object
68 69 70 71 |
# File 'lib/roar/rails/formats.rb', line 68 def namespace return unless ns = self.match(/(.+)\/\w+$/) ns[1] end |