I hereby claim:
- I am bewatts on github.
- I am bewatts (https://keybase.io/bewatts) on keybase.
- I have a public key ASC-23a0N3AFSb7jw9DEtt9uSVPGdNFfiT6YQD4CeIquNwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
class Example | |
def initialize( a, b ) | |
@a = a | |
@b = b | |
end | |
def a | |
@a | |
end | |
class HangmanGameLoop | |
def initialize(word_to_guess) | |
@word_to_guess = word_to_guess | |
@guessed_letters = [] | |
end | |
def word_to_guess | |
@word_to_guess | |
end | |
require 'benchmark' | |
require 'nokogiri' | |
require 'open-uri' | |
class PageScraper | |
def self.get_youtube_urls(url) | |
self.new(url).get_youtube_urls | |
end | |
#Solution was probably too much overhead for the problem I had at hand - but it was fun. | |
#Note: This gist assumes Rails. | |
module Concerns | |
module LinkedAccountable | |
extend ActiveSupport::Concern | |
ACCOUNT_TYPES = ["twitter", "google"] | |
def self.included(obj) |