Class: Declare::AssertionsScope

Inherits:
BasicScope show all
Includes:
Assertions
Defined in:
lib/declare/scope.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#The, #_declare_called_from

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

#itObject (readonly)

Returns the value of attribute it.



24
25
26
# File 'lib/declare/scope.rb', line 24

def it
  @it
end