lib/caracal/core/rules.rb in caracal-0.1.0 vs lib/caracal/core/rules.rb in caracal-0.1.1

- old
+ new

@@ -14,10 +14,10 @@ #------------------------------------------------------------- # Public Methods #------------------------------------------------------------- - def hr(**options, &block) + def hr(options = {}, &block) model = Caracal::Core::Models::RuleModel.new(options, &block) if model.valid? contents << model else \ No newline at end of file