Class: Thoreau::DSL::Context::TestCases
- Inherits:
-
Object
- Object
- Thoreau::DSL::Context::TestCases
- Defined in:
- lib/thoreau/dsl/context/test_cases.rb
Instance Attribute Summary collapse
-
#test_clan_model ⇒ Object
readonly
Returns the value of attribute test_clan_model.
Instance Method Summary collapse
-
#initialize(clan_model, &context) ⇒ TestCases
constructor
A new instance of TestCases.
Methods included from Clan
#action, def_family_methods_for, #expanded
Methods included from Logging
Constructor Details
#initialize(clan_model, &context) ⇒ TestCases
Returns a new instance of TestCases.
10 11 12 13 14 |
# File 'lib/thoreau/dsl/context/test_cases.rb', line 10 def initialize(clan_model, &context) @test_clan_model = clan_model self.instance_eval(&context) end |
Instance Attribute Details
#test_clan_model ⇒ Object (readonly)
Returns the value of attribute test_clan_model.
8 9 10 |
# File 'lib/thoreau/dsl/context/test_cases.rb', line 8 def test_clan_model @test_clan_model end |