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 Model < ParentModel | |
include Foo::Bar | |
extend Bar::Baz | |
acts_as_authentic | |
dsl_specific_flags | |
module InternalModule | |
... | |
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
amc-projects:sqlite3 { | |
'sqlite3' / setup not defined. | |
Already pulled amc-projects ([email protected]:amc-projects/babushka-deps.git) this session. | |
build tools { | |
'build tools' / internal_setup not defined. | |
'build tools' / setup not defined. | |
build-essential { | |
'build-essential' / setup not defined. | |
apt { | |
'apt' / internal_setup not defined. |
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
When /^(\d+) (minutes|hours|days) pass$/ do |amount, unit| | |
now = Time.now | |
Time.stubs(:now).returns(now + amount.to_i.send(unit.to_sym)) | |
end | |
When /^going back (\d+) (minutes|hours|days)$/ do |minutes| | |
now = Time.now | |
Time.stubs(:now).returns(now - amount.to_i.send(unit.to_sym)) | |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>changed</key> | |
<dict> | |
<key>command</key> | |
<string>#!/usr/bin/env ruby -rcgi | |
# By Henrik Nyh <http://henrik.nyh.se> 2007-06-26 |