lib/boilerpipe/labels/label_action.rb in boilerpipe-ruby-0.4.0 vs lib/boilerpipe/labels/label_action.rb in boilerpipe-ruby-0.4.1
- old
+ new
@@ -1,9 +1,9 @@
module Boilerpipe::Labels
class LabelAction
attr_reader :labels
- def initialize(labels=[])
+ def initialize(labels = [])
@labels = labels
end
def add_to(text_block)
text_block.add_labels(@labels)