I hereby claim:
- I am radar on github.
- I am ryanbigg (https://keybase.io/ryanbigg) on keybase.
- I have a public key ASC-aRDIkJSCR3zgowwQoB5OZWdmqFoVWx5hTGyj_m2TPAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
it 'has a method that will call the transaction class' do | |
Transaction.should_receive(:new); | |
bank.send(:make_deposit, 5); | |
end | |
def make_deposit(amount) | |
Transaction.new(self, 'deposit', amount); | |
end |
<table> | |
<tr> | |
<th>Subject</th> | |
<th>Created At</th> | |
<th>Status</th> | |
</tr> | |
<% @tickets.each do |ticket| %> | |
<tr> | |
<td><a href="/ticket/<%= ticket.id %>"><%= ticket.subject %></a></td> |
String file contents |
String file contents |
totalprice=0 | |
totalitemcount=0 | |
laborcharge=0 | |
discount= 0 | |
totalgccount=0 |
require 'concurrent' | |
class Test | |
def update(time, value, reason) | |
puts "OMG" | |
end | |
end | |
puts 'testing . . .' |
FactoryBot.define do | |
factory :property, aliases: [:current_prop] do | |
is_active "true" | |
factory :nowhereland do | |
name "NowhereLand" | |
property_code 'nwlnd' | |
address "123 Nowhere Lane" | |
city "Erewhon" | |
state "Oblivion" |
class ApiRead | |
require 'open-uri' | |
require 'json' | |
attr_reader :data | |
def initialize(url) | |
# this goes fine | |
@data = JSON.parse(open(url).read)["data"] | |
end |