Sha256: 141be8f4d08376bb5d74342ee51e80f95ae3da1087846cd231f52cb73129d226
Contents?: true
Size: 317 Bytes
Versions: 89
Compression:
Stored size: 317 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe "Module" do before(:each) do @mod = Module.new do attr_accessor_with_default :a do Hash.new end end @klass = Class.new.extend(@mod) end it "should be able to set method accessors" do @klass.a.should == {} end end
Version data entries
89 entries across 89 versions & 3 rubygems