lib/attentive/tokens.rb in attentive-0.1.0.beta1 vs lib/attentive/tokens.rb in attentive-0.1.0
- old
+ new
@@ -11,12 +11,12 @@
def entity(entity_name, variable_name=entity_name, pos: nil)
Attentive::Entity[entity_name.to_sym].new(variable_name)
end
- def me(pos: nil)
- Attentive::Tokens::Me.new pos
+ def invocation(string, pos: nil)
+ Attentive::Tokens::Invocation.new string, pos
end
def punctuation(string, pos: nil)
Attentive::Tokens::Punctuation.new string, pos
end
@@ -36,10 +36,10 @@
end
end
require "attentive/tokens/any_of"
require "attentive/tokens/emoji"
-require "attentive/tokens/me"
+require "attentive/tokens/invocation"
require "attentive/tokens/punctuation"
require "attentive/tokens/regexp"
require "attentive/tokens/whitespace"
require "attentive/tokens/word"