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

- old
+ new

@@ -35,10 +35,10 @@ # Public Methods #------------------------------------------------------------- #============== ATTRIBUTES ========================== - def style(**options, &block) + def style(options = {}, &block) model = Caracal::Core::Models::StyleModel.new(options, &block) if model.valid? register_style(model) else \ No newline at end of file