Sha256: f57b6ebcb8f9b62b39666b481fe05f62af0dcd2c52a9234afe50913e3ad8bfb7
Contents?: true
Size: 199 Bytes
Versions: 23
Compression:
Stored size: 199 Bytes
Contents
class AliasMethodSpec def foo; 'foo'; end alias_method :bar, :foo end describe "Module#alias_method" do it "makes a copy of the method" do AliasMethodSpec.new.bar.should == 'foo' end end
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
opal-0.3.29 | spec/core/module/alias_method_spec.rb |
opal-0.3.28 | spec/core/module/alias_method_spec.rb |
opal-0.3.27 | spec/core/module/alias_method_spec.rb |