Class: Cassanity::ArgumentGenerators::KeyspaceUse

Inherits:
Object
  • Object
show all
Defined in:
lib/cassanity/argument_generators/keyspace_use.rb

Instance Method Summary collapse

Instance Method Details

#call(args = {}) ⇒ Object

Internal



6
7
8
9
10
# File 'lib/cassanity/argument_generators/keyspace_use.rb', line 6

def call(args = {})
  name = args.fetch(:name)
  cql = "USE #{name}"
  [cql]
end