class SpheroBase

Attributes

debug[RW]

Public Instance Methods

logd(log_str="") click to toggle source
# File lib/rubysphero.rb, line 48
def logd(log_str="")
        if @debug==nil then
                # chill.
        elsif @debug==true then
                puts DateTime.now.strftime("%Y-%m-%d %H:%M:%S.%L") + " " + log_str
        end # elsif
end