Method: CSL::Info#initialize
- Defined in:
- lib/csl/info.rb
#initialize(attributes = {}) {|_self| ... } ⇒ Info
Returns a new instance of Info.
48 49 50 51 52 53 |
# File 'lib/csl/info.rb', line 48 def initialize(attributes = {}) super(attributes, &nil) children[:link], children[:category] = [], [] yield self if block_given? end |