Sha256: 9f05b9d46218c513d15ee9bc3eebc3bd9b1dd76d50197099c714d149720866b1

Contents?: true

Size: 123 Bytes

Versions: 35

Compression:

Stored size: 123 Bytes

Contents

class User
  attr_accessor :name

  def initialize(name)
    @name = name
  end

  def admin?
    @name == 'Bob'
  end
end

Version data entries

35 entries across 35 versions & 3 rubygems

Version Path
opal-rspec-1.1.0.alpha3 example/opal/user.rb
opal-rspec-1.1.0.alpha2 example/opal/user.rb
opal-rspec-1.1.0.alpha1 example/opal/user.rb
opal-rspec-1.0.0 example/opal/user.rb
opal-rspec-1.0.0.alpha1 example/opal/user.rb
opal-rspec-0.8.0 example/opal/user.rb
opal-rspec-0.8.0.alpha3 example/opal/user.rb
opal-rspec-0.8.0.alpha2 example/opal/user.rb
opal-rspec-0.8.0.alpha1 example/opal/user.rb
opal-rspec-0.7.1 example/opal/user.rb
opal-rspec-0.7.0 example/opal/user.rb
opal-rspec-0.6.2 example/opal/user.rb
opal-rspec-0.7.0.rc.2 example/opal/user.rb
opal-rspec-0.7.0.rc.1 example/opal/user.rb
opal-rspec-0.6.1 example/opal/user.rb
opal-rspec-0.6.0 example/opal/user.rb
opal-rspec-0.6.0.beta1 example/opal/user.rb
opal-connect-rspec-0.5.0 example/opal/user.rb
opal-rspec-0.5.0 example/opal/user.rb
opal-rspec-0.5.0.beta3 example/opal/user.rb