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, ensure_match

Constructor Details

#initializeAnything

Returns a new instance of Anything.



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

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

#validate(x, subject = nil) ⇒ Object



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

def validate(x,subject=nil); end