Class: Roo::Excelx::SharedStrings
Constant Summary
collapse
- COMMON_STRINGS =
{
t: "t",
r: "r",
html_tag_open: "<html>",
html_tag_closed: "</html>"
}
Instance Method Summary
collapse
Methods inherited from Extractor
#initialize
Instance Method Details
#[](index) ⇒ Object
14
15
16
|
# File 'lib/roo/excelx/shared_strings.rb', line 14
def [](index)
to_a[index]
end
|
#to_a ⇒ Object
18
19
20
|
# File 'lib/roo/excelx/shared_strings.rb', line 18
def to_a
@array ||=
end
|
#to_html ⇒ Object
22
23
24
|
# File 'lib/roo/excelx/shared_strings.rb', line 22
def to_html
@html ||=
end
|
#use_html?(index) ⇒ Boolean
Use to_html or to_a for html returns See what is happening with commit???
28
29
30
|
# File 'lib/roo/excelx/shared_strings.rb', line 28
def use_html?(index)
to_html[index][/<([biu]|sup|sub)>/]
end
|