Class: Declare::AssertionsScope
- Inherits:
-
BasicScope
- Object
- BasicScope
- Declare::AssertionsScope
- Includes:
- Assertions
- Defined in:
- lib/declare/scope.rb
Instance Attribute Summary collapse
-
#it ⇒ Object
readonly
Returns the value of attribute it.
Instance Method Summary collapse
-
#initialize(target) ⇒ AssertionsScope
constructor
A new instance of AssertionsScope.
Methods included from Assertions
#CATCH, #EQL, #EQL?, #EQUAL, #EQUAL?, #FALSY, #FALSY?, #INSTANCE_OF, #INSTANCE_OF?, #IS, #IS?, #KIND_OF, #KIND_OF?, #MATCH, #MATCH?, #NOT, #NOT?, #RESCUE, #RESPOND, #RESPOND?, #TRUTHY, #TRUTHY?
Methods inherited from BasicScope
Constructor Details
#initialize(target) ⇒ AssertionsScope
Returns a new instance of AssertionsScope.
26 27 28 29 |
# File 'lib/declare/scope.rb', line 26 def initialize(target) super() @it = target end |
Instance Attribute Details
#it ⇒ Object (readonly)
Returns the value of attribute it.
24 25 26 |
# File 'lib/declare/scope.rb', line 24 def it @it end |