Top Level Namespace

Defined Under Namespace

Modules: Textoken

Constant Summary collapse

IntClass =
defined?(RUBY_VERSION) && RUBY_VERSION > "2.4" ? Integer : Fixnum

Instance Method Summary collapse

Instance Method Details

#Textoken(text, options = nil) ⇒ Object

A shortcut to initialize gem Textoken(‘I had rather be first in a village than second at Rome.’)



47
48
49
# File 'lib/textoken.rb', line 47

def Textoken(text, options = nil)
  Textoken::Base.new(text, options)
end