Class: Oval::Anything

Inherits:
Base
  • Object
show all
Defined in:
lib/oval/anything.rb

Overview

Describe value that is arbitrary.

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

ensure_equal, it_should, validate

Constructor Details

#initializeAnything

Returns a new instance of Anything.


12
# File 'lib/oval/anything.rb', line 12

def initialize(); end

Class Method Details

.[]Object


7
# File 'lib/oval/anything.rb', line 7

def []; instance; end

.instanceObject


6
# File 'lib/oval/anything.rb', line 6

def instance; @instance ||= new; end

Instance Method Details

#it_shouldObject


11
# File 'lib/oval/anything.rb', line 11

def it_should; "be anything"; end

#validate(x, subject = nil) ⇒ Object


10
# File 'lib/oval/anything.rb', line 10

def validate(x,subject=nil); end