Class: ElVfs::Command::Arguments

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

Instance Method Summary collapse

Methods inherited from Model

#attributes=, #el_hash, #initialize, options, #to_el_hash

Constructor Details

This class inherits a constructor from ElVfs::Model

Instance Method Details

#entriesObject



29
30
31
# File 'lib/el_finder_api/el_vfs/command.rb', line 29

def entries
  @entries ||= targets.map{|target| Entry.find_by_entry_path_hash target}
end

#entryObject



26
27
28
# File 'lib/el_finder_api/el_vfs/command.rb', line 26

def entry
  @entry ||= Entry.find_by_entry_path_hash target
end