Class: File
Class Method Summary collapse
Class Method Details
.get_root_dir(this_path) ⇒ Object
653 654 655 656 657 658 659 660 |
# File 'lib/gui/sensible-cinema-base.rb', line 653 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
662 663 664 665 666 667 668 |
# File 'lib/gui/sensible-cinema-base.rb', line 662 def self.strip_drive_windows this_complete_path if OS.doze? this_complete_path[2..-1] else this_complete_path end end |