Class: Ykutils::StructuredTextForFtpOp

Inherits:
StructuredText show all
Defined in:
lib/ykutils/stext.rb

Constant Summary

Constants included from NKFUTIL

NKFUTIL::CODE_TO_NAME

Instance Attribute Summary

Attributes inherited from StructuredText

#item_ary, #main_ary, #main_hash

Instance Method Summary collapse

Methods inherited from StructuredText

#dump_to_file, #initialize, #load, #load_analyze

Methods included from DebugUtils

#clear_d, #d_caller, #d_exit, #d_p, #d_pp, #d_puts, #d_puts_no_empty, #debug_utils_init, #error_exit, #get_d, #get_debug, #get_warn, #puts_current_method, #puts_d, #puts_no_empty, #set_debug, #set_warn, #w1_puts, #w2_puts

Methods included from DataStructOp

#exchange, #make_array, #make_hash, #select_array

Methods included from SpecFileOp

#check_data_complement, #check_data_complement_print_message, #dump_yaml_fileobj, #expand_data, #load_csv_file, #load_csv_file_ex, #load_plain_text_file, #load_yaml_file, #make_data_complement, #open_for_write, #parse_yaml_file, #save_yaml_file, #valid?

Methods included from NKFUTIL

assoc_equal, auto_config_from_inner, auto_config_to_inner, config, convert, get, guess_encoding, #nkf_utf8_file, #puts_sj, #puts_u, set

Constructor Details

This class inherits a constructor from Ykutils::StructuredText

Instance Method Details

#analyze(line_ary, fname = nil) ⇒ Object



56
57
58
59
60
61
# File 'lib/ykutils/stext.rb', line 56

def analyze(line_ary, fname = nil)
  lines = FtpOpLines.new(line_ary)
  lines.output_f(fname)

  analyze_sub(lines)
end