Method: CSL::Locale::Date#initialize
- Defined in:
- lib/csl/locale/date.rb
#initialize(attributes = {}) {|_self| ... } ⇒ Date
Returns a new instance of Date.
13 14 15 16 17 18 |
# File 'lib/csl/locale/date.rb', line 13 def initialize(attributes = {}) super(attributes) children[:'date-part'] = [] yield self if block_given? end |