class SafeDb::Print
The print use case prints out a credential value without a line feed or any other contextual information.
Print
is perfect for reading values from scripts or using unix like pipe behaviour to pass credentials to other commands.
Attributes
key_name[W]
Public Instance Methods
query_verse()
click to toggle source
Use
the chapter and verse setup to read the parameter {@key_name} and print its corresponding value without a line feed or return.
# File lib/controller/query/print.rb, line 16 def query_verse() print @verse[ @key_name ] end