Method: CSL::Style::Date#initialize
- Defined in:
- lib/csl/style/date.rb
#initialize(attributes = {}) {|_self| ... } ⇒ Date
Returns a new instance of Date.
17 18 19 20 21 22 |
# File 'lib/csl/style/date.rb', line 17 def initialize(attributes = {}) super(attributes, &nil) children[:'date-part'] = [] yield self if block_given? end |