Sha256: 75eacc77f30f41a528c6c2c08c6f218f65a4f64a717a88162b43242d1ab0a335

Contents?: true

Size: 273 Bytes

Versions: 25

Compression:

Stored size: 273 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

25 entries across 25 versions & 1 rubygems

Version Path
procemon-0.5.0 lib/procemon/function/documentation.rb
procemon-0.4.5 lib/procemon/function/documentation.rb
procemon-0.4.4 lib/procemon/function/documentation.rb
procemon-0.4.3 lib/procemon/function/documentation.rb
procemon-0.4.2 lib/procemon/function/documentation.rb
procemon-0.4.1 lib/procemon/function/documentation.rb
procemon-0.4.0 lib/procemon/function/documentation.rb
procemon-0.3.4 lib/procemon/function/documentation.rb
procemon-0.3.3 lib/procemon/function/documentation.rb
procemon-0.3.2 lib/procemon/function/documentation.rb
procemon-0.3.1 lib/procemon/function/documentation.rb
procemon-0.2.0 lib/procemon/function/documentation.rb
procemon-0.1.5 lib/procemon/function/documentation.rb
procemon-0.1.4 lib/procemon/function/documentation.rb
procemon-0.1.3 lib/procemon/function/documentation.rb
procemon-0.1.1 lib/procemon/function/documentation.rb
procemon-0.0.9 lib/procemon/function/documentation.rb
procemon-0.0.8 lib/procemon/function/documentation.rb
procemon-0.0.7 lib/procemon/function/documentation.rb
procemon-0.0.6 lib/procemon/function/documentation.rb