motion-prime/views/styles.rb in motion-prime-0.3.1 vs motion-prime/views/styles.rb in motion-prime-0.3.2

- old
+ new

@@ -12,10 +12,10 @@ options = names.pop if args.last.is_a?(Hash) if block_given? raise "Only style names are available for nested styles, received: `#{args.inspect}`. Namespace: `#{@namespace}`" if options.present? names.each do |name| - puts namespace = [@namespace, name].compact.join('_') + namespace = [@namespace, name].compact.join('_') self.class.new(namespace).instance_eval(&block) end else raise "No style rules specified for `#{names.join(', ')}`. Namespace: `#{@namespace}`" unless options parent = options.delete(:parent) \ No newline at end of file