Sha256: 528d8f4c70e78db821b129f592f0d61230e6ed7fd91d306a7295470502f58042

Contents?: true

Size: 272 Bytes

Versions: 26

Compression:

Stored size: 272 Bytes

Contents

module CSL
  
  class Sort < Node
    
    attr_children :key

    alias keys key
    
    def initialize(attributes = {})
      super(attributes)
      children[:key] = []
      
      yield self if block_given?
    end
    
    class Key < Node
    end
    
  end
  
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
csl-1.0.0.pre6 lib/csl/style/sort.rb
csl-1.0.0.pre5 lib/csl/style/sort.rb
csl-1.0.0.pre4 lib/csl/style/sort.rb
csl-1.0.0.pre3 lib/csl/style/sort.rb
csl-1.0.0.pre2 lib/csl/style/sort.rb
csl-1.0.0.pre1 lib/csl/style/sort.rb