lib/danica/operator.rb in danica-2.0.5 vs lib/danica/operator.rb in danica-2.0.6
- old
+ new
@@ -1,7 +1,13 @@
module Danica
- class Operator < Common
+ class Operator
+ include Common
+ include VariablesHolder
+ include BaseOperations
include ActiveModel::Model
+
+ default_value :priority, 3
+ default_value :is_grouped?, false
def initialize(*args)
super( variables: args.flatten )
end
end