Commits

Mahlon Smith committed 6219606

Use full class paths with configurability, so additional subclassing
(via pluggability, or manual) works as expected.

  • Participants
  • Parent commits 5ef02fa

Comments (0)

Files changed (2)

lib/symphony/tasks/ssh.rb

 	### Configurability API.
 	###
 	def self::configure( config=nil )
-		config = self.defaults.merge( config || {} )
+		config = Symphony::Task::SSH.defaults.merge( config || {} )
 		@path  = config.delete( :path )
 		@opts  = config.delete( :opts )
 		@user  = config.delete( :user )

lib/symphony/tasks/sshscript.rb

 	### Configurability API.
 	###
 	def self::configure( config=nil )
-		config = self.defaults.merge( config || {} )
+		config = Symphony::Task::SSHScript.defaults.merge( config || {} )
 		@user = config.delete( :user )
 		@key  = config.delete( :key )
 		super