Class: ITRP::Cmd_root

Inherits:
Cmd
  • Object
show all
Defined in:
lib/cmd_root.rb

Instance Attribute Summary

Attributes inherited from Cmd

#attach_cmd, #children, #enabled_in_state, #trigger

Instance Method Summary collapse

Methods inherited from Cmd

#appstate, #completions, #find_node, #is_root?, #place_node, #print_state, #set_time_window, #treeprint

Constructor Details

#initialize(e) ⇒ Cmd_root

Returns a new instance of Cmd_root.



5
6
7
8
9
10
# File 'lib/cmd_root.rb', line 5

def initialize (e)
	super(e)
	@enabled_in_state = :any
	@attach_cmd  = ''
	@trigger = ''
end

Instance Method Details

#enter(cmdline) ⇒ Object



13
14
# File 'lib/cmd_root.rb', line 13

def enter(cmdline)
end

#notfound(cmdline) ⇒ Object



16
17
18
# File 'lib/cmd_root.rb', line 16

def notfound(cmdline)
	print("#{cmdline}  : not found\n");
end