Method: CSL::Node#custom_attributes

Defined in:
lib/csl/node.rb

#custom_attributesHash

Returns the attributes currently not set to their default values.

Returns:

  • (Hash)

    the attributes currently not set to their default values



299
300
301
302
303
# File 'lib/csl/node.rb', line 299

def custom_attributes
  attributes.to_hash.reject do |name, _|
    default_attribute?(name)
  end
end