Sha256: 9bf31dbd903725c838123c7f31c1c6c97e6923d62fc153fcda18eea1c41ed375

Contents?: true

Size: 289 Bytes

Versions: 2

Compression:

Stored size: 289 Bytes

Contents

module Thermal
  class Printer

    def self.translate
      {}
    end

    def self.getCode(tag)
      self.translate[tag.to_sym] || ['', '']
    end

    def self.startCode(tag)
      self.getCode(tag)[0]
    end

    def self.endCode(tag)
      self.getCode(tag)[1]
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thermal-0.1.1 lib/thermal/printer.rb
thermal-0.1.0 lib/thermal/printer.rb