This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Deal | |
attr_accessor :clubs | |
def initialize | |
@players = (1..4) | |
@clubs = Array.new(13, @players.first) | |
end | |
def succ! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Factory.define(:passing_inspection_estimate, :parent => :estimate_with_items) do |f| | |
f.after_create do |e| | |
e.items << Factory(:estimate_item, :estimate => e, :inspection => true, :op => Factory(:inspection_op, :dealer => e.dealer)).tap do |item| | |
inspection = item.inspections.first | |
location = inspection.locations.first | |
outcome = inspection.failures.detect { |outcome| outcome.performed } | |
location.create_data!(:inspection_failure_id => outcome.id, :created_by => 'factory') | |
end | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Donalds-Decisiv-MacBook-Pro:pricing-trunk dball$ git svn rebase | |
M test/unit/estimate_item_test.rb | |
M app/helpers/operations_helper.rb | |
M app/models/estimate_item.rb | |
M app/models/portal/group.rb | |
M app/concerns/broker_concerns.rb | |
M app/concerns/estimate_concerns.rb | |
M app/concerns/group_note_concerns.rb | |
M app/views/leftnav/_warranty_info.html.erb | |
Byte order is not compatible at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_retrieve.al) line 380, at /opt/local/lib/perl5/5.8.9/Memoize/Storable.pm line 21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Liquid | |
class Variable | |
def render_with_html_escape(context) | |
output = render_without_html_escape(context) | |
if context.registers[:html_escape] && !output.html_safe? | |
ERB::Util::html_escape(output) | |
else | |
output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process: JavaApplicationStub [79829] | |
Path: /Applications/Minecraft.app/Contents/MacOS/JavaApplicationStub | |
Identifier: com.Mojang Specifications.Minecraft.Minecraft | |
Version: Minecraft 1.0.0 (1.0.0) | |
Code Type: X86 (Native) | |
Parent Process: launchd [149] | |
Date/Time: 2010-09-21 11:20:02.865 -0400 | |
OS Version: Mac OS X 10.6.4 (10F569) | |
Report Version: 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ossl.c:118: error: expected ‘)’ before ‘*’ token | |
ossl.c:119: error: expected ‘)’ before ‘*’ token | |
make[1]: *** [ossl.o] Error 1 | |
make: *** [all] Error 1 | |
[2010-09-03 11:03:54] make | |
ossl.c:118: error: expected ‘)’ before ‘*’ token | |
ossl.c:119: error: expected ‘)’ before ‘*’ token | |
make[1]: *** [ossl.o] Error 1 | |
make: *** [all] Error 1 | |
[2010-09-03 11:05:38] make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rational' | |
module Almost | |
EPSILON = 0.001 | |
module InstanceMethods | |
def almost(epsilon = EPSILON) | |
Almost::Number.new(self, epsilon) | |
end | |
end |
NewerOlder