Sha256: 7508beff3d8e9c7ab391ffe881a50125b5694206e7aae8ddae3599f02ab4ffbd
Contents?: true
Size: 550 Bytes
Versions: 1
Compression:
Stored size: 550 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, type: 'String' no_attribute :age, type: 'Integer' no_attribute :height, type: 'String' no_attribute :eyes, type: 'String' no_attribute :friendly, type: 'Boolean', default: true no_attribute :cheese no_attribute :ham no_attribute :balogne def initialize(*args) @some_random_hash ||= { hair: 'brown' } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
no_integrity-0.5.0 | spec/spec_helper.rb |