lib/angular_sprinkles/directive/name.rb in angular_sprinkles-0.2.11 vs lib/angular_sprinkles/directive/name.rb in angular_sprinkles-0.2.12

- old
+ new

@@ -1,9 +1,9 @@ module AngularSprinkles module Directive class Name def initialize(*names) - @names = names.flatten + @names = names.flatten.map { |name| name.to_s.underscore.dasherize } end def attributes { data: to_empty_hash } end