Sha256: 7738f03100cc44adddb11af318bc9e8e5845c30a36f554fc5011c5e74f507aa7
Contents?: true
Size: 469 Bytes
Versions: 2
Compression:
Stored size: 469 Bytes
Contents
require 'rubygems' require 'rspec' require 'lib/no_integrity' class MrArbitrary include NoIntegrity attr_accessor :some_random_hash no_attr_store :some_random_hash no_attribute :misc no_attribute :hair => 'String' no_attribute :age => 'Integer' no_attribute :height => 'String', :eyes => 'String', :friendly => 'Boolean' no_attribute [:cheese, :ham, :balogne] def initialize(*args) @some_random_hash ||= { :hair => 'brown' } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
no_integrity-0.4.0 | spec/spec_helper.rb |
no_integrity-0.3.1 | spec/spec_helper.rb |