Module: Lydown::Parsing::Command::Key

Defined in:
lib/lydown/parsing/nodes.rb

Instance Method Summary collapse

Instance Method Details

#to_stream(cmd, opts) ⇒ Object



338
339
340
341
342
343
# File 'lib/lydown/parsing/nodes.rb', line 338

def to_stream(cmd, opts)
  cmd[:key] = text_value
  if SETTING_KEYS.include?(text_value)
    cmd[:type] = :setting
  end
end