Sha256: b8e494ebf9a4bd99b44878a0c88d7c693e2e81f3ea7aa832e7b84ea2733c25d0

Contents?: true

Size: 492 Bytes

Versions: 1

Compression:

Stored size: 492 Bytes

Contents

module OdptTokyoMetroHelper::StringExt

  def process_machine_dependent_character
    super().process_kouji
  end

  def revive_machine_dependent_character
    super().revive_kouji
  end

  protected

  # 環境依存文字「麴」を「麹」に変換するメソッド
  # @return [String]
  def process_kouji
    gsub( ::OdptTokyoMetroHelper::RegexpLibrary.kojimachi , "麹町" )
  end

  def revive_kouji
    gsub( ::OdptTokyoMetroHelper::RegexpLibrary.kojimachi , "麴町" )
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
odpt_tokyo_metro_helper-0.2.2 lib/odpt_tokyo_metro_helper/string_ext.rb