Class: Resedit::ITextConvert

Inherits:
AppCommand show all
Defined in:
lib/resedit/app/text_convert.rb

Instance Attribute Summary collapse

Attributes inherited from AppCommand

#names, #ohash, #opts, #params, #type

Instance Method Summary collapse

Methods inherited from AppCommand

#addOption, #addParam, #job, #log, #logd, #loge, #parseParams, #run

Constructor Details

#initialize(resname, params) ⇒ ITextConvert

Returns a new instance of ITextConvert.



8
9
10
# File 'lib/resedit/app/text_convert.rb', line 8

def initialize(resname, params)
    @resname, @params = resname, params
end

Instance Attribute Details

#textObject

Returns the value of attribute text.



7
8
9
# File 'lib/resedit/app/text_convert.rb', line 7

def text
  @text
end

Instance Method Details

#expectedLines(file) ⇒ Object



12
# File 'lib/resedit/app/text_convert.rb', line 12

def expectedLines(file); raise "NotImplemented" end

#mktext(file, format, encoding) ⇒ Object



11
# File 'lib/resedit/app/text_convert.rb', line 11

def mktext(file, format, encoding); raise "NotImplemented" end

#pack(file, outstream) ⇒ Object



13
# File 'lib/resedit/app/text_convert.rb', line 13

def pack(file, outstream); raise "NotImplemented" end

#unpack(file) ⇒ Object



14
# File 'lib/resedit/app/text_convert.rb', line 14

def unpack(file); raise "NotImplemented" end