module Sawarineko

Get your Nya!

Public Class Methods

nya(source, encoding = Encoding::UTF_8) click to toggle source

Make the source to Sawarineko. See Converter.

source - The String source to convert. encoding - The Encoding of the source (default: Encoding::UTF_8).

Returns the String converted to Sawarineko.

# File lib/sawarineko.rb, line 16
def self.nya(source, encoding = Encoding::UTF_8)
  Converter.new(encoding).convert(source)
end