Skip to content

Instantly share code, notes, and snippets.

@rentalcustard
Created April 17, 2013 15:49
Show Gist options
  • Save rentalcustard/5405403 to your computer and use it in GitHub Desktop.
Save rentalcustard/5405403 to your computer and use it in GitHub Desktop.
Ruby 2.0.0 changelog
~> irb
1.9.3-p194 :001 > Date
NameError: uninitialized constant Date
from (irb):1
from /Users/thomasstuart/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>'
1.9.3-p194 :002 > exit
~> rvm use 2.0.0
Using /Users/thomasstuart/.rvm/gems/ruby-2.0.0-p0
~> irb
2.0.0p0 :001 > Date
=> Date
2.0.0p0 :002 > Date.methods
=> [:allocate, :new, :superclass, :freeze, :===, :==, :<=>, :<, :<=, :>, :>=, :to_s, :inspect, :included_modules, :include?, :name, :ancestors, :instance_methods, :public_instance_methods, :protected_instance_methods, :private_instance_methods, :constants, :const_get, :const_set, :const_defined?, :const_missing, :class_variables, :remove_class_variable, :class_variable_get, :class_variable_set, :class_variable_defined?, :public_constant, :private_constant, :module_exec, :class_exec, :module_eval, :class_eval, :method_defined?, :public_method_defined?, :private_method_defined?, :protected_method_defined?, :public_class_method, :private_class_method, :autoload, :autoload?, :instance_method, :public_instance_method, :nil?, :=~, :!~, :eql?, :hash, :class, :singleton_class, :clone, :dup, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :remove_instance_variable, :instance_of?, :kind_of?, :is_a?, :tap, :send, :public_send, :respond_to?, :extend, :display, :method, :public_method, :define_singleton_method, :object_id, :to_enum, :enum_for, :equal?, :!, :!=, :instance_eval, :instance_exec, :__send__, :__id__]
2.0.0p0 :003 > Date.methods - Object.methods
=> []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment