Method: RC::Interface#current_profile=

Defined in:
lib/rc/interface.rb

#current_profile=(profile) ⇒ Object

Set current profile.



135
136
137
138
139
140
141
# File 'lib/rc/interface.rb', line 135

def current_profile=(profile)
  if profile
    ENV['profile'] = profile.to_s
  else
    ENV['profile'] = nil
  end
end