Method: Websitary::Configuration#edit_profile
- Defined in:
- lib/websitary/configuration.rb
#edit_profile(profile = nil) ⇒ Object
1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 |
# File 'lib/websitary/configuration.rb', line 1019 def edit_profile(profile=nil) profile ||= @profiles case profile when Array profile.each {|p| edit_profile p} else fn = profile_filename(profile) $logger.debug "edit: #{fn}" `#{@cmd_edit % fn}` end end |