lib/megar/session.rb
# Returns a pretty representation of the session object
Returns a pretty representation of the session object
Returns a pretty representation of the session object
def to_s
    if connected?
      "#{self.class.name}: connected as #{email}"
    else
      "#{self.class.name}: not connected"
    end
  end
def to_s if connected? "#{self.class.name}: connected as #{email}" else "#{self.class.name}: not connected" end end
Returns a pretty representation of the session object
Returns a pretty representation of the session object