Sha256: d843eb8a240b350d7d48d34d979c9407ea68b2c01a580ed17ce54bd81168cf2c
Contents?: true
Size: 351 Bytes
Versions: 1
Compression:
Stored size: 351 Bytes
Contents
module MM module Console class RuntimeVariable def initialize(variable) @name = variable[:name] @value = variable[:value] end def execute(runtime) if @value.blank? runtime.delete @name.to_sym else runtime[@name.to_sym] = @value end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xli-mm-0.0.3 | lib/mm/console/runtime_variable.rb |