I hereby claim:
- I am dixpac on github.
- I am dixpac (https://keybase.io/dixpac) on keybase.
- I have a public key ASAURg5OE2vV93tv-q8AzSGLrKCTShPXzzI7zcaFGHTh_Qo
To claim this, I am signing this object:
# instead of save_and_open_page you can just type | |
# page! | |
module CapbaraExt | |
def page! | |
save_and_open_page | |
end | |
end | |
RSpec.configure do |config| | |
config.include CapbaraExt |
PATH | |
remote: . | |
specs: | |
trix (0.9.5) | |
rails | |
GEM | |
remote: https://rubygems.org/ | |
specs: | |
actionmailer (4.2.6) |
class Person | |
def initialize(weight, height) | |
@weight = weight | |
@height = height | |
end | |
def bmi | |
(@weight / (@height * @height)) | |
end | |
end |
class Person | |
attr_reader :weight, :height | |
def initialize(weight, height) | |
weight = weight | |
height = height | |
end | |
def bmi | |
(weight / (height * height)) |
# default implementation via attr_reader | |
def weight | |
@weight | |
end |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// helpers/current_helpers.js | |
// On-demand JavaScript objects from "current" HTML <meta> elements. Example: | |
// | |
// <meta name="current-account-id" content="123"> | |
// <meta name="current-account-subdomain" content="Wizard Lab"> | |
// | |
// >> current.account | |
// => { id: "123", subdomain: "Wizard Lab" } | |
// |