Class: Application
- Inherits:
-
Object
- Object
- Application
- Includes:
- Taxplorer::Command, Taxplorer::Find, Taxplorer::Parse, Taxplorer::View
- Defined in:
- lib/taxplorer.rb
Instance Attribute Summary collapse
-
#records ⇒ Object
readonly
Returns the value of attribute records.
-
#run ⇒ Object
readonly
Returns the value of attribute run.
Instance Method Summary collapse
-
#initialize ⇒ Application
constructor
A new instance of Application.
Methods included from Taxplorer::View
Methods included from Taxplorer::Find
#get_children, #get_info, #get_parent, #get_section, #get_sections
Methods included from Taxplorer::Parse
Methods included from Taxplorer::Command
#child_nodes_prompt, #clear, #load_shell, #menu_prompt, #node_commands, #quit, #section_prompt, #welcome_prompt
Constructor Details
#initialize ⇒ Application
Returns a new instance of Application.
19 20 21 22 23 24 25 |
# File 'lib/taxplorer.rb', line 19 def initialize @records ||= Hash.new @records["sections"] ||= [] @records["elements"] ||= [] @run = true load_shell end |
Instance Attribute Details
#records ⇒ Object (readonly)
Returns the value of attribute records.
17 18 19 |
# File 'lib/taxplorer.rb', line 17 def records @records end |
#run ⇒ Object (readonly)
Returns the value of attribute run.
17 18 19 |
# File 'lib/taxplorer.rb', line 17 def run @run end |