Sha256: 9660d4cd3b6cae59851861fae31c46e98755b0303519db0ed99738d6cd4d7c69

Contents?: true

Size: 489 Bytes

Versions: 5

Compression:

Stored size: 489 Bytes

Contents

module Alf
  module Operator
    module NonRelational
      class Clip
        include NonRelational, Unary

        signature do |s|
          s.argument :attributes, AttrList, []
          s.option   :allbut,     Boolean, false, "Apply an allbut clipping?"
        end

        # (see Operator#compile)
        def compile
          Engine::Clip.new(operand, attributes, allbut)
        end

      end # class Clip
    end # module NonRelational
  end # module Operator
end # module Alf

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alf-0.12.2 lib/alf/operator/non_relational/clip.rb
alf-0.12.1 lib/alf/operator/non_relational/clip.rb
alf-0.12.0 lib/alf/operator/non_relational/clip.rb
alf-0.11.1 lib/alf/operator/non_relational/clip.rb
alf-0.11.0 lib/alf/operator/non_relational/clip.rb