lib/pione/lang/definition.rb in pione-0.4.2 vs lib/pione/lang/definition.rb in pione-0.5.0.alpha.1
- old
+ new
@@ -1,8 +1,9 @@
module Pione
module Lang
# RuleCondition is a storage of rule conditions.
class RuleCondition < StructX
+ member :type
member :inputs, default: lambda { Array.new }
member :outputs, default: lambda { Array.new }
member :features, default: lambda { Array.new }
member :param_definition, default: lambda { Hash.new }
member :constraints, default: lambda { Array.new }