Method: CSL::Locale::Terms#initialize
- Defined in:
- lib/csl/locale/term.rb
#initialize(attributes = {}) {|_self| ... } ⇒ Terms
Returns a new instance of Terms.
12 13 14 15 16 17 18 19 20 |
# File 'lib/csl/locale/term.rb', line 12 def initialize(attributes = {}) super(attributes) children[:term] = [] @registry = Term::Registry.new @ordinals = Term::Registry.new yield self if block_given? end |