class JpStringsFinder::RubyFinder

Attributes

src[R]

Public Class Methods

new(src) click to toggle source
# File lib/jp_strings_finder/ruby_finder.rb, line 20
def initialize(src)
  @src = src
end

Public Instance Methods

find() click to toggle source
# File lib/jp_strings_finder/ruby_finder.rb, line 24
def find
  ripper = RipperCustom.new(src)
  ripper.parse
  ripper.strings
end