Sha256: 139eeedb7792d64c4aca3d03f659ddbf51c6c393f3369ad74f54fd2a1cbc551a

Contents?: true

Size: 329 Bytes

Versions: 18

Compression:

Stored size: 329 Bytes

Contents

module CSL
  class Style

    class Citation < Node

      include InheritableNameOptions

      attr_struct(*Schema.attr(:citation, :names, :name))

      attr_children :sort, :layout

      alias sort? has_sort?

      def sort_keys
        return [] unless sort?
        children[:sort].sort_keys
      end
    end

  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
csl-2.0.0 lib/csl/style/citation.rb
csl-1.6.0 lib/csl/style/citation.rb
csl-1.5.2 lib/csl/style/citation.rb
csl-1.5.1 lib/csl/style/citation.rb
csl-1.5.0 lib/csl/style/citation.rb
csl-1.4.5 lib/csl/style/citation.rb
csl-1.4.4 lib/csl/style/citation.rb
csl-1.4.3 lib/csl/style/citation.rb
csl-1.4.2 lib/csl/style/citation.rb
csl-1.4.1 lib/csl/style/citation.rb
csl-1.4.0 lib/csl/style/citation.rb
csl-1.3.2 lib/csl/style/citation.rb
csl-1.3.1 lib/csl/style/citation.rb
csl-1.3.0 lib/csl/style/citation.rb
csl-1.2.3 lib/csl/style/citation.rb
csl-1.2.2 lib/csl/style/citation.rb
csl-1.2.1 lib/csl/style/citation.rb
csl-1.2.0 lib/csl/style/citation.rb