Skip to content

Instantly share code, notes, and snippets.

View Kaeleigh's full-sized avatar

Kaeleigh Kaeleigh

  • VedaPointe
  • Washington, DC
View GitHub Profile
@Kaeleigh
Kaeleigh / Assignment1.1
Created October 12, 2017 15:39
Ruby-Strings
# My Solutions
def to_batman_comic(text)
p "#{text}!".upcase
end
to_batman_comic('bam')
to_batman_comic('zoink')
def first_longer_than_second(first, second)
@Kaeleigh
Kaeleigh / Assignment1.2
Last active May 6, 2019 01:47
Ruby-Integers
#My Solution
def subtract(num1, num2)
return num1 - num2
end
def multiply(num1, num2)
return num1 * num2
end
#Bloc Solution
[4] pry(#<Post>):1> nesting
Nesting status:
--
0. main (Pry top level)
1. #<Post>
[5] pry(#<Post>):1> self.to_s
=> "#<Post:0x007fd22889ab78>"
[6] pry(#<Post>):1> self.title = 'Star Wars'
=> "Star Wars"
[7] pry(#<Post>):1> self.body = 'Rey is a Jedi'
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script src="https://code.jquery.com/jquery-3.0.0.js"></script>
</head>
<body>
<h1>My Awesome ToDo List</h1>

Keybase proof

I hereby claim:

To claim this, I am signing this object: