Sha256: 1d58b437d445d6bf410fa5a88361e1252fdc0706db01d5c55c69824ec6451d39

Contents?: true

Size: 587 Bytes

Versions: 1

Compression:

Stored size: 587 Bytes

Contents

module Expressir
  module Model
    class Rule
      attr_accessor :id
      attr_accessor :applies_to
      attr_accessor :declarations
      attr_accessor :constants
      attr_accessor :locals
      attr_accessor :where
      attr_accessor :statements

      def initialize(options = {})
        @id = options[:id]
        @applies_to = options[:applies_to]
        @declarations = options[:declarations]
        @constants = options[:constants]
        @locals = options[:locals]
        @where = options[:where]
        @statements = options[:statements]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
expressir-0.2.0 lib/expressir/model/rule.rb