class Attentive::Phrase
Public Class Methods
new(tokens)
click to toggle source
Calls superclass method
# File lib/attentive/phrase.rb, line 6 def initialize(tokens) super tokens end
Public Instance Methods
dup()
click to toggle source
# File lib/attentive/phrase.rb, line 18 def dup self.class.new map(&:dup) end
inspect()
click to toggle source
# File lib/attentive/phrase.rb, line 14 def inspect map(&:inspect).join("\n") end
to_s()
click to toggle source
# File lib/attentive/phrase.rb, line 10 def to_s join end