Class: ElVfs::Command::ChangeWorkingDirectory::Arguments

Inherits:
Arguments
  • Object
show all
Defined in:
lib/el_finder_api/el_vfs/command/change_working_directory.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Arguments

#entries, #entry

Methods inherited from Model

#attributes=, #el_hash, options, #to_el_hash

Constructor Details

#initialize(params) ⇒ Arguments

Returns a new instance of Arguments.



12
13
14
15
# File 'lib/el_finder_api/el_vfs/command/change_working_directory.rb', line 12

def initialize(params)
  super
  self.target ||= Entry.root.target if init
end

Instance Attribute Details

#initObject

Returns the value of attribute init.



7
8
9
# File 'lib/el_finder_api/el_vfs/command/change_working_directory.rb', line 7

def init
  @init
end

#targetObject

Returns the value of attribute target.



7
8
9
# File 'lib/el_finder_api/el_vfs/command/change_working_directory.rb', line 7

def target
  @target
end

#treeObject

Returns the value of attribute tree.



7
8
9
# File 'lib/el_finder_api/el_vfs/command/change_working_directory.rb', line 7

def tree
  @tree
end