Mulan II | 0 Beauty and the Beast - The Enchanted Christmas | 0 Police Academy 5 - Assignment Miami Beach | 0 InSight | 0 Police Academy 4 - Citizens on Patrol | 0 Troll 2 | 0 That Was Then... This Is Now | 0 Fred: The Movie | 0 S. Darko: A Donnie Darko Tale | 0 The Fox and the Hound 2 | 0
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
set shortmess=a | |
set t_Co=256 | |
syntax on | |
set background=dark | |
set nowrap | |
set showmatch | |
set showcmd | |
set number |
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
var Maximum = function(array) { | |
this.array = array; | |
this.findMax = function (){ | |
var maxValue = 0; | |
this.array.forEach(function(n) { | |
if (maxValue < n) | |
{ | |
maxValue = n; | |
} |
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 'pry-debugger' | |
class Anagram | |
attr_reader :word | |
def initialize(word) | |
@word = word | |
end | |
def letters |
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 Circle | |
attr_reader :radius | |
def initialize(radius) | |
@radius = radius | |
end | |
def diameter | |
@radius * 2 |
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 'pry' | |
class WordTracker | |
attr_reader :words | |
def initialize(words) | |
@words = words | |
@frequency = Hash.new(0) | |
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
title | rating | |
------------------------------------------------+-------- | |
Mulan II | 0 | |
Beauty and the Beast - The Enchanted Christmas | 0 | |
Police Academy 5 - Assignment Miami Beach | 0 | |
InSight | 0 | |
Police Academy 4 - Citizens on Patrol | 0 | |
Troll 2 | 0 | |
That Was Then... This Is Now | 0 | |
Fred: The Movie | 0 |
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 'pry' | |
class PigLatin | |
def initialize(phrase) | |
@phrase = phrase.downcase | |
end | |
#provide the pig latin translation | |
def translate |
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 'pry' | |
class PigLatinTranslation | |
def initialize(phrase) | |
@phrase = phrase.downcase | |
end | |
#provide the pig latin translation | |
def translate |
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 'pry' | |
require 'csv' | |
class EmployeeReader | |
attr_reader :employees | |
def initialize(file_name) | |
get_employees(file_name) | |
end |
NewerOlder