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
| <!doctype html > | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title></title> | |
| </head> | |
| <body> | |
| <nav></nav> | |
| </body> | |
| </html> |
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 'flog' | |
| require 'flog_task' | |
| require 'flay' | |
| require 'flay_task' | |
| require 'roodi' | |
| require 'roodi_task' | |
| FlogTask.new :flog, SOME_NUMBER_HERE, %w[app lib] | |
| FlayTask.new :flay, OTHER_NUMBER_HERE, %w[app lib] | |
| RoodiTask.new 'roodi', ['app/**/*.rb', 'lib/**/*.rb'] |
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
| Data exported on: Tue Aug 02 2011 16:21:01 GMT-0400 (EDT) | |
| Number of passively captured events: 0 | |
| Number of actively captured events: 337 | |
| Chrome version: 13.0.782.107 (Official Build 94237) beta | |
| Command line: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome -psn_0_2224671 --flag-switches-begin --flag-switches-end | |
| Default address family: ADDRESS_FAMILY_IPV4 | |
| (IPv6 disabled) |
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
| ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA3aDjbNGbIh8hLiF9XQxLFYmzSTi4Qx/PFk+8icd1/iIBlxEAT1Z/nJVeAnbmvaGAZuFkWOX9PYp6+1Ry2eWRzmaUMaEgPxLBSNzCXhpzqy1OXsA+SQYuH1B7vweLOosz+jpd5p/JRixiBS7pz1mQh7yvGb1VEgphDGRAmMMKVqazj1GW0IZITJAQX4tAV8P+WdYvyGXggsBpDtURJw0ZSRJrAJRYOISlAwSDK6J+IJAFv0YkGYV1tl1yyyp/f5AbN7gdzK2C1Q0hiKQH4QoMJe7OmG4wXRBvWC0o7SiVwyBO27nL+yi3HGSXPmRol8sVjNq5j3dVXPkX9SMKBe78Vw== [email protected] |
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 Something | |
| def hey | |
| "hello" | |
| end | |
| end | |
| class OtherThing | |
| def hey | |
| "hi" | |
| end |
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 Student | |
| def method_missing(name, *args, &blk) | |
| "Sorry, I don't understand '#{name}'!" | |
| end | |
| end | |
| s = Student.new | |
| s.no_idea #=> "Sorry, I don't understand 'no_idea'!" | |
| t = Student.new | |
| t.no_idea #=> "Sorry, I don't understand 'no_idea'!" |
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 'active_record' | |
| require "#{Rails.root}/app/models/user" | |
| describe User do | |
| it "does something sweet" | |
| it "does something cool" | |
| end |
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
| ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAxQoMCRo/WpxABlczICpoqI7Xqvj1ozpqy05RYnF/55b/CSPVx9Af/7tgg2Abr9ARVZBugDqUZgOh1/c1Qn2UfC71vzEXNQ20V4zVD9h0H5oNHMQ8jk7zY03LCpKN/C+hnipPorZJdRCEWWjdY+jTZaUDG8Q7WGFvyNuD9EzFzyap2YXAJ16fq8re+nB0cKhUk9uiBrBfjAkMdxBdQFgckC15a0hbVe8wZ/a04DdL8Yu+ZftKMbQWmQLBj/L1ruR4ub6TMH1qOgtWMQh5WGQCTfHLVxQ1yV2/L8H7NrO+I7oaWcOFlnDO4AaXTc6ALTYmTXQjHd/qLP8mWgSoaVMhNQ== wintermute@WINTERMUTE-PC |
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 Router | |
| def initialize | |
| @route_list = {:get => {}, :post => {}, :put => {}, :delete => {}} | |
| end | |
| def add_route(method, route, &blk) | |
| @route_list[method][route] = blk | |
| end | |
| def call(env) |
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
| " run our spec files | |
| function! RunSpecs() | |
| let spec = matchstr(expand("%:r"), '_spec$') | |
| if empty(spec) | |
| return "spec/".expand("%:r")."_spec.rb" | |
| else | |
| return expand("%") | |
| endif | |
| endfunction |
OlderNewer