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

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

Instance Method Summary collapse

Instance Method Details

#to_stream(cmd) ⇒ Object



273
274
275
276
277
278
# File 'lib/lydown/parsing/nodes.rb', line 273

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