Method: CSL::Style#initialize
- Defined in:
- lib/csl/style.rb
#initialize(attributes = {}) {|_self| ... } ⇒ Style
Returns a new instance of Style.
52 53 54 55 56 57 |
# File 'lib/csl/style.rb', line 52 def initialize(attributes = {}) super(attributes, &nil) children[:locale], children[:macro], @macros, @errors = [], [], {}, [] yield self if block_given? end |