Class: Java::OrgMozillaJavascript::ScriptStackElement
- Defined in:
- lib/rhino/rhino_ext.rb
Instance Method Summary collapse
-
#file_name ⇒ Object
public final String fileName;.
-
#function_name ⇒ Object
public final String functionName;.
-
#line_number ⇒ Object
public final int lineNumber;.
- #to_s ⇒ Object
Instance Method Details
#file_name ⇒ Object
public final String fileName;
270 |
# File 'lib/rhino/rhino_ext.rb', line 270 def file_name; fileName; end |
#function_name ⇒ Object
public final String functionName;
271 |
# File 'lib/rhino/rhino_ext.rb', line 271 def function_name; functionName; end |
#line_number ⇒ Object
public final int lineNumber;
272 |
# File 'lib/rhino/rhino_ext.rb', line 272 def line_number; lineNumber; end |
#to_s ⇒ Object
274 275 276 277 278 279 |
# File 'lib/rhino/rhino_ext.rb', line 274 def to_s str = "at #{fileName}" str << ':' << lineNumber.to_s if lineNumber > -1 str << " (#{functionName})" if functionName str end |