Class: Should::Exposed

Inherits:
Object
  • Object
show all
Defined in:
lib/Bacon_FS_Matchers.rb

Instance Method Summary collapse

Instance Method Details

#initalize(shoulda) ⇒ Object



6
7
8
9
# File 'lib/Bacon_FS_Matchers.rb', line 6

def initalize shoulda
  @negated = shoulda.instance_variable_get(:@negated)
  @object  = shoulda.instance_variable_get(:@object)
end