class Zebra::Zpl::Comment

Attributes

data[RW]

Public Class Methods

new(options = {}) click to toggle source
# File lib/zebra/zpl/comment.rb, line 6
def initialize(options = {})
  options.each_pair { |attribute, value| self.__send__ "#{attribute}=", value }
end

Public Instance Methods

to_zpl() click to toggle source
# File lib/zebra/zpl/comment.rb, line 10
def to_zpl
  "^FX#{data}^FS"
end