Class TaggableString

  1. lib/selectable.rb
Parent: String

Methods

public class

  1. new

Included modules

  1. Selectable::Object

Public class methods

new (str, tags={})
[show source]
    # File lib/selectable.rb, line 90
90:   def initialize(str, tags={})
91:     super(str)
92:     add_tags tags unless tags.empty?
93:   end