Method: CBETA::CharCount#initialize
- Defined in:
- lib/cbeta/char_count.rb
#initialize(xml_root) ⇒ CharCount
Returns a new instance of CharCount.
2 3 4 5 |
# File 'lib/cbeta/char_count.rb', line 2 def initialize(xml_root) @xml_root = xml_root @result = {} end |