Class: SwitchFile::SourcePath
- Inherits:
-
Valuable
- Object
- Valuable
- SwitchFile::SourcePath
- Defined in:
- lib/switch_file/source_path.rb
Overview
Path to a source file
Instance Method Summary collapse
Instance Method Details
#class_name ⇒ Object
6 7 8 |
# File 'lib/switch_file/source_path.rb', line 6 def class_name value.match(file_type.path_regex)[1] end |