lib/codily/elements/condition.rb in codily-0.1.0.beta vs lib/codily/elements/condition.rb in codily-0.2.0
- old
+ new
@@ -7,9 +7,18 @@
comment
priority
statement
)
+ def setup
+ delete_if_empty! *%i(
+ comment
+ )
+ force_integer! *%i(
+ priority
+ )
+ end
+
def type(obj = nil)
getset :type, obj.to_s.upcase
end
def fastly_class