Class: Oval::Anything
- Inherits:
-
Base
- Object
- Base
- Oval::Anything
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
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
|
.instance ⇒ Object
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
|