Class: File
Class Method Summary collapse
Class Method Details
.get_root_dir(this_path) ⇒ Object
662 663 664 665 666 667 668 669 |
# File 'lib/gui/sensible-cinema-base.rb', line 662 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
671 672 673 674 675 676 677 |
# File 'lib/gui/sensible-cinema-base.rb', line 671 def self.strip_drive_windows this_complete_path if OS.doze? this_complete_path[2..-1] else this_complete_path end end |