Opal is hosted on GitHub .
You can join the community by chatting on Gitter at opal/opal or on Freenode IRC (channel:
Ask questions on stackoverflow by using the #opalrb tag.
class User attr_accessor :name def initialize(name) @name = name end def admin? @name == 'Admin' end end user = User.new('Bob') puts user puts user.admin?
Install Opal from RubyGems:
$ gem install opal
Or include it in your
Gemfile for Bundler: