Module: Lydown::Parsing::Command::Key
- Defined in:
- lib/lydown/parsing/nodes.rb
Instance Method Summary collapse
Instance Method Details
#to_stream(cmd, opts) ⇒ Object
368 369 370 371 372 373 374 |
# File 'lib/lydown/parsing/nodes.rb', line 368 def to_stream(cmd, opts) cmd[:key] = text_value if SETTING_KEYS.include?(text_value) cmd[:type] = :setting cmd[:ephemeral] = !NON_EPHEMERAL_KEYS.include?(cmd[:key]) end end |