class SafeDb::Tell

Print out the secret key/value pairs. These are the ones with keys that start with the @ sysmbol.

Public Instance Methods

query_verse() click to toggle source

Print out the secret key/value pairs. These are the ones with keys that start with the @ sysmbol.

# File lib/controller/query/tell.rb, line 11
def query_verse()

  @book.print_book_mark()
  if @verse.empty?()

    puts "    No lines in this chapter and verse location."
    puts ""
    return

  end

  show_map = {}
  @verse.each do | key_str, value |
    show_map.store( key_str, value ) if( key_str.start_with? "@" )
  end

  puts JSON.pretty_generate( show_map )
  puts ""

end