Class: ElVfs::Command::CopyEntries::Arguments
- Defined in:
- lib/el_finder_api/el_vfs/command/copy_entries.rb
Instance Attribute Summary collapse
-
#cut ⇒ Object
Returns the value of attribute cut.
-
#dst ⇒ Object
Returns the value of attribute dst.
-
#src ⇒ Object
Returns the value of attribute src.
-
#targets ⇒ Object
Returns the value of attribute targets.
Instance Method Summary collapse
Methods inherited from Arguments
Methods inherited from Model
#attributes=, #el_hash, #initialize, options, #to_el_hash
Constructor Details
This class inherits a constructor from ElVfs::Model
Instance Attribute Details
#cut ⇒ Object
Returns the value of attribute cut.
6 7 8 |
# File 'lib/el_finder_api/el_vfs/command/copy_entries.rb', line 6 def cut @cut end |
#dst ⇒ Object
Returns the value of attribute dst.
6 7 8 |
# File 'lib/el_finder_api/el_vfs/command/copy_entries.rb', line 6 def dst @dst end |
#src ⇒ Object
Returns the value of attribute src.
6 7 8 |
# File 'lib/el_finder_api/el_vfs/command/copy_entries.rb', line 6 def src @src end |
#targets ⇒ Object
Returns the value of attribute targets.
6 7 8 |
# File 'lib/el_finder_api/el_vfs/command/copy_entries.rb', line 6 def targets @targets end |
Instance Method Details
#cut? ⇒ Boolean
12 13 14 |
# File 'lib/el_finder_api/el_vfs/command/copy_entries.rb', line 12 def cut? cut == '1' || cut == 'true' || cut == true end |
#destination ⇒ Object
20 21 22 |
# File 'lib/el_finder_api/el_vfs/command/copy_entries.rb', line 20 def destination @destination ||= Entry.find_by_entry_path_hash(dst) end |
#source ⇒ Object
16 17 18 |
# File 'lib/el_finder_api/el_vfs/command/copy_entries.rb', line 16 def source @source ||= Entry..find_by_entry_path_hash(src) end |