require 'wparser/inline/heading' require 'wparser/inline/strong' require 'wparser/inline/code' require 'wparser/inline/italic' require 'wparser/inline/underLine' require 'wparser/inline/deleted' require 'wparser/inline/http' require 'wparser/inline/paragraph' module Inline include Inlines def parse text @protected_preTag = nil parse_lines = text.collect {|line| parse_line line} Http.parse parse_lines.to_s end private # 1行ずつ処理したいメソッド郡 def parse_line line if line =~ /^