Method: RDoc::Markdown::Literals#current_pos_info
- Defined in:
- lib/rdoc/markdown/literals.rb
#current_pos_info(target = pos) ⇒ Object
88 89 90 91 92 93 94 |
# File 'lib/rdoc/markdown/literals.rb', line 88 def current_pos_info(target=pos) l = current_line target c = current_column target ln = get_line(l-1) chr = string[target,1] KpegPosInfo.new(target, l, c, ln, chr) end |