Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opal/opal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 67bcfade0faf
Choose a base ref
...
head repository: opal/opal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 81640c516d4e
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jan 8, 2015

  1. Add missing constants in File class.

    `FIle::ALT_SEPARATOR` and `File::PATH_SEPARATOR`
    huochunpeng committed Jan 8, 2015
    Copy the full SHA
    d82a84d View commit details
  2. Merge pull request #686 from huochunpeng/patch-1

    Add missing constants in File class.
    elia committed Jan 8, 2015
    Copy the full SHA
    81640c5 View commit details
Showing with 2 additions and 0 deletions.
  1. +2 −0 opal/corelib/file.rb
2 changes: 2 additions & 0 deletions opal/corelib/file.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class File < IO
Separator = SEPARATOR = '/'
ALT_SEPARATOR = nil
PATH_SEPARATOR = ':'

class << self
def expand_path(path, basedir = nil)