Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/string_ext.rb,
lib/git_remote_branch.rb
Instance Method Summary collapse
Instance Method Details
#path_for_os ⇒ Object
2 3 4 |
# File 'lib/string_ext.rb', line 2 def path_for_os WINDOWS ? self.gsub('/', '\\') : self end |
#red ⇒ Object
8 |
# File 'lib/git_remote_branch.rb', line 8 def red; self; end |