Class: Taxplorer::Application
- Inherits:
-
Object
- Object
- Taxplorer::Application
- 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 View
Methods included from Find
#get_children, #get_info, #get_parent, #get_section, #get_sections
Methods included from Parse
Methods included from 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.
20 21 22 23 24 25 26 27 |
# File 'lib/taxplorer.rb', line 20 def initialize @nodes = [] @records ||= Hash.new @records["sections"] ||= [] @records["elements"] ||= [] @run = true load_shell end |
Instance Attribute Details
#records ⇒ Object (readonly)
Returns the value of attribute records.
18 19 20 |
# File 'lib/taxplorer.rb', line 18 def records @records end |
#run ⇒ Object (readonly)
Returns the value of attribute run.
18 19 20 |
# File 'lib/taxplorer.rb', line 18 def run @run end |