Class: ColName
Instance Method Summary collapse
- #col_str(col) ⇒ Object
-
#initialize ⇒ ColName
constructor
A new instance of ColName.
Constructor Details
#initialize ⇒ ColName
Returns a new instance of ColName.
7 8 9 |
# File 'lib/write_xlsx/col_name.rb', line 7 def initialize @col_str_table = Hash.new end |
Instance Method Details
#col_str(col) ⇒ Object
11 12 13 14 |
# File 'lib/write_xlsx/col_name.rb', line 11 def col_str(col) @col_str_table[col] = col_str_build(col) unless @col_str_table[col] @col_str_table[col] end |