Method: Picky::Query::Tokens#initialize
- Defined in:
- lib/picky/query/tokens.rb
#initialize(tokens, ignore_unassigned = false) ⇒ Tokens
Create a new Tokens object with the array of tokens passed in.
21 22 23 24 |
# File 'lib/picky/query/tokens.rb', line 21 def initialize tokens, ignore_unassigned = false @tokens = tokens @ignore_unassigned = ignore_unassigned end |