Class: Rbnotes::Commands::Builtins::Conf
- Defined in:
- lib/rbnotes/commands.rb
Instance Method Summary collapse
Instance Method Details
#description ⇒ Object
145 146 147 |
# File 'lib/rbnotes/commands.rb', line 145 def description "Print the current configuration" end |
#execute(_, conf) ⇒ Object
149 150 151 152 153 |
# File 'lib/rbnotes/commands.rb', line 149 def execute(_, conf) conf.keys.sort.each { |k| puts "#{k}=#{conf[k]}" } end |