Class: ActiveSupport::TimeWithZone

Inherits:
Object
  • Object
show all
Defined in:
lib/code-ruby.rb

Instance Method Summary collapse

Instance Method Details

#to_codeObject



167
168
169
# File 'lib/code-ruby.rb', line 167

def to_code
  Code::Object::Time.new(self)
end