Module: IsoDoc::XrefGen::OlTypeProvider
- Defined in:
- lib/isodoc/jis/xref.rb
Instance Method Summary collapse
Instance Method Details
#ol_type(list, depth) ⇒ Object
4 5 6 7 8 |
# File 'lib/isodoc/jis/xref.rb', line 4 def ol_type(list, depth) return list["type"].to_sym if list["type"] return :alphabet if depth == 1 @style == :japanese ? :japanese : :arabic end |