Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/jruby-parser/core_ext/string.rb

Instance Method Summary collapse

Instance Method Details

#to_ast_node(position = nil) ⇒ Object



4
5
6
# File 'lib/jruby-parser/core_ext/string.rb', line 4

def to_ast_node(position=nil)
  org.jrubyparser.ast.StrNode.new(position, self.to_java(:string))
end