public Method

TimeZone.to_s

Returns a textual representation of this time zone.

Source Code

# File active_support/values/time_zone.rb, line 174
def to_s
  "(UTC#{formatted_offset}) #{name}"
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.