Class: ARD::Command

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(foldername, commandname, outputmode, script, user, userselect) ⇒ Command

Returns a new instance of Command.



17
18
19
20
21
22
23
24
# File 'lib/ard.rb', line 17

def initialize(foldername, commandname, outputmode, script, user, userselect)
	@foldername =	foldername
	@commandname =	commandname
	@outputmode = outputmode
	@script = script
	@user = user
	@userselect = userselect
end

Instance Attribute Details

#commandnameObject (readonly)

Returns the value of attribute commandname.



15
16
17
# File 'lib/ard.rb', line 15

def commandname
  @commandname
end

#foldernameObject (readonly)

Returns the value of attribute foldername.



15
16
17
# File 'lib/ard.rb', line 15

def foldername
  @foldername
end

#outputmodeObject (readonly)

Returns the value of attribute outputmode.



15
16
17
# File 'lib/ard.rb', line 15

def outputmode
  @outputmode
end

#scriptObject (readonly)

Returns the value of attribute script.



15
16
17
# File 'lib/ard.rb', line 15

def script
  @script
end

#userObject (readonly)

Returns the value of attribute user.



15
16
17
# File 'lib/ard.rb', line 15

def user
  @user
end

#userselectObject (readonly)

Returns the value of attribute userselect.



15
16
17
# File 'lib/ard.rb', line 15

def userselect
  @userselect
end