My Recent Pastes (9 and counting)
Recent Pasties by antares_ (9 and counting)
Below are summaries of the 9 most recent pasties by antares_.
May 17, 2008
2:41PM EDT
by antares_
View more (7 lines)
1 2 3 4 5 |
antares|opensource/merb-core)> irb 21:32 irb(main):001:0> require 'rubygems' => true irb(main):002:0> require 'merb-core' => true |
March 28, 2008
7:58PM EDT
by antares_
View more (10 lines)
1 2 3 4 5 |
person = Person.find_by_name('uncle bob')
person.changed? # => false
person.name = 'Bob'
person.changed? # => true
|
March 28, 2008
7:57PM EDT
by antares_
View more (10 lines)
1 2 3 4 5 |
person = Person.find_by_name('uncle bob')
person.changed? # => false
person.name = 'Bob'
person.changed? # => true
|
March 28, 2008
6:12PM EDT
by antares_
View more (31 lines)
1 2 3 4 5 |
~/dev/opensource/rbx doc$ cat try_static_scope.rb
class StaticScope
def to_s
puts "parent: #{parent}"
end
|
March 28, 2008
6:07PM EDT
by antares_
View more (16 lines)
1 2 3 4 5 |
~/dev/opensource/rbx doc$ ./shotgun/rubinius try_static_scope.rb
parent: , module: Object
Attempted to access field of non-reference.
An exception has occurred:
Attempted to access field of non-reference (null pointer) (ArgumentError)
|
March 28, 2008
6:07PM EDT
by antares_
View more (14 lines)
1 2 3 4 5 |
class StaticScope def to_s puts "parent: #{@parent}, module: #{@module}" end end |
March 28, 2008
5:01PM EDT
by antares_
View more (16 lines)
1 2 3 4 5 |
~/dev/opensource/rbx doc$ ./shotgun/rubinius /opt/local/bin/gem install rails Updating metadata for 12 gems from http://gems.rubyforge.org ............ complete Successfully installed activesupport-2.0.2 |
March 28, 2008
7:33AM EDT
by antares_
View more (60 lines)
1 2 3 4 5 |
From 6af7ff8542489d2136509a7f4640c327f7040c51 Mon Sep 17 00:00:00 2001 From: Stuart Halloway <stu@thinkrelevance.com> Date: Fri, 28 Mar 2008 06:09:34 -0400 Subject: [PATCH] Fixes for Range#step. |
March 27, 2008
4:50PM EDT
by antares_
View more (81 lines)
1 2 3 4 5 |
require 'rexml/document' require 'rexml/formatters/transitive' require File.dirname(__FILE__) + '/../../../spec_helper' # Maybe this can be cleaned |
Pastie