Class: Roo::Excelx::SharedStrings
Constant Summary
Constants inherited
from Extractor
Extractor::COMMON_STRINGS
Instance Method Summary
collapse
Methods inherited from Extractor
#initialize
Instance Method Details
#[](index) ⇒ Object
8
9
10
|
# File 'lib/roo/excelx/shared_strings.rb', line 8
def [](index)
to_a[index]
end
|
#to_a ⇒ Object
12
13
14
|
# File 'lib/roo/excelx/shared_strings.rb', line 12
def to_a
@array ||=
end
|
#to_html ⇒ Object
16
17
18
|
# File 'lib/roo/excelx/shared_strings.rb', line 16
def to_html
@html ||=
end
|
#use_html?(index) ⇒ Boolean
Use to_html or to_a for html returns See what is happening with commit???
22
23
24
25
|
# File 'lib/roo/excelx/shared_strings.rb', line 22
def use_html?(index)
return false if @options[:disable_html_wrapper]
to_html[index][/<([biu]|sup|sub)>/]
end
|