Class: File
- Inherits:
-
Object
- Object
- File
- Defined in:
- lib/gui/sensible-cinema-base.rb
Class Method Summary collapse
Class Method Details
.get_root_dir(this_path) ⇒ Object
604 605 606 607 608 609 610 611 |
# File 'lib/gui/sensible-cinema-base.rb', line 604 def self.get_root_dir this_path this_path = File. this_path if OS.doze? this_path[0..2] else this_path.split('/')[0] end end |
.strip_drive_windows(this_complete_path) ⇒ Object
613 614 615 616 617 618 619 |
# File 'lib/gui/sensible-cinema-base.rb', line 613 def self.strip_drive_windows this_complete_path if OS.doze? this_complete_path[2..-1] else this_complete_path end end |