Method: Glyph::Macro#update_source
- Defined in:
- lib/glyph/macro.rb
#update_source(name, file = nil, topic = nil) ⇒ Object
Resets the name of the updated source (call before calling Macro#interpret)
33 34 35 36 |
# File 'lib/glyph/macro.rb', line 33 def update_source(name, file=nil, topic=nil) file ||= @node[:source][:file] rescue nil @updated_source = {:name => name, :file => file, :topic => topic} end |