This file contains hidden or 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 Point < Struct.new(:x,:y) | |
def self.at(x,y) | |
new x, y | |
end | |
def ==(other) | |
other.x == x and other.y == y | |
end | |
def around |
This file contains hidden or 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
#!/bin/bash | |
# Create the directory structure | |
mkdir -p features/step_definitions | |
mkdir -p features/support | |
# Create a placeholder for the step_definitions folder | |
touch features/step_definitions/"$(basename `pwd`)_steps.rb" | |
# Create the environment file |
This file contains hidden or 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 'xcoder' | |
project_name = 'TestProject' | |
universal_framework_name = 'Library' | |
# All paths specified are the logical paths within the Xcode Project | |
source_filenames = [ 'TestProject/AppDelegate.m' ] | |
public_headerfilenames = [ 'TestProject/AppDelegate.h' ] | |
project_headerfilenames = [ 'TestProject/Supporting Files/TestProject-Prefix.pch' ] |