Class: Date

Inherits:
Object
  • Object
show all
Defined in:
lib/value_inspect/date.rb

Instance Method Summary collapse

Instance Method Details

#inspectObject



4
5
6
# File 'lib/value_inspect/date.rb', line 4

def inspect
  "Date.new(%s, %s, %s)" % [year, month, day]
end

#original_inspectObject



2
# File 'lib/value_inspect/date.rb', line 2

alias_method :original_inspect, :inspect