My Recent Pastes (353 and counting)

Pastes by brixen (353 and counting)

Pages:

Below are the 15 most recent pasties by brixen.

February 11, 2009
5:03PM EDT
by brixen

[[ DEFINITIONS ]]

ruby_cref: a linked list of lexical class enclosures
ruby_cbase: the top class in ruby_cref
ruby_class: the 'current class'. A sort of linked list, who's value

February 11, 2009
3:05PM EDT
by brixen

## autoload_v.rb
module W
  def self.foo
    "W"
  end

February 11, 2009
2:32PM EDT
by brixen

require File.dirname(__FILE__) + '/../../spec_helper'
require File.dirname(__FILE__) + '/fixtures/classes'

# These specs only illustrate the basic autoload cases
# and where toplevel autoload behaves differently from

February 11, 2009
2:09AM EDT
by brixen

gauss:rubyspec brian$ ../mspec/bin/mspec -tr19 -fs core/module/autoload_spec.rb 
ruby 1.9.2dev (2009-02-04 trunk 22023) [i386-darwin9.6.0]

Module#autoload?
- returns the name of the file that will be autoloaded

February 11, 2009
1:13AM EDT
by brixen

## autoload.rb
class A
end

## 1

February 07, 2009
12:50PM EDT
by brixen

gauss:rubinius brian$ irb
>> begin
?> raise Exception, "boo!"
>> rescue Object => e
>> p e

February 06, 2009
5:17PM EDT
by brixen

## current specs
ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]
F..............................................................

1)

February 05, 2009
3:14AM EDT
by brixen

>> 270.9/3.204 # bm_app_tak
=> 84.5505617977528
>> 263.3/3.044 # bm_app_tarai
=> 86.4980289093298
>> 193.5/2.239 # bm_app_fib

January 30, 2009
9:31PM EDT
by brixen

require File.dirname(__FILE__) + '/../spec_helper'

describe "An Iter node" do
  empty_block = lambda do |g|
    g.passed_block do

January 23, 2009
1:27PM EDT
by brixen

euler:rubinius brian$ gdb --args vm/vm -e 'p 1'
GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct  2 04:07:49 UTC 2007)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.

January 22, 2009
9:27PM EDT
by brixen

euler:rubinius brian$ gdb --args vm/vm -e 'p 1'
GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct  2 04:07:49 UTC 2007)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.

January 22, 2009
2:34PM EDT
by brixen

euler:rubinius brian$ pushd spec/
~/devel/rubinius/spec ~/devel/rubinius
euler:spec brian$ pwd
/Users/brian/devel/rubinius/spec
euler:spec brian$ pushd parser

January 21, 2009
2:25AM EDT
by brixen

describe "If node" do
  relates "if b then a end" do
    parse do
      [:if, [:call, nil, :b, [:arglist]], [:call, nil, :a, s[:arglist]], nil]
    end

January 20, 2009
8:30PM EDT
by brixen

X = 1

class A
  X = 2
  class B

January 20, 2009
8:00PM EDT
by brixen

euler:rubinius brian$ bin/mspec tag --list fails core     
rubinius 0.10.0 (ruby 1.8.6) (00ad0c926 12/31/2009) [i686-apple-darwin9.6.0]

Listing specs tagged with 'fails'

Next page

Previous page