Sha256: e9c239c9ee855102cafb343d0ee41ea39d12fd541682dc3d06678a52e8f7785c
Contents?: true
Size: 261 Bytes
Versions: 5
Compression:
Stored size: 261 Bytes
Contents
module Boilerpipe::Labels class LabelAction attr_reader :labels def initialize(labels=[]) @labels = labels end def add_to(text_block) text_block.add_labels(@labels) end def to_s @labels.join(',') end end end
Version data entries
5 entries across 5 versions & 1 rubygems