Class: Cassanity::ArgumentGenerators::KeyspaceUse
- Inherits:
-
Object
- Object
- Cassanity::ArgumentGenerators::KeyspaceUse
- Defined in:
- lib/cassanity/argument_generators/keyspace_use.rb
Instance Method Summary collapse
-
#call(args = {}) ⇒ Object
Internal.
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(:keyspace_name) cql = "USE #{name}" [cql] end |