Sha256: 38d4e5d7d7108be573aba9591e0475dff14c6027cc09b613c8279f8c4b187a92
Contents?: true
Size: 351 Bytes
Versions: 11
Compression:
Stored size: 351 Bytes
Contents
require 'rbbt/segment' module Relationship extend Annotation self.annotation :segment self.annotation :terms self.annotation :type def text if segment segment else type + ": " + terms * ", " end end def html text = <<-EOF <span class='Relationship'\ >#{ self.text }</span> EOF text.chomp end end
Version data entries
11 entries across 11 versions & 1 rubygems