Class: Deplate::Define::CommandNative
- Defined in:
- lib/deplate/define.rb
Instance Method Summary collapse
Methods inherited from Command
commands, #finish, #process, register_as, #setup, #setup_command, 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
#expand_template ⇒ Object
402 403 404 405 406 407 408 409 410 411 412 413 |
# File 'lib/deplate/define.rb', line 402 def @args['@body'] = @accum.join(' ') tmpl = Deplate::Template.new(:master => @deplate, :template => @template, :source => @source, :container => self) rv = nil Deplate::Define.let_variables(@deplate, @args) do rv = tmpl.fill_in(@deplate, :source => @source) end return rv end |
#format_special ⇒ Object
415 416 417 |
# File 'lib/deplate/define.rb', line 415 def format_special @elt end |