Sha256: 72df275417a18df416556e6046d1d1c1ec96322c1090d0a82423a09c9bfb1dac

Contents?: true

Size: 277 Bytes

Versions: 15

Compression:

Stored size: 277 Bytes

Contents

class String



  def find_doc_part(oth_str)
    self.each_line do |target_line|
      puts target_line[0..(oth_str.length-1)]
      if target_line[0..(oth_str.length-1)] == oth_str
        return target_line[(oth_str.length)..(target_line.length)]
      end
    end
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
procemon-1.2.1 lib/procemon/function/documentation.rb
procemon-1.2.0 lib/procemon/function/documentation.rb
procemon-1.1.1 lib/procemon/function/documentation.rb
procemon-1.0.4 lib/procemon/function/documentation.rb
procemon-1.0.3 lib/procemon/function/documentation.rb
procemon-1.0.1 lib/procemon/function/documentation.rb
procemon-1.0.0 lib/procemon/function/documentation.rb
procemon-0.9.1 lib/procemon/function/documentation.rb
procemon-0.9.0 lib/procemon/function/documentation.rb
procemon-0.8.1 lib/procemon/function/documentation.rb
procemon-0.8.0 lib/procemon/function/documentation.rb
procemon-0.7.0 lib/procemon/function/documentation.rb
procemon-0.6.3 lib/procemon/function/documentation.rb
procemon-0.6.2 lib/procemon/function/documentation.rb
procemon-0.6.1 lib/procemon/function/documentation.rb