Use this as a template from your favorite editer/IDE. Simple replace the comment in the #execute
method with your experiment.
class DirtyHarry
def execute
# Feeling lucky, punk?
end
# create app | |
rails new opal_test | |
# add to Gemfile below ruby | |
gem 'haml' | |
gem 'haml-rails' | |
gem 'opal-rails' | |
# generate controller w index action |
Use this as a template from your favorite editer/IDE. Simple replace the comment in the #execute
method with your experiment.
class DirtyHarry
def execute
# Feeling lucky, punk?
end
I'm trying to spike running Cucumber
in Opal; it's not find it, and I don't know why.
Here's my app/application
file. The only change is the addition of the last 3 lines:
# when using sprockets/rails, we must include the corelib
require 'opal'
[1, 2, 3].each { |a| puts a }
These instructions can be accessed two ways:
Here's the original:
require 'spec_helper'
feature "A user signing up for a beta invitation" do
scenario "with valid parameters" do
visit '/'
fill_in "Name", with: "John Doe"
fill_in "Email", with: "jdoe@example.com"
### Keybase proof | |
I hereby claim: | |
* I am oldfartdeveloper on github. | |
* I am oldfartdeveloper (https://keybase.io/oldfartdeveloper) on keybase. | |
* I have a public key ASDjaJO8NVzg3hCTtiT6HRrNYioJ7C_Zf6pK8LkqXCBwiAo | |
To claim this, I am signing this object: |
#!/usr/bin/env bash | |
# | |
# Switch between using different Elm family revisions; right now can switch between Elm 0.18.0 and Elm 0.19.0 revision | |
# "ecosystems". From the command line, invokde either | |
# elmswitch 18 | |
# or | |
# elmswitch 19 | |
# | |
# It is planned to add other revisions and patch revisions as desired. | |
# |