Class: Ww::Dsl::DefinitionBase

Inherits:
Object
  • Object
show all
Defined in:
lib/ww/dsl/definition_base.rb

Direct Known Subclasses

MockDefinition, SpyDefinition, StubDefinition

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(servlet) ⇒ DefinitionBase

Returns a new instance of DefinitionBase.



5
6
7
# File 'lib/ww/dsl/definition_base.rb', line 5

def initialize(servlet)
  @servlet = servlet
end

Instance Attribute Details

#servletObject (readonly)

Returns the value of attribute servlet.



4
5
6
# File 'lib/ww/dsl/definition_base.rb', line 4

def servlet
  @servlet
end