Class: SafeDb::Tell
- Inherits:
-
QueryVerse
- Object
- Controller
- QueryVerse
- SafeDb::Tell
- Defined in:
- lib/controller/query/tell.rb
Overview
Print out the secret key/value pairs. These are the ones with keys that start with the @ sysmbol.
Instance Method Summary collapse
-
#query_verse ⇒ Object
Print out the secret key/value pairs.
Methods inherited from QueryVerse
Methods inherited from Controller
#check_post_conditions, #check_pre_conditions, #execute, #flow, #initialize, #open_remote_backend_location, #post_validation, #pre_validation, #read_verse, #set_verse, #update_verse
Constructor Details
This class inherits a constructor from SafeDb::Controller
Instance Method Details
#query_verse ⇒ Object
Print out the secret key/value pairs. These are the ones with keys that start with the @ sysmbol.
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# 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 |