Skip to content

Commit

Permalink
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/ruby/truffle/mri/un.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require_relative '../../stdlib/un'
Original file line number Diff line number Diff line change
@@ -58,6 +58,17 @@ public DynamicObject absolutePath(DynamicObject threadBacktraceLocation) {

}

@CoreMethod(names = "label")
public abstract static class LabelNode extends UnaryCoreMethodNode {

@Specialization
public Object label(DynamicObject threadBacktraceLocation) {
// TODO BJF 7 Nov. 2016 This needs to be implemented, stubbed for now
return nil();
}

}

@CoreMethod(names = "lineno")
public abstract static class LinenoNode extends UnaryCoreMethodNode {

0 comments on commit 63af728

Please sign in to comment.