Class: Deplate::Command::GET
- Inherits:
-
Deplate::Command
- Object
- Element
- Deplate::Command
- Deplate::Command::GET
- Defined in:
- lib/deplate/commands.rb
Instance Method Summary collapse
Methods inherited from Deplate::Command
commands, #finish, #format_special, register_as, #setup, update_variables
Methods included from Names
name_match_c, name_match_fs, name_match_sf
Methods inherited from Element
#join_lines, #join_lines_re_zh_cn
Instance Method Details
#process ⇒ Object
330 331 332 333 334 335 336 337 338 |
# File 'lib/deplate/commands.rb', line 330 def process @elt = @deplate.get_clip(@id) if @elt return self else log(['GET: Clip not found', @id], :error) return nil end end |
#setup_command ⇒ Object
326 327 328 |
# File 'lib/deplate/commands.rb', line 326 def setup_command @id = @args['id'] || @accum[0] end |