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
322 323 324 325 326 327 328 329 330 |
# File 'lib/deplate/commands.rb', line 322 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
318 319 320 |
# File 'lib/deplate/commands.rb', line 318 def setup_command @id = @args['id'] || @accum[0] end |