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.2 lib/csl/style/sort.rb
csl-1.0.1 lib/csl/style/sort.rb
csl-1.0.0 lib/csl/style/sort.rb
csl-1.0.0.pre23 lib/csl/style/sort.rb
csl-1.0.0.pre22 lib/csl/style/sort.rb
csl-1.0.0.pre21 lib/csl/style/sort.rb
csl-1.0.0.pre20 lib/csl/style/sort.rb
csl-1.0.0.pre19 lib/csl/style/sort.rb
csl-1.0.0.pre18 lib/csl/style/sort.rb
csl-1.0.0.pre17 lib/csl/style/sort.rb
csl-1.0.0.pre16 lib/csl/style/sort.rb
csl-1.0.0.pre15 lib/csl/style/sort.rb
csl-1.0.0.pre14 lib/csl/style/sort.rb
csl-1.0.0.pre13 lib/csl/style/sort.rb
csl-1.0.0.pre12 lib/csl/style/sort.rb
csl-1.0.0.pre11 lib/csl/style/sort.rb
csl-1.0.0.pre10 lib/csl/style/sort.rb
csl-1.0.0.pre9 lib/csl/style/sort.rb
csl-1.0.0.pre8 lib/csl/style/sort.rb
csl-1.0.0.pre7 lib/csl/style/sort.rb